From 1f66dfd3f22b50d16bc486c2b859b3695692d89b Mon Sep 17 00:00:00 2001 From: AnjanaaRavi <96113325+AnjanaaRavi@users.noreply.github.com> Date: Thu, 24 Oct 2024 16:11:11 +0530 Subject: [PATCH] removed sensitive info from gimel (#291) Co-authored-by: Anjanaa --- udc/udc-serv/README.md | 4 ++-- udc/udc-serv/quickstart/set-env | 8 ++++---- .../src/main/resources/application-dev.properties | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/udc/udc-serv/README.md b/udc/udc-serv/README.md index f44997d6..5980a844 100644 --- a/udc/udc-serv/README.md +++ b/udc/udc-serv/README.md @@ -41,8 +41,8 @@ ```shell docker pull mysql docker rm mysql-standalone - docker run --name mysql-standalone -p 3306:3306 -e MYSQL_ROOT_PASSWORD=password -e MYSQL_DATABASE=udc -e MYSQL_USER=udcadmin -e MYSQL_PASSWORD=Udc@123 -d mysql:latest - docker exec -i mysql-standalone mysql -uudcadmin -pUdc@123 udc < build/sql/udc_ddl.sql + docker run --name mysql-standalone -p 3306:3306 -e MYSQL_ROOT_PASSWORD= -e MYSQL_DATABASE=udc -e MYSQL_USER= -e MYSQL_PASSWORD= -d mysql:latest + docker exec -i mysql-standalone mysql -u -p udc < build/sql/udc_ddl.sql ``` * Invoke the following command to start the udc-services diff --git a/udc/udc-serv/quickstart/set-env b/udc/udc-serv/quickstart/set-env index a1d15915..a61e61b2 100755 --- a/udc/udc-serv/quickstart/set-env +++ b/udc/udc-serv/quickstart/set-env @@ -14,10 +14,10 @@ export final_jar=${udc_repo_home}/target/$udc_jar_name # ENVIRONMENT VARIABLES FOR UDC_META_STORE export mysql_exposed_port=3306 -export mysql_root_password=password -export mysql_database=udc -export mysql_user=udcadmin -export mysql_password=Udc@123 +export mysql_root_password= +export mysql_database= +export mysql_user= +export mysql_password= export mysql_image_name=mysql export mysql_container_name=mysql-standalone export mysql_image_tag_name=latest diff --git a/udc/udc-serv/src/main/resources/application-dev.properties b/udc/udc-serv/src/main/resources/application-dev.properties index a094ecf1..318f616e 100755 --- a/udc/udc-serv/src/main/resources/application-dev.properties +++ b/udc/udc-serv/src/main/resources/application-dev.properties @@ -3,5 +3,5 @@ spring.datasource.url=jdbc:mysql://mysql-standalone:3306/udc spring.datasource.dataSourceProperties.serverName=mysql-standalone spring.datasource.minimumIdle = 10 spring.datasource.maximumPoolSize = 20 -spring.datasource.username=udcadmin -spring.datasource.password=Udc@123 \ No newline at end of file +spring.datasource.username= +spring.datasource.password=