Skip to content

Commit

Permalink
Execute ACL script in apex_config
Browse files Browse the repository at this point in the history
  • Loading branch information
tschf committed Jan 15, 2017
1 parent d15a2e9 commit 62c8cbd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
File renamed without changes.
8 changes: 8 additions & 0 deletions scripts/apex_config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,11 @@ if [ "$OOS_APEX_CREATE_USER_YN" = "Y" ]; then
else
echo Not creating APEX User
fi

#Create ACL
if [ "$OOS_ORACLE_ACL_APEX_ALL_YN" = "Y" ]; then
echo Creating Network ACL ALL
sqlplus -L sys/$OOS_ORACLE_PWD as sysdba @apex_acl_all.sql
else
echo Not created APEX ACL
fi
8 changes: 0 additions & 8 deletions scripts/oracle_config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,6 @@ else
fi
cd $OOS_SOURCE_DIR/oracle

#Create ACL
if [ "$OOS_ORACLE_ACL_APEX_ALL_YN" = "Y" ]; then
echo Creating Network ACL ALL
sqlplus -L sys/$OOS_ORACLE_PWD as sysdba @apex_acl_all.sql
else
echo Not created APEX ACL
fi

#XE has SYSTEM as the Default tablespace by default. Set back to USERS
echo Setting default tablespace
sqlplus -L sys/${OOS_ORACLE_PWD} as sysdba @default_tablespace.sql << EOF1
Expand Down

0 comments on commit 62c8cbd

Please sign in to comment.