This commit is contained in:
Gaurav Kumar
2025-09-05 09:48:15 +05:30
parent 02bb72b467
commit 8c44d86e13
1525 changed files with 41545 additions and 472516 deletions

BIN
backend/target/classes/.DS_Store vendored Normal file

Binary file not shown.

View File

@@ -1,6 +1,6 @@
Manifest-Version: 1.0
Build-Jdk-Spec: 17
Implementation-Title: REAL IT SOLUTIONS
Implementation-Version: 1.0.0
Created-By: Maven Integration for Eclipse
Manifest-Version: 1.0
Build-Jdk-Spec: 21
Implementation-Title: REAL IT SOLUTIONS
Implementation-Version: 1.0.0
Created-By: Maven Integration for Eclipse

View File

@@ -1,7 +1,7 @@
#Generated by Maven Integration for Eclipse
#Thu Aug 03 18:07:21 IST 2023
m2e.projectLocation=/Users/Gaurav Kumar/Desktop/Real It Project/backend
m2e.projectName=backend
groupId=com.realnet
#Fri Sep 05 09:00:10 IST 2025
artifactId=app
groupId=com.realnet
m2e.projectLocation=/Users/Gaurav Kumar/Desktop/Workspace/Workspace 2/app_builder/build_backend/cns-portal/code-extractor/builders/11096/index/demot1/demot1-test2-b/authsec_springboot/backend
m2e.projectName=authsec backend
version=1.0.0

View File

@@ -1,4 +1,6 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.realnet</groupId>
<artifactId>app</artifactId>
@@ -16,21 +18,7 @@
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.2.5.RELEASE</version>
</parent>
<!-- <build> <sourceDirectory>src/main/java</sourceDirectory> <plugins>
<plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId>
<configuration> <executable>true</executable> </configuration> <executions>
<execution> <goals> <goal>repackage</goal> </goals> </execution> </executions>
</plugin> <plugin> <artifactId>maven-clean-plugin</artifactId> <version>3.0.0</version>
<executions> <execution> <id>clean-war-artifacts</id> <phase>install</phase>
<goals><goal>clean</goal></goals> <configuration> <excludeDefaultDirectories>true</excludeDefaultDirectories>
<filesets> <fileset> <directory>target/dependency/*.war</directory> </fileset>
</filesets> </configuration> </execution> </executions> </plugin> <plugin>
<artifactId>maven-resources-plugin</artifactId> <executions> <execution>
<id>copy-resources</id> <phase>validate</phase> <goals> <goal>copy-resources</goal>
</goals> <configuration> <outputDirectory>${project.basedir}/src/main/resources/public</outputDirectory>
<resources> <resource> <directory>${project.basedir}/webui/dist</directory>
<excludes> <exclude>*.gz</exclude> </excludes> </resource> </resources> </configuration>
</execution> </executions> </plugin> </plugins> </build> -->
<build>
<plugins>
<plugin>
@@ -58,11 +46,13 @@
<artifactId>spring-boot-starter-tomcat</artifactId>
<scope>provided</scope>
</dependency>
<!--SpringFox dependencies -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<!--SpringFox dependencies -->
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger2</artifactId>
@@ -78,21 +68,7 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.12.0</version>
</dependency>
<dependency>
<groupId>com.googlecode.json-simple</groupId>
<artifactId>json-simple</artifactId>
<version>1.1.1</version>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.8.5</version>
</dependency>
<dependency>
<groupId>io.swagger</groupId>
<artifactId>swagger-annotations</artifactId>
@@ -108,22 +84,46 @@
<artifactId>springfox-swagger-ui</artifactId>
<version>2.9.2</version>
</dependency>
<!-- <dependency> -->
<!-- <groupId>com.oracle.database.jdbc</groupId> -->
<!-- <artifactId>ojdbc6</artifactId> -->
<!-- <version>11.2.0.4</version> -->
<!-- </dependency> -->
<!-- https://mvnrepository.com/artifact/com.oracle.database.jdbc/ojdbc8 -->
<!-- <dependency> <groupId>com.oracle.database.jdbc</groupId> <artifactId>ojdbc8</artifactId>
<version>21.5.0.0</version> </dependency> -->
<!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java -->
<!-- end of spring fox dependency-->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.12.0</version>
</dependency>
<dependency>
<groupId>com.googlecode.json-simple</groupId>
<artifactId>json-simple</artifactId>
<version>1.1.1</version>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.8.5</version>
</dependency>
<dependency>
<groupId>org.apache.pdfbox</groupId>
<artifactId>pdfbox</artifactId>
<version>2.0.29</version> <!-- Replace with the latest version
available -->
</dependency>
<!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java -->
<!-- <dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>8.0.28</version>
</dependency>
</dependency> -->
<!-- Manually Added -->
<dependency>
<groupId>org.xerial</groupId>
<artifactId>sqlite-jdbc</artifactId>
<version>3.45.1.0</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
@@ -133,31 +133,40 @@
<artifactId>spring-boot-starter-validation</artifactId>
</dependency>
<!-- All Type of database connection-->
<!--poi dependency-->
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-scratchpad</artifactId>
<version>3.9</version>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi</artifactId>
<version>4.1.2</version> <!-- Specify a version here -->
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml</artifactId>
<version>4.1.2</version> <!-- Specify the same version here -->
</dependency>
<!-- Thanks for using https://jar-download.com -->
<!-- All Type of database connection-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-jdbc</artifactId>
</dependency>
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.xerial</groupId>
<artifactId>sqlite-jdbc</artifactId>
<version>3.25.2</version>
</dependency>
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
<scope>runtime</scope>
</dependency>
<!-- <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId>
</dependency> -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-websocket</artifactId>
@@ -175,8 +184,7 @@
<groupId>com.github.ben-manes.caffeine</groupId>
<artifactId>caffeine</artifactId>
</dependency>
<!-- dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-zuul</artifactId>
<version>1.2.3.RELEASE</version> </dependency -->
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
@@ -187,7 +195,24 @@
<artifactId>slf4j-api</artifactId>
<!-- <version>1.7.25</version> -->
</dependency>
<!--
https://mvnrepository.com/artifact/org.springframework.security.oauth.boot/spring-security-oauth2-autoconfigure -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.security.oauth.boot</groupId>
<artifactId>spring-security-oauth2-autoconfigure</artifactId>
<version>2.3.3.RELEASE</version>
</dependency>
<!--
https://mvnrepository.com/artifact/org.springframework.security.oauth/spring-security-oauth2 -->
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-oauth2-client</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.social</groupId>
<artifactId>spring-social-google</artifactId>
@@ -198,13 +223,7 @@
<artifactId>spring-social-linkedin</artifactId>
<version>1.0.2.RELEASE</version>
</dependency>
<!-- <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId>
<version>1.2.17</version> </dependency> -->
<!-- <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter</artifactId>
<exclusions> <exclusion> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-logging</artifactId>
</exclusion> </exclusions> </dependency> <dependency> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-log4j2</artifactId> <version>1.3.8.RELEASE</version>
</dependency> -->
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt</artifactId>
@@ -220,11 +239,7 @@
<artifactId>joda-time</artifactId>
<version>2.9.9</version>
</dependency>
<!-- <dependency> <groupId>com.fasterxml.jackson.datatype</groupId> <artifactId>jackson-datatype-joda</artifactId>
</dependency> -->
<!-- <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId>
</dependency> -->
<!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-core -->
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
@@ -255,11 +270,7 @@
<artifactId>zip4j</artifactId>
<version>2.6.1</version>
</dependency>
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
<version>20171018</version>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
@@ -275,14 +286,16 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
</dependency>
<!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
<!--
https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.5.13</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.json/json -->
<!-- https://mvnrepository.com/artifact/org.apache.clerezza.ext/org.json.simple -->
<!--
https://mvnrepository.com/artifact/org.apache.clerezza.ext/org.json.simple -->
<dependency>
<groupId>org.apache.clerezza.ext</groupId>
<artifactId>org.json.simple</artifactId>
@@ -297,5 +310,112 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-webflux</artifactId>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi</artifactId>
<version>4.1.2</version>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>ooxml-schemas</artifactId>
<version>1.4</version>
</dependency>
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
<version>20201115</version>
</dependency>
<dependency>
<groupId>com.jcraft</groupId>
<artifactId>jsch</artifactId>
<version>0.1.55</version>
</dependency>
<dependency>
<groupId>org.xhtmlrenderer</groupId>
<artifactId>flying-saucer-pdf</artifactId>
<version>9.1.22</version>
</dependency>
<dependency>
<groupId>com.lowagie</groupId>
<artifactId>itext</artifactId>
<version>2.1.7</version>
</dependency>
<!-- Other dependencies -->
<dependency>
<groupId>com.itextpdf</groupId>
<artifactId>itextpdf</artifactId>
<version>5.5.13.2</version>
</dependency>
<dependency>
<groupId>com.paytm.pg</groupId>
<artifactId>paytm-checksum</artifactId>
<version>1.2.1</version>
</dependency>
<!-- //razorpay depedency-->
<dependency>
<groupId>com.razorpay</groupId>
<artifactId>razorpay-java</artifactId>
<version>1.4.4</version>
</dependency>
<dependency>
<groupId>org.jsoup</groupId>
<artifactId>jsoup</artifactId>
<version>1.14.3</version> <!-- You can adjust the version as needed -->
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
</dependency>
<dependency>
<groupId>org.apache.pdfbox</groupId>
<artifactId>pdfbox</artifactId>
<version>2.0.28</version> <!-- Use the latest version available -->
</dependency>
<dependency>
<groupId>org.apache.xmlgraphics</groupId>
<artifactId>fop</artifactId>
<version>2.6</version> <!-- Use the latest version available -->
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-csv</artifactId>
<version>1.4</version> <!-- Use the latest version -->
</dependency>
<dependency>
<groupId>com.googlecode.json-simple</groupId>
<artifactId>json-simple</artifactId>
<version>1.1.1</version> <!-- Use the latest version -->
</dependency>
<dependency>
<groupId>com.opencsv</groupId>
<artifactId>opencsv</artifactId>
<version>5.5</version> <!-- Use the latest version available -->
</dependency>
</dependencies>
</project>
</project>

View File

@@ -6,80 +6,51 @@ spring.resources.static-locations=classpath:/META-INF/resources/,classpath:/reso
spring.banner.location=classpath:banner_txt.txt
#Temporary disable security to enable it remove this
#security.ignored=/**
springfox.documentation.swagger.v2.path=/api-docs
spring.jackson.date-format=yyyy-MM-dd
#LOGGER
#logging.path = logs
##logging.level.org.springframework=info
#logging.file.clean-history-on-start=true
##logging.level.root=
#logging.level.com.realnet=error
#logging.config=/home/harsh/git/BE2-Sandbox-harsh-repo/springboot/src/main/resources/logback.xml
#
##logging.level.io.swagger.models.parameters.AbstractSerializableParameter=error
##logging.config=src/main/resources/log4j.properties
#CHAT GPT Data
chatgpt.api.url=https://api.openai.com/v1/completions
chatgpt.api.key=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
System.Net.ServicePointManager.Expect100Continue = false;
#LOGGER FILE PROPERTIES
#logging.file.path=logs
#logging.file.name=app-log.log
#logging.pattern.file=%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n
#%d{yyyy-MM-dd HH:mm:ss} [%thread] %level %logger %msg %n
#logging.pattern.rolling-file-name=app-%d{yyyy-MM-dd}.%i.log
#logging.file.max-size=10MB
# ****** H2 In Memort Database Connection Info *******
#spring.h2.console.enabled=true
#spring.datasource.platform=h2
#spring.datasource.url=jdbc:h2:mem:demo;MODE=MYSQL;DB_CLOSE_DELAY=-1;
#spring.datasource.username=sa
#spring.datasource.password=
#spring.datasource.driver-class-name=org.h2.Driver
#spring.datasource.initialize=true
#spring.jpa.hibernate.ddl-auto=none
#spring.jpa.hibernate.ddl-auto=update
#spring.datasource.continue-on-error=false
# **** MY SQL DATABASE CONNECTION ****
#spring.datasource.url=jdbc:mysql://cnsmysql.cypv2nuaxsko.ap-south-1.rds.amazonaws.com:3306/realnet
#jdbc:oracle:thin:@ptpbeuat1.ptp.com.my:1521:UAT1
#spring.datasource.url=jdbc:mysql://realnet.cdtynkxfiu2h.ap-south-1.rds.amazonaws.com:3306/realnet_CNSBENEW?createDatabaseIfNotExist=true
#spring.datasource.username=cnsdev
#spring.datasource.password=cnsdev1234
spring.datasource.url=jdbc:mysql://localhost:3306/realnet_latest?createDatabaseIfNotExist=true
spring.datasource.username=root
spring.datasource.password=Gauravrk@143
#spring.datasource.username=root
#spring.datasource.password=root
spring.datasource.driverClassName = com.mysql.cj.jdbc.Driver
#spring.datasource.driver-class-name=oracle.jdbc.driver.OracleDriver
#spring.jpa.show-sql=true
spring.jpa.hibernate.ddl-auto=update
spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5InnoDBDialect
#spring.jpa.hibernate.naming_strategy=cn.studyBoot.dao.strategy.LowerTableStrategy
#spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.OracleDialect
#spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.Oracle10gDialect
#logging.level.org.hibernate.SQL=DEBUG
#logging.level.org.hibernate.type=TRACE
#SQL LITE INTEGRATION // yha username aur password ka need nhi hai dummy use kr rhe hai
spring.datasource.url=jdbc:sqlite:realtest1.db
spring.datasource.driver-class-name=org.sqlite.JDBC
spring.jpa.database-platform=com.realnet.config.sqlite.SQLiteDialect
spring.jpa.properties.hibernate.temp.use_jdbc_metadata_defaults=false
#Spring Data Jpa
spring.jpa.show-sql=true
#spring.jpa.hibernate.ddl-auto=update
spring.jpa.hibernate.ddl-auto=none
# Prefix Path
#spring.jpa.show-sql=true
spring.jpa.properties.hibernate.format_sql=true
spring.jpa.properties.hibernate.proc.param_null_passing=true
#spring.jpa.hibernate.naming.implicit-strategy=org.hibernate.boot.model.naming.ImplicitNamingStrategyLegacyJpaImpl
#spring.jpa.hibernate.naming.physical-strategy=org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
#hibernate.physical_naming_strategy=com.huongdanjava.jpa.PhysicalNamingStrategyImpl
# -- SQL debug --
#spring.jpa.show-sql=true
#spring.jpa.properties.hibernate.format_sql=true
#logging.level.org.hibernate.SQL=DEBUG
#logging.level.org.hibernate.type=TRACE
# **********paytm dependency ******
razorpay.api.key=rzp_test_xVnrBUjJWTEH0r
razorpay.api.secret=evTXkIFcgpVtiLa1P7M7CIox
#***** MAIL SENDER
spring.mail.host=smtp.gmail.com
@@ -132,24 +103,9 @@ app.auth.tokenExpirationMsec=864000000
# We're not using cookies because they won't work well in mobile clients.
app.oauth2.authorizedRedirectUris=http://localhost:8081/oauth2/redirect,myandroidapp://oauth2/redirect,myiosapp://oauth2/redirect
#projectPath=G:/cnsbetawithcardiant/springboot
projectPath=/Users/Gaurav Kumar/Desktop/Workspace/Workspace 2/app_builder/build_backend/cns-portal/code-extractor/builders/11096/index/demot1/demot1-test2-b/authsec_springboot/backend
angularProjectPath=/Users/Gaurav Kumar/Desktop/Workspace/Workspace 2/app_builder/build_backend/cns-portal/code-extractor/builders/11096/index/demot1/demot1-test2-b/authsec_springboot/backend/webui
BACKEND_PORTAL_DOMAIN=http://157.66.191.31:30166
#projectPath=D:/Office Project/BACKUP PROJECT/Angular-SpringBoot-REST-JWT-master
#ANGULAR PROJECT PATH
#angularProjectPath=G:/cnsbetawithcardiant/springboot/frontend/angular-ui
#
#spring.cache.cache-names=instruments, directory
#spring.cache.caffeine.spec=maximumSize=500, expireAfterAccess=30s
projectPath=/data
#projectPath=/Users/Gaurav Kumar/Desktop/Real It Project/backend
angularProjectPath=/Users/Gaurav Kumar/Desktop/Real It Project/backend/webui
#projectPath=G:/foldername/backend
#angularProjectPath=G:/foldername/backend/webui
#imagePath=/frontend/angular-ui/src/assets/images/
#server.ssl.key-alias=selfsigned
#server.ssl.key-store-type=JKS
#server.ssl.key-store-password=changeit
#server.ssl.key-store=classpath:keystore.jks

BIN
backend/target/classes/com/.DS_Store vendored Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More