<commit_before>#!/bin/sh

# run IAM Tool steps to deploy OIA
#

export PATH=${DEPLOYER}:${PATH}

# # create DB Schemas
# echo ""
# echo ""
# echo "#### OIA DEPLOYMENT: creating DB Schemas"
# echo ""
# echo ""
# ${DEPLOYER}/user-config/oia/fallback/fallback.sh

# install JDK7 for OIA Domain
echo ""
echo ""
echo "#### OIA DEPLOYMENT: installing JDK7"
echo ""
echo ""
iam jdk -a install7 -O analytics -H iamvs

# install WLS
echo ""
echo ""
echo "#### OIA DEPLOYMENT: installing WLS"
echo ""
echo ""
iam weblogic -a install -t analytics -H iamvs

iam userenv -a env -A
# on each host: load in user profile and create easy to reach shortcuts 
iam userenv -a profile -A

iam weblogic -a wlstlibs -t analytics -H iamvs
# 
# create OIA domain and managed servers
echo ""
echo ""
echo "#### OIA DEPLOYMENT: Creating WLS Domain and OIA Managed Server."
echo ""
echo ""
#iam analytics -a domcreate -H iamvs
iam analytics -a domcreate -P cluster -H iamvs

# deploy remote managed server
echo ""
echo ""
echo "#### OIA DEPLOYMENT: deploying OIA manged server on remote machine"
echo ""
echo ""
iam analytics -a rdeploy -P pack
iam analytics -a rdeploy -P unpack -H iamva

# unpack OIA application
echo ""
echo ""
echo "#### OIA DEPLOYMENT: unpacking OIA application"
echo ""
echo ""
iam analytics -a explode -H iamvs

# configure OIA domain
echo ""
echo ""
echo "#### OIA DEPLOYMENT: Configuring OIA Domain (setDomainEnv.sh)"
echo ""
echo ""
iam analytics -a domconfig -H iamvs


# configure OIA application instance
echo ""
echo ""
echo "#### OIA DEPLOYMENT: configuring OIA application"
echo ""
echo ""
iam analytics -a appconfig -P single -H iamvs

# perform OIM-OIA integration steps
echo ""
echo ""
echo "#### OIA DEPLOYMENT: performing OIA-OIM integration steps"
echo ""
echo ""
iam analytics -a oimintegrate -H iamvs

# deploy OIA application to WLS
echo ""
echo ""
echo "#### OIA DEPLOYMENT: deploying OIA application to WLS"
echo ""
echo ""
iam analytics -a wlsdeploy -P cluster -H iamvs<commit_msg>oia: adding custom schema call, removing echos<commit_after>#!/bin/sh

# run IAM Tool steps to deploy OIA
#
set -o errexit
set -o errtrace

export PATH=${DEPLOYER}:${PATH}

iam rcu -a create -t analytics

# /products is shared: install once
iam jdk -a install7 -O analytics

# install weblogic once
iam weblogic -a install -t analytics

# since products/analytics is avail: new env
# cluster: both have -A for all hosts
iam userenv -a env -A
iam userenv -a profile -A

# copy lib files
iam weblogic -a wlstlibs -t analytics

# create cluster domain and distribute
iam analytics -a domcreate -P cluster
iam analytics -a rdeploy -P pack
iam analytics -a rdeploy -P unpack -H oim2

# unpack OIA application
iam analytics -a explode

# configure OIA domain
iam analytics -a domconfig

# configure OIA application instance
iam analytics -a appconfig -P single

# perform OIM-OIA integration steps
iam analytics -a oimintegrate

# deploy OIA application to WLS
iam analytics -a wlsdeploy -P cluster
{'fraction_non_alphanumeric': 0.10133779264214046, 'fraction_numerical': 0.0016722408026755853, 'mean_word_length': 3.90327868852459, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1770798', 'n_tokens_mistral': 1016, 'n_tokens_neox': 979, 'n_words': 416}