Skip to content

Commit

Permalink
Merge pull request #26 from Integradorl-UdeA/feat/properties-config
Browse files Browse the repository at this point in the history
prod propierties
  • Loading branch information
superpollo2 authored Apr 19, 2024
2 parents 540ebaf + 2f22de2 commit 38e8a4e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 20 deletions.
25 changes: 11 additions & 14 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,19 +78,6 @@
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.vaadin.external.google</groupId>
<artifactId>android-json</artifactId>
<version>0.0.20131108.vaadin1</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
Expand All @@ -112,7 +99,17 @@
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>com.vaadin.external.google</groupId>
<artifactId>android-json</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
<profiles>
<profile>
Expand Down
12 changes: 6 additions & 6 deletions src/main/resources/application-prod.properties
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
server.port=${SERVER_PORT}
server.port=8092
spring.application.name=consola-lis-api
jwt.secret=${JWT_SECRET}
jwt.secret=Ax4skyFJwtRXE8ZDP5qCZLTKxDb/Ian18VYf9/CHiNw=

spring.jpa.database-platform=org.hibernate.dialect.MySQL8Dialect
spring.ldap.urls=rls=https://sistemas.udea.edu.co/api/ldap/login/{username}

#config data base
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.username=${USER_NAME}
spring.datasource.password=${PASSWORD}
spring.datasource.url=${DATASOURCE}
spring.datasource.username=root
spring.datasource.password=c0ns0l3ll1s
spring.datasource.url=jdbc:mysql://localhost:33060/console_lis?allowPublicKeyRetrieval=true&useSSL=false
springdoc.default-produces-media-type=application/json

spring.jpa.show-sql=true



0 comments on commit 38e8a4e

Please sign in to comment.