Uploaded image for project: 'ONAP Operations Manager'
  1. ONAP Operations Manager
  2. OOM-1104

Policy DROOLS configuration across container restarts

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Highest Highest
    • Beijing Release
    • Beijing Release
    • None
    • SB-04 OOM

      DROOLS pointer to policy's nexus for the rules is not preserved across container restarts.
      We need to modify the helm charts to preserve the configuration for amsterdam-controller.properties

      policy@dev-drools-0:/opt/app/policy/config$ sed -i "s/rules.artifactId=.*/rules.artifactId=policy-amsterdam-rules/g" amsterdam-controller.properties
      policy@dev-drools-0:/opt/app/policy/config$ sed -i "s/rules.groupId=.*/rules.groupId=org.onap.policy-engine.drools.amsterdam/g" amsterdam-controller.properties
      policy@dev-drools-0:/opt/app/policy/config$ sed -i "s/rules.version=.*/rules.version=0.3.0/g" amsterdam-controller.properties

            platania platania
            bdfreeman1421 bdfreeman1421
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: