From 0cb3b571ae8cb5cfa4905357c22e223d1b4a8d24 Mon Sep 17 00:00:00 2001 From: romaingimbert Date: Tue, 2 Apr 2019 13:50:17 +0200 Subject: Update NBI version to 4 -change nbi version to 4.0.0 -change path to v4 Change-Id: Idc35e25fa13625b0916909d5030fcb458561a3fa Issue-ID: EXTAPI-220 Signed-off-by: romaingimbert --- src/main/resources/application-test.properties | 2 +- src/main/resources/application.properties | 2 +- src/test/java/karate-config.js | 2 +- src/test/resources/karatetest/data/subscriber.json | 2 +- src/test/resources/karatetest/features/01--ServiceInventory.feature | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/main/resources/application-test.properties b/src/main/resources/application-test.properties index ed34f0a..8511a3b 100644 --- a/src/main/resources/application-test.properties +++ b/src/main/resources/application-test.properties @@ -14,7 +14,7 @@ # limitations under the License. # -nbi.version = v3 +nbi.version = v4 # SERVER server.servlet.context-path = /nbi/api/${nbi.version} diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index d488505..5b908b3 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -20,7 +20,7 @@ spring.profiles.active = default # VERSION -nbi.version = v3 +nbi.version = v4 # SERVER server.servlet.context-path = /nbi/api/${nbi.version} diff --git a/src/test/java/karate-config.js b/src/test/java/karate-config.js index f67e555..4b81173 100644 --- a/src/test/java/karate-config.js +++ b/src/test/java/karate-config.js @@ -1,6 +1,6 @@ function() { var config = { - nbiBaseUrl: 'http://localhost:8080/nbi/api/v3' + nbiBaseUrl: 'http://localhost:8080/nbi/api/v4' }; karate.configure('connectTimeout', 5000); karate.configure('readTimeout', 5000); diff --git a/src/test/resources/karatetest/data/subscriber.json b/src/test/resources/karatetest/data/subscriber.json index 1853952..14dfdb8 100644 --- a/src/test/resources/karatetest/data/subscriber.json +++ b/src/test/resources/karatetest/data/subscriber.json @@ -13,7 +13,7 @@ "query": "eventType=ServiceOrderItemStateChangeNotification" }, { - "callback": "http://localhost:8080/nbi/api/v3/test/listener", + "callback": "http://localhost:8080/nbi/api/v4/test/listener", "query": "eventType=ServiceOrderStateChangeNotification" } ] \ No newline at end of file diff --git a/src/test/resources/karatetest/features/01--ServiceInventory.feature b/src/test/resources/karatetest/features/01--ServiceInventory.feature index 95f8696..eacbf2f 100644 --- a/src/test/resources/karatetest/features/01--ServiceInventory.feature +++ b/src/test/resources/karatetest/features/01--ServiceInventory.feature @@ -20,7 +20,7 @@ And match $.supportingResource == '#[2]' Scenario: testServiceResourceGetInventoryWithStatus -Given url 'http://localhost:8080/nbi/api/v3/service/405c8c00-44b9-4303-9f27-6797d22ca096' +Given path 'service','405c8c00-44b9-4303-9f27-6797d22ca096' When method get Then status 200 And match $.state == 'Active' -- cgit 1.2.3-korg