diff options
author | talio <talio@amdocs.com> | 2020-06-17 15:57:06 +0300 |
---|---|---|
committer | Ofir Sonsino <ofir.sonsino@intl.att.com> | 2020-06-21 07:13:29 +0000 |
commit | a098edad859459ab116d4587af8262877f2b522a (patch) | |
tree | d5ac83bf0ef79e0d0b7de4c28ba2953acf238b9d /catalog-be/src/main/webapp/WEB-INF | |
parent | b0140364e491df1009cf00e50c0207d2e9ca3453 (diff) |
Toggle
Add toggling mechanism to catalog side.
The first toggleable feature is healing - this was added to healing flow, in healJanusGraphDao
Issue-ID: SDC-2874
Signed-off-by: talio <talio@amdocs.com>
Change-Id: If386651cab8304ebaf13497ded3a7a50bd60e477
Signed-off-by: talio <talio@amdocs.com>
Diffstat (limited to 'catalog-be/src/main/webapp/WEB-INF')
-rw-r--r-- | catalog-be/src/main/webapp/WEB-INF/web.xml | 137 |
1 files changed, 71 insertions, 66 deletions
diff --git a/catalog-be/src/main/webapp/WEB-INF/web.xml b/catalog-be/src/main/webapp/WEB-INF/web.xml index 9991e30a86..23a08319ff 100644 --- a/catalog-be/src/main/webapp/WEB-INF/web.xml +++ b/catalog-be/src/main/webapp/WEB-INF/web.xml @@ -20,10 +20,10 @@ org.openecomp.sdc.be.filters.BeServletFilter, org.openecomp.sdc.be.filters.ComponentsAvailabilityFilter, org.glassfish.jersey.server.filter.RolesAllowedDynamicFeature, - org.openecomp.sdc.be.servlets.exception.DefaultExceptionMapper, + org.openecomp.sdc.be.servlets.exception.DefaultExceptionMapper, org.openecomp.sdc.be.servlets.exception.ComponentExceptionMapper, org.openecomp.sdc.be.servlets.exception.ConstraintViolationExceptionMapper, - org.openecomp.sdc.be.servlets.exception.StorageExceptionMapper, + org.openecomp.sdc.be.servlets.exception.StorageExceptionMapper, org.openecomp.sdc.be.view.MixinModelWriter, org.openecomp.sdc.config.ObjectMapperProvider </param-value> @@ -81,29 +81,29 @@ <async-supported>true</async-supported> </servlet> -<!-- <filter>--> -<!-- <filter-name>CadiAuthFilter</filter-name>--> -<!-- <filter-class>org.onap.portalsdk.core.onboarding.crossapi.CadiAuthFilter</filter-class>--> -<!-- <init-param>--> -<!-- <param-name>cadi_prop_files</param-name>--> -<!-- <!– Add Absolute path of cadi.properties –>--> -<!-- <param-value>etc/cadi.properties</param-value>--> -<!-- </init-param>--> -<!-- <!–Add param values with comma delimited values –>--> -<!-- <!– for example /api/v3/*,/auxapi/*–>--> -<!-- <init-param>--> -<!-- <param-name>include_url_endpoints</param-name>--> -<!-- <param-value>/api/v3/roles,/api/v3/user/*,/api/v3/user/*/roles,/api/v3/users,/api/v3/sessionTimeOuts,/api/v3/updateSessionTimeOuts</param-value>--> -<!-- </init-param>--> -<!-- <init-param>--> -<!-- <param-name>exclude_url_endpoints</param-name>--> -<!-- <param-value>/api/v3/analytics,/api/v3/storeAnalytics</param-value>--> -<!-- </init-param>--> -<!-- </filter>--> -<!-- <filter-mapping>--> -<!-- <filter-name>CadiAuthFilter</filter-name>--> -<!-- <url-pattern>/api/v3/*</url-pattern>--> -<!-- </filter-mapping>--> + <!-- <filter>--> + <!-- <filter-name>CadiAuthFilter</filter-name>--> + <!-- <filter-class>org.onap.portalsdk.core.onboarding.crossapi.CadiAuthFilter</filter-class>--> + <!-- <init-param>--> + <!-- <param-name>cadi_prop_files</param-name>--> + <!-- <!– Add Absolute path of cadi.properties –>--> + <!-- <param-value>etc/cadi.properties</param-value>--> + <!-- </init-param>--> + <!-- <!–Add param values with comma delimited values –>--> + <!-- <!– for example /api/v3/*,/auxapi/*–>--> + <!-- <init-param>--> + <!-- <param-name>include_url_endpoints</param-name>--> + <!-- <param-value>/api/v3/roles,/api/v3/user/*,/api/v3/user/*/roles,/api/v3/users,/api/v3/sessionTimeOuts,/api/v3/updateSessionTimeOuts</param-value>--> + <!-- </init-param>--> + <!-- <init-param>--> + <!-- <param-name>exclude_url_endpoints</param-name>--> + <!-- <param-value>/api/v3/analytics,/api/v3/storeAnalytics</param-value>--> + <!-- </init-param>--> + <!-- </filter>--> + <!-- <filter-mapping>--> + <!-- <filter-name>CadiAuthFilter</filter-name>--> + <!-- <url-pattern>/api/v3/*</url-pattern>--> + <!-- </filter-mapping>--> <servlet> <servlet-name>ViewStatusMessages</servlet-name> @@ -151,10 +151,10 @@ <!--<async-supported>true</async-supported>--> <!--</filter>--> -<!-- <filter>--> -<!-- <filter-name>gatewayFilter</filter-name>--> -<!-- <filter-class>org.openecomp.sdc.be.filters.GatewayFilter</filter-class>--> -<!-- </filter>--> + <!-- <filter>--> + <!-- <filter-name>gatewayFilter</filter-name>--> + <!-- <filter-class>org.openecomp.sdc.be.filters.GatewayFilter</filter-class>--> + <!-- </filter>--> <filter> <filter-name>gatewayFilter</filter-name> @@ -173,35 +173,35 @@ <url-pattern>/sdc/*</url-pattern> </filter-mapping> -<!-- <filter>--> -<!-- <filter-name>beRestrictionAccessFilter</filter-name>--> -<!-- <filter-class>--> -<!-- org.springframework.web.filter.DelegatingFilterProxy--> -<!-- </filter-class>--> -<!-- <init-param>--> -<!-- <param-name>targetFilterLifecycle</param-name>--> -<!-- <param-value>true</param-value>--> -<!-- </init-param>--> -<!-- </filter>--> -<!-- <filter-mapping>--> -<!-- <filter-name>beRestrictionAccessFilter</filter-name>--> -<!-- <url-pattern>/sdc2/rest/*</url-pattern>--> -<!-- </filter-mapping>--> - -<!-- <filter>--> -<!-- <filter-name>CADI</filter-name>--> -<!-- <filter-class>org.openecomp.sdc.be.filters.BeCadiServletFilter</filter-class>--> -<!-- <init-param>--> -<!-- <param-name>cadi_prop_files</param-name>--> -<!-- <param-value>etc/cadi.properties</param-value>--> -<!-- </init-param>--> -<!-- </filter>--> - -<!-- <filter-mapping>--> -<!-- <filter-name>CADI</filter-name>--> -<!-- <url-pattern>/sdc/*</url-pattern>--> -<!-- <url-pattern>/sdc2/rest/*</url-pattern>--> -<!-- </filter-mapping>--> + <!-- <filter>--> + <!-- <filter-name>beRestrictionAccessFilter</filter-name>--> + <!-- <filter-class>--> + <!-- org.springframework.web.filter.DelegatingFilterProxy--> + <!-- </filter-class>--> + <!-- <init-param>--> + <!-- <param-name>targetFilterLifecycle</param-name>--> + <!-- <param-value>true</param-value>--> + <!-- </init-param>--> + <!-- </filter>--> + <!-- <filter-mapping>--> + <!-- <filter-name>beRestrictionAccessFilter</filter-name>--> + <!-- <url-pattern>/sdc2/rest/*</url-pattern>--> + <!-- </filter-mapping>--> + + <!-- <filter>--> + <!-- <filter-name>CADI</filter-name>--> + <!-- <filter-class>org.openecomp.sdc.be.filters.BeCadiServletFilter</filter-class>--> + <!-- <init-param>--> + <!-- <param-name>cadi_prop_files</param-name>--> + <!-- <param-value>etc/cadi.properties</param-value>--> + <!-- </init-param>--> + <!-- </filter>--> + + <!-- <filter-mapping>--> + <!-- <filter-name>CADI</filter-name>--> + <!-- <url-pattern>/sdc/*</url-pattern>--> + <!-- <url-pattern>/sdc2/rest/*</url-pattern>--> + <!-- </filter-mapping>--> <filter> <filter-name>reqValidationFilter</filter-name> @@ -224,14 +224,19 @@ <exception-type>java.lang.RuntimeException</exception-type> <location>/sdc2/rest/v1/catalog/handleException/</location> </error-page> - <context-param> - <param-name>contextConfigLocation</param-name> - <param-value>classpath:application-context.xml</param-value> - </context-param> - - <listener> - <listener-class>org.openecomp.sdc.be.listen.BEAppContextListener</listener-class> - </listener> + <context-param> + <param-name>contextConfigLocation</param-name> + <param-value>classpath:application-context.xml</param-value> + </context-param> + + <context-param> + <param-name>org.togglz.core.manager.TogglzConfig</param-name> + <param-value>org.openecomp.sdc.be.togglz.TogglzConfiguration</param-value> + </context-param> + + <listener> + <listener-class>org.openecomp.sdc.be.listen.BEAppContextListener</listener-class> + </listener> <listener> <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> |