-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
81322c7
commit b214196
Showing
8 changed files
with
102 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"configurations": [ | ||
{ | ||
"name": "OpenID-Federation [:server:build]", | ||
"type": "gradle", | ||
"workingDir": "C:\\Users\\Robo\\Sphereon\\OpenID-Federation", | ||
"tasks": [":server:build"], | ||
"args": [""], | ||
"initScripts": { | ||
"flmapper": "ext.mapPath = { path -> null }" | ||
} | ||
}, | ||
{ | ||
"name": "OpenID-Federation [build]", | ||
"type": "gradle", | ||
"workingDir": "C:\\Users\\Robo\\Sphereon\\OpenID-Federation", | ||
"tasks": ["build"], | ||
"args": [""], | ||
"initScripts": { | ||
"flmapper": "ext.mapPath = { path -> null }" | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"plugins": [ | ||
{ | ||
"type": "add", | ||
"pluginName": "fleet.spring.boot" | ||
}, | ||
{ | ||
"type": "add", | ||
"pluginName": "fleet.mercury" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
plugins { | ||
alias(libs.plugins.springboot) | ||
alias(libs.plugins.springDependencyManagement) | ||
alias(libs.plugins.kotlinJvm) | ||
alias(libs.plugins.kotlinPluginSpring) | ||
application | ||
} | ||
|
||
group = "com.sphereon.oid.fed" | ||
version = "1.0.0" | ||
|
||
java { | ||
toolchain { | ||
languageVersion = JavaLanguageVersion.of(21) | ||
} | ||
} | ||
|
||
dependencies { | ||
|
||
implementation("org.springframework.boot:spring-boot-starter-actuator") | ||
implementation("org.springframework.boot:spring-boot-starter-web") | ||
implementation("com.fasterxml.jackson.module:jackson-module-kotlin") | ||
implementation("org.jetbrains.kotlin:kotlin-reflect") | ||
|
||
|
||
testImplementation("org.springframework.boot:spring-boot-starter-test") | ||
testImplementation("org.jetbrains.kotlin:kotlin-test-junit5") | ||
testRuntimeOnly("org.junit.platform:junit-platform-launcher") | ||
|
||
runtimeOnly("org.springframework.boot:spring-boot-devtools") | ||
//testImplementation(libs.kotlin.test.junit) | ||
} | ||
|
||
kotlin { | ||
compilerOptions { | ||
freeCompilerArgs.addAll("-Xjsr305=strict") | ||
} | ||
} | ||
|
||
tasks.withType<Test> { | ||
useJUnitPlatform() | ||
} |
11 changes: 11 additions & 0 deletions
11
server/src/main/kotlin/com/sphereon/oid/fed/Application.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package com.sphereon.oid.fed | ||
|
||
import org.springframework.boot.autoconfigure.SpringBootApplication | ||
import org.springframework.boot.runApplication | ||
|
||
@SpringBootApplication | ||
class Application | ||
|
||
fun main(args: Array<String>) { | ||
runApplication<Application>(*args) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
spring.application.name=OpenID Federation | ||
|
||
management.endpoints.web.base-path=/ | ||
management.endpoints.web.path-mapping.health=status |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,3 +29,4 @@ dependencyResolutionManagement { | |
} | ||
|
||
include(":modules:openid-federation-common") | ||
include(":server") |