diff options
Diffstat (limited to 'ecomp-sdk/epsdk-app-os')
-rw-r--r-- | ecomp-sdk/epsdk-app-os/pom.xml | 2 | ||||
-rw-r--r-- | ecomp-sdk/epsdk-app-os/src/main/webapp/WEB-INF/web.xml | 25 |
2 files changed, 25 insertions, 2 deletions
diff --git a/ecomp-sdk/epsdk-app-os/pom.xml b/ecomp-sdk/epsdk-app-os/pom.xml index 9ca8604b..e16b78d2 100644 --- a/ecomp-sdk/epsdk-app-os/pom.xml +++ b/ecomp-sdk/epsdk-app-os/pom.xml @@ -9,7 +9,7 @@ <parent> <groupId>org.onap.portal.sdk</groupId> <artifactId>epsdk-project</artifactId> - <version>2.5.0-SNAPSHOT</version> + <version>2.5.0</version> </parent> <!-- GroupId is inherited from parent --> diff --git a/ecomp-sdk/epsdk-app-os/src/main/webapp/WEB-INF/web.xml b/ecomp-sdk/epsdk-app-os/src/main/webapp/WEB-INF/web.xml index a87e478d..56a6edba 100644 --- a/ecomp-sdk/epsdk-app-os/src/main/webapp/WEB-INF/web.xml +++ b/ecomp-sdk/epsdk-app-os/src/main/webapp/WEB-INF/web.xml @@ -56,5 +56,28 @@ <error-page> <location>/WEB-INF/jsp/error.jsp</location> </error-page> - + <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>{path}/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/*</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>/*</url-pattern> + </filter-mapping> </web-app> |