diff --git a/.github/workflows/bkp_main.yml_210626 b/.github/workflows/bkp_main.yml_210626 new file mode 100644 index 00000000..8e5b7ce9 --- /dev/null +++ b/.github/workflows/bkp_main.yml_210626 @@ -0,0 +1,56 @@ +name: Hprofile Action + +on: + workflow_dispatch: + +jobs: + Testing: + runs-on: ubuntu-latest + + steps: + # Checkout source code + - name: Checkout Code + uses: actions/checkout@v4 + + # Setup Java + - name: Setup Java 11 + uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: "11" + cache: maven + + # Run Unit Tests + - name: Maven Test + run: mvn test + + # Run Checkstyle + - name: Checkstyle + run: mvn checkstyle:checkstyle + + # Setup sonar-scanner + - name: Setup SonarQube + uses: warchant/setup-sonar-scanner@v7 + + - name: Debug Sonar Values + run: | + echo "ORG=${{ secrets.SONAR_ORGANIZATION }}" + echo "PROJECT=${{ secrets.SONAR_PROJECT_KEY }}" + echo "URL=${{ secrets.SONAR_URL }}" + + # Run sonar-scanner + - name: SonarQube Scan + run: | + sonar-scanner \ + -Dsonar.host.url=${{ secrets.SONAR_URL }} \ + -Dsonar.token=${{ secrets.SONAR_TOKEN }} \ + -Dsonar.organization=${{ secrets.SONAR_ORGANIZATION }} \ + -Dsonar.projectKey=${{ secrets.SONAR_PROJECT_KEY }} \ + -X + + # SonarQube Quality Gate Check + - name: SonarQube Quality Gate Check + uses: SonarSource/sonarqube-quality-gate-action@master + timeout-minutes: 5 + env: + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} diff --git a/.github/workflows/bkp_main.yml_230626 b/.github/workflows/bkp_main.yml_230626 new file mode 100644 index 00000000..9e82afb4 --- /dev/null +++ b/.github/workflows/bkp_main.yml_230626 @@ -0,0 +1,77 @@ +name: Hprofile Action + +on: + workflow_dispatch: +env: + AWS_REGION: us-east-1 + +jobs: + Testing: + runs-on: ubuntu-latest + + steps: + - name: Checkout Code + uses: actions/checkout@v4 + + - name: Setup Java 11 + uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: "11" + cache: maven + + - name: Maven Verify + run: mvn clean verify + + - name: Verify Sonar Secrets + run: | + echo "ORG=${{ secrets.SONAR_ORGANIZATION }}" + echo "PROJECT=${{ secrets.SONAR_PROJECT_KEY }}" + echo "URL=${{ secrets.SONAR_URL }}" + + if [ -n "${{ secrets.SONAR_TOKEN }}" ]; then + echo "SONAR_TOKEN_PRESENT=YES" + else + echo "SONAR_TOKEN_PRESENT=NO" + exit 1 + fi + + - name: Setup Sonar Scanner + uses: warchant/setup-sonar-scanner@v7 + + - name: Sonar Scan + run: | + sonar-scanner \ + -Dsonar.host.url=${{ secrets.SONAR_URL }} \ + -Dsonar.token=${{ secrets.SONAR_TOKEN }} + + - name: Quality Gate Check + uses: SonarSource/sonarqube-quality-gate-action@master + timeout-minutes: 5 + env: + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + + BUILD_AND_PUBLISH: + runs-on: ubuntu-latest + steps: + - name: Checkout Code + uses: actions/checkout@v4 + + - name: Update application.properties file + run: | + sed -i "s/^jdbc.username.*$/jdbc.username\=${{ secrets.RDS_USER }}/" src/main/resources/application.properties + sed -i "s/^jdbc.password.*$/jdbc.password\=${{ secrets.RDS_PASS }}/" src/main/resources/application.properties + sed -i "s/db01/${{ secrets.RDS_ENDPOINT }}/" src/main/resources/application.properties + + - name: upload image to ECR + uses: appleboy/docker-ecr-action@master + with: + access_key: ${{ secrets.aws_access_key_id }} + secret_key: ${{ secrets.aws_secret_access_key }} + registry: ${{ secrets.registry }} + repo: acctapp + region: ${{ env.AWS_REGION }} + tags: latest,${GITHUB_RUN_NUMBER} + daemon_off: false + dockerfile: ./Dockerfile + context: ./ diff --git a/.github/workflows/bkp_main.yml_CICD_240626 b/.github/workflows/bkp_main.yml_CICD_240626 new file mode 100644 index 00000000..8be52988 --- /dev/null +++ b/.github/workflows/bkp_main.yml_CICD_240626 @@ -0,0 +1,121 @@ +name: Hprofile Action + +on: + workflow_dispatch: + +permissions: + contents: read + +env: + AWS_REGION: us-east-1 + ECR_REPOSITORY: actapp + ECS_SERVICE: vproapp-act-svc + ECS_CLUSTER: vproapp-act + ECS_TASK_DEFINITION: aws-files/taskdef.json + CONTAINER_NAME: vproapp + +jobs: + Testing: + runs-on: ubuntu-latest + + steps: + - name: Checkout Code + uses: actions/checkout@v4 + + - name: Setup Java 11 + uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: "11" + cache: maven + + - name: Maven Verify + run: mvn clean verify + + - name: Verify Sonar Secrets + run: | + echo "ORG=${{ secrets.SONAR_ORGANIZATION }}" + echo "PROJECT=${{ secrets.SONAR_PROJECT_KEY }}" + echo "URL=${{ secrets.SONAR_URL }}" + + if [ -n "${{ secrets.SONAR_TOKEN }}" ]; then + echo "SONAR_TOKEN_PRESENT=YES" + else + echo "SONAR_TOKEN_PRESENT=NO" + exit 1 + fi + + - name: Setup Sonar Scanner + uses: warchant/setup-sonar-scanner@v7 + + - name: Sonar Scan + run: | + sonar-scanner \ + -Dsonar.host.url=${{ secrets.SONAR_URL }} \ + -Dsonar.token=${{ secrets.SONAR_TOKEN }} + + # Re-enable later after code quality improves + # + # - name: Quality Gate Check + # uses: SonarSource/sonarqube-quality-gate-action@master + # timeout-minutes: 5 + # env: + # SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + + BUILD_AND_PUBLISH: + needs: Testing + runs-on: ubuntu-latest + + steps: + - name: Checkout Code + uses: actions/checkout@v4 + + - name: Update application.properties + run: | + sed -i "s/^jdbc.username.*$/jdbc.username=${{ secrets.RDS_USER }}/" src/main/resources/application.properties + sed -i "s/^jdbc.password.*$/jdbc.password=${{ secrets.RDS_PASS }}/" src/main/resources/application.properties + sed -i "s/db01/${{ secrets.RDS_ENDPOINT }}/" src/main/resources/application.properties + + - name: Upload Image to ECR + uses: appleboy/docker-ecr-action@master + with: + access_key: ${{ secrets.AWS_ACCESS_KEY_ID }} + secret_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + registry: ${{ secrets.REGISTRY }} + repo: actapp + region: ${{ env.AWS_REGION }} + tags: latest,${{ github.run_number }} + daemon_off: false + dockerfile: ./Dockerfile + context: ./ + + Deploy: + needs: BUILD_AND_PUBLISH + runs-on: ubuntu-latest + + steps: + - name: Checkout Code + uses: actions/checkout@v4 + + - name: Configure AWS Credentials + uses: aws-actions/configure-aws-credentials@v4 + with: + aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} + aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + aws-region: ${{ env.AWS_REGION }} + + - name: Fill in New Image ID in ECS Task Definition + id: task-def + uses: aws-actions/amazon-ecs-render-task-definition@v1 + with: + task-definition: ${{ env.ECS_TASK_DEFINITION }} + container-name: ${{ env.CONTAINER_NAME }} + image: ${{ secrets.REGISTRY }}/${{ env.ECR_REPOSITORY }}:${{ github.run_number }} + + - name: Deploy ECS Task Definition + uses: aws-actions/amazon-ecs-deploy-task-definition@v2 + with: + task-definition: ${{ steps.task-def.outputs.task-definition }} + service: ${{ env.ECS_SERVICE }} + cluster: ${{ env.ECS_CLUSTER }} + wait-for-service-stability: true diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000..233c89f3 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,125 @@ +name: Hprofile Action + +on: [push, workflow_dispatch] + +permissions: + contents: read + +env: + AWS_REGION: us-east-1 + ECR_REPOSITORY: actapp + + ECS_CLUSTER: vproapp-act + ECS_SERVICE: vproapp-act-svc + + ECS_TASK_DEFINITION: aws-files/taskdef.json + CONTAINER_NAME: vproapp + +jobs: + Testing: + runs-on: ubuntu-latest + + steps: + - name: Checkout Code + uses: actions/checkout@v4 + + - name: Setup Java 11 + uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: "11" + cache: maven + + - name: Maven Verify + run: mvn clean verify + + - name: Verify Sonar Secrets + run: | + echo "ORG=${{ secrets.SONAR_ORGANIZATION }}" + echo "PROJECT=${{ secrets.SONAR_PROJECT_KEY }}" + echo "URL=${{ secrets.SONAR_URL }}" + + if [ -n "${{ secrets.SONAR_TOKEN }}" ]; then + echo "SONAR_TOKEN_PRESENT=YES" + else + echo "SONAR_TOKEN_PRESENT=NO" + exit 1 + fi + + - name: Setup Sonar Scanner + uses: warchant/setup-sonar-scanner@v7 + + - name: Sonar Scan + run: | + sonar-scanner \ + -Dsonar.host.url=${{ secrets.SONAR_URL }} \ + -Dsonar.token=${{ secrets.SONAR_TOKEN }} + + # Uncomment later after improving coverage + # + # - name: Quality Gate Check + # uses: SonarSource/sonarqube-quality-gate-action@master + # timeout-minutes: 5 + # env: + # SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + + BUILD_AND_PUBLISH: + needs: Testing + runs-on: ubuntu-latest + + outputs: + image_tag: ${{ github.run_number }} + + steps: + - name: Checkout Code + uses: actions/checkout@v4 + + - name: Update application.properties + run: | + sed -i "s/^jdbc.username.*$/jdbc.username=${{ secrets.RDS_USER }}/" src/main/resources/application.properties + sed -i "s/^jdbc.password.*$/jdbc.password=${{ secrets.RDS_PASS }}/" src/main/resources/application.properties + sed -i "s/db01/${{ secrets.RDS_ENDPOINT }}/" src/main/resources/application.properties + + - name: Build and Push Image to ECR + uses: appleboy/docker-ecr-action@master + with: + access_key: ${{ secrets.AWS_ACCESS_KEY_ID }} + secret_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + registry: ${{ secrets.REGISTRY }} + repo: actapp + region: ${{ env.AWS_REGION }} + tags: latest,${{ github.run_number }} + daemon_off: false + dockerfile: ./Dockerfile + context: ./ + + Deploy: + needs: BUILD_AND_PUBLISH + runs-on: ubuntu-latest + + steps: + - name: Checkout Code + uses: actions/checkout@v4 + + - name: Configure AWS Credentials + uses: aws-actions/configure-aws-credentials@v4 + with: + aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} + aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + aws-region: ${{ env.AWS_REGION }} + + - name: Render ECS Task Definition + id: task-def + uses: aws-actions/amazon-ecs-render-task-definition@v1 + with: + task-definition: ${{ env.ECS_TASK_DEFINITION }} + container-name: ${{ env.CONTAINER_NAME }} + image: ${{ secrets.REGISTRY }}/${{ env.ECR_REPOSITORY }}:${{ github.run_number }} + + - name: Deploy to Amazon ECS + uses: aws-actions/amazon-ecs-deploy-task-definition@v2 + with: + task-definition: ${{ steps.task-def.outputs.task-definition }} + service: ${{ env.ECS_SERVICE }} + cluster: ${{ env.ECS_CLUSTER }} + wait-for-service-stability: true diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..78b61df5 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,4 @@ +{ + "java.compile.nullAnalysis.mode": "disabled", + "java.configuration.updateBuildConfiguration": "disabled" +} \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 267c0571..fe59e0f5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,23 @@ -FROM openjdk:11 AS BUILD_IMAGE -RUN apt update && apt install maven -y -COPY ./ vprofile-project -RUN cd vprofile-project && mvn install - -FROM tomcat:9-jre11 -LABEL "Project"="Vprofile" -LABEL "Author"="Imran" +# Build Stage +FROM maven:3.9.6-eclipse-temurin-11 AS BUILD_IMAGE + +WORKDIR /app + +COPY . . + +RUN mvn clean package -DskipTests + +# Runtime Stage +FROM tomcat:9.0-jdk11-temurin + +LABEL project="VProfile" +LABEL author="Abhishek Roy" + RUN rm -rf /usr/local/tomcat/webapps/* -COPY --from=BUILD_IMAGE vprofile-project/target/vprofile-v2.war /usr/local/tomcat/webapps/ROOT.war + +COPY --from=BUILD_IMAGE /app/target/vprofile-v2.war \ + /usr/local/tomcat/webapps/ROOT.war EXPOSE 8080 -CMD ["catalina.sh", "run"] + +CMD ["catalina.sh","run"] \ No newline at end of file diff --git a/README.md b/README.md index dc93c30f..78c8aed0 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # Prerequisites -##### +# - JDK 11 - Maven 3 - MySQL 8 diff --git a/aws-files/taskdeffile.json b/aws-files/taskdeffile.json index a0fcaedd..bc15f4a9 100644 --- a/aws-files/taskdeffile.json +++ b/aws-files/taskdeffile.json @@ -1,16 +1,16 @@ { - "family": "vproappstagetask", + "taskDefinitionArn": "arn:aws:ecs:us-east-1:896605683650:task-definition/vroapp-act-tdef:1", "containerDefinitions": [ { "name": "vproapp", - "image": "716657688884.dkr.ecr.us-east-2.amazonaws.com/actapp:latest", + "image": "896605683650.dkr.ecr.us-east-1.amazonaws.com/actapp@sha256:25f9f574616267fd48906f2a374e846a043bb5243d10ef41b2121ce786e2c250", "cpu": 0, "portMappings": [ { - "name": "vproapp-8080-tcp", "containerPort": 8080, "hostPort": 8080, "protocol": "tcp", + "name": "vproapp-8080-tcp", "appProtocol": "http" } ], @@ -23,30 +23,77 @@ "logConfiguration": { "logDriver": "awslogs", "options": { + "awslogs-group": "/ecs/vroapp-act-tdef", "awslogs-create-group": "true", - "awslogs-group": "/ecs/vproappstagetask", - "awslogs-region": "us-east-2", + "awslogs-region": "us-east-1", "awslogs-stream-prefix": "ecs" }, "secretOptions": [] - } + }, + "systemControls": [] } ], - "executionRoleArn": "arn:aws:iam::716657688884:role/ecsTaskExecutionRole", + "family": "vroapp-act-tdef", + "taskRoleArn": "arn:aws:iam::896605683650:role/ecsTaskExecutionRole", + "executionRoleArn": "arn:aws:iam::896605683650:role/ecsTaskExecutionRole", "networkMode": "awsvpc", - "requiresCompatibilities": [ - "FARGATE" + "revision": 1, + "volumes": [], + "status": "ACTIVE", + "requiresAttributes": [ + { + "name": "com.amazonaws.ecs.capability.logging-driver.awslogs" + }, + { + "name": "ecs.capability.execution-role-awslogs" + }, + { + "name": "com.amazonaws.ecs.capability.ecr-auth" + }, + { + "name": "com.amazonaws.ecs.capability.docker-remote-api.1.19" + }, + { + "name": "com.amazonaws.ecs.capability.docker-remote-api.1.21" + }, + { + "name": "com.amazonaws.ecs.capability.task-iam-role" + }, + { + "name": "ecs.capability.execution-role-ecr-pull" + }, + { + "name": "com.amazonaws.ecs.capability.docker-remote-api.1.18" + }, + { + "name": "ecs.capability.task-eni" + }, + { + "name": "com.amazonaws.ecs.capability.docker-remote-api.1.29" + } + ], + "placementConstraints": [], + "compatibilities": [ + "EC2", + "FARGATE", + "MANAGED_INSTANCES" ], - "cpu": "1024", - "memory": "2048", "runtimePlatform": { "cpuArchitecture": "X86_64", "operatingSystemFamily": "LINUX" }, + "requiresCompatibilities": [ + "FARGATE" + ], + "cpu": "1024", + "memory": "3072", + "registeredAt": "2026-06-24T05:18:17.835Z", + "registeredBy": "arn:aws:iam::896605683650:root", + "enableFaultInjection": false, "tags": [ { "key": "Name", - "value": "vprofileappstagtaskdef" + "value": "vpro-app-tdef" } ] } \ No newline at end of file diff --git a/docs/architecture.md b/docs/architecture.md new file mode 100644 index 00000000..e69de29b diff --git a/docs/deployment-guide.md b/docs/deployment-guide.md new file mode 100644 index 00000000..e69de29b diff --git a/docs/lessons-learned.md b/docs/lessons-learned.md new file mode 100644 index 00000000..e69de29b diff --git a/docs/runbook.md b/docs/runbook.md new file mode 100644 index 00000000..e69de29b diff --git a/docs/troubleshooting-guide.md b/docs/troubleshooting-guide.md new file mode 100644 index 00000000..e69de29b diff --git a/pom.xml b/pom.xml index df25e831..d541fc43 100644 --- a/pom.xml +++ b/pom.xml @@ -8,16 +8,17 @@ Visualpathit VProfile Webapp http://maven.apache.org - 4.2.0.RELEASE - 4.0.2.RELEASE - 1.8.2.RELEASE + 4.3.30.RELEASE + 4.2.20.RELEASE + 1.11.23.RELEASE 4.3.11.Final - 5.2.1.Final + 5.4.3.Final 8.0.33 1.4 1.2 4.10 - 1.1.3 + 1.2.13 + 2.14.2 1.8 1.8 @@ -92,13 +93,13 @@ org.mockito mockito-core - 1.9.5 + 4.11.0 test org.springframework spring-test - 3.2.3.RELEASE + ${spring.version} test @@ -121,7 +122,7 @@ commons-fileupload commons-fileupload - 1.3.1 + 1.6.0 @@ -132,13 +133,13 @@ commons-io commons-io - 2.4 + 2.14.0 org.springframework.amqp spring-rabbit - 1.7.1.RELEASE + 1.7.10.RELEASE @@ -162,7 +163,18 @@ com.google.code.gson gson - 2.8.2 + 2.8.9 + + + + com.fasterxml.jackson.core + jackson-databind + ${jackson.version} + + + com.fasterxml.jackson.core + jackson-core + ${jackson.version} @@ -179,33 +191,59 @@ - - org.apache.maven.plugins - maven-war-plugin - 3.2.2 - - - org.jacoco - jacoco-maven-plugin - 0.8.4 - - - jacoco-initialize - process-resources - - prepare-agent - - - - jacoco-site - post-integration-test - - report - - - - + + org.apache.maven.plugins + maven-war-plugin + 3.2.2 + + + org.jacoco + jacoco-maven-plugin + 0.8.4 + + + jacoco-initialize + process-resources + + prepare-agent + + + + jacoco-site + post-integration-test + + report + + + + + + org.apache.maven.plugins + maven-checkstyle-plugin + 3.3.1 + + + google_checks.xml + UTF-8 + true + false + false + + target/checkstyle-result.xml + xml + + + + + checkstyle + verify + + checkstyle + + + + diff --git a/sonar-project.properties b/sonar-project.properties new file mode 100644 index 00000000..5d642353 --- /dev/null +++ b/sonar-project.properties @@ -0,0 +1,9 @@ +sonar.projectKey=Sar-py-05_hprofile +sonar.organization=sar-py-05 + +sonar.sources=src +sonar.java.binaries=target/classes + +sonar.junit.reportPaths=target/surefire-reports +sonar.coverage.jacoco.xmlReportPaths=target/site/jacoco/jacoco.xml +sonar.java.checkstyle.reportPaths=target/checkstyle-result.xml diff --git a/target/classes/accountsdb.sql b/target/classes/accountsdb.sql new file mode 100644 index 00000000..d224d810 --- /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 00000000..c04343d7 --- /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 00000000..85dd0a20 Binary files /dev/null and b/target/classes/com/visualpathit/account/beans/Components.class differ 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 00000000..35dad42b Binary files /dev/null and b/target/classes/com/visualpathit/account/controller/ElasticSearchController.class differ diff --git a/target/classes/com/visualpathit/account/controller/FileUploadController.class b/target/classes/com/visualpathit/account/controller/FileUploadController.class new file mode 100644 index 00000000..e5a1de47 Binary files /dev/null and b/target/classes/com/visualpathit/account/controller/FileUploadController.class differ diff --git a/target/classes/com/visualpathit/account/controller/UserController.class b/target/classes/com/visualpathit/account/controller/UserController.class new file mode 100644 index 00000000..8d510237 Binary files /dev/null and b/target/classes/com/visualpathit/account/controller/UserController.class differ diff --git a/target/classes/com/visualpathit/account/model/Role.class b/target/classes/com/visualpathit/account/model/Role.class new file mode 100644 index 00000000..1ce85e9a Binary files /dev/null and b/target/classes/com/visualpathit/account/model/Role.class differ diff --git a/target/classes/com/visualpathit/account/model/User.class b/target/classes/com/visualpathit/account/model/User.class new file mode 100644 index 00000000..917cb8cf Binary files /dev/null and b/target/classes/com/visualpathit/account/model/User.class differ diff --git a/target/classes/com/visualpathit/account/repository/RoleRepository.class b/target/classes/com/visualpathit/account/repository/RoleRepository.class new file mode 100644 index 00000000..cb66a9b5 Binary files /dev/null and b/target/classes/com/visualpathit/account/repository/RoleRepository.class differ 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 00000000..3003d84b Binary files /dev/null and b/target/classes/com/visualpathit/account/repository/UserRepository.class differ 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 00000000..2efb215f Binary files /dev/null and b/target/classes/com/visualpathit/account/service/ConsumerService.class differ diff --git a/target/classes/com/visualpathit/account/service/ConsumerServiceImpl.class b/target/classes/com/visualpathit/account/service/ConsumerServiceImpl.class new file mode 100644 index 00000000..00c463f3 Binary files /dev/null and b/target/classes/com/visualpathit/account/service/ConsumerServiceImpl.class differ diff --git a/target/classes/com/visualpathit/account/service/ProducerService.class b/target/classes/com/visualpathit/account/service/ProducerService.class new file mode 100644 index 00000000..36065ad5 Binary files /dev/null and b/target/classes/com/visualpathit/account/service/ProducerService.class differ 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 00000000..f28e3116 Binary files /dev/null and b/target/classes/com/visualpathit/account/service/ProducerServiceImpl.class differ 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 00000000..3dd66bfd Binary files /dev/null and b/target/classes/com/visualpathit/account/service/SecurityService.class differ 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 00000000..5e109165 Binary files /dev/null and b/target/classes/com/visualpathit/account/service/SecurityServiceImpl.class differ 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 00000000..a1ef9174 Binary files /dev/null and b/target/classes/com/visualpathit/account/service/UserDetailsServiceImpl.class differ diff --git a/target/classes/com/visualpathit/account/service/UserService.class b/target/classes/com/visualpathit/account/service/UserService.class new file mode 100644 index 00000000..35f247fa Binary files /dev/null and b/target/classes/com/visualpathit/account/service/UserService.class differ diff --git a/target/classes/com/visualpathit/account/service/UserServiceImpl.class b/target/classes/com/visualpathit/account/service/UserServiceImpl.class new file mode 100644 index 00000000..54685cf2 Binary files /dev/null and b/target/classes/com/visualpathit/account/service/UserServiceImpl.class differ 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 00000000..6a83620b Binary files /dev/null and b/target/classes/com/visualpathit/account/utils/ElasticsearchUtil.class differ 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 00000000..0ef440e7 Binary files /dev/null and b/target/classes/com/visualpathit/account/utils/MemcachedUtils.class differ 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 00000000..af4001fd Binary files /dev/null and b/target/classes/com/visualpathit/account/utils/RabbitMqUtil.class differ diff --git a/target/classes/com/visualpathit/account/validator/UserValidator.class b/target/classes/com/visualpathit/account/validator/UserValidator.class new file mode 100644 index 00000000..0b211ca1 Binary files /dev/null and b/target/classes/com/visualpathit/account/validator/UserValidator.class differ diff --git a/target/classes/db_backup.sql b/target/classes/db_backup.sql new file mode 100644 index 00000000..2f17a4df --- /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 00000000..35b81df4 --- /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 00000000..0453cdd3 --- /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/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst b/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst new file mode 100644 index 00000000..765fb4ec --- /dev/null +++ b/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst @@ -0,0 +1,21 @@ +com/visualpathit/account/model/Role.class +com/visualpathit/account/service/ProducerService.class +com/visualpathit/account/validator/UserValidator.class +com/visualpathit/account/utils/ElasticsearchUtil.class +com/visualpathit/account/controller/UserController.class +com/visualpathit/account/service/UserDetailsServiceImpl.class +com/visualpathit/account/beans/Components.class +com/visualpathit/account/service/SecurityServiceImpl.class +com/visualpathit/account/model/User.class +com/visualpathit/account/repository/UserRepository.class +com/visualpathit/account/service/ConsumerService.class +com/visualpathit/account/controller/FileUploadController.class +com/visualpathit/account/utils/MemcachedUtils.class +com/visualpathit/account/controller/ElasticSearchController.class +com/visualpathit/account/utils/RabbitMqUtil.class +com/visualpathit/account/service/ProducerServiceImpl.class +com/visualpathit/account/service/ConsumerServiceImpl.class +com/visualpathit/account/service/UserServiceImpl.class +com/visualpathit/account/service/SecurityService.class +com/visualpathit/account/service/UserService.class +com/visualpathit/account/repository/RoleRepository.class diff --git a/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst b/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst new file mode 100644 index 00000000..4c7d74c0 --- /dev/null +++ b/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst @@ -0,0 +1,21 @@ +/home/abhishek/github-actions/hprofile/src/main/java/com/visualpathit/account/beans/Components.java +/home/abhishek/github-actions/hprofile/src/main/java/com/visualpathit/account/controller/ElasticSearchController.java +/home/abhishek/github-actions/hprofile/src/main/java/com/visualpathit/account/controller/FileUploadController.java +/home/abhishek/github-actions/hprofile/src/main/java/com/visualpathit/account/controller/UserController.java +/home/abhishek/github-actions/hprofile/src/main/java/com/visualpathit/account/model/Role.java +/home/abhishek/github-actions/hprofile/src/main/java/com/visualpathit/account/model/User.java +/home/abhishek/github-actions/hprofile/src/main/java/com/visualpathit/account/repository/RoleRepository.java +/home/abhishek/github-actions/hprofile/src/main/java/com/visualpathit/account/repository/UserRepository.java +/home/abhishek/github-actions/hprofile/src/main/java/com/visualpathit/account/service/ConsumerService.java +/home/abhishek/github-actions/hprofile/src/main/java/com/visualpathit/account/service/ConsumerServiceImpl.java +/home/abhishek/github-actions/hprofile/src/main/java/com/visualpathit/account/service/ProducerService.java +/home/abhishek/github-actions/hprofile/src/main/java/com/visualpathit/account/service/ProducerServiceImpl.java +/home/abhishek/github-actions/hprofile/src/main/java/com/visualpathit/account/service/SecurityService.java +/home/abhishek/github-actions/hprofile/src/main/java/com/visualpathit/account/service/SecurityServiceImpl.java +/home/abhishek/github-actions/hprofile/src/main/java/com/visualpathit/account/service/UserDetailsServiceImpl.java +/home/abhishek/github-actions/hprofile/src/main/java/com/visualpathit/account/service/UserService.java +/home/abhishek/github-actions/hprofile/src/main/java/com/visualpathit/account/service/UserServiceImpl.java +/home/abhishek/github-actions/hprofile/src/main/java/com/visualpathit/account/utils/ElasticsearchUtil.java +/home/abhishek/github-actions/hprofile/src/main/java/com/visualpathit/account/utils/MemcachedUtils.java +/home/abhishek/github-actions/hprofile/src/main/java/com/visualpathit/account/utils/RabbitMqUtil.java +/home/abhishek/github-actions/hprofile/src/main/java/com/visualpathit/account/validator/UserValidator.java diff --git a/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst b/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst new file mode 100644 index 00000000..0058dacc --- /dev/null +++ b/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst @@ -0,0 +1,5 @@ +com/visualpathit/account/controllerTest/UserControllerTest.class +com/visualpathit/account/modelTest/UserTest.class +com/visualpathit/account/controllerTest/SampleTest.class +com/visualpathit/account/modelTest/RoleTest.class +com/visualpathit/account/setup/StandaloneMvcTestViewResolver.class diff --git a/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst b/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst new file mode 100644 index 00000000..3914c623 --- /dev/null +++ b/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst @@ -0,0 +1,5 @@ +/home/abhishek/github-actions/hprofile/src/test/java/com/visualpathit/account/controllerTest/SampleTest.java +/home/abhishek/github-actions/hprofile/src/test/java/com/visualpathit/account/controllerTest/UserControllerTest.java +/home/abhishek/github-actions/hprofile/src/test/java/com/visualpathit/account/modelTest/RoleTest.java +/home/abhishek/github-actions/hprofile/src/test/java/com/visualpathit/account/modelTest/UserTest.java +/home/abhishek/github-actions/hprofile/src/test/java/com/visualpathit/account/setup/StandaloneMvcTestViewResolver.java 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 00000000..daad648d Binary files /dev/null and b/target/test-classes/com/visualpathit/account/controllerTest/SampleTest.class differ diff --git a/target/test-classes/com/visualpathit/account/controllerTest/UserControllerTest.class b/target/test-classes/com/visualpathit/account/controllerTest/UserControllerTest.class new file mode 100644 index 00000000..61c6c084 Binary files /dev/null and b/target/test-classes/com/visualpathit/account/controllerTest/UserControllerTest.class differ diff --git a/target/test-classes/com/visualpathit/account/modelTest/RoleTest.class b/target/test-classes/com/visualpathit/account/modelTest/RoleTest.class new file mode 100644 index 00000000..42d11d61 Binary files /dev/null and b/target/test-classes/com/visualpathit/account/modelTest/RoleTest.class differ 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 00000000..2ceeb256 Binary files /dev/null and b/target/test-classes/com/visualpathit/account/modelTest/UserTest.class differ diff --git a/target/test-classes/com/visualpathit/account/setup/StandaloneMvcTestViewResolver.class b/target/test-classes/com/visualpathit/account/setup/StandaloneMvcTestViewResolver.class new file mode 100644 index 00000000..cd37f908 Binary files /dev/null and b/target/test-classes/com/visualpathit/account/setup/StandaloneMvcTestViewResolver.class differ