Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-3423 Initial skeleton and poc for the new-REST webapp
  3. DS-3492

Keep DSpace configuration outside application.properties

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.0
    • Component/s: REST API v7
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      8
    • Documentation Status:
      Needed

      Description

      The application.properties file should be used only for configuration specific of the spring framework. DSpace configurations should rely on the existent services and files.

      Nevertheless, it will be useful to provide an option to external override or at least integrate some properties in the application.properties spring boot file.

      A first use case of such need is the necessity to provide to the spring boot application the path to the dspace.dir currently hardcoded, see
      https://github.com/DSpace/DSpace/blob/rest7/dspace-spring-rest/src/main/resources/application.properties#L25

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tdonohue Tim Donohue
              Reporter:
              bollini Andrea Bollini (4Science)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: