Skip to content

Commit

Permalink
Feature/oidf 45 status endpoint (#6)
Browse files Browse the repository at this point in the history
* Moved admin-server to modules
  • Loading branch information
robertmathew authored Jul 5, 2024
1 parent 4e757ec commit 42fff2c
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion .fleet/run.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"type": "gradle",
"workingDir": "$PROJECT_DIR$",
"tasks": [
":admin-server:build"
":modules:admin-server:build"
],
"args": [
""
Expand Down
19 changes: 0 additions & 19 deletions admin-server/README.md

This file was deleted.

19 changes: 19 additions & 0 deletions modules/admin-server/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Admin server

API
<br>
```/status``` - To check health status

<br>

To build
<br>
```./gradlew :modules:admin-server:build```

To run
<br>
```./gradlew :modules:admin-server:bootRun```

To run tests
<br>
```./gradlew :modules:admin-server:test```
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
application
}

group = "com.sphereon.oid.fed"
group = "com.sphereon.oid.fed.server.admin"
version = "1.0.0"

java {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.sphereon.oid.fed
package com.sphereon.oid.fed.server.admin

import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.sphereon.oid.fed
package com.sphereon.oid.fed.server.admin

import org.junit.jupiter.api.Test
import org.springframework.boot.test.context.SpringBootTest
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.sphereon.oid.fed
package com.sphereon.oid.fed.server.admin

import org.junit.jupiter.api.Test
import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ dependencyResolutionManagement {
}

include(":modules:openid-federation-common")
include(":admin-server")
include(":modules:admin-server")

0 comments on commit 42fff2c

Please sign in to comment.