# File is used by sprigboot
server.contextPath=/*
server.port=9292
spring.resources.static-locations=classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/,classpath:/webui/

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

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

#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

#***** MAIL SENDER
spring.mail.host=smtp.gmail.com
spring.mail.username=realitmailsender@gmail.com
spring.mail.password=epnmhzsccotnyozf
spring.mail.port=587
#spring.mail.properties.mail.smtp.auth=true
spring.mail.properties.mail.smtp.starttls.enable=true
spring.mail.properties.mail.smtp.starttls.required=true

# JACKSON
spring.jackson.serialization.FAIL_ON_EMPTY_BEANS=false


spring.mail.properties.mail.smtp.auth = true
spring.mail.properties.mail.smtp.socketFactory.port = 465
spring.mail.properties.mail.smtp.socketFactory.class = javax.net.ssl.SSLSocketFactory
spring.mail.properties.mail.smtp.socketFactory.fallback = false

#******* MULTIPART RESOLVER
spring.servlet.multipart.enabled=true
spring.servlet.multipart.max-file-size=100MB
spring.servlet.multipart.max-request-size=100MB

#***************OAUTH2 SOCIAL LOGIN *********
# Social login provider props
spring.security.oauth2.client.registration.google.clientId=437023664181-0lm0ipgip3qbhga4nd7o4128jv4g2nv9.apps.googleusercontent.com
spring.security.oauth2.client.registration.google.clientSecret=I1HPyUqdJ9UONu45W1_wwfww
spring.security.oauth2.client.registration.google.scope=profile, email


spring.security.oauth2.client.registration.linkedin.clientId=<your-client-id>
spring.security.oauth2.client.registration.linkedin.clientSecret=<your-client-secret>
spring.security.oauth2.client.registration.linkedin.client-authentication-method=post
spring.security.oauth2.client.registration.linkedin.authorization-grant-type=authorization_code
spring.security.oauth2.client.registration.linkedin.scope=r_liteprofile, r_emailaddress
spring.security.oauth2.client.registration.linkedin.redirect-uri={baseUrl}/login/oauth2/code/{registrationId}
spring.security.oauth2.client.registration.linkedin.client-name=Linkedin
spring.security.oauth2.client.registration.linkedin.provider=linkedin
spring.security.oauth2.client.provider.linkedin.authorization-uri=https://www.linkedin.com/oauth/v2/authorization
spring.security.oauth2.client.provider.linkedin.token-uri=https://www.linkedin.com/oauth/v2/accessToken
spring.security.oauth2.client.provider.linkedin.user-info-uri=https://api.linkedin.com/v2/me
spring.security.oauth2.client.provider.linkedin.user-name-attribute=id
linkedin.email-address-uri=https://api.linkedin.com/v2/emailAddress?q=members&projection=(elements*(handle~))
app.auth.tokenSecret=926D96C90030DD58429D2751AC1BDBBC
app.auth.tokenExpirationMsec=864000000
    # After successfully authenticating with the OAuth2 Provider,
    # we'll be generating an auth token for the user and sending the token to the
    # redirectUri mentioned by the frontend client in the /oauth2/authorization request.
    # 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=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

