diff options
Diffstat (limited to 'ecomp-portal-BE-os/src/main/webapp/WEB-INF')
-rw-r--r-- | ecomp-portal-BE-os/src/main/webapp/WEB-INF/conf/system.properties | 2 | ||||
-rw-r--r-- | ecomp-portal-BE-os/src/main/webapp/WEB-INF/web.xml | 28 |
2 files changed, 29 insertions, 1 deletions
diff --git a/ecomp-portal-BE-os/src/main/webapp/WEB-INF/conf/system.properties b/ecomp-portal-BE-os/src/main/webapp/WEB-INF/conf/system.properties index 67d93285..cb187c8c 100644 --- a/ecomp-portal-BE-os/src/main/webapp/WEB-INF/conf/system.properties +++ b/ecomp-portal-BE-os/src/main/webapp/WEB-INF/conf/system.properties @@ -40,7 +40,7 @@ db.driver = org.mariadb.jdbc.Driver #db.connectionURL = jdbc:mariadb:failover://localhost:3306/ecomp_portal #db.userName = XXXX #db.password = XXXX -db.connectionURL = jdbc:mariadb:failover://demeter.homer.att.com:3306/ecomp_portal_1710_os +db.connectionURL = jdbc:mariadb:failover://localhost:3306/portal db.userName = portal db.password = P0rt@l # is the db.password property encrypted? diff --git a/ecomp-portal-BE-os/src/main/webapp/WEB-INF/web.xml b/ecomp-portal-BE-os/src/main/webapp/WEB-INF/web.xml index 6984cc91..1181a2fd 100644 --- a/ecomp-portal-BE-os/src/main/webapp/WEB-INF/web.xml +++ b/ecomp-portal-BE-os/src/main/webapp/WEB-INF/web.xml @@ -106,4 +106,32 @@ <filter-name>SecurityXssFilter</filter-name> <url-pattern>/*</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>{Path}/cadi.properties + </param-value> + </init-param> + Add param values with comma delimited values + <init-param> + <param-name>include_url_endpoints</param-name> + <param-value>/auxapi/*</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>/auxapi/v3/*</url-pattern> + </filter-mapping> + <filter-mapping> + <filter-name>CadiAuthFilter</filter-name> + <url-pattern>/auxapi/v4/*</url-pattern> + + </filter-mapping> --> </web-app> |