Skip to content

Commit 01cd96e

Browse files
committed
Merge remote-tracking branch 'origin/main'
# Conflicts: # core/src/main/resources/frontend
2 parents fa7110e + b5d1450 commit 01cd96e

File tree

7 files changed

+13
-21
lines changed

7 files changed

+13
-21
lines changed

.gitmodules

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
[submodule "core/src/main/resources/frontend"]
22
path = core/src/main/resources/frontend
33
url = https://github.com/osable/frontend.git
4+
branch = release

core/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ dependencies {
1414
// Spring MVC
1515
implementation("org.springframework.boot:spring-boot-starter-web")
1616
implementation("org.springframework.boot:spring-boot-starter-thymeleaf")
17-
implementation("org.springframework.boot:spring-boot-starter-oauth2-resource-server")
17+
implementation("org.springframework.boot:spring-boot-starter-oauth2-client")
1818

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

core/src/main/kotlin/net/osable/core/GitHubReactiveOpaqueTokenIntrospector.kt

Lines changed: 0 additions & 14 deletions
This file was deleted.

core/src/main/kotlin/net/osable/core/SecurityConfiguration.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class SecurityConfiguration {
3131
}.csrf {
3232
// Configure CSRF token
3333
it.csrfTokenRepository(CookieCsrfTokenRepository.withHttpOnlyFalse())
34-
}.oauth2ResourceServer()
34+
}.oauth2Client()
3535

3636
return http.build()
3737
}

core/src/main/resources/application-development.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
spring:
2-
profiles: development
3-
42
config:
3+
activate:
4+
on-profile: development
5+
56
import: optional:secrets.yaml
67

78
eureka:

core/src/main/resources/application-production.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
spring:
2-
profiles: production
2+
config:
3+
activate:
4+
on-profile: production
35

46
eureka:
57
client:
68
service-url:
7-
defaultZone: http\://discovery.osable.svc.cluster.local\:8761/eureka
9+
defaultZone: http://discovery.osable.svc.cluster.local:8761/eureka
810
instance:
911
hostname: core.osable.svc.cluster.local
1012

core/src/main/resources/application.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
spring:
2-
profiles: development, production
2+
config:
3+
activate:
4+
on-profile: development, production
35

46
application:
57
name: core

0 commit comments

Comments
 (0)