Skip to content

Commit

Permalink
idm_23.4.1_release
Browse files Browse the repository at this point in the history
  • Loading branch information
manjunathdhegde-2910 authored and Djelibeybi committed Nov 17, 2023
1 parent c0c927f commit fd8880b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# invoke wlst to set FE URL
cd /u01/oracle/oracle_common/bin || exit 1
wlst.sh -skipWLSModuleScanning /u01/oracle/dockertools/set_feurl.py -frontEndHost $FRONTENDHOST -frontEndHttpPort $FRONTENDPORT -domainHome $DOMAIN_HOME
wlst.sh -skipWLSModuleScanning /u01/oracle/dockertools/set_feurl.py -frontEndHost "$FRONTENDHOST" -frontEndHttpPort "$FRONTENDPORT" -domainHome "$DOMAIN_HOME"
retval=$?
if [ $retval -ne 0 ];
then
Expand All @@ -22,23 +22,23 @@ cd /u01/oracle/idm/server/bin/ || exit 1
offlineCmd="./offlineConfigManager.sh"
${offlineCmd}
retval=$?
if [ $retval -ne 0 ];
if [ $retval -ne 0 ];
then
echo "ERROR: Offline config command failed. Please check the logs"
exit 4
fi


# invoke the command to remove the unnessary templates in the domain config
sed -i 's/<server-template>//g' $DOMAIN_HOME/config/config.xml
sed -i 's/<listen-port>7100<\/listen-port>//g' $DOMAIN_HOME/config/config.xml
sed -i 's/<\/server-template>//g' $DOMAIN_HOME/config/config.xml
sed -i 's/<name>soa-server-template<\/name>//g' $DOMAIN_HOME/config/config.xml
sed -i 's/<name>oim-server-template<\/name>//g' $DOMAIN_HOME/config/config.xml
sed -i 's/<name>wsm-cache-server-template<\/name>//g' $DOMAIN_HOME/config/config.xml
sed -i 's/<name>wsmpm-server-template<\/name>//g' $DOMAIN_HOME/config/config.xml
sed -i 's/<ssl>/<!--ssl>/g' $DOMAIN_HOME/config/config.xml
sed -i 's/<\/ssl>/<\/ssl-->/g' $DOMAIN_HOME/config/config.xml
sed -i 's/<server-template>//g' "$DOMAIN_HOME"/config/config.xml
sed -i 's/<listen-port>7100<\/listen-port>//g' "$DOMAIN_HOME"/config/config.xml
sed -i 's/<\/server-template>//g' "$DOMAIN_HOME"/config/config.xml
sed -i 's/<name>soa-server-template<\/name>//g' "$DOMAIN_HOME"/config/config.xml
sed -i 's/<name>oim-server-template<\/name>//g' "$DOMAIN_HOME"/config/config.xml
sed -i 's/<name>wsm-cache-server-template<\/name>//g' "$DOMAIN_HOME"/config/config.xml
sed -i 's/<name>wsmpm-server-template<\/name>//g' "$DOMAIN_HOME"/config/config.xml
sed -i 's/<ssl>/<!--ssl>/g' "$DOMAIN_HOME"/config/config.xml
sed -i 's/<\/ssl>/<\/ssl-->/g' "$DOMAIN_HOME"/config/config.xml

if [ ! -f /u01/oracle/idm/server/ConnectorDefaultDirectory/ConnectorConfigTemplate.xml ] && [ -d /u01/oracle/idm/server/ConnectorDefaultDirectory_orig ]; then
cp /u01/oracle/idm/server/ConnectorDefaultDirectory_orig/ConnectorConfigTemplate.xml /u01/oracle/idm/server/ConnectorDefaultDirectory
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/python
# Copyright (c) 2023, Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.

Expand Down

0 comments on commit fd8880b

Please sign in to comment.