aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/test
diff options
context:
space:
mode:
authorRam Krishna Verma <ram_krishna.verma@bell.ca>2021-01-06 18:42:19 +0000
committerGerrit Code Review <gerrit@onap.org>2021-01-06 18:42:19 +0000
commitad8ea25422ff46907e46ef61bb482b0d03b38cd7 (patch)
tree8434b4ce44863ffcc7e21be9b64417eb93d0b037 /main/src/test
parent4b5e8ed5ca0d56b49f2ee3f485fac5ec4490d585 (diff)
parentf4a86b5bc37350c15c62544cea5e22ce7b6f931b (diff)
Merge "Changed identifiers to concept identifiers"
Diffstat (limited to 'main/src/test')
-rw-r--r--main/src/test/java/org/onap/policy/pdpx/main/XacmlStateTest.java11
1 files changed, 6 insertions, 5 deletions
diff --git a/main/src/test/java/org/onap/policy/pdpx/main/XacmlStateTest.java b/main/src/test/java/org/onap/policy/pdpx/main/XacmlStateTest.java
index 185f538e..8fb7664e 100644
--- a/main/src/test/java/org/onap/policy/pdpx/main/XacmlStateTest.java
+++ b/main/src/test/java/org/onap/policy/pdpx/main/XacmlStateTest.java
@@ -1,6 +1,7 @@
/*-
* ============LICENSE_START=======================================================
* Copyright (C) 2019 AT&T Intellectual Property. All rights reserved.
+ * Modifications Copyright (C) 2021 Nordix Foundation.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -42,7 +43,7 @@ import org.onap.policy.models.pdp.concepts.PdpUpdate;
import org.onap.policy.models.pdp.enums.PdpHealthStatus;
import org.onap.policy.models.pdp.enums.PdpResponseStatus;
import org.onap.policy.models.pdp.enums.PdpState;
-import org.onap.policy.models.tosca.authorative.concepts.ToscaPolicyTypeIdentifier;
+import org.onap.policy.models.tosca.authorative.concepts.ToscaConceptIdentifier;
import org.onap.policy.pdpx.main.rest.XacmlPdpApplicationManager;
import org.onap.policy.pdpx.main.startstop.XacmlPdpActivator;
@@ -58,8 +59,8 @@ public class XacmlStateTest {
@Mock
private XacmlPdpActivator act;
- private ToscaPolicyTypeIdentifier ident1;
- private ToscaPolicyTypeIdentifier ident2;
+ private ToscaConceptIdentifier ident1;
+ private ToscaConceptIdentifier ident2;
private String hostName;
@@ -74,8 +75,8 @@ public class XacmlStateTest {
hostName = NetworkUtil.getHostname();
- ident1 = new ToscaPolicyTypeIdentifier("nameA", "typeA");
- ident2 = new ToscaPolicyTypeIdentifier("nameB", "typeB");
+ ident1 = new ToscaConceptIdentifier("nameA", "typeA");
+ ident2 = new ToscaConceptIdentifier("nameB", "typeB");
when(appmgr.getToscaPolicyTypeIdents()).thenReturn(Arrays.asList(ident1, ident2));