application.properties 1.57 KB
Newer Older
jcorvi's avatar
jcorvi committed
1
2
spring.application.name =ades_rest_api
#Spring Boot Port
3
#server.port = ${SERVER_PORT}
jcorvi's avatar
jcorvi committed
4
5
server.port = 8090
#ADES Database
Javi Corvi's avatar
Javi Corvi committed
6
7
#spring.data.mongodb.uri=mongodb://localhost:27017/etransafe
spring.data.mongodb.uri=mongodb://etransafe_rw:etransafe_rw2019!@mdb-login.bsc.es:27017/etransafe
javi's avatar
javi committed
8
9
#development enviroment
#docker run -d -p 27017-27019:27017-27019 -v /home/javi/eTRANSAFE_DATA/mongo-data-dev://data/db --name mongodb mongo:4.0.4
jcorvi's avatar
work    
jcorvi committed
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28


##custom security
#spring.security.oauth2.client.registration.custom-client.client-id=R2dpxQ3vPrtfgF72
#spring.security.oauth2.client.registration.custom-client.client-secret=fDw7Mpkk5czHNuSRtmhGmAGL42CaxQB9
#spring.security.oauth2.client.registration.custom-client.client-name=Auth Server
#
#
#
#####spring.security.oauth2.client.registration.custom-client.scope=user_info
#spring.security.oauth2.client.registration.custom-client.provider=custom-provider
#spring.security.oauth2.client.registration.custom-client.redirect-uri-template=http://localhost:8090/login/oauth2/code/
#spring.security.oauth2.client.registration.custom-client.client-authentication-method=basic
#spring.security.oauth2.client.registration.custom-client.authorization-grant-type=authorization_code
#spring.security.oauth2.client.provider.custom-provider.token-uri=http://localhost:8085/auth/oauth/token
#spring.security.oauth2.client.provider.custom-provider.authorization-uri=http://localhost:8085/auth/oauth/authorize
#spring.security.oauth2.client.provider.custom-provider.user-info-uri=http://localhost:8085/auth/user/me
#spring.security.oauth2.client.provider.custom-provider.user-name-attribute=name