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

add support to append value into policyScope while one policy could be used by several services

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Medium Medium
    • None
    • Dublin Release
    • None
    • None

      background:
      OOF fetch policy by scope, the value of scope is service.
      one policy could be used by several services. the value of policyScope is like below:
      "policyScope": "vfw,vcpe,us,international,ip,vsn,vcpe_demo_withall_01,vcpe_with_all,vcpe_with_vbng"

      in currently forward implementation, it just simple use create/push to forward policy:
      boolean policyCreated = createPolicy(policyAdapter);
      if (policyCreated)

      { pushPolicy(policyAdapter); }

      once the policy is used by several services, the createpolicy will meet the problem, it will reports error as" same name policyname has existed".

      manually: user could append a new service into the policyScope field by update the policy.
      Automatically: forward needs update to deal with such case once one policy is used by several services.

            Unassigned Unassigned
            libonet libonet
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: