diff --git a/modules/distribution/src/assembly/bin.xml b/modules/distribution/src/assembly/bin.xml index 7ab1f3fb..3ebe56cd 100755 --- a/modules/distribution/src/assembly/bin.xml +++ b/modules/distribution/src/assembly/bin.xml @@ -371,19 +371,6 @@ - - - - ../p2-profile/iot-core-profile/target/wso2carbon-core-${carbon.kernel.version}/wso2/deployment/server/jaggeryapps/android-web-agent/ - - - ${pom.artifactId}-${pom.version}/repository/deployment/server/jaggeryapps/android-web-agent - - - **/jaggery.conf - - - ../p2-profile/iot-core-profile/target/wso2carbon-core-${carbon.kernel.version}/wso2/deployment/server/webapps/ @@ -1503,14 +1490,6 @@ true 644 - - - src/core/jaggeryapps/android-web-agent/jaggery.conf - - ${pom.artifactId}-${pom.version}/repository/deployment/server/jaggeryapps/android-web-agent/ - - 755 - src/core/jaggeryapps/api-store/jaggery.conf diff --git a/modules/distribution/src/core/jaggeryapps/android-web-agent/jaggery.conf b/modules/distribution/src/core/jaggeryapps/android-web-agent/jaggery.conf deleted file mode 100644 index 7c33479a..00000000 --- a/modules/distribution/src/core/jaggeryapps/android-web-agent/jaggery.conf +++ /dev/null @@ -1,58 +0,0 @@ -{ - "displayName": "UUF Template App", - "logLevel": "warn", - "urlMappings": [ - { - "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" - } - ], - "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"}] - } - - ], - "filterMappings": [ - { - "name":"HttpHeaderSecurityFilter", - "url":"*" - }, - { - "name":"ContentTypeBasedCachePreventionFilter", - "url":"*" - } - - ] -} diff --git a/modules/scripts/change-superadmin-credentials.sh b/modules/scripts/change-superadmin-credentials.sh index f51f1829..fc0d2aa5 100644 --- a/modules/scripts/change-superadmin-credentials.sh +++ b/modules/scripts/change-superadmin-credentials.sh @@ -129,9 +129,6 @@ if [ $val5 = "Y" ]; then sed -i -e 's#\("owner": "\)'$val1'\(@carbon.super"\)#\1'$val3'\2#g' ../repository/deployment/server/jaggeryapps/devicemgt/app/conf/config.json echo "Completed!!" - echo "Changing /repository/deployment/server/jaggeryapps/android-web-agent/app/conf/config.json" - sed -i -e 's#\("owner": "\)'$val1'\(@carbon.super"\)#\1'$val3'\2#g' ../repository/deployment/server/jaggeryapps/android-web-agent/app/conf/config.json - echo "Completed!!" else if [ $val5 = "N" ]; then echo "" echo "Please enter the old tenant domain of the IoTS " @@ -153,10 +150,6 @@ else if [ $val5 = "N" ]; then sed -i -e 's#\("adminUser": "\)'$val1'\(@\)'$val6'\("\)#\1'$val3'\2'$val7'\3#g' ../repository/deployment/server/jaggeryapps/devicemgt/app/conf/config.json sed -i -e 's#\("owner": "\)'$val1'\(@\)'$val6'\("\)#\1'$val3'\2'$val7'\3#g' ../repository/deployment/server/jaggeryapps/devicemgt/app/conf/config.json echo "Completed!!" - - echo "Changing /repository/deployment/server/jaggeryapps/android-web-agent/app/conf/config.json" - sed -i -e 's#\("owner": "\)'$val1'\(@\)'$val6'\("\)#\1'$val3'\2'$val7'\3#g' ../repository/deployment/server/jaggeryapps/android-web-agent/app/conf/config.json - echo "Completed!!" fi fi