From 366c05961dec9c7915aa7b2c0abd4368ff00606d Mon Sep 17 00:00:00 2001 From: Maninda Date: Mon, 16 Jan 2017 16:46:19 +0530 Subject: [PATCH] Removed jaggery.conf from copying at build time --- .../core/distribution/src/assembly/bin.xml | 7 - .../jaggeryapps/devicemgt/jaggery.conf | 129 ------------------ 2 files changed, 136 deletions(-) delete mode 100644 modules/core/distribution/src/repository/jaggeryapps/devicemgt/jaggery.conf diff --git a/modules/core/distribution/src/assembly/bin.xml b/modules/core/distribution/src/assembly/bin.xml index 61755aa2..7b7c9e77 100644 --- a/modules/core/distribution/src/assembly/bin.xml +++ b/modules/core/distribution/src/assembly/bin.xml @@ -1319,13 +1319,6 @@ 755 - - src/repository/jaggeryapps/devicemgt/jaggery.conf - - ${pom.artifactId}-${pom.version}/repository/deployment/server/jaggeryapps/devicemgt/ - - 755 - src/repository/jaggeryapps/portal/jaggery.conf diff --git a/modules/core/distribution/src/repository/jaggeryapps/devicemgt/jaggery.conf b/modules/core/distribution/src/repository/jaggeryapps/devicemgt/jaggery.conf deleted file mode 100644 index 80d10749..00000000 --- a/modules/core/distribution/src/repository/jaggeryapps/devicemgt/jaggery.conf +++ /dev/null @@ -1,129 +0,0 @@ -{ - "displayName": "Carbon Device Management App", - "logLevel": "info", - "initScripts": ["/app/modules/init.js"], - "urlMappings": [ - { - "url": "/api/devices/*", - "path": "/api/device-api.jag" - }, - { - "url": "/api/groups/*", - "path": "/api/group-api.jag" - }, - { - "url": "/api/policies/*", - "path": "/api/policy-api.jag" - }, - { - "url": "/api/user/*", - "path": "/api/user-api.jag" - }, - { - "url": "/api/invoker/*", - "path": "/api/invoker-api.jag" - }, - { - "url": "/uuf/login", - "path": "/lib/modules/auth/login.jag" - }, - { - "url": "/uuf/logout", - "path": "/lib/modules/auth/logout.jag" - }, - { - "url": "/uuf/sso/acs", - "path": "/lib/modules/auth/acs.jag" - }, - { - "url": "/public/*", - "path": "/lib/static-files.jag" - }, - { - "url": "/unit/*", - "path": "/lib/units.jag" - }, - { - "url": "/*", - "path": "/lib/pages.jag" - }, - { - "url": "/api/data-tables/invoker", - "path": "/api/data-tables-invoker-api.jag" - }, - { - "url": "/api/operation/*", - "path": "/api/operation-api.jag" - } - ], - "errorPages": { - "500": "/error-pages/error500.html", - "404": "/error-pages/error404.html", - "401": "/error-pages/error401.html", - "405": "/error-pages/error405.html", - "403": "/error-pages/error403.html", - "400": "/error-pages/error400.html" - }, - "filters": [ - { - "name": "ContentTypeBasedCachePreventionFilter", - "class": "org.wso2.carbon.ui.filters.cache.ContentTypeBasedCachePreventionFilter", - "params" : [ - {"name" : "patterns", "value" : "text/html\" ,application/json\" ,text/plain"}, - {"name" : "filterAction", "value" : "enforce"}, - {"name" : "httpHeaders", "value" : "Cache-Control: no-store, no-cache, must-revalidate, private"} - ] - }, - { - "name":"HttpHeaderSecurityFilter", - "class":"org.apache.catalina.filters.HttpHeaderSecurityFilter", - "params" : [{"name" : "hstsEnabled", "value" : "false"}] - }, - { - "name" : "CSRFGuard", - "class" : "org.owasp.csrfguard.CsrfGuardFilter" - } - - ], - "filterMappings": [ - { - "name":"HttpHeaderSecurityFilter", - "url":"*" - }, - { - "name" : "CSRFGuard", - "url" : "/*" - }, - { - "name":"ContentTypeBasedCachePreventionFilter", - "url":"*" - } - - ], - "listeners" : [ - { - "class" : "org.owasp.csrfguard.CsrfGuardServletContextListener" - }, - { - "class" : "org.owasp.csrfguard.CsrfGuardHttpSessionListener" - } - ], - "servlets" : [ - { - "name" : "JavaScriptServlet", - "class" : "org.owasp.csrfguard.servlet.JavaScriptServlet" - } - ], - "servletMappings" : [ - { - "name" : "JavaScriptServlet", - "url" : "/csrf.js" - } - ], - "contextParams" : [ - { - "name" : "Owasp.CsrfGuard.Config", - "value" : "repository/conf/security/Owasp.CsrfGuard.dashboard.properties" - } - ] -}