aboutsummaryrefslogtreecommitdiffstats
path: root/vid-automation
diff options
context:
space:
mode:
authorEinat Vinouze <einat.vinouze@intl.att.com>2020-02-13 16:04:27 +0200
committerEinat Vinouze <einat.vinouze@intl.att.com>2020-02-13 16:04:27 +0200
commitd582694d020cb01271297ebebc52c5eaa4330079 (patch)
treed486adf164cd5e71baeedd4ccdd2f395c0897720 /vid-automation
parentd59a9fd8aef8442c1c96a524ff06fb0582d0d814 (diff)
Translate owning entity name to owning entity ID - update api test to except new behavior
Issue-ID: VID-758 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Change-Id: Ib8b8da5c3267a3668cf29b950233af14b29f2d23
Diffstat (limited to 'vid-automation')
-rw-r--r--vid-automation/conf/users14
-rw-r--r--vid-automation/src/test/java/org/onap/vid/api/AaiApiTest.java2
2 files changed, 8 insertions, 8 deletions
diff --git a/vid-automation/conf/users b/vid-automation/conf/users
index 648b661a5..8f38018b8 100644
--- a/vid-automation/conf/users
+++ b/vid-automation/conf/users
@@ -14,7 +14,7 @@
"password": "1"
},
"roles": [
- "d61e6f2d-12fa-4cc2-91df-7c244011d6fc___LOB", "Melissa___LOB", "aaa1___LOB",
+ "WayneHolland___LOB", "Melissa___LOB", "aaa1___LOB",
"SILVIA ROBBINS___TYLER SILVIA", "SILVIA ROBBINS___DARREN MCGEE", "CAR_2020_ER___DARREN MCGEE", "CAR_2020_ER___MSO-dev-service-type", "CAR_2020_ER___TYLER SILVIA","READ___LOGS___PERMITTED","Emanuel___mySubType", "global-customer-id___service-instance-type"
],
"subscriberNames": ["SILVIA ROBBINS", "CAR_2020_ER", "Emanuel", "global-customer-id"],
@@ -27,7 +27,7 @@
"password": "3"
},
"roles": [
- "d61e6f2d-12fa-4cc2-91df-7c244011d6fc___LOB", "Melissa___LOB", "aaa1___LOB",
+ "WayneHolland___LOB", "Melissa___LOB", "aaa1___LOB",
"Emanuel___Emanuel"
],
"subscriberNames": ["Emanuel"],
@@ -40,7 +40,7 @@
"password": "667"
},
"roles": [
- "d61e6f2d-12fa-4cc2-91df-7c244011d6fc___LOB", "Melissa___LOB", "aaa1___LOB",
+ "WayneHolland___LOB", "Melissa___LOB", "aaa1___LOB",
"CRAIG/ROBERTS___AIM Transport"
],
"subscriberNames": ["CRAIG/ROBERTS"],
@@ -53,7 +53,7 @@
"password": "4"
},
"roles": [
- "d61e6f2d-12fa-4cc2-91df-7c244011d6fc___LOB", "Melissa___LOB", "aaa1___LOB",
+ "WayneHolland___LOB", "Melissa___LOB", "aaa1___LOB",
"Emanuel___vWINIFRED", "Emanuel___vRichardson"
],
"subscriberNames": ["Emanuel"],
@@ -66,7 +66,7 @@
"password": "822"
},
"roles": [
- "d61e6f2d-12fa-4cc2-91df-7c244011d6fc___LOB", "Melissa___LOB", "aaa1___LOB",
+ "WayneHolland___LOB", "Melissa___LOB", "aaa1___LOB",
"JULIO ERICKSON___Emanuel",
"JULIO ERICKSON___vRichardson"
@@ -81,7 +81,7 @@
"password": "312"
},
"roles": [
- "d61e6f2d-12fa-4cc2-91df-7c244011d6fc___LOB", "Melissa___LOB", "aaa1___LOB",
+ "WayneHolland___LOB", "Melissa___LOB", "aaa1___LOB",
"Emanuel___vRichardson"
],
"subscriberNames": ["Emanuel"],
@@ -94,7 +94,7 @@
"password": "312"
},
"roles": [
- "d61e6f2d-12fa-4cc2-91df-7c244011d6fc___LOB", "Melissa___LOB", "aaa1___LOB",
+ "WayneHolland___LOB", "Melissa___LOB", "aaa1___LOB",
"Emanuel___vWINIFRED___test-hvf6-09"
],
"subscriberNames": ["Emanuel"],
diff --git a/vid-automation/src/test/java/org/onap/vid/api/AaiApiTest.java b/vid-automation/src/test/java/org/onap/vid/api/AaiApiTest.java
index 54300c22a..958ba87d1 100644
--- a/vid-automation/src/test/java/org/onap/vid/api/AaiApiTest.java
+++ b/vid-automation/src/test/java/org/onap/vid/api/AaiApiTest.java
@@ -907,7 +907,7 @@ public class AaiApiTest extends BaseApiAaiTest {
public void searchServiceInstancesBySubscriber_serviceInstanceOfAnotherSubscriber_authIsFollowingFeatureToggle() {
String craigRobertsSubscriberId = "31739f3e-526b-11e6-beb8-9e71128cae77";
String aServiceOwningEntityId = "f160c875-ddd1-4ef5-84d8-d098784daa3a";
- String currentUserAuthorizedOwningEntityId = "SILVIA ROBBINS"; // this will need to change with translateOwningEntityNameToOwningEntityId
+ String currentUserAuthorizedOwningEntityId = "d61e6f2d-12fa-4cc2-91df-7c244011d6fc";
SimulatorApi.registerExpectation(GET_SUBSCRIBERS_FOR_CUSTOMER_CRAIG_ROBERTS,
ImmutableMap.of(aServiceOwningEntityId, currentUserAuthorizedOwningEntityId), CLEAR_THEN_SET);