Skip to content

Commit

Permalink
PI-1480: Add Context Map for Manage Offences and Delius (#2314)
Browse files Browse the repository at this point in the history
  • Loading branch information
mxco86 authored Sep 27, 2023
1 parent 1195499 commit ce89267
Show file tree
Hide file tree
Showing 5 changed files with 205 additions and 2 deletions.
4 changes: 4 additions & 0 deletions projects/manage-offences-and-delius/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

Inbound service that responds to events raised by the HMPPS Manage Offences service when there are changes to the set of [CJS Offence Codes](https://www.criminaljusticehub.org.uk/jargon-buster/cjs-offence-code/) managed by that service. Any changes to the set of offence codes is reflected in the Delius database. This ensures that Delius is up-to-date with the common set of offence codes used across HMPPS Digital services.

## Context Map

![Context Map](tech-docs/source/img/manage-offences-and-delius-context-map.svg)

## Interfaces

### Message Formats
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@

style {
fill: "#ffffff"
}

context-manage-offences: Manage Offences Context {
link: https://github.com/ministryofjustice/hmpps-manage-offences-api

entities: Entities {
grid-columns: 1
cjs-offence-code: CJS Offence Code
ho-offence-code: Home Office Offence Code
}

interface: Manage Offences API {
type: Open Host Service
}
}

context-delius: Delius Context {
link: https://github.com/ministryofjustice/delius
style.stroke-width: 8

entities: Entities {
grid-columns: 1
cjs-offence: Detailed Offence (CJS)
ho-offence: Offence (HO)
}
interface: Manage Offences and Delius {
link: https://ministryofjustice.github.io/hmpps-probation-integration-services/tech-docs/projects/manage-offences-and-delius/
type: Anti-Corruption Layer
}
}

context-manage-offences.interface--context-delius.interface: Upstream\n\n\nDownstream

*.style.border-radius: 10
*.*.style.border-radius: 10
*.*.style.stroke-width: 2
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ weight: 30

# ASyncAPI Reference

* [ASyncAPI Spec](https://studio.asyncapi.com/?url=https://raw.githubusercontent.com/ministryofjustice/hmpps-probation-integration-services/main/projects/manage-offences-and-delius/tech-docs/spec/async-api.yaml&readOnly)
<iframe width="100%" onload="this.height=screen.height" frameborder=0 src="https://studio.asyncapi.com/?url=https://raw.githubusercontent.com/ministryofjustice/hmpps-probation-integration-services/main/projects/manage-offences-and-delius/tech-docs/spec/async-api.yaml&readOnly" title="ASync-API Spec"></iframe>
Loading

0 comments on commit ce89267

Please sign in to comment.