Skip to content

Commit fa36058

Browse files
committed
Clean things up.
1 parent 9fcb058 commit fa36058

File tree

3 files changed

+2
-40
lines changed

3 files changed

+2
-40
lines changed

README.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -816,8 +816,8 @@ EOF
816816
. Disable DB Health Check like the security if you want to monitor the circuit using actuator. So edit the ConfigMap file and append these lines
817817
+
818818
----
819-
management.health.db.enabled=false
820-
management.security.enabled=false
819+
management.health.db.enabled=false
820+
management.security.enabled=false
821821
----
822822
+
823823
. Change Hystrix parameters to narrow the window used by Hystrix to detect when the circuit is opened usign the streqm

scripts/deploy_on_openshift.sh

-15
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@ cd $PROJECT_DIR
1515
echo "#########################################################"
1616
echo "Add mysql persistent template and deploy the MySQL Server "
1717
echo "#########################################################"
18-
#oc new-app --template=mysql-persistent \
19-
# -p MYSQL_USER=mysql \
20-
# -p MYSQL_PASSWORD=mysql \
21-
# -p MYSQL_DATABASE=catalogdb
2218
oc create -f $SCRIPTS_DIR/service/mysql-persistent-template-with-init.json
2319
oc new-app --template=mysql-persistent-with-init \
2420
-p MYSQL_USER=mysql \
@@ -31,16 +27,6 @@ oc new-app --template=mysql-persistent-with-init \
3127
# -p MYSQL_PASSWORD=mysql \
3228
# -p MYSQL_DATABASE=catalogdb
3329

34-
# MySQL init based on https://github.com/VeerMuchandi/database-initialization
35-
#export escapedQuery=$(sed -e 's:":\\\\":g' $SCRIPTS_DIR/service/data-mysql.sql | tr -d '\n' | tr -s ' ')
36-
#eval $(sed -e "s/\$MYQUERY/$escapedQuery/" $SCRIPTS_DIR/db_patch.sh)
37-
# wait for changes to take place
38-
#sleep 20
39-
40-
# update DB settings and wait for changes to take place
41-
#oc rollout latest mysql
42-
#sleep 20
43-
4430

4531

4632
echo "##########################################"
@@ -50,7 +36,6 @@ cd cdservice
5036

5137
mkdir -p src/main/config-local
5238
mkdir -p src/main/config-openshift
53-
#cp $SCRIPTS_DIR/service/data-mysql.sql src/main/config-openshift/data.sql
5439
mv src/main/resources/application.properties src/main/config-local
5540
mv src/main/resources/data.sql src/main/config-local
5641

scripts/service/data-mysql.sql

-23
This file was deleted.

0 commit comments

Comments
 (0)