Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PI-1480: Add Context Map for Manage Offences and Delius #2314

Merged
merged 1 commit into from
Sep 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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