diff options
author | PatrikBuhr <patrik.buhr@est.tech> | 2021-01-14 15:31:39 +0100 |
---|---|---|
committer | PatrikBuhr <patrik.buhr@est.tech> | 2021-01-15 12:03:14 +0100 |
commit | be0ae3e197f5d5032c0766a59050b03e2a4deb99 (patch) | |
tree | d5e4977b41c67285434bd10125f9a876c484f460 /a1-policy-management/src/test/java | |
parent | 157f8cb05752a6bff2b7b9ad192acba4b6def6c3 (diff) |
Added a prefix to the PMS NBI
Replaced the copied pms api files under offered api with symlinks.
Change-Id: I9421fdb959078e5de1a20987f3c2a2fa626bb25d
Issue-ID: CCSDK-3077
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
Diffstat (limited to 'a1-policy-management/src/test/java')
-rw-r--r-- | a1-policy-management/src/test/java/org/onap/ccsdk/oran/a1policymanagementservice/controllers/v2/ConfigurationControllerTest.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/a1-policy-management/src/test/java/org/onap/ccsdk/oran/a1policymanagementservice/controllers/v2/ConfigurationControllerTest.java b/a1-policy-management/src/test/java/org/onap/ccsdk/oran/a1policymanagementservice/controllers/v2/ConfigurationControllerTest.java index 376ce76e..482c94fb 100644 --- a/a1-policy-management/src/test/java/org/onap/ccsdk/oran/a1policymanagementservice/controllers/v2/ConfigurationControllerTest.java +++ b/a1-policy-management/src/test/java/org/onap/ccsdk/oran/a1policymanagementservice/controllers/v2/ConfigurationControllerTest.java @@ -105,7 +105,7 @@ class ConfigurationControllerTest { @Test void putValidConfigurationWithNewRic_shouldUpdateRepository() throws Exception { - String url = "/v2/configuration"; + String url = "a1-policy/v2/configuration"; String resp = restClient().put(url, configAsString()).block(); @@ -119,7 +119,7 @@ class ConfigurationControllerTest { @Test void getNoFileExists() { - String url = "/v2/configuration"; + String url = "a1-policy/v2/configuration"; testErrorCode(restClient().get(url), HttpStatus.NOT_FOUND, "File does not exist"); } @@ -131,7 +131,7 @@ class ConfigurationControllerTest { @Test void putInvalidConfiguration_shouldReturnError400() throws Exception { - String url = "/v2/configuration"; + String url = "a1-policy/v2/configuration"; // Valid JSON but invalid configuration. testErrorCode(restClient().put(url, "{\"error\":\"error\"}"), HttpStatus.BAD_REQUEST, "Faulty configuration"); |