summaryrefslogtreecommitdiffstats
path: root/adapters
diff options
context:
space:
mode:
authorc00149107 <chenchuanyu@huawei.com>2017-09-22 10:31:09 +0800
committerc00149107 <chenchuanyu@huawei.com>2017-09-22 10:32:11 +0800
commit22b44b9884ca367050e96045e2dcd9675cb605cd (patch)
tree0ac94cbce2ee61e305442a371438b52f7e5676af /adapters
parentbf1dc58d9b8a6db720f1b3cdff14d3b794b9f60a (diff)
Add generic post function
Add generic post function and correct the api define Change-Id: I11c2a10f4aad00f389b68cf7b9c42dab4441027c Issue-ID:SO-57 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
Diffstat (limited to 'adapters')
-rw-r--r--adapters/mso-vfc-adapter/WebContent/WEB-INF/web.xml2
-rw-r--r--adapters/mso-vfc-adapter/src/main/java/org/openecomp/mso/adapters/vfc/VfcAdapterRest.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/adapters/mso-vfc-adapter/WebContent/WEB-INF/web.xml b/adapters/mso-vfc-adapter/WebContent/WEB-INF/web.xml
index 5bf8864351..160dfb81bf 100644
--- a/adapters/mso-vfc-adapter/WebContent/WEB-INF/web.xml
+++ b/adapters/mso-vfc-adapter/WebContent/WEB-INF/web.xml
@@ -38,7 +38,7 @@
</servlet>
<servlet-mapping>
<servlet-name>Resteasy</servlet-name>
- <url-pattern>/rest/*</url-pattern>
+ <url-pattern>/vfcadapter/*</url-pattern>
</servlet-mapping>
<security-constraint>
<web-resource-collection>
diff --git a/adapters/mso-vfc-adapter/src/main/java/org/openecomp/mso/adapters/vfc/VfcAdapterRest.java b/adapters/mso-vfc-adapter/src/main/java/org/openecomp/mso/adapters/vfc/VfcAdapterRest.java
index f4c295337a..684933f3a9 100644
--- a/adapters/mso-vfc-adapter/src/main/java/org/openecomp/mso/adapters/vfc/VfcAdapterRest.java
+++ b/adapters/mso-vfc-adapter/src/main/java/org/openecomp/mso/adapters/vfc/VfcAdapterRest.java
@@ -49,7 +49,7 @@ import org.openecomp.mso.logger.MsoLogger;
* @author
* @version ONAP Amsterdam Release 2017-08-28
*/
-@Path("/v1/vfcdrivers")
+@Path("/vfcadapter/v1")
public class VfcAdapterRest {
private static final MsoLogger LOGGER = MsoLogger.getMsoLogger(MsoLogger.Catalog.RA);