Oracle® Retail Insights Cloud Service Suite Implementation Guide Release 18.0.001 F17008-02 |
|
![]() Previous |
![]() Next |
Currently enabling or disabling LTS is developed for Item Diff and Item Level 1 LTS for the following four subject areas:
Sales
Markdown
Inventory Position
Inventory Receipts
First Create a wallet for executing configuration script for WebLogic Username/Password and RPD Username/Password. RPD Username can be set to "RI_RPD" since RPD does not have a username specifically. Passing WebLogic alias and RPD alias as an argument while running the script connects to WebLogic user and executes the configuration script to deploy the RPD with the RPD alias provided.
Perform the following steps to create a wallet:
Set the JAVA_HOME environment variable.
Navigate to the following directory:
cd <STAGING_DIR>/ori/installer/ori/Build/orpatch/deploy/retail-public-security-api/bin
Add execute permission to the save_credential.sh scripts in above location
chmod +x save_credential.sh.
Create an alias for the WebLogic and RPD user by running save_credential.sh with the following arguments:
./save_credential.sh -a <alias_name> -u <username> -l </location/wallet/dir> <alias_name> : Alias Name for the User <username> : Username </location/wallet/dir> : Location where wallet needs to be created
For example:
./save_credential.sh -a WEBLOGIC-ALIAS -u wlsadmin -l /u01/retail/ri/wallet ./save_credential.sh -a RPD-ALIAS -u RI_RPD -l /u01/retail/ri/wallet
Perform the following steps to run the StatusConfiguration.script:
Navigate to following directory:
cd <RETAIL_HOME>/ra_obiee_source_code/OBIEE_BAR_Deployment
Unzip the "OBIEE_BAR_FILE_DEP.zip" file in the above path.
Run the StatusConfigurationScript.sh with the following arguments:
./ StatusConfigurationScript.sh RETAIL_HOME OBIEE_HOME CONFIG_HOME XMLFILENAME STATUS WEBLOGIC_USER_ALIASNAME RPD_ALIAS_NAME WALLET_PATH
where:
RETAIL_HOME: Retail Home path
OBIEE_HOME: OBIEE Home Path
CONFIG_HOME: Path where input XML file (ITEM_DIFF_AGGR_PATCH.xml), All java files, jar file, StatusConfigurationScript.sh are placed
XMLFILENAME: Input xml file name (ITEM_DIFF_AGGR_PATCH.xml)
STATUS: User should pass either "enable" or "disable" as status argument
Enable argument enables all Item Diff and Item Level 1 LTS in above 4 subject areas
Disable argument disables all Item Diff and Item Level 1 LTS in above 4 subject areas
WEBLOGIC_USER_ALIASNAME: Alias name of Weblogic user created in wallet
RPD_ALIAS_NAME: Alias name of RPD user created in wallet
WALLET_PATH: Path where wallet is created
The StatusConfigurationScript.sh script executes three operations:
Downloads the deployed RPD with name default.rpd to the location RETAIL_HOME/OBIEE_DEP
Executes a jar file to modify RPD
Modifying RPD includes enabling all Item Diff and Item Level 1 LTS in above 4 subject areas if input status argument is "enable" or disabling all Item Diff and Item 1 Level LTS in above 4 subject areas if input status argument is "disable"
Uploads the modified RPD (default.rpd)