summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/test/resources/service.json14
-rw-r--r--src/test/resources/swagger.properties2
2 files changed, 15 insertions, 1 deletions
diff --git a/src/test/resources/service.json b/src/test/resources/service.json
new file mode 100644
index 0000000..ebf85a1
--- /dev/null
+++ b/src/test/resources/service.json
@@ -0,0 +1,14 @@
+{
+ "serviceName": "sdnovpc",
+ "version": "v1",
+ "url": "/openoapi/sdnovpc/v1",
+ "protocol": "REST",
+ "visualRange": "1",
+ "nodes": [
+ {
+ "ip": "localhost",
+ "port": "8518",
+ "ttl": 0
+ }
+ ]
+} \ No newline at end of file
diff --git a/src/test/resources/swagger.properties b/src/test/resources/swagger.properties
index 77128e2..59a4b19 100644
--- a/src/test/resources/swagger.properties
+++ b/src/test/resources/swagger.properties
@@ -47,5 +47,5 @@ api-host-ip=127.0.0.1
api-host-port=8480
# Set the below file path to service specific configuration file path
-service-config-file-path=etc/adapterInfo/service.json
+service-config-file-path=src/test/resources/service.json