Uploaded image for project: 'Data Collection, Analytics, and Events'
  1. Data Collection, Analytics, and Events
  2. DCAEGEN2-196

get policy config data from config.content instead of config when policyType is MicroService

XMLWordPrintable

      DCAE-Controller needs to change the onap-dcae-dcaepolicy-lib to use the new field policyType value in policy object returned by policy-engine on /getConfig to find the config data inside the config object based on hardcoded mapping rules.

       

      For instance, use config.content if policyType == "MicroService" else config. 

      All the other places in DCAE-C will not even know of the change of the source of the config data.

            alex_sh alex_sh
            alex_sh alex_sh
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: