summaryrefslogtreecommitdiffstats
path: root/controlloop/common/eventmanager/src
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2017-12-11 04:21:33 +0000
committerGerrit Code Review <gerrit@onap.org>2017-12-11 04:21:33 +0000
commit5cfd3b7066e6a6305e140fa59b1fccb8e3c5f81b (patch)
treefff192566312a14dab3331f55b396f2615dec815 /controlloop/common/eventmanager/src
parent379e02e7e500b4c022771e5a1f4bdd1566069a9b (diff)
parentc3619a82215b2277087f73741d57d3a3b75325f6 (diff)
Merge "Technical Debt in AAI."
Diffstat (limited to 'controlloop/common/eventmanager/src')
-rw-r--r--controlloop/common/eventmanager/src/test/java/org/onap/policy/controlloop/eventmanager/ControlLoopEventManagerTest.java30
1 files changed, 15 insertions, 15 deletions
diff --git a/controlloop/common/eventmanager/src/test/java/org/onap/policy/controlloop/eventmanager/ControlLoopEventManagerTest.java b/controlloop/common/eventmanager/src/test/java/org/onap/policy/controlloop/eventmanager/ControlLoopEventManagerTest.java
index be0eb2bc3..99a4c926d 100644
--- a/controlloop/common/eventmanager/src/test/java/org/onap/policy/controlloop/eventmanager/ControlLoopEventManagerTest.java
+++ b/controlloop/common/eventmanager/src/test/java/org/onap/policy/controlloop/eventmanager/ControlLoopEventManagerTest.java
@@ -288,28 +288,28 @@ public class ControlLoopEventManagerTest {
relationshipDataItem.relationshipKey = "customer.global-customer-id";
relationshipDataItem.relationshipValue = "MSO_1610_ST";
- relationshipData.relationshipData.add(relationshipDataItem);
+ relationshipData.getRelationshipData().add(relationshipDataItem);
relationshipDataItem.relationshipKey = "service-subscription.service-type";
relationshipDataItem.relationshipValue = "MSO-dev-service-type";
- relationshipData.relationshipData.add(relationshipDataItem);
+ relationshipData.getRelationshipData().add(relationshipDataItem);
relationshipDataItem.relationshipKey = "service-instance.service-instance-id";
relationshipDataItem.relationshipValue = "e1e9c97c-02c0-4919-9b4c-eb5d5ef68970";
- relationshipData.relationshipData.add(relationshipDataItem);
+ relationshipData.getRelationshipData().add(relationshipDataItem);
RelatedToProperty relatedToProperty = new RelatedToProperty();
RelatedToPropertyItem item = new RelatedToPropertyItem();
item.propertyKey = "service-instance.service-instance-name";
item.propertyValue = "lll_svc_010317";
- relatedToProperty.relatedTo.add(item);
+ relatedToProperty.getRelatedTo().add(item);
relationship.relatedTo = "service-instance";
relationship.relatedLink = "/aai/v11/business/customers/customer/MSO_1610_ST/service-subscriptions/service-subscription/MSO-dev-service-type/service-instances/service-instance/e1e9c97c-02c0-4919-9b4c-eb5d5ef68970";
relationship.relationshipData = relationshipData;
relationship.relatedToProperty = relatedToProperty;
- relationshipList.relationshipList.add(relationship);
+ relationshipList.getRelationshipList().add(relationship);
response.relationshipList = relationshipList;
return response;
@@ -335,28 +335,28 @@ public class ControlLoopEventManagerTest {
relationshipDataItem.relationshipKey = "customer.global-customer-id";
relationshipDataItem.relationshipValue = "MSO_1610_ST";
- relationshipData.relationshipData.add(relationshipDataItem);
+ relationshipData.getRelationshipData().add(relationshipDataItem);
relationshipDataItem.relationshipKey = "service-subscription.service-type";
relationshipDataItem.relationshipValue = "MSO-dev-service-type";
- relationshipData.relationshipData.add(relationshipDataItem);
+ relationshipData.getRelationshipData().add(relationshipDataItem);
relationshipDataItem.relationshipKey = "service-instance.service-instance-id";
relationshipDataItem.relationshipValue = "e1e9c97c-02c0-4919-9b4c-eb5d5ef68970";
- relationshipData.relationshipData.add(relationshipDataItem);
+ relationshipData.getRelationshipData().add(relationshipDataItem);
RelatedToProperty relatedToProperty = new RelatedToProperty();
RelatedToPropertyItem item = new RelatedToPropertyItem();
item.propertyKey = "service-instance.service-instance-name";
item.propertyValue = "lll_svc_010317";
- relatedToProperty.relatedTo.add(item);
+ relatedToProperty.getRelatedTo().add(item);
relationship.relatedTo = "service-instance";
relationship.relatedLink = "/aai/v11/business/customers/customer/MSO_1610_ST/service-subscriptions/service-subscription/MSO-dev-service-type/service-instances/service-instance/e1e9c97c-02c0-4919-9b4c-eb5d5ef68970";
relationship.relationshipData = relationshipData;
relationship.relatedToProperty = relatedToProperty;
- relationshipList.relationshipList.add(relationship);
+ relationshipList.getRelationshipList().add(relationship);
response.relationshipList = relationshipList;
return response;
@@ -380,28 +380,28 @@ public class ControlLoopEventManagerTest {
relationshipDataItem.relationshipKey = "customer.global-customer-id";
relationshipDataItem.relationshipValue = "MSO_1610_ST";
- relationshipData.relationshipData.add(relationshipDataItem);
+ relationshipData.getRelationshipData().add(relationshipDataItem);
relationshipDataItem.relationshipKey = "service-subscription.service-type";
relationshipDataItem.relationshipValue = "MSO-dev-service-type";
- relationshipData.relationshipData.add(relationshipDataItem);
+ relationshipData.getRelationshipData().add(relationshipDataItem);
relationshipDataItem.relationshipKey = "service-instance.service-instance-id";
relationshipDataItem.relationshipValue = "e1e9c97c-02c0-4919-9b4c-eb5d5ef68970";
- relationshipData.relationshipData.add(relationshipDataItem);
+ relationshipData.getRelationshipData().add(relationshipDataItem);
RelatedToProperty relatedToProperty = new RelatedToProperty();
RelatedToPropertyItem item = new RelatedToPropertyItem();
item.propertyKey = "service-instance.service-instance-name";
item.propertyValue = "lll_svc_010317";
- relatedToProperty.relatedTo.add(item);
+ relatedToProperty.getRelatedTo().add(item);
relationship.relatedTo = "service-instance";
relationship.relatedLink = "/aai/v11/business/customers/customer/MSO_1610_ST/service-subscriptions/service-subscription/MSO-dev-service-type/service-instances/service-instance/e1e9c97c-02c0-4919-9b4c-eb5d5ef68970";
relationship.relationshipData = relationshipData;
relationship.relatedToProperty = relatedToProperty;
- relationshipList.relationshipList.add(relationship);
+ relationshipList.getRelationshipList().add(relationship);
response.relationshipList = relationshipList;
return response;