Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-4004

Module should be able to say it needs to start before another module

    XMLWordPrintable

    Details

    • Complexity:
      Medium

      Description

      As a module author, I would like to be able to indicate that my module should start before another module that I specify.

      My use case is that I am defining a set of 15 modules as the "reference application distro", and one of these modules needs to do some initial configuration that coordinates the way the other 14 work together and needs to be in place before those modules are started. Specifically, I want this configuration module to be able to say "start me before the registrationapp and coreapps modules"

      Proposed solution

      Introduce a new start_before_modules element in config.xml:

      <start_before_modules>
        <module version="${...}">org.openmrs.module.othermodule</module>
      </start_before_modules>
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                rpuzdrowski Radosław Puzdrowski
                Reporter:
                darius Darius Jazayeri
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - 2 days Original Estimate - 2 days
                    2d
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 4 days, 2 hours
                    4d 2h