Uploaded image for project: 'Metadata Deploy Module'
  1. Metadata Deploy Module
  2. DPLY-16

Remove @Autowired annotation from MetadataDeployServiceImpl

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Closed
    • Priority: TBD
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4
    • Labels:
      None
    • Complexity:
      Undetermined

      Description

      We should find a way to remove the @Autowired annotation form MetadataDeployServiceImpl, as autowiring OpenMRS Services can significantly slow down the time it takes to refresh the Spring context (presumably because OpenMRS Services are proxied beans).
      I have noticed the time it takes to do a context refresh increase from 1 minute to 3 to 5 minutes recently, and I suspect this may be the issue.
      There will have to be at least a little design around this, because we need to autowire the handlers as they are not all known at runtime.

        Attachments

          Activity

            People

            Assignee:
            mogoodrich Mark Goodrich
            Reporter:
            mogoodrich Mark Goodrich
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: