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

Implement global property to turn on/off auto updates

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Must
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: OpenMRS 1.5.0
    • Component/s: None
    • Labels:
      None

      Description

      Currently when the API is started (in the webapp or elsewhere), all database updates that are needed are run automatically whether the user wants them or not.

      There is a constant for a runtime property that allows the user to specify whether the updates should be run, or should be deferred until they specifically run them. See OpenmrsConstants.AUTO_UPDATE_DATABASE_RUNTIME_PROPERTY

      An admin page is needed that will list off what updates still need to be run and a button to allow the admin to run them.

      Sometimes updates are needed just to start the war file. Some logic needs to be put into core that will let a developer specify some updates that must be run in order for openmrs to start. If the admin has selected to defer updates, openmrs should not start until the admin runs those updates (will need to be something similar to the initial setup wizard because spring, jsp, etc, won't be available if openmrs doesn't start)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              bwolfe Ben Wolfe
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: