Uploaded image for project: 'Policy Framework'
  1. Policy Framework
  2. POLICY-703

Move push_policies.sh functionality into Integration Robot scripts for automated control loop testing

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Medium Medium
    • Beijing Release
    • None
    • None
    • None

      1. Policy needs to ensure that all components in their containers are ready and available to create and push policies for Integration testing.

      2. Enhance the robot scripts to create the DCAE micro service config policies and then query to ensure they are available in the Policy PAP.

      3. Enhance the robot scripts to push the DCAE micro service config policies (NOTE: There are timing issues with this, retries may be needed)

      4. (Stretch) Enhance the robot scripts to query the PDP for DCAE micro service config policy (eg. perform the role of DCAE Policy Handler)

      5. Enhance the robot scripts to create the Operational Policies and then query to ensure they are available in the Policy PAP

      6. Enhance the robot scripts to push the OPerational Policies

       

      Currently these are located in policy/docker:

      config/pe/push-policies.sh

       

      The latest Robot scripts are here:

      integration/test/csit/tests/policy/suite1/

       

      Must also modify the installation of the policy docker image so that it does NOT create/push the policies by default. The README in policy/docker explains the details for this. You basically set this environment variable:

      export PRELOAD_POLICIES=false

       

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

              Created:
              Updated:
              Resolved: