• Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Medium Medium
    • Istanbul Release
    • None
    • dcae-services
    • None

      • (NEW) CBS-Client adapted to read configuration from the file on a configMap (convert yaml to json before sending config back to app)
      • (OPTIONAL) CBS-Client is reading the file periodically, and updates the application config immediately after a read is completed.
      • (NEW) CBS-Client is configurable on the location of the configuration file on the container FS (default: /app-config/application_config.yaml) via 
        ENV (CBS_CLIENT_CONFIG_PATH). If env is defined, use path provided to lookup config file otherwise use default.
      • Configuration source fallback is implemented:
        • CBS-Client falls back to the CBS REST interface, in the absence of a configuration file in given location.
        • CBS-Client falls back to the built-in container file configuration, if the CBS REST interface doesn`t respond

       

      CBS client library : https://git.onap.org/dcaegen2/utils/tree/onap-dcae-cbs-docker-client

            tonylhansen tonylhansen
            vv770d vv770d
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: