summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorluxin <luxin7@huawei.com>2017-04-22 15:00:39 +0800
committerluxin <luxin7@huawei.com>2017-04-22 15:00:39 +0800
commit295e472763d46520ad266aecc8782ecc2d7f26a4 (patch)
tree16e726dad209c5bbc82a4689dabb2c13b2b397f4
parent7b63090190459364e2c4be3edf49ebb6256f6dab (diff)
fix vnf-sdk-lc-test config
VNFSDK-79 Change-Id: I6c7e5e4d6d2b09c5efd274b7b46549709bc522fe Signed-off-by: luxin <luxin7@huawei.com>
-rw-r--r--deployment/src/main/release/conf/server.xml2
-rw-r--r--deployment/src/main/release/etc/adapterInfo/lifecycletestinfo.json4
-rw-r--r--lifecycle-test/src/webapp/WEB-INF/web.xml2
3 files changed, 4 insertions, 4 deletions
diff --git a/deployment/src/main/release/conf/server.xml b/deployment/src/main/release/conf/server.xml
index ef644f8..def3570 100644
--- a/deployment/src/main/release/conf/server.xml
+++ b/deployment/src/main/release/conf/server.xml
@@ -30,7 +30,7 @@
name="UserDatabase" pathname="conf/tomcat-users.xml" type="org.apache.catalina.UserDatabase" />
</GlobalNamingResources>
<Service name="Catalina">
- <Connector connectionTimeout="20000" port="8480" protocol="HTTP/1.1" redirectPort="8443" />
+ <Connector connectionTimeout="20000" port="8703" protocol="HTTP/1.1" redirectPort="8443" />
<Connector port="8821" protocol="AJP/1.3" redirectPort="8443" />
<Engine defaultHost="localhost" name="Catalina">
<Realm className="org.apache.catalina.realm.LockOutRealm">
diff --git a/deployment/src/main/release/etc/adapterInfo/lifecycletestinfo.json b/deployment/src/main/release/etc/adapterInfo/lifecycletestinfo.json
index 10a28b9..a6d64f5 100644
--- a/deployment/src/main/release/etc/adapterInfo/lifecycletestinfo.json
+++ b/deployment/src/main/release/etc/adapterInfo/lifecycletestinfo.json
@@ -1,7 +1,7 @@
{
- "serviceName": "lifecycleTest",
+ "serviceName": "lifecycletest",
"version": "v1",
- "url": "/openoapi/vnfsdk/v1",
+ "url": "/openoapi/lifecycletest/v1",
"protocol": "REST",
"visualRange": "1",
"nodes": [
diff --git a/lifecycle-test/src/webapp/WEB-INF/web.xml b/lifecycle-test/src/webapp/WEB-INF/web.xml
index c814c9c..a41a5f2 100644
--- a/lifecycle-test/src/webapp/WEB-INF/web.xml
+++ b/lifecycle-test/src/webapp/WEB-INF/web.xml
@@ -29,7 +29,7 @@
</servlet>
<servlet-mapping>
<servlet-name>CXFServlet</servlet-name>
- <url-pattern>/openoapi/vnfsdk/*</url-pattern>
+ <url-pattern>/openoapi/lifecycletest/*</url-pattern>
</servlet-mapping>
<context-param>