|
|
|
@ -48,14 +48,14 @@ fi
|
|
|
|
|
echo -e "\nRemoving resource profiles from the Information System\n"
|
|
|
|
|
|
|
|
|
|
source ./load-env
|
|
|
|
|
java org.gcube.smartgears.utils.sweeper.AppSweeperClient $apps 1>/dev/null
|
|
|
|
|
|
|
|
|
|
if [ "$?" != "0" ]; then
|
|
|
|
|
echo -e "\nCould no correctly sweep the profiles from the Information System"
|
|
|
|
|
echo -e "\nIn case of production deployment please contact the production admin"
|
|
|
|
|
echo -e "\nIn case of dev deployment you can remove the state by hand by removing the $GHN_HOME/state/$apps folder"
|
|
|
|
|
exit 1
|
|
|
|
|
fi
|
|
|
|
|
#java org.gcube.smartgears.utils.sweeper.AppSweeperClient $apps 1>/dev/null
|
|
|
|
|
|
|
|
|
|
#if [ "$?" != "0" ]; then
|
|
|
|
|
# echo -e "\nCould no correctly sweep the profiles from the Information System"
|
|
|
|
|
# echo -e "\nIn case of production deployment please contact the production admin"
|
|
|
|
|
# echo -e "\nIn case of dev deployment you can remove the state by hand by removing the $GHN_HOME/state/$apps folder"
|
|
|
|
|
# exit 1
|
|
|
|
|
#fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo "Removing application state $ghnhome/state/$apps"
|
|
|
|
|