From a25719a9c2e76cfb89783e4822cc513ea55a2239 Mon Sep 17 00:00:00 2001 From: risadmin_prod Date: Wed, 26 Mar 2025 04:52:13 +0000 Subject: [PATCH] deployment_files --- sureops/testflutter2-back-b/deployment/build.sh | 2 +- sureops/testflutter2-db-d/deployment/Dockerfile | 2 +- sureops/testflutter2-db-d/deployment/build.sh | 4 ++-- sureops/testflutter2-db-d/deployment/dump.sql | 12 +++++++++--- sureops/testflutter2-front-f/deployment/build.sh | 2 +- .../base_project/lib/resources/api_constants.dart | 2 +- 6 files changed, 15 insertions(+), 9 deletions(-) diff --git a/sureops/testflutter2-back-b/deployment/build.sh b/sureops/testflutter2-back-b/deployment/build.sh index e295dba..61b5fc3 100755 --- a/sureops/testflutter2-back-b/deployment/build.sh +++ b/sureops/testflutter2-back-b/deployment/build.sh @@ -13,7 +13,7 @@ DOMAIN=157.66.191.31:3000 #WEB-URL-PORT CONT_PORT=3306 TARGET_PORT=9292 -PATH_DIR=/data/34807_1742623539230/sureops_deploy/testflutter2/sureops/testflutter2-back-b/deployment +PATH_DIR=/data/35065_1742964711060/sureops_deploy/testflutter2/sureops/testflutter2-back-b/deployment #********************** cd $PATH_DIR DOCKER_TAG=1.0 diff --git a/sureops/testflutter2-db-d/deployment/Dockerfile b/sureops/testflutter2-db-d/deployment/Dockerfile index fd0ae9d..fffb91f 100755 --- a/sureops/testflutter2-db-d/deployment/Dockerfile +++ b/sureops/testflutter2-db-d/deployment/Dockerfile @@ -12,7 +12,7 @@ ENV MYSQL_ROOT_PASSWORD root COPY conf.d /etc/mysql/conf.d COPY *.sql /docker-entrypoint-initdb.d/ - #COPY --from=code /repo//data/34807_1742623539230/sureops_deploy/testflutter2/testflutter2-db-d/authsec_mysql/mysql/wf_table/backend/src/main/resources/ . + #COPY --from=code /repo//data/35065_1742964711060/sureops_deploy/testflutter2/testflutter2-db-d/authsec_mysql/mysql/wf_table/backend/src/main/resources/ . VOLUME /var/lib/mysql EXPOSE 3306 CMD ["mysqld"] \ No newline at end of file diff --git a/sureops/testflutter2-db-d/deployment/build.sh b/sureops/testflutter2-db-d/deployment/build.sh index c14ef0b..6b4aa00 100755 --- a/sureops/testflutter2-db-d/deployment/build.sh +++ b/sureops/testflutter2-db-d/deployment/build.sh @@ -11,11 +11,11 @@ GIT_BRANCH=main DOMAIN=157.66.191.31:3000 CONT_PORT=3306 TARGET_PORT=3306 -PATH_DIR=/data/34807_1742623539230/sureops_deploy/testflutter2/sureops/testflutter2-db-d/deployment +PATH_DIR=/data/35065_1742964711060/sureops_deploy/testflutter2/sureops/testflutter2-db-d/deployment #********************** cd $PATH_DIR -cp /data/34807_1742623539230/sureops_deploy/testflutter2/testflutter2-db-d/authsec_mysql/mysql/wf_table/*.sql . +cp /data/35065_1742964711060/sureops_deploy/testflutter2/testflutter2-db-d/authsec_mysql/mysql/wf_table/*.sql . pwd DOCKER_TAG=1.0 # Stop any existing containers with the same name and ports diff --git a/sureops/testflutter2-db-d/deployment/dump.sql b/sureops/testflutter2-db-d/deployment/dump.sql index 62ea4f0..4c754ed 100755 --- a/sureops/testflutter2-db-d/deployment/dump.sql +++ b/sureops/testflutter2-db-d/deployment/dump.sql @@ -1156,11 +1156,17 @@ CREATE TABLE `sys_param_upload` ( ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; /*!40101 SET character_set_client = @saved_cs_client */; -CREATE TABLE IF NOT EXISTS tesrt(id BIGINT NOT NULL AUTO_INCREMENT, active VARCHAR(400), description VARCHAR(400), name VARCHAR(400), PRIMARY KEY (id)); +CREATE TABLE IF NOT EXISTS forma(id BIGINT NOT NULL AUTO_INCREMENT, paragraph_field VARCHAR(400), textarea VARCHAR(400), toggle_switch VARCHAR(400), number_field int, text_field VARCHAR(400), datetime_field VARCHAR(400), phone_number VARCHAR(400), password_field VARCHAR(400), date_field Date, email_field VARCHAR(400), url_field VARCHAR(400), PRIMARY KEY (id)); START TRANSACTION; -INSERT INTO `sec_menu_det` VALUES (null,'2023-01-25 11:12:27','2023-02-04 15:34:36',8001,'Tesrt',NULL,1577,'Tesrt','U2000','Enable'); +INSERT INTO `sec_menu_det` VALUES (null,'2023-01-25 11:12:27','2023-02-04 15:34:36',8001,'Forma',NULL,1577,'Forma','U2000','Enable'); SET @last_inserted_id = LAST_INSERT_ID(); -INSERT INTO `sec_grp_menu_access` VALUES (@last_inserted_id,1,NULL,'2024-01-17 18:56:07','true',8001,'true','true','true','true','true','Tesrt',NULL,1577,'Tesrt','true','U1000','Enable',NULL,'2024-01-17 18:56:07'); +INSERT INTO `sec_grp_menu_access` VALUES (@last_inserted_id,1,NULL,'2024-01-17 18:56:07','true',8001,'true','true','true','true','true','Forma',NULL,1577,'Forma','true','U1000','Enable',NULL,'2024-01-17 18:56:07'); +COMMIT; +CREATE TABLE IF NOT EXISTS formb(id BIGINT NOT NULL AUTO_INCREMENT, toggle_switch VARCHAR(400), number_field int, text_field VARCHAR(400), datetime_field VARCHAR(400), percentage_field int, phone_number VARCHAR(400), email_field VARCHAR(400), url_field VARCHAR(400), paragraph_field VARCHAR(400), textarea VARCHAR(400), documentgg VARCHAR(400), recaptcha VARCHAR(400), userid_field VARCHAR(400), password_field VARCHAR(400), date_field Date, decimal_field double, PRIMARY KEY (id)); +START TRANSACTION; +INSERT INTO `sec_menu_det` VALUES (null,'2023-01-25 11:12:27','2023-02-04 15:34:36',8001,'Formb',NULL,1577,'Formb','U2000','Enable'); +SET @last_inserted_id = LAST_INSERT_ID(); +INSERT INTO `sec_grp_menu_access` VALUES (@last_inserted_id,1,NULL,'2024-01-17 18:56:07','true',8001,'true','true','true','true','true','Formb',NULL,1577,'Formb','true','U1000','Enable',NULL,'2024-01-17 18:56:07'); COMMIT; -- diff --git a/sureops/testflutter2-front-f/deployment/build.sh b/sureops/testflutter2-front-f/deployment/build.sh index c55d6d9..b4b3855 100755 --- a/sureops/testflutter2-front-f/deployment/build.sh +++ b/sureops/testflutter2-front-f/deployment/build.sh @@ -11,7 +11,7 @@ GITEA_EMAIL=ganeshk@dekatc.com GIT_BRANCH=main DOMAIN=157.66.191.31:3000 #TARGET_PORT=9292 -PATH_DIR=/data/34807_1742623539230/sureops_deploy/testflutter2/sureops/testflutter2-front-f/deployment +PATH_DIR=/data/35065_1742964711060/sureops_deploy/testflutter2/sureops/testflutter2-front-f/deployment #********************** cd $PATH_DIR DOCKER_TAG=1.0 diff --git a/testflutter2-front-f/authsec_flutterNewUi/base_project/lib/resources/api_constants.dart b/testflutter2-front-f/authsec_flutterNewUi/base_project/lib/resources/api_constants.dart index 34bf4c7..9516017 100644 --- a/testflutter2-front-f/authsec_flutterNewUi/base_project/lib/resources/api_constants.dart +++ b/testflutter2-front-f/authsec_flutterNewUi/base_project/lib/resources/api_constants.dart @@ -21,5 +21,5 @@ class ApiConstants { static const getSystemParameters = '$baseUrl/sysparam/getSysParams'; static const updateSystemParams = '$baseUrl/sysparam/updateSysParams'; - static const baseUrl ='http://157.66.191.31:30113/back'; + static const baseUrl ='http://157.66.191.31:31255/back'; } \ No newline at end of file