diff options
author | Pamela Dragosh <pdragosh@research.att.com> | 2019-12-08 07:32:33 -0500 |
---|---|---|
committer | Pamela Dragosh <pdragosh@research.att.com> | 2019-12-08 20:09:04 -0500 |
commit | da84eeaaf7fa8edb999f60b707139f11ea0cb644 (patch) | |
tree | 4738afc024bb4926233470ddecb7733373843174 /applications/optimization/src/main/java | |
parent | 54a5c3dab62f2b0b0c1e3da2a525fb2e5c20ae2d (diff) |
Changes for optimization refactoring
Companion review to https://gerrit.onap.org/r/c/policy/models/+/99288
The policy types for optimization were refactored, so the xacml
optimization application tests need to accomodate that.
Issue-ID: POLICY-2066
Change-Id: Ibc03b0652e771175a2fa38f5c3a3d81c7e371147
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Diffstat (limited to 'applications/optimization/src/main/java')
-rw-r--r-- | applications/optimization/src/main/java/org/onap/policy/xacml/pdp/application/optimization/OptimizationPdpApplication.java | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/applications/optimization/src/main/java/org/onap/policy/xacml/pdp/application/optimization/OptimizationPdpApplication.java b/applications/optimization/src/main/java/org/onap/policy/xacml/pdp/application/optimization/OptimizationPdpApplication.java index e2ab00c6..c5a9e7cf 100644 --- a/applications/optimization/src/main/java/org/onap/policy/xacml/pdp/application/optimization/OptimizationPdpApplication.java +++ b/applications/optimization/src/main/java/org/onap/policy/xacml/pdp/application/optimization/OptimizationPdpApplication.java @@ -49,23 +49,23 @@ public class OptimizationPdpApplication extends StdXacmlApplicationServiceProvid */ public OptimizationPdpApplication() { this.supportedPolicyTypes.add(new ToscaPolicyTypeIdentifier( - "onap.policies.optimization.AffinityPolicy", STRING_VERSION100)); + "onap.policies.optimization.resource.AffinityPolicy", STRING_VERSION100)); this.supportedPolicyTypes.add(new ToscaPolicyTypeIdentifier( - "onap.policies.optimization.DistancePolicy", STRING_VERSION100)); + "onap.policies.optimization.resource.DistancePolicy", STRING_VERSION100)); this.supportedPolicyTypes.add(new ToscaPolicyTypeIdentifier( - "onap.policies.optimization.HpaPolicy", STRING_VERSION100)); + "onap.policies.optimization.resource.HpaPolicy", STRING_VERSION100)); this.supportedPolicyTypes.add(new ToscaPolicyTypeIdentifier( - "onap.policies.optimization.OptimizationPolicy", STRING_VERSION100)); + "onap.policies.optimization.resource.OptimizationPolicy", STRING_VERSION100)); this.supportedPolicyTypes.add(new ToscaPolicyTypeIdentifier( - "onap.policies.optimization.PciPolicy", STRING_VERSION100)); + "onap.policies.optimization.resource.PciPolicy", STRING_VERSION100)); this.supportedPolicyTypes.add(new ToscaPolicyTypeIdentifier( - "onap.policies.optimization.QueryPolicy", STRING_VERSION100)); + "onap.policies.optimization.service.QueryPolicy", STRING_VERSION100)); this.supportedPolicyTypes.add(new ToscaPolicyTypeIdentifier( - "onap.policies.optimization.SubscriberPolicy", STRING_VERSION100)); + "onap.policies.optimization.service.SubscriberPolicy", STRING_VERSION100)); this.supportedPolicyTypes.add(new ToscaPolicyTypeIdentifier( - "onap.policies.optimization.Vim_fit", STRING_VERSION100)); + "onap.policies.optimization.resource.Vim_fit", STRING_VERSION100)); this.supportedPolicyTypes.add(new ToscaPolicyTypeIdentifier( - "onap.policies.optimization.VnfPolicy", STRING_VERSION100)); + "onap.policies.optimization.resource.VnfPolicy", STRING_VERSION100)); } @Override |