Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removing schema name part of code & cft's are updated.. #224

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

NatarajBTI
Copy link
Contributor

removing schema name part of code & cft's are updated..

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

                     export MAS_APP_SETTINGS_DB2_SCHEMA="dbo".  
                      export MAS_APP_SETTINGS_TABLESPACE="PRIMARY"
                      export MAS_APP_SETTINGS_INDEXSPACE="PRIMARY"
                      
                       - FOR Mssql , MAS_APP_SETTINGS_DB2_SCHEMA="dbo". -- this can change , but we need this values 
                       
                        export MAS_APP_SETTINGS_TABLESPACE="PRIMARY"
                      export MAS_APP_SETTINGS_INDEXSPACE="PRIMARY" 
                      these values need to be set

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#Setting the DB values
if [[ -n $MANAGE_TABLESPACE ]]; then
export MAS_APP_SETTINGS_TABLESPACE=$(echo $MANAGE_TABLESPACE | cut -d ':' -f 1)
export MAS_APP_SETTINGS_INDEXSPACE=$(echo $MANAGE_TABLESPACE | cut -d ':' -f 2)
else
if [[ ${MAS_JDBC_URL,, } =~ ^jdbc:db2? ]]; then
log "Setting to DB2 Values"
export MAS_APP_SETTINGS_TABLESPACE="maxdata"
export MAS_APP_SETTINGS_INDEXSPACE="maxindex"
elif [[ ${MAS_JDBC_URL,, } =~ ^jdbc:oracle? ]]; then
log "Setting to ORACLE Values"
export MAS_APP_SETTINGS_TABLESPACE="maxdata"
export MAS_APP_SETTINGS_INDEXSPACE="maxindex"
fi
fi
if [[ ${MAS_JDBC_URL,, } =~ ^jdbc:sql? ]]; then
log "Setting to MSSQL Values"
export MAS_APP_SETTINGS_DB2_SCHEMA="dbo"
export MAS_APP_SETTINGS_TABLESPACE="PRIMARY"
export MAS_APP_SETTINGS_INDEXSPACE="PRIMARY"
fi
log " MAS_APP_SETTINGS_DB2_SCHEMA: $MAS_APP_SETTINGS_DB2_SCHEMA"
log " MAS_APP_SETTINGS_TABLESPACE: $MAS_APP_SETTINGS_TABLESPACE"
log " MAS_APP_SETTINGS_INDEXSPACE: $MAS_APP_SETTINGS_INDEXSPACE"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants