diff options
Diffstat (limited to 'vid-automation/src/test')
-rw-r--r-- | vid-automation/src/test/java/org/onap/vid/api/InstantiationTemplatesApiTest.java | 5 | ||||
-rw-r--r-- | vid-automation/src/test/resources/asyncInstantiation/templates__instance_template.json | 36 |
2 files changed, 21 insertions, 20 deletions
diff --git a/vid-automation/src/test/java/org/onap/vid/api/InstantiationTemplatesApiTest.java b/vid-automation/src/test/java/org/onap/vid/api/InstantiationTemplatesApiTest.java index f6fbd268d..ab59f087d 100644 --- a/vid-automation/src/test/java/org/onap/vid/api/InstantiationTemplatesApiTest.java +++ b/vid-automation/src/test/java/org/onap/vid/api/InstantiationTemplatesApiTest.java @@ -23,6 +23,7 @@ import org.springframework.http.HttpMethod; import org.testng.annotations.AfterMethod; import org.testng.annotations.Test; import vid.automation.test.Constants; +import vid.automation.test.Constants.Users; import vid.automation.test.model.User; import vid.automation.test.services.AsyncJobsService; import vid.automation.test.services.SimulatorApi.RegistrationStrategy; @@ -59,8 +60,8 @@ public class InstantiationTemplatesApiTest extends AsyncInstantiationBase { @Override public UserCredentials getUserCredentials() { - User user = usersService.getUser(Constants.Users.EMANUEL_EMANUEL); - return new UserCredentials(user.credentials.userId, user.credentials.password, Constants.Users.EMANUEL_EMANUEL, "", ""); + User user = usersService.getUser(Users.SILVIA_ROBBINS_TYLER_SILVIA); + return new UserCredentials(user.credentials.userId, user.credentials.password, Users.SILVIA_ROBBINS_TYLER_SILVIA, "", ""); } @AfterMethod diff --git a/vid-automation/src/test/resources/asyncInstantiation/templates__instance_template.json b/vid-automation/src/test/resources/asyncInstantiation/templates__instance_template.json index 04b09616e..a874fec4c 100644 --- a/vid-automation/src/test/resources/asyncInstantiation/templates__instance_template.json +++ b/vid-automation/src/test/resources/asyncInstantiation/templates__instance_template.json @@ -11,15 +11,15 @@ "modelType": "service", "modelVersion": "1.0" }, - "globalSubscriberId": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb", - "subscriptionServiceType": "Emanuel", - "owningEntityId": "10c645f5-9924-4b89-bec0-b17cf49d3cad", - "owningEntityName": "EMANUEL-CORE", + "globalSubscriberId": "e433710f-9217-458d-a79d-1c7aff376d89", + "subscriptionServiceType": "TYLER SILVIA", + "owningEntityId": "d61e6f2d-12fa-4cc2-91df-7c244011d6fc", + "owningEntityName": "WayneHolland", "tenantName": null, "aicZoneId": null, "aicZoneName": null, - "projectName": "Kennedy", - "subscriberName": "Emanuel", + "projectName": "WATKINS", + "subscriberName": "SILVIA ROBBINS", "rollbackOnFailure": "true", "isALaCarte": true, "testApi": "GR_API", @@ -42,11 +42,11 @@ "modelVersion": "1.0" }, "productFamilyId": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb", - "instanceName": "zolson57arlba007", + "instanceName": "hvf6arlba007", "action": "Create", - "platformName": "NETWORK-CLOUD", - "lcpCloudRegionId": "olson57a", - "tenantId": "dcb28ad99c7341748830c9dc307f85eb", + "platformName": "xxx1", + "lcpCloudRegionId": "hvf6", + "tenantId": "092eb9e8e4b7412e8787dd091bc58e86", "instanceParams": [ {} ], @@ -64,10 +64,10 @@ "modelType": "vfModule", "modelVersion": "1" }, - "instanceName": "zolson57arlba007_lba_Base_01", + "instanceName": "hvf6arlba007_lba_Base_01", "action": "Create", - "lcpCloudRegionId": "olson57a", - "tenantId": "dcb28ad99c7341748830c9dc307f85eb", + "lcpCloudRegionId": "hvf6", + "tenantId": "092eb9e8e4b7412e8787dd091bc58e86", "instanceParams": [ {} ], @@ -87,17 +87,17 @@ "modelType": "vfModule", "modelVersion": "1" }, - "instanceName": "zolson57arlba007_lba_dj_01", + "instanceName": "hvf6arlba007_lba_dj_01", "action": "Create", - "lcpCloudRegionId": "olson57a", - "tenantId": "dcb28ad99c7341748830c9dc307f85eb", + "lcpCloudRegionId": "hvf6", + "tenantId": "092eb9e8e4b7412e8787dd091bc58e86", "instanceParams": [ {} ], "rollbackOnFailure": true, "trackById": "b134410e-3bc0-478e-883e-1b6bdf8a28df", "isFailed": false, - "volumeGroupInstanceName": "zolson57arlba007_lba_dj_01_vol", + "volumeGroupInstanceName": "hvf6arlba007_lba_dj_01_vol", "usePreload": true } } @@ -106,7 +106,7 @@ "isFailed": false, "statusMessage": null, "position": null, - "lineOfBusiness": "EMANUEL-CONSUMER" + "lineOfBusiness": "zzz1" } }, "networks": {}, |