summaryrefslogtreecommitdiffstats
path: root/catalog-be/src/main
diff options
context:
space:
mode:
authorMichael Lando <michael.lando@intl.att.com>2018-11-15 14:00:20 +0200
committerMichael Lando <michael.lando@intl.att.com>2018-11-15 20:54:01 +0200
commit11baae2bfe1e37109ef99b2f2414820cc5d97660 (patch)
tree33cbd946c5220a81bf7352ec264c7b644cc8a607 /catalog-be/src/main
parentf41951033204f43882337533b4265790c598c4e1 (diff)
block swagger access1.3.3
remove swagger access to mitigate Change-Id: Ia95eb39f3d5f763d754c6957e40e0224e2423ed7 Issue-ID: SDC-1913 Signed-off-by: Michael Lando <michael.lando@intl.att.com>
Diffstat (limited to 'catalog-be/src/main')
-rw-r--r--catalog-be/src/main/webapp/WEB-INF/web.xml82
1 files changed, 41 insertions, 41 deletions
diff --git a/catalog-be/src/main/webapp/WEB-INF/web.xml b/catalog-be/src/main/webapp/WEB-INF/web.xml
index 027601b952..26f707d5ce 100644
--- a/catalog-be/src/main/webapp/WEB-INF/web.xml
+++ b/catalog-be/src/main/webapp/WEB-INF/web.xml
@@ -8,11 +8,11 @@
<servlet-class>org.glassfish.jersey.servlet.ServletContainer</servlet-class>
<init-param>
<param-name>jersey.config.server.provider.packages</param-name>
- <param-value>io.swagger.jaxrs.json, org.openecomp.sdc.be.servlets</param-value>
+ <param-value>org.openecomp.sdc.be.servlets</param-value>
</init-param>
<init-param>
<param-name>jersey.config.server.provider.classnames</param-name>
- <param-value>io.swagger.jersey.listing.ApiListingResourceJSON,
+ <param-value>
org.glassfish.jersey.media.multipart.MultiPartFeature,
org.openecomp.sdc.be.filters.BeServletFilter,
org.openecomp.sdc.be.filters.ComponentsAvailabilityFilter,
@@ -23,14 +23,14 @@
</param-value>
</init-param>
- <init-param>
- <param-name>swagger.scanner.id</param-name>
- <param-value>test.1</param-value>
- </init-param>
- <init-param>
- <param-name>swagger.config.id</param-name>
- <param-value>test.1</param-value>
- </init-param>
+ <!--<init-param>-->
+ <!--<param-name>swagger.scanner.id</param-name>-->
+ <!--<param-value>test.1</param-value>-->
+ <!--</init-param>-->
+ <!--<init-param>-->
+ <!--<param-name>swagger.config.id</param-name>-->
+ <!--<param-value>test.1</param-value>-->
+ <!--</init-param>-->
<load-on-startup>1</load-on-startup>
</servlet>
@@ -88,38 +88,38 @@
<url-pattern>/sdc/*</url-pattern>
</servlet-mapping>
- <servlet>
- <servlet-name>Internal-APIs-Configurations</servlet-name>
- <servlet-class>io.swagger.jaxrs.config.DefaultJaxrsConfig</servlet-class>
-
- <init-param>
- <param-name>api.version</param-name>
- <param-value>1.2.0</param-value>
- </init-param>
-
- <init-param>
- <param-name>swagger.api.title</param-name>
- <param-value>Internal API's</param-value>
- </init-param>
-
- <init-param>
- <param-name>swagger.api.basepath</param-name>
- <param-value>/sdc2/rest</param-value>
- </init-param>
-
- <init-param>
- <param-name>swagger.scanner.id</param-name>
- <param-value>test.1</param-value>
- </init-param>
+ <!--<servlet>-->
+ <!--<servlet-name>Internal-APIs-Configurations</servlet-name>-->
+ <!--<servlet-class>io.swagger.jaxrs.config.DefaultJaxrsConfig</servlet-class>-->
+ <!---->
+ <!--<init-param>-->
+ <!--<param-name>api.version</param-name>-->
+ <!--<param-value>1.2.0</param-value>-->
+ <!--</init-param>-->
+ <!---->
+ <!--<init-param>-->
+ <!--<param-name>swagger.api.title</param-name>-->
+ <!--<param-value>Internal API's</param-value>-->
+ <!--</init-param>-->
+ <!---->
+ <!--<init-param>-->
+ <!--<param-name>swagger.api.basepath</param-name>-->
+ <!--<param-value>/sdc2/rest</param-value>-->
+ <!--</init-param>-->
+ <!---->
+ <!--<init-param>-->
+ <!--<param-name>swagger.scanner.id</param-name>-->
+ <!--<param-value>test.1</param-value>-->
+ <!--</init-param>-->
- <init-param>
- <param-name>swagger.config.id</param-name>
- <param-value>test.1</param-value>
- </init-param>
-
- <load-on-startup>2</load-on-startup>
- <async-supported>true</async-supported>
- </servlet>
+ <!--<init-param>-->
+ <!--<param-name>swagger.config.id</param-name>-->
+ <!--<param-value>test.1</param-value>-->
+ <!--</init-param>-->
+ <!---->
+ <!--<load-on-startup>2</load-on-startup>-->
+ <!--<async-supported>true</async-supported>-->
+ <!--</servlet>-->
<servlet>
<servlet-name>External and Distribution API's</servlet-name>