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

R2 DCAE-Controller to stop merging policies into app config and deliver the whole policy body objects to component

XMLWordPrintable

    • R2 DCAE-Controller to stop merging policies into app config

      R2 DCAE-Controller to stop merging policies into app config and deliver the whole policy body objects to component

      1.component spec

      a.no need to specify the properties that are part of policies – DCAE-Controller will not merge the policies into application_config

      b.do not add or remove the spec for policy apply_order if it was created for R2 already

      2.TOSCA_lab

      a.optionally separate the generation of component blueprint and policy models from the component spec or from separate component spec and policy spec

      b.support for multiple dcae.nodes.policy nodes in the blueprint

      c.support for multiple dcae.nodes.policies nodes with policy_filter in the blueprint as planned for R2

      d.related changes to TOSCA service template consumed by CLAMP

      3.DCAE_CLI tool – keep up with TOSCA Lab

      4.onap-dcae-policy-lib

      a.store/delete the <scn>:policies/ folder of records in consul kv

      b.remove the shallow merge logic

      c.remove the policy sorting logic

      d.pass the whole collection of policy_body objects instead of policy config to plugins

      5.dockerplugin

      a.remove the policy merge logic

      b.change the policy-update notification message to pass policies, updated_policies, removed_policies (lists of policy_body objects)

      6.cdapplugin, CDAP broker – obsolete

      7.config-binding service (CBS)

      a.new http API GET <CBS>/service_component*_config*/<service_component_name> to return the <scn>:policies/ folder of record from consul kv and along the config data

      b.add a new API into the client lib

      8.components under DCAE-C

      a.get the full collection of policies (policy_body objects) from <CBS>/service_component*_config*/<service_component_name>

      b.all the merging of the policies into application config is the responsibility of the component itself – DCAE-Controller is no longer doing any policy config merging into application config

      c.policy-update notification will no longer contain the application_config – the component is responsible to retrieve the full config from CBS

      policy-update notification data format changed – it will contain the lists of policy_body objects for the new field of policies on component, as well as for updated_policies, and removed_policies

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

              Created:
              Updated:
              Resolved: