Uploaded image for project: 'National Data Service'
  1. National Data Service
  2. NDS-523

Add "useFrom" to config objects for shared configuration

XMLWordPrintableJSON

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Blocking Blocking
    • Labs Workbench - Beta
    • None
    • None
    • None
    • NDS Sprint 12

      Some services share configuration information with dependencies (e.g., Dataverse/Postgres, DSpace/Postgres). Instead of collecting the same information twice, allow one service to use configuration from another. This will replace the old notion of "SharedConfig".

      For example:

      postgres.json

              {
                  "name": "POSTGRES_PASSWORD",
                  "value": "",
                  "label": "Password",
                  "isPassword": true,
                  "canOverride": true,
              }

      dspace.json

              {
                  "name": "POSTGRES_PASSWORD",
                  "useFrom": "postgres"
        	    "canOverride": false
              },

              willis8 Craig Willis
              willis8 Craig Willis
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 4 hours
                  4h
                  Remaining:
                  Time Spent - 2 hours Remaining Estimate - 2 hours
                  2h
                  Logged:
                  Time Spent - 2 hours Remaining Estimate - 2 hours
                  2h