Skip to content

Commit

Permalink
Add link to the HMPPS Auth service
Browse files Browse the repository at this point in the history
  • Loading branch information
sldblog committed Aug 17, 2020
1 parent 1da6b3d commit e87a855
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/kotlin/model/HMPPSAuth.kt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import com.structurizr.view.ViewSet
class HMPPSAuth private constructor() {
companion object : HMPPSSoftwareSystem {
lateinit var system: SoftwareSystem
protected lateinit var app: Container
lateinit var app: Container

override fun defineModelEntities(model: Model) {
system = model.addSoftwareSystem("HMPPS Auth", "Allows users to login into digital services").apply {
Expand All @@ -21,6 +21,7 @@ class HMPPSAuth private constructor() {
"OAuth2 server integrating with NOMIS database, nDelius (via community api) and an auth database for storing external users",
"Spring Boot + Java"
).apply {
APIDocs("https://sign-in-preprod.hmpps.service.justice.gov.uk/auth/swagger-ui.html").addTo(this)
setUrl("https://github.com/ministryofjustice/hmpps-auth")
}

Expand Down
1 change: 1 addition & 0 deletions src/main/kotlin/model/ProbationTeamsService.kt
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ class ProbationTeamsService private constructor() {
}

override fun defineRelationships() {
api.uses(HMPPSAuth.app, "validates API tokens via", "JWK")
}

override fun defineViews(views: ViewSet) {
Expand Down

0 comments on commit e87a855

Please sign in to comment.