From c25c9630347ab80598fd2321d91dbea5907015b8 Mon Sep 17 00:00:00 2001 From: Imran Teli Date: Sat, 1 Jul 2023 13:08:45 +0530 Subject: [PATCH 01/24] jenkins userdata --- Jenkinsfile | 4 +- userdata/jenkins-setup.sh | 15 ++++ userdata/nexus-setup.sh | 35 +++++++++ userdata/sonar-analysis-properties | 10 +++ userdata/sonar-setup.sh | 119 +++++++++++++++++++++++++++++ 5 files changed, 181 insertions(+), 2 deletions(-) create mode 100644 userdata/jenkins-setup.sh create mode 100644 userdata/nexus-setup.sh create mode 100644 userdata/sonar-analysis-properties create mode 100644 userdata/sonar-setup.sh diff --git a/Jenkinsfile b/Jenkinsfile index be7508be5..969d00c6e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -11,7 +11,7 @@ pipeline { NEXUS_PROTOCOL = "http" NEXUS_URL = "172.31.40.209:8081" NEXUS_REPOSITORY = "vprofile-release" - NEXUS_REPO_ID = "vprofile-release" + NEXUS_REPOGRP_ID = "vprofile-grp-repo" NEXUS_CREDENTIAL_ID = "nexuslogin" ARTVERSION = "${env.BUILD_ID}" } @@ -91,7 +91,7 @@ pipeline { nexusVersion: NEXUS_VERSION, protocol: NEXUS_PROTOCOL, nexusUrl: NEXUS_URL, - groupId: pom.groupId, + groupId: NEXUS_REPOGRP_ID, version: ARTVERSION, repository: NEXUS_REPOSITORY, credentialsId: NEXUS_CREDENTIAL_ID, diff --git a/userdata/jenkins-setup.sh b/userdata/jenkins-setup.sh new file mode 100644 index 000000000..7c849fc68 --- /dev/null +++ b/userdata/jenkins-setup.sh @@ -0,0 +1,15 @@ +#!/bin/bash +sudo apt update +sudo apt install openjdk-11-jdk -y +sudo apt install maven wget unzip -y + +curl -fsSL https://pkg.jenkins.io/debian-stable/jenkins.io-2023.key | sudo tee \ + /usr/share/keyrings/jenkins-keyring.asc > /dev/null + +echo deb [signed-by=/usr/share/keyrings/jenkins-keyring.asc] \ + https://pkg.jenkins.io/debian-stable binary/ | sudo tee \ + /etc/apt/sources.list.d/jenkins.list > /dev/null + +sudo apt-get update +sudo apt-get install jenkins -y +### diff --git a/userdata/nexus-setup.sh b/userdata/nexus-setup.sh new file mode 100644 index 000000000..f3fadecc6 --- /dev/null +++ b/userdata/nexus-setup.sh @@ -0,0 +1,35 @@ +#!/bin/bash +yum install java-1.8.0-openjdk.x86_64 wget -y +mkdir -p /opt/nexus/ +mkdir -p /tmp/nexus/ +cd /tmp/nexus/ +NEXUSURL="https://download.sonatype.com/nexus/3/latest-unix.tar.gz" +wget $NEXUSURL -O nexus.tar.gz +EXTOUT=`tar xzvf nexus.tar.gz` +NEXUSDIR=`echo $EXTOUT | cut -d '/' -f1` +rm -rf /tmp/nexus/nexus.tar.gz +rsync -avzh /tmp/nexus/ /opt/nexus/ +useradd nexus +chown -R nexus.nexus /opt/nexus +cat <> /etc/systemd/system/nexus.service +[Unit] +Description=nexus service +After=network.target + +[Service] +Type=forking +LimitNOFILE=65536 +ExecStart=/opt/nexus/$NEXUSDIR/bin/nexus start +ExecStop=/opt/nexus/$NEXUSDIR/bin/nexus stop +User=nexus +Restart=on-abort + +[Install] +WantedBy=multi-user.target + +EOT + +echo 'run_as_user="nexus"' > /opt/nexus/$NEXUSDIR/bin/nexus.rc +systemctl daemon-reload +systemctl start nexus +systemctl enable nexus diff --git a/userdata/sonar-analysis-properties b/userdata/sonar-analysis-properties new file mode 100644 index 000000000..8751fe7fd --- /dev/null +++ b/userdata/sonar-analysis-properties @@ -0,0 +1,10 @@ +sonar.projectKey=vprofile +sonar.projectName=vprofile-repo +sonar.projectVersion=1.0 +sonar.sources=src/ +sonar.java.binaries=target/test-classes/com/visualpathit/account/controllerTest/ +sonar.junit.reportsPath=target/surefire-reports/ +sonar.jacoco.reportsPath=target/jacoco.exec +sonar.java.checkstyle.reportPaths=target/checkstyle-result.xml + + diff --git a/userdata/sonar-setup.sh b/userdata/sonar-setup.sh new file mode 100644 index 000000000..99a3a78b7 --- /dev/null +++ b/userdata/sonar-setup.sh @@ -0,0 +1,119 @@ +#!/bin/bash +cp /etc/sysctl.conf /root/sysctl.conf_backup +cat < /etc/sysctl.conf +vm.max_map_count=262144 +fs.file-max=65536 +ulimit -n 65536 +ulimit -u 4096 +EOT +cp /etc/security/limits.conf /root/sec_limit.conf_backup +cat < /etc/security/limits.conf +sonarqube - nofile 65536 +sonarqube - nproc 409 +EOT + +sudo apt-get update -y +sudo apt-get install openjdk-11-jdk -y +sudo update-alternatives --config java + +java -version + +sudo apt update +wget -q https://www.postgresql.org/media/keys/ACCC4CF8.asc -O - | sudo apt-key add - + +sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg main" >> /etc/apt/sources.list.d/pgdg.list' +sudo apt install postgresql postgresql-contrib -y +#sudo -u postgres psql -c "SELECT version();" +sudo systemctl enable postgresql.service +sudo systemctl start postgresql.service +sudo echo "postgres:admin123" | chpasswd +runuser -l postgres -c "createuser sonar" +sudo -i -u postgres psql -c "ALTER USER sonar WITH ENCRYPTED PASSWORD 'admin123';" +sudo -i -u postgres psql -c "CREATE DATABASE sonarqube OWNER sonar;" +sudo -i -u postgres psql -c "GRANT ALL PRIVILEGES ON DATABASE sonarqube to sonar;" +systemctl restart postgresql +#systemctl status -l postgresql +netstat -tulpena | grep postgres +sudo mkdir -p /sonarqube/ +cd /sonarqube/ +sudo curl -O https://binaries.sonarsource.com/Distribution/sonarqube/sonarqube-8.3.0.34182.zip +sudo apt-get install zip -y +sudo unzip -o sonarqube-8.3.0.34182.zip -d /opt/ +sudo mv /opt/sonarqube-8.3.0.34182/ /opt/sonarqube +sudo groupadd sonar +sudo useradd -c "SonarQube - User" -d /opt/sonarqube/ -g sonar sonar +sudo chown sonar:sonar /opt/sonarqube/ -R +cp /opt/sonarqube/conf/sonar.properties /root/sonar.properties_backup +cat < /opt/sonarqube/conf/sonar.properties +sonar.jdbc.username=sonar +sonar.jdbc.password=admin123 +sonar.jdbc.url=jdbc:postgresql://localhost/sonarqube +sonar.web.host=0.0.0.0 +sonar.web.port=9000 +sonar.web.javaAdditionalOpts=-server +sonar.search.javaOpts=-Xmx512m -Xms512m -XX:+HeapDumpOnOutOfMemoryError +sonar.log.level=INFO +sonar.path.logs=logs +EOT + +cat < /etc/systemd/system/sonarqube.service +[Unit] +Description=SonarQube service +After=syslog.target network.target + +[Service] +Type=forking + +ExecStart=/opt/sonarqube/bin/linux-x86-64/sonar.sh start +ExecStop=/opt/sonarqube/bin/linux-x86-64/sonar.sh stop + +User=sonar +Group=sonar +Restart=always + +LimitNOFILE=65536 +LimitNPROC=4096 + + +[Install] +WantedBy=multi-user.target +EOT + +systemctl daemon-reload +systemctl enable sonarqube.service +#systemctl start sonarqube.service +#systemctl status -l sonarqube.service +apt-get install nginx -y +rm -rf /etc/nginx/sites-enabled/default +rm -rf /etc/nginx/sites-available/default +cat < /etc/nginx/sites-available/sonarqube +server{ + listen 80; + server_name sonarqube.groophy.in; + + access_log /var/log/nginx/sonar.access.log; + error_log /var/log/nginx/sonar.error.log; + + proxy_buffers 16 64k; + proxy_buffer_size 128k; + + location / { + proxy_pass http://127.0.0.1:9000; + proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504; + proxy_redirect off; + + proxy_set_header Host \$host; + proxy_set_header X-Real-IP \$remote_addr; + proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Proto http; + } +} +EOT +ln -s /etc/nginx/sites-available/sonarqube /etc/nginx/sites-enabled/sonarqube +systemctl enable nginx.service +#systemctl restart nginx.service +sudo ufw allow 80,9000,9001/tcp + +echo "System reboot in 30 sec" +sleep 30 +reboot From 1dc4db65f882750c0ba4a7b50d7563e9a75a1b0a Mon Sep 17 00:00:00 2001 From: hkhcoder <137309866+hkhcoder@users.noreply.github.com> Date: Sat, 1 Jul 2023 14:01:42 +0530 Subject: [PATCH 02/24] Update nexus-setup.sh --- userdata/nexus-setup.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/userdata/nexus-setup.sh b/userdata/nexus-setup.sh index f3fadecc6..4d0c48fc4 100644 --- a/userdata/nexus-setup.sh +++ b/userdata/nexus-setup.sh @@ -5,10 +5,13 @@ mkdir -p /tmp/nexus/ cd /tmp/nexus/ NEXUSURL="https://download.sonatype.com/nexus/3/latest-unix.tar.gz" wget $NEXUSURL -O nexus.tar.gz +sleep 10 EXTOUT=`tar xzvf nexus.tar.gz` NEXUSDIR=`echo $EXTOUT | cut -d '/' -f1` +sleep 5 rm -rf /tmp/nexus/nexus.tar.gz -rsync -avzh /tmp/nexus/ /opt/nexus/ +cp -r /tmp/nexus/* /opt/nexus/ +sleep 5 useradd nexus chown -R nexus.nexus /opt/nexus cat <> /etc/systemd/system/nexus.service From c757e03a6292fc2ff8a457e59ab482c31dc8ce7b Mon Sep 17 00:00:00 2001 From: hkhcoder <137309866+hkhcoder@users.noreply.github.com> Date: Mon, 16 Oct 2023 11:04:18 +0400 Subject: [PATCH 03/24] Update pom.xml --- pom.xml | 139 ++++++++++++++++++++------------------------------------ 1 file changed, 49 insertions(+), 90 deletions(-) diff --git a/pom.xml b/pom.xml index 03bba333b..b67647827 100644 --- a/pom.xml +++ b/pom.xml @@ -13,7 +13,7 @@ 1.8.2.RELEASE 4.3.11.Final 5.2.1.Final - 8.0.32 + 5.1.36 1.4 1.2 4.10 @@ -28,13 +28,13 @@ spring-web ${spring.version} - + org.springframework spring-webmvc ${spring.version} - + org.springframework.security spring-security-web @@ -90,82 +90,36 @@ test - org.mockito - mockito-core - 1.9.5 - test - - - org.springframework - spring-test - 3.2.3.RELEASE - test - - - javax.servlet - javax.servlet-api - 3.1.0 - provided - + org.mockito + mockito-core + 1.9.5 + test + + + org.springframework + spring-test + 3.2.3.RELEASE + test + + + javax.servlet + javax.servlet-api + 3.1.0 + provided + ch.qos.logback logback-classic ${logback.version} - org.hamcrest - hamcrest-all - 1.3 - test - - - commons-fileupload - commons-fileupload - 1.3.1 - - - - net.spy - spymemcached - 2.12.3 - - - commons-io - commons-io - 2.4 - - - - org.springframework.amqp - spring-rabbit - 1.7.1.RELEASE - - - - com.rabbitmq - amqp-client - 4.0.2 - - - - org.elasticsearch - elasticsearch - 5.6.4 - - - - org.elasticsearch.client - transport - 5.6.4 - - - - com.google.code.gson - gson - 2.8.2 + org.hamcrest + hamcrest-all + 1.3 + test - + org.eclipse.jetty @@ -179,7 +133,7 @@ - + org.apache.maven.plugins maven-war-plugin 3.2.2 @@ -188,24 +142,29 @@ org.jacoco jacoco-maven-plugin 0.8.4 - - - jacoco-initialize - process-resources - - prepare-agent - - - - jacoco-site - post-integration-test - - report - - - - - + + + jacoco-initialize + process-resources + + prepare-agent + + + + jacoco-site + post-integration-test + + report + + + + + + + ${NEXUS-GRP-REPO} + http://${NEXUSIP}:${NEXUSPORT}/repository/${NEXUS-GRP-REPO}/ + + From d98cb9e3134bfbb592b098b5d39294d25b6f9ce7 Mon Sep 17 00:00:00 2001 From: hkhcoder <137309866+hkhcoder@users.noreply.github.com> Date: Mon, 16 Oct 2023 11:04:50 +0400 Subject: [PATCH 04/24] Create settings.xml --- settings.xml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 settings.xml diff --git a/settings.xml b/settings.xml new file mode 100644 index 000000000..eb788f017 --- /dev/null +++ b/settings.xml @@ -0,0 +1,38 @@ + + + + + + ${SNAP-REPO} + ${NEXUS-USER} + ${NEXUS-PASS} + + + ${RELEASE-REPO} + ${NEXUS-USER} + ${NEXUS-PASS} + + + ${CENTRAL-REPO} + ${NEXUS-USER} + ${NEXUS-PASS} + + + ${NEXUS-GRP-REPO} + ${NEXUS-USER} + ${NEXUS-PASS} + + + + + + ${CENTRAL-REPO} + ${CENTRAL-REPO} + http://${NEXUSIP}:${NEXUSPORT}/repository/${NEXUS-GRP-REPO}/ + * + + + + From 0f8fd84d4485c574035f576740403ec3405d1a87 Mon Sep 17 00:00:00 2001 From: hkhcoder <137309866+hkhcoder@users.noreply.github.com> Date: Fri, 3 Nov 2023 09:31:14 +0400 Subject: [PATCH 05/24] Update pom.xml --- pom.xml | 135 ++++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 91 insertions(+), 44 deletions(-) diff --git a/pom.xml b/pom.xml index b67647827..b9640ea63 100644 --- a/pom.xml +++ b/pom.xml @@ -13,7 +13,7 @@ 1.8.2.RELEASE 4.3.11.Final 5.2.1.Final - 5.1.36 + 8.0.22 1.4 1.2 4.10 @@ -28,13 +28,13 @@ spring-web ${spring.version} - + org.springframework spring-webmvc ${spring.version} - + org.springframework.security spring-security-web @@ -90,36 +90,82 @@ test - org.mockito - mockito-core - 1.9.5 - test - - - org.springframework - spring-test - 3.2.3.RELEASE - test - - - javax.servlet - javax.servlet-api - 3.1.0 - provided - + org.mockito + mockito-core + 1.9.5 + test + + + org.springframework + spring-test + 3.2.3.RELEASE + test + + + javax.servlet + javax.servlet-api + 3.1.0 + provided + ch.qos.logback logback-classic ${logback.version} - org.hamcrest - hamcrest-all - 1.3 - test + org.hamcrest + hamcrest-all + 1.3 + test + + + commons-fileupload + commons-fileupload + 1.3.1 + + + + net.spy + spymemcached + 2.12.3 + + + commons-io + commons-io + 2.4 + + + + org.springframework.amqp + spring-rabbit + 1.7.1.RELEASE + + + + com.rabbitmq + amqp-client + 4.0.2 + + + + org.elasticsearch + elasticsearch + 5.6.4 + + + + org.elasticsearch.client + transport + 5.6.4 + + + + com.google.code.gson + gson + 2.8.2 - + org.eclipse.jetty @@ -133,7 +179,7 @@ - + org.apache.maven.plugins maven-war-plugin 3.2.2 @@ -142,29 +188,30 @@ org.jacoco jacoco-maven-plugin 0.8.4 - - - jacoco-initialize - process-resources - - prepare-agent - - - - jacoco-site - post-integration-test - - report - - - - + + + jacoco-initialize + process-resources + + prepare-agent + + + + jacoco-site + post-integration-test + + report + + + + + ${NEXUS-GRP-REPO} - http://${NEXUSIP}:${NEXUSPORT}/repository/${NEXUS-GRP-REPO}/ + http://${NEXUSIP}:${NEXUSPORT}/repository/${NEXUS_GRP_REPO}/ From cd1439122336b16de4c89c81a704474975deac76 Mon Sep 17 00:00:00 2001 From: hkhcoder <137309866+hkhcoder@users.noreply.github.com> Date: Fri, 3 Nov 2023 09:31:33 +0400 Subject: [PATCH 06/24] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index b9640ea63..9579838c0 100644 --- a/pom.xml +++ b/pom.xml @@ -211,7 +211,7 @@ ${NEXUS-GRP-REPO} - http://${NEXUSIP}:${NEXUSPORT}/repository/${NEXUS_GRP_REPO}/ + http://${NEXUSIP}:${NEXUSPORT}/repository/${NEXUS-GRP-REPO}/ From 55e76b9da4e186f112a49aa0322fcdf9c3eca3fd Mon Sep 17 00:00:00 2001 From: hkhcoder <137309866+hkhcoder@users.noreply.github.com> Date: Mon, 19 Aug 2024 10:03:30 +0530 Subject: [PATCH 07/24] Update nexus-setup.sh with jdk17 --- userdata/nexus-setup.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/userdata/nexus-setup.sh b/userdata/nexus-setup.sh index 4d0c48fc4..b8069b223 100644 --- a/userdata/nexus-setup.sh +++ b/userdata/nexus-setup.sh @@ -1,5 +1,10 @@ #!/bin/bash -yum install java-1.8.0-openjdk.x86_64 wget -y + +sudo rpm --import https://yum.corretto.aws/corretto.key +sudo curl -L -o /etc/yum.repos.d/corretto.repo https://yum.corretto.aws/corretto.repo + +sudo yum install -y java-17-amazon-corretto-devel wget -y + mkdir -p /opt/nexus/ mkdir -p /tmp/nexus/ cd /tmp/nexus/ From 6dde3d2417c4a08121f015c209b3bb2002c64e53 Mon Sep 17 00:00:00 2001 From: hkhcoder <137309866+hkhcoder@users.noreply.github.com> Date: Thu, 16 Jan 2025 09:24:14 +0530 Subject: [PATCH 08/24] Update jenkins-setup.sh --- userdata/jenkins-setup.sh | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/userdata/jenkins-setup.sh b/userdata/jenkins-setup.sh index 7c849fc68..554c539e4 100644 --- a/userdata/jenkins-setup.sh +++ b/userdata/jenkins-setup.sh @@ -1,15 +1,15 @@ #!/bin/bash sudo apt update -sudo apt install openjdk-11-jdk -y -sudo apt install maven wget unzip -y - -curl -fsSL https://pkg.jenkins.io/debian-stable/jenkins.io-2023.key | sudo tee \ - /usr/share/keyrings/jenkins-keyring.asc > /dev/null - -echo deb [signed-by=/usr/share/keyrings/jenkins-keyring.asc] \ - https://pkg.jenkins.io/debian-stable binary/ | sudo tee \ - /etc/apt/sources.list.d/jenkins.list > /dev/null - + +sudo apt install openjdk-17-jdk -y + +sudo wget -O /usr/share/keyrings/jenkins-keyring.asc \ +https://pkg.jenkins.io/debian-stable/jenkins.io-2023.key + +echo "deb [signed-by=/usr/share/keyrings/jenkins-keyring.asc]" \ +https://pkg.jenkins.io/debian-stable binary/ | sudo tee \ +/etc/apt/sources.list.d/jenkins.list > /dev/null + sudo apt-get update + sudo apt-get install jenkins -y -### From 32b4f26ee066f39bdf3d4b9b120eb7d91a2bf1c9 Mon Sep 17 00:00:00 2001 From: hkhcoder <137309866+hkhcoder@users.noreply.github.com> Date: Wed, 5 Mar 2025 19:57:41 +0530 Subject: [PATCH 09/24] Update nexus-setup.sh --- userdata/nexus-setup.sh | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/userdata/nexus-setup.sh b/userdata/nexus-setup.sh index b8069b223..c6477971f 100644 --- a/userdata/nexus-setup.sh +++ b/userdata/nexus-setup.sh @@ -5,10 +5,10 @@ sudo curl -L -o /etc/yum.repos.d/corretto.repo https://yum.corretto.aws/corretto sudo yum install -y java-17-amazon-corretto-devel wget -y -mkdir -p /opt/nexus/ -mkdir -p /tmp/nexus/ +mkdir -p /opt/nexus/ +mkdir -p /tmp/nexus/ cd /tmp/nexus/ -NEXUSURL="https://download.sonatype.com/nexus/3/latest-unix.tar.gz" +NEXUSURL="https://download.sonatype.com/nexus/3/nexus-unix-x86-64-3.78.0-14.tar.gz" wget $NEXUSURL -O nexus.tar.gz sleep 10 EXTOUT=`tar xzvf nexus.tar.gz` @@ -18,22 +18,22 @@ rm -rf /tmp/nexus/nexus.tar.gz cp -r /tmp/nexus/* /opt/nexus/ sleep 5 useradd nexus -chown -R nexus.nexus /opt/nexus +chown -R nexus.nexus /opt/nexus cat <> /etc/systemd/system/nexus.service -[Unit] -Description=nexus service -After=network.target - -[Service] -Type=forking -LimitNOFILE=65536 -ExecStart=/opt/nexus/$NEXUSDIR/bin/nexus start -ExecStop=/opt/nexus/$NEXUSDIR/bin/nexus stop -User=nexus -Restart=on-abort - -[Install] -WantedBy=multi-user.target +[Unit] +Description=nexus service +After=network.target + +[Service] +Type=forking +LimitNOFILE=65536 +ExecStart=/opt/nexus/$NEXUSDIR/bin/nexus start +ExecStop=/opt/nexus/$NEXUSDIR/bin/nexus stop +User=nexus +Restart=on-abort + +[Install] +WantedBy=multi-user.target EOT From 8f1f9a1b9cb56941a33e50d1fdd7983df3c67c58 Mon Sep 17 00:00:00 2001 From: Aniket-Rasal Date: Sun, 29 Mar 2026 17:41:22 +0530 Subject: [PATCH 10/24] ansible code --- ansible/vpro-app-setup.yml | 2 +- target/classes/accountsdb.sql | 104 ++++++++++++++ target/classes/application.properties | 25 ++++ .../account/beans/Components.class | Bin 0 -> 3568 bytes .../controller/ElasticSearchController.class | Bin 0 -> 6702 bytes .../controller/FileUploadController.class | Bin 0 -> 4280 bytes .../account/controller/UserController.class | Bin 0 -> 8119 bytes .../com/visualpathit/account/model/Role.class | Bin 0 -> 1723 bytes .../com/visualpathit/account/model/User.class | Bin 0 -> 5972 bytes .../account/repository/RoleRepository.class | Bin 0 -> 357 bytes .../account/repository/UserRepository.class | Bin 0 -> 504 bytes .../account/service/ConsumerService.class | Bin 0 -> 178 bytes .../account/service/ConsumerServiceImpl.class | Bin 0 -> 1682 bytes .../account/service/ProducerService.class | Bin 0 -> 210 bytes .../account/service/ProducerServiceImpl.class | Bin 0 -> 3235 bytes .../account/service/SecurityService.class | Bin 0 -> 260 bytes .../account/service/SecurityServiceImpl.class | Bin 0 -> 3145 bytes .../service/UserDetailsServiceImpl.class | Bin 0 -> 2296 bytes .../account/service/UserService.class | Bin 0 -> 460 bytes .../account/service/UserServiceImpl.class | Bin 0 -> 2288 bytes .../account/utils/ElasticsearchUtil.class | Bin 0 -> 3368 bytes .../account/utils/MemcachedUtils.class | Bin 0 -> 5505 bytes .../account/utils/RabbitMqUtil.class | Bin 0 -> 1088 bytes .../account/validator/UserValidator.class | Bin 0 -> 2211 bytes target/classes/db_backup.sql | 133 ++++++++++++++++++ target/classes/logback.xml | 24 ++++ target/classes/validation.properties | 5 + .../account/controllerTest/SampleTest.class | Bin 0 -> 611 bytes .../controllerTest/UserControllerTest.class | Bin 0 -> 4366 bytes .../account/modelTest/RoleTest.class | Bin 0 -> 2350 bytes .../account/modelTest/UserTest.class | Bin 0 -> 2512 bytes .../setup/StandaloneMvcTestViewResolver.class | Bin 0 -> 885 bytes 32 files changed, 292 insertions(+), 1 deletion(-) create mode 100644 target/classes/accountsdb.sql create mode 100644 target/classes/application.properties create mode 100644 target/classes/com/visualpathit/account/beans/Components.class create mode 100644 target/classes/com/visualpathit/account/controller/ElasticSearchController.class create mode 100644 target/classes/com/visualpathit/account/controller/FileUploadController.class create mode 100644 target/classes/com/visualpathit/account/controller/UserController.class create mode 100644 target/classes/com/visualpathit/account/model/Role.class create mode 100644 target/classes/com/visualpathit/account/model/User.class create mode 100644 target/classes/com/visualpathit/account/repository/RoleRepository.class create mode 100644 target/classes/com/visualpathit/account/repository/UserRepository.class create mode 100644 target/classes/com/visualpathit/account/service/ConsumerService.class create mode 100644 target/classes/com/visualpathit/account/service/ConsumerServiceImpl.class create mode 100644 target/classes/com/visualpathit/account/service/ProducerService.class create mode 100644 target/classes/com/visualpathit/account/service/ProducerServiceImpl.class create mode 100644 target/classes/com/visualpathit/account/service/SecurityService.class create mode 100644 target/classes/com/visualpathit/account/service/SecurityServiceImpl.class create mode 100644 target/classes/com/visualpathit/account/service/UserDetailsServiceImpl.class create mode 100644 target/classes/com/visualpathit/account/service/UserService.class create mode 100644 target/classes/com/visualpathit/account/service/UserServiceImpl.class create mode 100644 target/classes/com/visualpathit/account/utils/ElasticsearchUtil.class create mode 100644 target/classes/com/visualpathit/account/utils/MemcachedUtils.class create mode 100644 target/classes/com/visualpathit/account/utils/RabbitMqUtil.class create mode 100644 target/classes/com/visualpathit/account/validator/UserValidator.class create mode 100644 target/classes/db_backup.sql create mode 100644 target/classes/logback.xml create mode 100644 target/classes/validation.properties create mode 100644 target/test-classes/com/visualpathit/account/controllerTest/SampleTest.class create mode 100644 target/test-classes/com/visualpathit/account/controllerTest/UserControllerTest.class create mode 100644 target/test-classes/com/visualpathit/account/modelTest/RoleTest.class create mode 100644 target/test-classes/com/visualpathit/account/modelTest/UserTest.class create mode 100644 target/test-classes/com/visualpathit/account/setup/StandaloneMvcTestViewResolver.class diff --git a/ansible/vpro-app-setup.yml b/ansible/vpro-app-setup.yml index 0c3f5d4a5..a824f280f 100644 --- a/ansible/vpro-app-setup.yml +++ b/ansible/vpro-app-setup.yml @@ -7,7 +7,7 @@ tasks: - name: Download latest VProfile.war from nexus get_url: - url: "http://{{USER}}:{{PASS}}@{{nexusip}}:8081/repository/{{reponame}}/{{groupid}}/{{time}}/{{build}}/{{vprofile_version}}" + url: "http://{{USER}}:{{PASS}}@{{nexusip}}:8081/repository/{{reponame}}/{{groupid}}/{{artifactid}}/{{build}}-{{time}}/{{vprofile_version}}" dest: "/tmp/vproapp-{{vprofile_version}}" register: wardeploy tags: diff --git a/target/classes/accountsdb.sql b/target/classes/accountsdb.sql new file mode 100644 index 000000000..d224d810f --- /dev/null +++ b/target/classes/accountsdb.sql @@ -0,0 +1,104 @@ +-- MySQL dump 10.13 Distrib 5.7.18, for Linux (x86_64) +-- +-- Host: localhost Database: accounts +-- ------------------------------------------------------ +-- Server version 5.7.18-0ubuntu0.16.10.1 + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8 */; +/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; +/*!40103 SET TIME_ZONE='+00:00' */; +/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; +/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; +/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; +/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; + +-- +-- Table structure for table `role` +-- + +DROP TABLE IF EXISTS `role`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `role` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(45) DEFAULT NULL, + PRIMARY KEY (`id`) +) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `role` +-- + +LOCK TABLES `role` WRITE; +/*!40000 ALTER TABLE `role` DISABLE KEYS */; +INSERT INTO `role` VALUES (1,'ROLE_USER'); +/*!40000 ALTER TABLE `role` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `user` +-- + +DROP TABLE IF EXISTS `user`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `user` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `username` varchar(255) DEFAULT NULL, + `userEmail` varchar(255) DEFAULT NULL, + `password` varchar(255) DEFAULT NULL, + PRIMARY KEY (`id`) +) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `user` +-- + +LOCK TABLES `user` WRITE; +/*!40000 ALTER TABLE `user` DISABLE KEYS */; +INSERT INTO `user` VALUES (4,'admin_vp','admin@visualpathit.com','$2a$11$DSEIKJNrgPjG.iCYUwErvOkREtC67mqzQ.ogkZbc/KOW1OPOpZfY6'); +/*!40000 ALTER TABLE `user` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `user_role` +-- + +DROP TABLE IF EXISTS `user_role`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `user_role` ( + `user_id` int(11) NOT NULL, + `role_id` int(11) NOT NULL, + PRIMARY KEY (`user_id`,`role_id`), + KEY `fk_user_role_roleid_idx` (`role_id`), + CONSTRAINT `fk_user_role_roleid` FOREIGN KEY (`role_id`) REFERENCES `role` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `fk_user_role_userid` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `user_role` +-- + +LOCK TABLES `user_role` WRITE; +/*!40000 ALTER TABLE `user_role` DISABLE KEYS */; +INSERT INTO `user_role` VALUES (4,1); +/*!40000 ALTER TABLE `user_role` ENABLE KEYS */; +UNLOCK TABLES; +/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; + +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; +/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; + +-- Dump completed on 2017-08-28 10:50:51 diff --git a/target/classes/application.properties b/target/classes/application.properties new file mode 100644 index 000000000..c04343d72 --- /dev/null +++ b/target/classes/application.properties @@ -0,0 +1,25 @@ +#JDBC Configutation for Database Connection +jdbc.driverClassName=com.mysql.jdbc.Driver +jdbc.url=jdbc:mysql://db01:3306/accounts?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull +jdbc.username=admin +jdbc.password=admin123 + +#Memcached Configuration For Active and StandBy Host +#For Active Host +memcached.active.host=mc01 +memcached.active.port=11211 +#For StandBy Host +memcached.standBy.host=127.0.0.2 +memcached.standBy.port=11211 + +#RabbitMq Configuration +rabbitmq.address=rmq01 +rabbitmq.port=5672 +rabbitmq.username=test +rabbitmq.password=test + +#Elasticesearch Configuration +elasticsearch.host =192.168.1.85 +elasticsearch.port =9300 +elasticsearch.cluster=vprofile +elasticsearch.node=vprofilenode diff --git a/target/classes/com/visualpathit/account/beans/Components.class b/target/classes/com/visualpathit/account/beans/Components.class new file mode 100644 index 0000000000000000000000000000000000000000..cd50ce219b43b3c23256e5438a3e398a3ae5fcdb GIT binary patch literal 3568 zcma)-Yg5}s7=_<;xHKRz38sYJFEqtKt(Jr|DS_4ya;qT(f?LwG=~`Z}5?gX4nGVDB zKeaRMWTqeb1Nx&nJ?r&FUae;O!58g$-?NW)k5>Qu``6z@v`)`QDZ?o5_znBi4O_h4 zsqX^7F(3x3M&I`>ZON0k@Ci5QJ>Cvs24eLuv- zKK$HY7kcHy%dZt8SjD z8<>k5c9gDTw^CUeD?6T6z$+Cu+Igi+r{~YrK;u<`SF3>tLrmN&QhrmhBHiXN6ak}L ztfGYx56cCgsqSQZJPfgX)xpYUXB3r}M4g9`>x6;_PEE1R%%2a8c5imDRv{*8JDj-z zhpl=mj3h4>eLyHUN=cCH`c>>@!rj9#YDaFno*Qj2y0DNhGaA~$@EBd7Pb~V7K4O$D zxt`cCGJq_@nj^uBA+j9#sBJstP%q*Zo2v}jg# zOvh+q8AsQ)o@d#%Ytfu+%b_h%fMLC_dpr9Uy>0AM_cW{bb#gAJEL-%hY@OAo>^%#K zS!L#B>r;!~H_oaaim?N~6*%IqD|4OgpT-4w&N5mw9-s2@6Ml5o6#esi4G#+*Asqb{ zWn@-yHHxco{Jw$D#gN7zAgW10b|9!pVG;sjniQrWAW2E#G6aMsDdZp^A4%a&2#7&a zxB>wiofO`JfSpVV??AvlC587OU>B0Y2bh7$V+P+JW3_DjGW-rNzNY!#@h3x9@hv+E z%lRq3Emc4Zl*bjeh?ej@*!%}A{{}JMeAU=oFgDwIbKcneg|T@>Z(cSwUpF?d>dm&X z`AfRlx#tbsWCpi7vbgjoE%#SUW{qeCLA=&>kh?6`QLUQ%ry|Pemf6eJy;jk2BgIRl zn$cHguNB?vCcJK?c&P`0(VE$7Rrgwh*XWBgkVN zDK`KU&@5~^FI*0(saSDifmoWO?2y&!@)QliM fm_d$oke2|dr+}z;SB9RoUn)PgU+nUo^b^s4It^0g literal 0 HcmV?d00001 diff --git a/target/classes/com/visualpathit/account/controller/ElasticSearchController.class b/target/classes/com/visualpathit/account/controller/ElasticSearchController.class new file mode 100644 index 0000000000000000000000000000000000000000..7c01cb8f7074a50257d29b9917b822a4f4ed0130 GIT binary patch literal 6702 zcmb7Id0-q>9sXXf*=#1I-O|!Pffibto&zbg(3F-oX-i6))TT{K5oEGE$xgewv&_uq z5D`T=RD_C(T5lBb06D~MQxJ={h!@@$9#yj^FwHj`yB; z;mBhEE*6UvR0*`kt+Y01IypU+)!n4&YI;0wQ zit`F;1g7uP2X!r_X9l$HzI{gA6==vghTUV>gJ#?iSkYOQ1-HpP+ODzvtpZIu$lgpF zy{2RKrHl=kjOFUCX=NON3p*`)Ky$LTnHlJ}^|Uc$+55FVL(e!`zaDojdqmTV2eb`2 z*BUZyBSErtYt4-5t`n$kUfe5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p^y(mk0NEDts$UzY#BZKtoAcp{QI0l3-A_mEdAg&H_LwPkQYP{Uk5oMf`l@NuY;Tf$f+0*zKR(nFM?s*xfTP$??DE6 zQv^AxgM2N59G5|k>L51&@=Xi~KS&wmEfM5|4)UD{@{SC0LI?Q)AV0={@Qav1PKqF> zbdZ}O$Y~kmln(L}Kz@z^;U_tRyeER3(LsI@LC(n_XLOKX0rFc62>&KvkoQH9^E${a z5#&P|QBS@PB;s_I`K;u*9suNa0FLLp#@Y>?7w#mx;BOE@Vn3O6#(u7g~!q>#w!Islr9g zJ0{P;((1l8Iu{r#TuZXl#^i#1NZgobNl&!p%v47{PP~i!9jGwfNSCy^b>1jk{>05c zNeYvVvw?G$`ip(_n_gD`A}^{x^&8n5KbV(Cv`T_4Z^~X(;iRv#{*}N8#n8_&8Rql@ Dl4^7> literal 0 HcmV?d00001 diff --git a/target/classes/com/visualpathit/account/repository/UserRepository.class b/target/classes/com/visualpathit/account/repository/UserRepository.class new file mode 100644 index 0000000000000000000000000000000000000000..b673a97e30ea10b2236ea8444174efefbdf7f920 GIT binary patch literal 504 zcmbVJ%}T>C9RFp0belSby+pkj5IjiLg9pJ;5G+2x-!`kMZBo*7vYXH4!3Xf6#H0h) z9faW_2?_cCKEJ*{J^@_gIKY76Jk=Fn$fl*TCi@~Sr!>{AvfPMTH_~dej9(F_)o2s&P3VCj2MP1u=|W53}@R;jT7CPRNTqZ(N8xWpLs0|qeSM4 zY-`+)_ny9008#ue^H*EB>aoSzWpNX^v>A5X+H-9VTq6O7@Xd@c_AfZ-_Cp+X=i~>R CqoKY4 literal 0 HcmV?d00001 diff --git a/target/classes/com/visualpathit/account/service/ConsumerService.class b/target/classes/com/visualpathit/account/service/ConsumerService.class new file mode 100644 index 0000000000000000000000000000000000000000..9b188ff2043ac22cfb0e4797985a0a89db5e813a GIT binary patch literal 178 zcmZ9GF%H5o6hr+Bw7>!bhk%7}0Tz(h5JM#vrttMuQnd|gk{*tM18^urDwtR-+p?bg zdOw~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/account/service/ProducerService.class new file mode 100644 index 0000000000000000000000000000000000000000..6905ce91fe90606e758b87b078f86870c74ceaec GIT binary patch literal 210 zcmZXOI}XAy5JYGBBtU^EI0J$P(<53c5J)+}VyxgO#F0Na90dp9PzXmUkf2%ZjNZ=d z>-~5F*kPQaN7zVn7map-%bNX7d%;qgPS!-DV^NLO*^DP;4I}X*Z;C H_AvSYJe)j) literal 0 HcmV?d00001 diff --git a/target/classes/com/visualpathit/account/service/ProducerServiceImpl.class b/target/classes/com/visualpathit/account/service/ProducerServiceImpl.class new file mode 100644 index 0000000000000000000000000000000000000000..e2333c10f9234e05c9483b07094a9598770ddb1f GIT binary patch literal 3235 zcmb7GX;&OY6ukulJ(+YCNih?yYE*0@z?3!0qnug78(S0IYBWq z?M7wkm870@bw)Z)Q1*2uQsK1gsLXH}Oq3lJ<}2_0#gblIMN%Hp=;i& zg9!paZ&wZc-%S`$806|w1*=>oFo8=umhPo<>5zqU1vZ;SLpeU~>f+IijwT_>F6MwNnr!lrmztgSU6u`>#~uSwd+Nh{jtB?(F1(5aUm`u76ql}hWmm@3#{*` z6O&nJlZ}gUiGUR;T`@ho-iAg^JezG?y4d}25b6{_*1nTxr zH8!p_bJo?MF)X9#SP)K_d089R&CRPFzuv|TxRHGH)v@{H2wY4I|2cu#73juI7J3$x zPJSlRs%WDZd&%CQY%r)0#0^+_uCG}FN*1##(T7_s^b1`0&+FK@6$2~@HySD_KQ4(w zEv)!K8$%ct*ie*HilIAFA9VHPTwRg(XLlT`ON9Lxv5+TLaRL{{W#d51kdg`2^G%co zZQO?236aCVwd$Fa+ACkiWZC+@azm%zrlyRA&IaStRJt&Te! zD5#s1T}G(M{R^g0Gk{yh?L3B(Im<&hyEdMQI(9cq;L!~7LL~>xaO;kdt(KS6P(x5nHmYD z!y39D4_G)s-HKUZS4rM8)^kgs*rSJyc zvhb!r+q_P@{&XQ!Lz{b3m~6IgLZ*erZMSH$sUZb32@X3@frJbsqYV?n|x;gytQ z6P2iu|0e#=gM}p96+DO-okq#5sI&vY6olO&t5|H*C257qsTK{fhHuk!I8OE81tVoxRIuv5U>sv)H|D7JCMN zM%VUJxLM#da=XcY@Nl#DI946Cv80qKelg8oI*)} z(^z*W(VpYS7EMQVKYbD#%sadHoyJ44J^K&0Jn|zq4hrfCO0H?2r~Ea->~(*>uC5A2OID*USVs}^(x!f_+L+V@9_QI`1yYP{E$I`7s>=aVHjVK W3n$rr#rA9VzHMHC@9+bDLhIkk1dl@i literal 0 HcmV?d00001 diff --git a/target/classes/com/visualpathit/account/service/SecurityService.class b/target/classes/com/visualpathit/account/service/SecurityService.class new file mode 100644 index 0000000000000000000000000000000000000000..d8422830660acadb1ba207e5c2ac281ca61ff81d GIT binary patch literal 260 zcmZXPy$ZrG6opUfPqi)%zJu*z+{IN83Jyj0n8ujWCekJaU(LY>@S(&M2f>c_;tXU;Ij+68k&TOr;+z?Eev!*msX@X_kPxMK0B8W2MYA$xF g>@NR_t-6{q0l~ok2L#@8gfTkb5ED;)ZO0LP00e_dIRF3v literal 0 HcmV?d00001 diff --git a/target/classes/com/visualpathit/account/service/SecurityServiceImpl.class b/target/classes/com/visualpathit/account/service/SecurityServiceImpl.class new file mode 100644 index 0000000000000000000000000000000000000000..d63ba1e75daa514060168d5e57eb47ef8592623b GIT binary patch literal 3145 zcmbVOYgZFj6x}xj29gn#ih?gts|HX_%Ceh zs-|7-YQOet|4!T0eP>2UAVH9|$ep=&&N=%$_Br>j|9<%$z$GkcNC}Kv-h#1c2Q|~F zn&ERhG)&9#YHnx*(qFVKX%wYZ^X+iC7{A|Ms5%`4uCm`nFps`{sgN^89(iis2Z|QpRK}C3%6t z2Xw|>kTZ5*&pL9_b-ggM69}AZX<=5HZeWy6EA;$j!(0(iCcGuvmnEw0t1&*;WN6w> zkVHn{YD;}9h%L{ThLS7Aa>k=|I;gqJ@hXx3eX%yDJU(X>qCK8=U$h+CwZqE-9l4Pi zf%KGDk{Nt}ehs?>_Czsjkhu~2p<_4p2=r8B80!)^nk%fPaLO@*AV0F+WDgia9ox_= zu)Scr@@{QmR{9T329seZc$VqRn7*yvlg+M+5yA{Qa8Sp7>>x^(76X2^u+{QVlo0GUTmHRq0 zbZ1e-BMlD)Cb!~avroz7(J_O^0(wI{*lNnTP0+qs-`jTDZh}P(XpM*p&J!I^@r>=( z4jN8nDQfvoRSWq_$Jh9VJs?=$118=F=u9_EfqgXR4M)@%J{k-MHOrDgP_8-7@}UeY zNDTzhF!*DB=qRJY!BzJB1v4bi83ul@VuIovp{|m32jFwfg^7XZNLwK`y1OZw@f+C!c5Vt`Ifw4 zs{uUF;(B&Ujdg)Gbr4Eldf{?a-Rz>t`GC+|*?2Ar70p1W2af7Q; z&^h`V2UbND4$z7cQ8@SkhA_-k5c^^ND%(q3Q(OCeL#X~p}8QUEzOpNvNmURJnnz=|R2I(IRX_RFf z!{r3T-_+R2(|e<@aAmBH$rSGXiknYPo;X>@ZGqRgb0N*MdxPmZ9;EPiF#R*Wc!9$N zt+u{Q;YSSgeVhIb9Zx#Oif=Gm$MY0aFk;NdqSWM=l2Q6F!swkq4yQQ84Nl|JM0f_% zd{V(0kFg~9i3%<}B2`aSKB>fBr^I*Ey`NwE2$)diT^8bBOlz3X*pN~Pxs^g~r79MI F{{e9Nn-Ty3 literal 0 HcmV?d00001 diff --git a/target/classes/com/visualpathit/account/service/UserDetailsServiceImpl.class b/target/classes/com/visualpathit/account/service/UserDetailsServiceImpl.class new file mode 100644 index 0000000000000000000000000000000000000000..023eb0da1c61f7bd0d11ed6c601858b19ce5aec1 GIT binary patch literal 2296 zcmb7F>r&fB7(HtYBDM&DG_)j5+Cb6*2~nHUCSV|3!Ywr>#RLkyF46)@gyfNB5?-Y* z(7)|WCk$n#)8BoBzDj4Bo|U=SU;_Oi?P@RQyPfaouYZ641Hcg03?u{|*ukc?x5P1@S7B@ZuHqopW# z>4wT7Y{Q`IyV0;fU03&_Kyo~AR0?%yHj#!Y(42LBl`Czos&GNlu0U%xu%)*sLsx(A zFD999I?{i7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GsER;2%ruaJk->+!rsFC_YNW#wm2x~44XoligT61F#)fTECcN-nL{^c0K%QI1 z$0~JhP+7$qqpxMxwyDgis3?LeZl4$^VU6Jg-AnOM_T-WVq&trFx&a+0GPr|H9UEgx zS50S7dj{S@nc-5>YrVd6%U}BNUC(@lFhE-bf`rz+)NU^2+vqx>YCdI z?&33YjZ)DA%q6lW#-m73CM&NqOjl*o;X&v{+;JxLqp~&@^Lj~fUnAPyZMGY#CU**B z8K+UjBOMRP7lUf5xK7hR4Ub7`hufjp-DfzZAdjDkh@Tkv8sEg}wd>GDmSQJL*Q^Ta zHn#jlb)4Z5((;SaGlP75n0`jZnPTh18D_%gkAOuW+CB|bl)cr@MSD(i^4NO qh*^cO_y_im@Rf#tu<)|D%L#GWzPK#D#didy;rmF|5B(Vb2>cJz5M5>f literal 0 HcmV?d00001 diff --git a/target/classes/com/visualpathit/account/utils/ElasticsearchUtil.class b/target/classes/com/visualpathit/account/utils/ElasticsearchUtil.class new file mode 100644 index 0000000000000000000000000000000000000000..51281bd729da6669cd0625ec7fe47cacd173539f GIT binary patch literal 3368 zcmb7GX;&0S6ukuu4U<+B6~z@54V$zv#u&yWFp)q+Tn062Vr+U!XqoArbl0H7n8n2G z>$m)ad`-+b=+Tq>fc&T=w|W|eff+FzrmMR8y;rwx-FmP7{^!YG0FL8l19bui9Y1f) zx?$1I6>K%_D$8~pzvwBesN7s=oyysva-C4xfir!PLk1cI*4?saZ7XMcQ`XtZThdVi zjegwe9jh5~Qrcc)OU4X5@<;KS(!vVUNB*xNuXuS_2hUl zKPiI=dom{lTE~3H&RwztSHH)D4TK&F9I8EcjpY!+noz1TCV~F0+EG@lK!a|-K)&3( zyyS*1Aq{$-uWaS|9uXZK^MffXECjAMbu+N@^0pt$SfwyGZAbaRoMkUMSc667-*y9; zO*KPclZgZxNw*4U6BhhHrE@Ns6FAb<9YvN)_s4Rgua-8CtgVTKUdfM9+p*2S)`~66 z%!NwkO>D;w?t@=s_)TNc4!gc}j>uI;1=7x^ny`zXIx6PuD9xF~ZtOL%M_@x0PZOQk zCtzqARL*0NuF?dNgczOdq`EI9@glknbP04nw}wpgpjTkylvEX39q~i1VEZYP(v6gq0jr z75wV3M+KTa?#CkL(PJJ&CJ$$G|m#_2s3EdP+{oz{I<_F3?o4gHUp;#&I7_;xcaNMcV>x zRU|N~Gr~nU+9WHmD>kW$C(0hW(7|x-yu^N7XG#h#6%&Go007bz5I?s!K_%b;%aTDQvl+&RWcN70z*@ zT5hUy6YFkCqymSliEXvTadQ_EjX+qx>~H{|;& zq;d*pq?-1#JjS2lfq~BjI?JcR^=ADUx<%+qMPRs8`E_;pLg1IB+K;VE0Y_{vo0DPZ znD5UN3#pYlSTa)KI6dY!f|?ko=vUI+%PmMuTgyhJCYSfVF7h8@CecX{Bqnw%Wi}2RhDv9ot0jAJ|w9 zl#B*9paGkrU~MI%I2g?%R2oYgHZuf6i9GRXqz@iqOY6>gbUehydF($OHGN}IW1Web zL*umRd4gAf$ZkvT6TBAn#X!Sj479%9H;8Z)koZ1Cs6R$ge_#GoxrzZ z2e$FvwjBrAJBFR~=)e%kAHg1$tGzhS_Y5s=U_Y|F4i(sj*oRq;-Ql(DE_!hfeYnr7 zmganf6twWG2cK_kd=~f;53^{e>#4aZtJ_AS20k6d}0x2&Jg F{2yKR(*ghh literal 0 HcmV?d00001 diff --git a/target/classes/com/visualpathit/account/utils/MemcachedUtils.class b/target/classes/com/visualpathit/account/utils/MemcachedUtils.class new file mode 100644 index 0000000000000000000000000000000000000000..cd0ba1e28f0c5aed731899ddf96ba36b9ee63875 GIT binary patch literal 5505 zcmb7IYj_mZ8Gg@ZcPA`^-~z%zv6F(D3t@{OkWEA(5LuIe5{Lp?nQSJ>klmeiW;PJD zH*0UUwXLmIskYi1wb!VXn>Tu~TCG~^wHI6a^lAU~SAX`Y>3hy>HoLi~&6CWWbLKnW z`M&pizwexrXWu^k1b~b2Hw__y=8Tg|j@Vw&%oa?4$o7+FCgT+IezNG>Sufdb$A+fmu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9$c6h}M>)Ajtn>7YV?0~Bk6W9ScDX4|2>w zd9-IM$~Lb#e9mDn$v4m9h%}x+>_Ij{&`UzVe9U884+L-)`%=*YoJ}ctI+Usw@+}oz z%yx+HNYleuG^r@21{bl&Emq3T34}_@D6XuMww!|{R6$i@C8edML-D2EXV=`a`6QO5 z!Vlrx_^RVLpYKHYI98v;g{QFz2!_3V>f#EmaRS5%N1&1QFbr==g9_F;cB(k{Y+ybci0Ine#2QU}c z;zJy}jZ>7SDCZm(rU>$Kgm4@a?A}k_m^8 z;;lqPz28`VH(q%Z&HKWS3v`AtC-tVvOS&u@Kja1g;ZxI4Bx;d02}KE$SB=V2LdlR8-qdDumekA?JYqRl0<$ z{g_12M4O^t2r%3>&EGFblNvukl>M9B9kMkEg;xxSuIS z^GxH@c#Mg9_-;H>&DiEdcy_`@k8y1hvP9U3A}9;y6oPh18AZ@n^}Fdbow}+fc+Eyy@JF!*~Ek7@$#VyAdaF6Q0C}@f@!$FY|ix25!dRIb)(qhu8~< z5W!n2=scX_%@Psj)0#&W5tiTuJf?_{<$fT;AEB Tdj0`_q7Hct_%jpcEhPR2S8bE2 literal 0 HcmV?d00001 diff --git a/target/classes/com/visualpathit/account/utils/RabbitMqUtil.class b/target/classes/com/visualpathit/account/utils/RabbitMqUtil.class new file mode 100644 index 0000000000000000000000000000000000000000..cfdc8e403a8ebe075a3e4211e47ce5801f412164 GIT binary patch literal 1088 zcma)4+ip@p6kWqr@YG&F6s?zfD@g3TnqWhNS0SZVV@nvT3*?X9k>&fk*VmDZoUIe=g^HAW z$&jp6n+&Oa-IjSIaWy~|R~S|sDw1#GUQ3$yqSciQ8x0+bZc`ZL^YLMdR9l8;%V%G{ z2~A(I(oN+s>{ON$ToUi~mJi7#)sszS6{*>aBJG4zIwCR88`^ZZ?Hd(!PK@ZuGi^Td z5zUDRoi^uOOaOc@cKS>i*{v@!MJBwQk z)&F)sKnXYgop7Ly^Hg^OY|ht?tu(&272uw)6=swj2y5wfZC`&B;DN8_k92H8`AYdm zTfex2|3W)nK0{@pKh{YjwL9-iek9F6g|dz+7DKnd;6u41&5E?k=El}TtLVoN z6-YU5+4O3zvdbk`R;|a5`=|+{9NXN-5a_EDGjF*&s%Qz!`Jb2DEF+{R8Gg-FF@<*V-m*bWYjIpBLy# zr3(Vxi_W%{KoHC z1FzsLqqn}H3V8A9R@5-R!Oc+_cp-4|h+_i7FEg=QYqD|bu(5WLfi^f`6mxCvYn#Nz z5v`?V*L7SHQix-MU|LQ#B^SpeXX}o?T&?-L38XOH0LMU${Z~Cg@8JNZ; z%FMO2xK~R7+J<|N^Y;I+^2f@WmNuo@ngE@rl6MB~>aNg+TM%W-G4g94eh zu6VxXT8__0!(4Q#HOIDWKa1BWmM(rh{32R2?0fm|in33z*L!@I+4gg0vKQ=oGS6}1 z7Y-sAWUGxqgOhBvDGiXs5POyuPSa|b;|N9qkTs4XoX3)*Q+qh`GlyL*Fhc>%aA?wi zp)p>?Il`T%b$Eqd(cTNZjtgw*pBN%iH!Yq_{ejW->Ey-a8^0oTX%91dm>rBh#Xxg> z{wMV7{VOl`W(bHZgJ_#R*2OWyMpSNjqD8xt{%_KuzF9pU!ZT#P{OCw2??7q0SGyZ`_I literal 0 HcmV?d00001 diff --git a/target/classes/db_backup.sql b/target/classes/db_backup.sql new file mode 100644 index 000000000..2f17a4df3 --- /dev/null +++ b/target/classes/db_backup.sql @@ -0,0 +1,133 @@ +-- MySQL dump 10.13 Distrib 5.7.18, for Linux (x86_64) +-- +-- Host: localhost Database: accounts +-- ------------------------------------------------------ +-- Server version 5.7.18-0ubuntu0.16.10.1 + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8 */; +/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; +/*!40103 SET TIME_ZONE='+00:00' */; +/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; +/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; +/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; +/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; + +-- +-- Table structure for table `role` +-- + +DROP TABLE IF EXISTS `role`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `role` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(45) DEFAULT NULL, + PRIMARY KEY (`id`) +) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `role` +-- + +LOCK TABLES `role` WRITE; +/*!40000 ALTER TABLE `role` DISABLE KEYS */; +INSERT INTO `role` VALUES (1,'ROLE_USER'); +/*!40000 ALTER TABLE `role` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `user` +-- + +DROP TABLE IF EXISTS `user`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `user` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `username` varchar(255) DEFAULT NULL, + `userEmail` varchar(255) DEFAULT NULL, + `profileImg` varchar(255) DEFAULT NULL, + `profileImgPath` varchar(255) DEFAULT NULL, + `dateOfBirth` varchar(255) DEFAULT NULL, + `fatherName` varchar(255) DEFAULT NULL, + `motherName` varchar(255) DEFAULT NULL, + `gender` varchar(255) DEFAULT NULL, + `maritalStatus` varchar(255) DEFAULT NULL, + `permanentAddress` varchar(255) DEFAULT NULL, + `tempAddress` varchar(255) DEFAULT NULL, + `primaryOccupation` varchar(255) DEFAULT NULL, + `secondaryOccupation` varchar(255) DEFAULT NULL, + `skills` varchar(255) DEFAULT NULL, + `phoneNumber` varchar(255) DEFAULT NULL, + `secondaryPhoneNumber` varchar(255) DEFAULT NULL, + `nationality` varchar(255) DEFAULT NULL, + `language` varchar(255) DEFAULT NULL, + `workingExperience` varchar(255) DEFAULT NULL, + `password` varchar(255) DEFAULT NULL, + PRIMARY KEY (`id`) +) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `user` +-- + +LOCK TABLES `user` WRITE; +/*!40000 ALTER TABLE `user` DISABLE KEYS */; + +INSERT INTO `user` VALUES (7,'admin_vp','admin@hkhinfo.com',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'$2a$11$0a7VdTr4rfCQqtsvpng6GuJnzUmQ7gZiHXgzGPgm5hkRa3avXgBLK') +,(8,'Abrar Nirban','abrar.nirban74@gmail.com',NULL,NULL,'27/01/2002','A nirban','T nirban','male','unMarried','Dubai,UAE','Dubai,UAE','Software Engineer','Software Engineer','Java HTML CSS ','8888888888','8888888888','Indian','english','2 ','$2a$11$UgG9TkHcgl02LxlqxRHYhOf7Xv4CxFmFEgS0FpUdk42OeslI.6JAW'), +(9,'Amayra Fatima','amayra@gmail.com',NULL,NULL,'20/06/1993','K','L','female','unMarried','Dubai,UAE','Dubai,UAE','Software Engineer','Software Engineer','Java HTML CSS ','9999999999','9999999999','India','english','5','$2a$11$gwvsvUrFU.YirMM1Yb7NweFudLUM91AzH5BDFnhkNzfzpjG.FplYO'), +(10,'Aron','aron.DSilva@gmail.com',NULL,NULL,'27/01/2002','M nirban','R nirban','male','unMarried','Dubai,UAE','Dubai,UAE','Software Engineer','Software Engineer','Java HTML CSS ','7777777777','777777777','India','english','7','$2a$11$6oZEgfGGQAH23EaXLVZ2WOSKxcEJFnBSw2N2aghab0s2kcxSQwjhC'), +(11,'Kiran Kumar','kiran@gmail.com',NULL,NULL,'8/12/1993','K K','RK','male','unMarried','SanFrancisco','James Street','Software Engineer','Software Engineer','Java HTML CSS ','1010101010','1010101010','India','english','10','$2a$11$EXwpna1MlFFlKW5ut1iVi.AoeIulkPPmcOHFO8pOoQt1IYU9COU0m'), +(12,'Balbir Singh','balbir@gmail.com',NULL,NULL,'20/06/1993','balbir RK','balbir AK','male','unMarried','SanFrancisco','US','Software Engineer','Software Engineer','Java HTML CSS AWS','8888888111','8888888111','India','english','8','$2a$11$pzWNzzR.HUkHzz2zhAgqOeCl0WaTgY33NxxJ7n0l.rnEqjB9JO7vy'), +(4,'Hibo Prince','hibo.prince@gmail.com',NULL,NULL,'6/09/2000','Abara','Queen','male','unMarried','Electronic City,UAE','Electronic City,UAE','Tester','Freelancing','Python PHP ','9146389863','9146389871','Indian','hindi','3 ','$2a$11$UgG9TkHcgl02LxlqxRHYhOf7Xv4CxFmFEgS0FpUdk42OeslI.6JAR'), +(5,'Aejaaz Habeeb','aejaaz.habeeb@gmail.com',NULL,NULL,'16/02/2001','Imran','Ziya','male','unMarried','AbuDhabi,UAE','AbuDhabi,UAE','Developer','Developer','Azure Devops ','9566489863','9566489863','Indian','hindi','4 ','$2a$11$UgG9TkHcgl02LxlqxRHYhOf7Xv4CxFmFEgS0FpUdk42OeslI.6JAR'), +(6,'Jackie','jackie.chan@gmail.com',NULL,NULL,'28/09/1992','Charles','Chan','male','Married','HongKong,China','HongKong,China','MartialArtist','MartialArtist','KungFu ','9246488863','9246488863','Chinese','Mandrian','1 ','$2a$11$UgG9TkHcgl02LxlqxRHYhOf7Xv4CxFmFEgS0FpUdk42OeslI.6RAR'), +(13,'Srinath Goud','sgoud@gmail.com',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'$2a$11$6BSmYPrT8I8b9yHmx.uTRu/QxnQM2vhZYQa8mR33aReWA4WFihyGK'); + + +/*!40000 ALTER TABLE `user` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `user_role` +-- + +DROP TABLE IF EXISTS `user_role`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `user_role` ( + `user_id` int(11) NOT NULL, + `role_id` int(11) NOT NULL, + PRIMARY KEY (`user_id`,`role_id`), + KEY `fk_user_role_roleid_idx` (`role_id`), + CONSTRAINT `fk_user_role_roleid` FOREIGN KEY (`role_id`) REFERENCES `role` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `fk_user_role_userid` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `user_role` +-- + +LOCK TABLES `user_role` WRITE; +/*!40000 ALTER TABLE `user_role` DISABLE KEYS */; +INSERT INTO `user_role` VALUES (4,1),(5,1),(6,1),(7,1),(8,1),(9,1),(10,1),(11,1),(12,1),(13,1); +/*!40000 ALTER TABLE `user_role` ENABLE KEYS */; +UNLOCK TABLES; +/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; + +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; +/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; + +-- Dump completed on 2023-21-06 05:49:31 diff --git a/target/classes/logback.xml b/target/classes/logback.xml new file mode 100644 index 000000000..35b81df4d --- /dev/null +++ b/target/classes/logback.xml @@ -0,0 +1,24 @@ + + + + + + + %date{HH:mm:ss.SSS} [%thread] %-5level %logger{15}#%line %msg\n + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/target/classes/validation.properties b/target/classes/validation.properties new file mode 100644 index 000000000..0453cdd3a --- /dev/null +++ b/target/classes/validation.properties @@ -0,0 +1,5 @@ +NotEmpty=This field is required. +Size.userForm.username=Please use between 6 and 32 characters. +Duplicate.userForm.username= User has already taken this Username. +Size.userForm.password=Try one with at least 8 characters. +Diff.userForm.passwordConfirm=These passwords don't match. \ No newline at end of file diff --git a/target/test-classes/com/visualpathit/account/controllerTest/SampleTest.class b/target/test-classes/com/visualpathit/account/controllerTest/SampleTest.class new file mode 100644 index 0000000000000000000000000000000000000000..35fa69bc903478b9217ab3a0849a71d879eafdc8 GIT binary patch literal 611 zcmb7A!EO^V5PjZeyX|&ELfS&Bwm{%gIA96&7K#)hqEJO3kt%m*Yi%4kcG&e6@d11g z7g}-P1Nf+_<89OxM|>F1c%I+Pdw*|!{{e7{7ZC!6H>q9lOI4IYFNK>a$3>dj(m0-4 z<8rID%+F=v_*g8KTKY6XgP}bamx60yGX8lwm#Je|f2)jg?-%47*1V~<2@ zX)-sfM1Ks)SbxG8hj|f)cCXDF|h&mz4nzVUO+NExQ=eLlV&Z<_KqP|T`WlzTt#Syd3_@Hy&sUe9v>YoqEf8yK9~OxBx;dFd3@IJ2V70*Ne#?=Ah3Qe!Y%&iLFVx2xgftgF^lViIW8)GkWBh>&bKyTd+;TR)OvF2`14s zDbVp6whOFKVTJq%tZ(a|Uj^y*;S~^Q)v*G}BwojE4ZB!vk=P4SzTmK@VA(n8`8xLC z4f5p&rjs*m*O8f0FgM$7HE`z0yf3J?m&c*w0N!M)@>H!S)>Dz(HFD4_ zymWiR<4eTDV%v{HIu7G4*5s&4u)u+~h_=f)N~`)hszb*rfo+}~xBS2hRYEb!n(j06 z`3L81cZT|K?tWJ0Lj}>mK3H2V*UB&CCycGs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f0?8aoOD z^SoQ9U}qiQA)4`G(F?3FCcx5}OA))ZfF3jHW?Xr$IV)8g+;4I7< ztaM)ZdX}wtHiFlwnw!>|lfSoS6)&Ebz&8w>$D6cEJ#7Da1rO?;F^MK6yPOj~N5A z0#+l~8L}X@>jvhrK>5}SpirW9YC`OUmJHQgA$9+w8-!sIkGM0}zS<=7P7Qe2WOE+HKb z7%f;Q?SR_wr>#x%1b%0z3Tl{1oZA+CV}7}vdO2cq-n;J?O#juOfm?vu<~Q>~PF zo7Cw&bKK`i6q66uWKg|)OWo%X=3Sg_m3&=QEj_fOGd95#HVkay0i{9|A{B)LZ8+*3 zBS;>~X`eikzP{g*zNN>e@R@4h7j>)*-W(2BImR|dYuH=JR<^N=7oS<`an zcXHs9XQ6P9_~b$^#EQ9t^9zjkgFEpm*Ij%&h0|P#{~-Sb%wOD`Vw#rgM1GsNg@#xSVZEjZ=gcB* zu!aQAA&Z+N?H0YH@|xu~EecD|sr&=_O63bv#SiAOjhG*oeK8(vhett;Eu>Z&b2eS$9)w()KA>?kh^{6h7@Bu(e|X&7n2 NkZ54|fnFW>@gFzgBZ2?` literal 0 HcmV?d00001 diff --git a/target/test-classes/com/visualpathit/account/modelTest/UserTest.class b/target/test-classes/com/visualpathit/account/modelTest/UserTest.class new file mode 100644 index 0000000000000000000000000000000000000000..f045030c9c69ebb64685e5a7cdea372a11a84bfa GIT binary patch literal 2512 zcma)730D(W6#j-SAq)ypskmFAvO2|$R?r$C)YyQONKm`zkPI+5nTeSRh+VY%zWtQi zHexxaKcK&%zon<&o$U5l3g;yE-FNSM-~I0QZvOoH_dft!#7_YTsR8ExHk^SYJQ zy;alG^i;~p+n$zj(uQ^2a6N6oHF9DE(4?SaO<&hFOSf0FYfEcJ%2Uu5y)hS^ydIsp z9h+i6yc!XA?3FPE?UjH;>{e8P5~FX@v0YEMy`*mCjYdLJ6m(Vs7ZTC=*~koo!!_q6 zyqw7sgV@De7xh&$eRoy2N6#wQUCEq_Bod3n5w3XTt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APc3aG{)S ziOIMca4Y?LY7B@#!LXbB52-#wD=noO`Vtx5^paCv@mO&^qHcJa{mo=1&U+zsq_YVHG#pxQSZ~Yc$fg zR#ZZ}7qXynXD5j Date: Mon, 30 Mar 2026 10:49:59 +0530 Subject: [PATCH 11/24] ansible code --- Jenkinsfile | 47 +++++++++++++++++++++++++++++++++-------- ansible/stage.inventory | 2 ++ 2 files changed, 40 insertions(+), 9 deletions(-) create mode 100644 ansible/stage.inventory diff --git a/Jenkinsfile b/Jenkinsfile index 969d00c6e..e264dde95 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,17 +3,22 @@ pipeline { agent any /* tools { - maven "maven3" + maven "maven3.9" } */ environment { - NEXUS_VERSION = "nexus3" - NEXUS_PROTOCOL = "http" - NEXUS_URL = "172.31.40.209:8081" - NEXUS_REPOSITORY = "vprofile-release" - NEXUS_REPOGRP_ID = "vprofile-grp-repo" - NEXUS_CREDENTIAL_ID = "nexuslogin" - ARTVERSION = "${env.BUILD_ID}" + SNAP_REPO = 'vprofile-snapshot' + NEXUS_USER = 'admin' + NEXUS_PASS = 'admin123' + RELEASE_REPO = 'vprofile-release' + CENTRAL_REPO = 'vpro-maven-central' + NEXUSIP = '172.31.27.140' + NEXUSPORT = '8081' + NEXUS_GRP_REPO = 'vpro-maven-group' + NEXUS_LOGIN = 'nexuslogin' + SONARSERVER = 'sonarserver' + SONARSCANNER = 'sonarscanner' + NEXUSPASS = credentials('nexuspass') } stages{ @@ -113,9 +118,33 @@ pipeline { } } } + stage('Ansible Deploy to staging'){ + steps { + ansiblePlaybook([ + inventory : 'ansible/stage.inventory', + playbook : 'ansible/site.yml', + installation: 'ansible', + colorized : true, + credentialsId: 'applogin', + disableHostKeyChecking: true, + extraVars : [ + USER: "admin", + PASS: "${NEXUSPASS}", + nexusip: "172.31.27.140", + reponame: "vprofile-release", + groupid: "QA", + time: "${env.BUILD_TIMESTAMP}", + build: "${env.BUILD_ID}", + artifactid: "vproapp", + vprofile_version: "vproapp-${env.BUILD_ID}-${env.BUILD_TIMESTAMP}.war" + ] + ]) + } + } + } } -} + diff --git a/ansible/stage.inventory b/ansible/stage.inventory new file mode 100644 index 000000000..f0af311d5 --- /dev/null +++ b/ansible/stage.inventory @@ -0,0 +1,2 @@ +[appsrvgrp] +app02stg.vprofile.project \ No newline at end of file From c1bb6cff28dcebec746c32443065471c0cc06bb4 Mon Sep 17 00:00:00 2001 From: Aniket-Rasal Date: Mon, 30 Mar 2026 11:28:05 +0530 Subject: [PATCH 12/24] ansible code --- Jenkinsfile | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index e264dde95..09b204e71 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -8,17 +8,13 @@ pipeline { */ environment { SNAP_REPO = 'vprofile-snapshot' - NEXUS_USER = 'admin' - NEXUS_PASS = 'admin123' - RELEASE_REPO = 'vprofile-release' - CENTRAL_REPO = 'vpro-maven-central' - NEXUSIP = '172.31.27.140' - NEXUSPORT = '8081' - NEXUS_GRP_REPO = 'vpro-maven-group' - NEXUS_LOGIN = 'nexuslogin' - SONARSERVER = 'sonarserver' - SONARSCANNER = 'sonarscanner' - NEXUSPASS = credentials('nexuspass') + RELEASE_REPO = 'vprofile-release' + CENTRAL_REPO = 'vpro-maven-central' + NEXUSIP = '172.31.27.140' + NEXUSPORT = '8081' + NEXUS_GRP_REPO = 'vpro-maven-group' + + NEXUS_CREDS = credentials('nexuslogin') } stages{ From ca602bfc802f07a757505174b7b4b432a6d26bb1 Mon Sep 17 00:00:00 2001 From: Aniket-Rasal Date: Mon, 30 Mar 2026 11:31:17 +0530 Subject: [PATCH 13/24] ansible code --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 09b204e71..ecf6cbed0 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,11 +1,11 @@ pipeline { agent any -/* + tools { maven "maven3.9" } -*/ + environment { SNAP_REPO = 'vprofile-snapshot' RELEASE_REPO = 'vprofile-release' From 348e6fcdaba272c282ef97e7836f5cdf4e6b4549 Mon Sep 17 00:00:00 2001 From: Aniket-Rasal Date: Mon, 30 Mar 2026 11:45:40 +0530 Subject: [PATCH 14/24] ansible code --- Jenkinsfile | 27 +++++++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index ecf6cbed0..d78c876f1 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -57,13 +57,13 @@ pipeline { stage('CODE ANALYSIS with SONARQUBE') { environment { - scannerHome = tool 'sonarscanner4' + scannerHome = tool "${SONARSCANNER}" } steps { - withSonarQubeEnv('sonar-pro') { - sh '''${scannerHome}/bin/sonar-scanner -Dsonar.projectKey=vprofile \ - -Dsonar.projectName=vprofile-repo \ + withSonarQubeEnv("${SONARSERVER}") { + sh '''${scannerHome}/bin/sonar-scanner -Dsonar.projectKey=vprofile \ + -Dsonar.projectName=vprofile \ -Dsonar.projectVersion=1.0 \ -Dsonar.sources=src/ \ -Dsonar.java.binaries=target/test-classes/com/visualpathit/account/controllerTest/ \ @@ -77,6 +77,25 @@ pipeline { } } } + stage("UploadArtifact"){ + steps{ + nexusArtifactUploader( + nexusVersion: 'nexus3', + protocol: 'http', + nexusUrl: "${NEXUSIP}:${NEXUSPORT}", + groupId: 'QA', + version: "${env.BUILD_ID}-${env.BUILD_TIMESTAMP}", + repository: "${RELEASE_REPO}", + credentialsId: "${NEXUS_LOGIN}", + artifacts: [ + [artifactId: 'vproapp', + classifier: '', + file: 'target/vprofile-v2.war', + type: 'war'] + ] + ) + } + } stage("Publish to Nexus Repository Manager") { steps { From d70cbc5b8bfb986d661003610445ca0ec323806d Mon Sep 17 00:00:00 2001 From: Aniket-Rasal Date: Mon, 30 Mar 2026 11:58:38 +0530 Subject: [PATCH 15/24] ansible code --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index d78c876f1..1f6af28f5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -57,11 +57,11 @@ pipeline { stage('CODE ANALYSIS with SONARQUBE') { environment { - scannerHome = tool "${SONARSCANNER}" + scannerHome = tool 'sonarscanner4' } steps { - withSonarQubeEnv("${SONARSERVER}") { + withSonarQubeEnv('sonar-pro') { sh '''${scannerHome}/bin/sonar-scanner -Dsonar.projectKey=vprofile \ -Dsonar.projectName=vprofile \ -Dsonar.projectVersion=1.0 \ From 22478296c7f44d46a374f9fc1b2d6aecd54975a0 Mon Sep 17 00:00:00 2001 From: Aniket-Rasal Date: Mon, 30 Mar 2026 12:08:05 +0530 Subject: [PATCH 16/24] ansible code --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 1f6af28f5..50423b406 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -73,7 +73,7 @@ pipeline { } timeout(time: 10, unit: 'MINUTES') { - waitForQualityGate abortPipeline: true + waitForQualityGate abortPipeline: false } } } From 4baa7676b24eaf6055652d0f00b7c97a12d6ccd4 Mon Sep 17 00:00:00 2001 From: Aniket-Rasal Date: Mon, 30 Mar 2026 12:28:16 +0530 Subject: [PATCH 17/24] ansible code --- Jenkinsfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 50423b406..bdcdc0836 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -8,6 +8,8 @@ pipeline { environment { SNAP_REPO = 'vprofile-snapshot' + NEXUS_USER = 'admin' + NEXUS_PASS = 'admin123 RELEASE_REPO = 'vprofile-release' CENTRAL_REPO = 'vpro-maven-central' NEXUSIP = '172.31.27.140' From 138e61dcbdaded7d58f72878d92be4280072307c Mon Sep 17 00:00:00 2001 From: Aniket-Rasal Date: Mon, 30 Mar 2026 12:29:56 +0530 Subject: [PATCH 18/24] ansible code --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index bdcdc0836..0099ec022 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -9,7 +9,7 @@ pipeline { environment { SNAP_REPO = 'vprofile-snapshot' NEXUS_USER = 'admin' - NEXUS_PASS = 'admin123 + NEXUS_PASS = 'admin123' RELEASE_REPO = 'vprofile-release' CENTRAL_REPO = 'vpro-maven-central' NEXUSIP = '172.31.27.140' From b7722b15c9975fe07c69be07225a1a9c84302272 Mon Sep 17 00:00:00 2001 From: Aniket-Rasal Date: Mon, 30 Mar 2026 12:33:59 +0530 Subject: [PATCH 19/24] fix nexus credential issue --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 0099ec022..a0e683773 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -88,7 +88,7 @@ pipeline { groupId: 'QA', version: "${env.BUILD_ID}-${env.BUILD_TIMESTAMP}", repository: "${RELEASE_REPO}", - credentialsId: "${NEXUS_LOGIN}", + credentialsId: "nexuslogin", artifacts: [ [artifactId: 'vproapp', classifier: '', From c300fa81a8ad8f719b260e754122739a60a490f1 Mon Sep 17 00:00:00 2001 From: Aniket-Rasal Date: Mon, 30 Mar 2026 12:45:16 +0530 Subject: [PATCH 20/24] fix nexus credential issue --- Jenkinsfile | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index a0e683773..6fcf6c639 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -82,19 +82,23 @@ pipeline { stage("UploadArtifact"){ steps{ nexusArtifactUploader( - nexusVersion: 'nexus3', - protocol: 'http', - nexusUrl: "${NEXUSIP}:${NEXUSPORT}", - groupId: 'QA', - version: "${env.BUILD_ID}-${env.BUILD_TIMESTAMP}", - repository: "${RELEASE_REPO}", - credentialsId: "nexuslogin", - artifacts: [ - [artifactId: 'vproapp', - classifier: '', - file: 'target/vprofile-v2.war', - type: 'war'] - ] + nexusVersion: 'nexus3', + protocol: 'http', + nexusUrl: '172.31.27.140:8081', + groupId: 'QA', + version: "${env.BUILD_ID}-${env.BUILD_TIMESTAMP}", + repository: 'vprofile-release', + credentialsId: 'nexuslogin', + artifacts: [ + [artifactId: pom.artifactId, + classifier: '', + file: artifactPath, + type: pom.packaging], + [artifactId: pom.artifactId, + classifier: '', + file: "pom.xml", + type: "pom"] + ] ) } } From 4c74c328a7c83c877473356c8b612cffaf47c438 Mon Sep 17 00:00:00 2001 From: Aniket-Rasal Date: Mon, 30 Mar 2026 12:49:49 +0530 Subject: [PATCH 21/24] fix nexus credential issue --- Jenkinsfile | 62 ++++++++++++++++++++++++----------------------------- 1 file changed, 28 insertions(+), 34 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 6fcf6c639..7ce2758f8 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -104,41 +104,35 @@ pipeline { } stage("Publish to Nexus Repository Manager") { - steps { - script { - pom = readMavenPom file: "pom.xml"; - filesByGlob = findFiles(glob: "target/*.${pom.packaging}"); - echo "${filesByGlob[0].name} ${filesByGlob[0].path} ${filesByGlob[0].directory} ${filesByGlob[0].length} ${filesByGlob[0].lastModified}" - artifactPath = filesByGlob[0].path; - artifactExists = fileExists artifactPath; - if(artifactExists) { - echo "*** File: ${artifactPath}, group: ${pom.groupId}, packaging: ${pom.packaging}, version ${pom.version} ARTVERSION"; - nexusArtifactUploader( - nexusVersion: NEXUS_VERSION, - protocol: NEXUS_PROTOCOL, - nexusUrl: NEXUS_URL, - groupId: NEXUS_REPOGRP_ID, - version: ARTVERSION, - repository: NEXUS_REPOSITORY, - credentialsId: NEXUS_CREDENTIAL_ID, - artifacts: [ - [artifactId: pom.artifactId, - classifier: '', - file: artifactPath, - type: pom.packaging], - [artifactId: pom.artifactId, - classifier: '', - file: "pom.xml", - type: "pom"] - ] - ); - } - else { - error "*** File: ${artifactPath}, could not be found"; - } - } - } + steps { + script { + def pom = readMavenPom file: "pom.xml" + + def filesByGlob = findFiles(glob: "target/*.${pom.packaging}") + def artifactPath = filesByGlob[0].path + + nexusArtifactUploader( + nexusVersion: 'nexus3', + protocol: 'http', + nexusUrl: '172.31.27.140:8081', + groupId: 'QA', + version: "${env.BUILD_ID}-${env.BUILD_TIMESTAMP}", + repository: 'vprofile-release', + credentialsId: 'nexuslogin', + artifacts: [ + [artifactId: pom.artifactId, + classifier: '', + file: artifactPath, + type: pom.packaging], + [artifactId: pom.artifactId, + classifier: '', + file: "pom.xml", + type: "pom"] + ] + ) } + } +} stage('Ansible Deploy to staging'){ steps { ansiblePlaybook([ From 87dd8e85a083d2d0b928e74011671dbe1fe741bf Mon Sep 17 00:00:00 2001 From: Aniket-Rasal Date: Mon, 30 Mar 2026 12:52:35 +0530 Subject: [PATCH 22/24] fix nexus upload stage --- Jenkinsfile | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 7ce2758f8..9de112296 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -79,29 +79,7 @@ pipeline { } } } - stage("UploadArtifact"){ - steps{ - nexusArtifactUploader( - nexusVersion: 'nexus3', - protocol: 'http', - nexusUrl: '172.31.27.140:8081', - groupId: 'QA', - version: "${env.BUILD_ID}-${env.BUILD_TIMESTAMP}", - repository: 'vprofile-release', - credentialsId: 'nexuslogin', - artifacts: [ - [artifactId: pom.artifactId, - classifier: '', - file: artifactPath, - type: pom.packaging], - [artifactId: pom.artifactId, - classifier: '', - file: "pom.xml", - type: "pom"] - ] - ) - } - } + stage("Publish to Nexus Repository Manager") { steps { From bcf42d225177e4e51853cdefc6147a422ed5e861 Mon Sep 17 00:00:00 2001 From: Aniket-Rasal Date: Mon, 30 Mar 2026 12:56:41 +0530 Subject: [PATCH 23/24] fix nexus upload stage --- Jenkinsfile | 37 ++++++++++++++++++------------------- 1 file changed, 18 insertions(+), 19 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 9de112296..e2c3846c0 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -8,8 +8,7 @@ pipeline { environment { SNAP_REPO = 'vprofile-snapshot' - NEXUS_USER = 'admin' - NEXUS_PASS = 'admin123' + RELEASE_REPO = 'vprofile-release' CENTRAL_REPO = 'vpro-maven-central' NEXUSIP = '172.31.27.140' @@ -113,23 +112,23 @@ pipeline { } stage('Ansible Deploy to staging'){ steps { - ansiblePlaybook([ - inventory : 'ansible/stage.inventory', - playbook : 'ansible/site.yml', - installation: 'ansible', - colorized : true, - credentialsId: 'applogin', - disableHostKeyChecking: true, - extraVars : [ - USER: "admin", - PASS: "${NEXUSPASS}", - nexusip: "172.31.27.140", - reponame: "vprofile-release", - groupid: "QA", - time: "${env.BUILD_TIMESTAMP}", - build: "${env.BUILD_ID}", - artifactid: "vproapp", - vprofile_version: "vproapp-${env.BUILD_ID}-${env.BUILD_TIMESTAMP}.war" + ansiblePlaybook([ + inventory : 'ansible/stage.inventory', + playbook : 'ansible/site.yml', + installation: 'ansible', + colorized : true, + credentialsId: 'applogin', + disableHostKeyChecking: true, + extraVars : [ + USER: "${NEXUS_CREDS_USR}", + PASS: "${NEXUS_CREDS_PSW}", + nexusip: "172.31.27.140", + reponame: "vprofile-release", + groupid: "QA", + time: "${env.BUILD_TIMESTAMP}", + build: "${env.BUILD_ID}", + artifactid: "vproapp", + vprofile_version: "vproapp-${env.BUILD_ID}-${env.BUILD_TIMESTAMP}.war" ] ]) } From c65698f6b4bd40030157680196a8ef80798cfc88 Mon Sep 17 00:00:00 2001 From: Aniket-Rasal Date: Mon, 30 Mar 2026 13:07:49 +0530 Subject: [PATCH 24/24] fix --- ansible/stage.inventory | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible/stage.inventory b/ansible/stage.inventory index f0af311d5..bbf5a883b 100644 --- a/ansible/stage.inventory +++ b/ansible/stage.inventory @@ -1,2 +1,2 @@ -[appsrvgrp] -app02stg.vprofile.project \ No newline at end of file +[app] +app02stg.vprofile.project ansible_python_interpreter=/usr/bin/python3.8 \ No newline at end of file