Uploaded image for project: 'Identity Gateway'
  1. Identity Gateway
  2. OPENIG-1814

request to have $location support a list of files rather than a single entry for config.json

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Not a defect
    • Affects Version/s: 5.0.0
    • Fix Version/s: Not Applicable
    • Component/s: Core
    • Labels:
    • Support Ticket IDs:

      Description

      We are looking for a configuration on config.json to load properties from multiple .json config file
      Currently the below configuration allows to load the configuration from a single file into the properties and is available across the routes.

      "properties" : { 
      "$location": "file:$\{env['OPENIG_BASE']}/resources/openig.json" 
      }
      

      We wanted to have on openig.json file which will hold all constant variables across the routes and another openig-app.json file which will hold application specific environment variables.And both these file variables need to be used across all the routes.

      Why do you want to do this?
      ===========================
      The reason we want to do it with two .json file is because we wanted to keep the constants separated from the variable properties.

       

      Currently only single file currently supported in config.json

       

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                david.bate David Bate
                Reporter:
                david.bate David Bate
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: