Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
# Conflicts:
#	core/src/main/resources/frontend
  • Loading branch information
katsumag committed Sep 29, 2024
2 parents fa7110e + b5d1450 commit 01cd96e
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 21 deletions.
1 change: 1 addition & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[submodule "core/src/main/resources/frontend"]
path = core/src/main/resources/frontend
url = https://github.com/osable/frontend.git
branch = release
2 changes: 1 addition & 1 deletion core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ dependencies {
// Spring MVC
implementation("org.springframework.boot:spring-boot-starter-web")
implementation("org.springframework.boot:spring-boot-starter-thymeleaf")
implementation("org.springframework.boot:spring-boot-starter-oauth2-resource-server")
implementation("org.springframework.boot:spring-boot-starter-oauth2-client")

implementation("org.springframework.boot:spring-boot-starter-webflux")

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class SecurityConfiguration {
}.csrf {
// Configure CSRF token
it.csrfTokenRepository(CookieCsrfTokenRepository.withHttpOnlyFalse())
}.oauth2ResourceServer()
}.oauth2Client()

return http.build()
}
Expand Down
5 changes: 3 additions & 2 deletions core/src/main/resources/application-development.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
spring:
profiles: development

config:
activate:
on-profile: development

import: optional:secrets.yaml

eureka:
Expand Down
6 changes: 4 additions & 2 deletions core/src/main/resources/application-production.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
spring:
profiles: production
config:
activate:
on-profile: production

eureka:
client:
service-url:
defaultZone: http\://discovery.osable.svc.cluster.local\:8761/eureka
defaultZone: http://discovery.osable.svc.cluster.local:8761/eureka
instance:
hostname: core.osable.svc.cluster.local

Expand Down
4 changes: 3 additions & 1 deletion core/src/main/resources/application.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
spring:
profiles: development, production
config:
activate:
on-profile: development, production

application:
name: core
Expand Down

0 comments on commit 01cd96e

Please sign in to comment.