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

IJPS-75: Configuring JPS #346

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Binary file modified docs/c4/bsp/images/structurizr-bsp-overview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/c4/ccd/images/structurizr-ccd-overview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/c4/cmc/images/structurizr-cmc-overview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/c4/div/images/structurizr-div-overview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/c4/evidence/images/structurizr-evidence-overview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions docs/c4/hmcts.mdsl
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,9 @@ ia = softwareSystem "IA" {
fpla = softwareSystem "FPLA" {
fpla_case_service = container "FPLA Case Service" "CCD callback service for FPLA cases"
}
jps = softwareSystem "JPS" {
jps_judicial_payment_service = container "JPS Judicial Payment Service" "Judicial Payment Service"
}
rd = softwareSystem "RD" {
rd_professional_api = container "Professional reference data API" "Provides APIs for managing professional reference data"
rd_user_profile_api = container "Reference data user profile API" "Provides APIs for reference data user profile"
Expand Down Expand Up @@ -462,6 +465,11 @@ fpla_case_service -> rpe_service_auth_provider "Depends on"
fpla_case_service -> dm_store "Depends on"
fpla_case_service -> ccd_data_store_api "Depends on"

jps_judicial_payment_service -> idam_api "Depends on"
jps_judicial_payment_service -> rpe_service_auth_provider "Depends on"
jps_judicial_payment_service -> rd_location_ref_api "Depends on"
jps_judicial_payment_service -> rd_judicial_api "Depends on"

rd_professional_api -> idam_api "Depends on"
rd_professional_api -> rpe_service_auth_provider "Depends on"
rd_professional_api -> rd_user_profile_api "Depends on"
Expand Down
Binary file modified docs/c4/idam/images/structurizr-idam-context.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/c4/idam/images/structurizr-idam-overview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/c4/images/structurizr-landscape.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/c4/jps/images/structurizr-jps-context.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/c4/jps/images/structurizr-jps-overview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
64 changes: 64 additions & 0 deletions docs/c4/jps/workspace.dsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@

workspace {
model {
!include ../hmcts.mdsl

# citizen = person "Citizen" "A citizen user"
# caseworker = person "Caseworker" "A case worker"

# caseworker -> xui_webapp "Uses"
# caseworker -> idam_web_public "Logs in with"

# citizen -> probate_frontend "Uses"
# citizen -> idam_web_public "Logs in with"

# ccd_data_store_api -> probate_back_office "Callbacks"
}

views {
!include ../hmcts.vdsl

systemContext jps "jps-context" {
include *
# exclude caseworker
# exclude citizen
# include xui
exclude idam
exclude rpe
exclude relationship==bsp->*
autoLayout
}

container jps "jps-overview" {
include *
# exclude caseworker
# exclude citizen
# include xui
exclude idam
exclude rpe
exclude relationship==bsp->*
autoLayout
}

# container jps "jps-citizen" {
# include *
# exclude idam
# exclude rpe
# exclude bsp
# autoLayout
# }

# container jps "jps-caseworker" {
# include *
# include caseworker
# include xui
# exclude citizen
# exclude nfdiv_frontend
# exclude idam
# exclude rpe
# exclude relationship==bsp->*

# autoLayout
# }
}
}
Binary file modified docs/c4/probate/images/structurizr-probate-caseworker.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/c4/probate/images/structurizr-probate-overview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/c4/rd/images/structurizr-rd-context.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/c4/rd/images/structurizr-rd-overview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/c4/rpe/images/structurizr-rpe-context.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/c4/rpe/images/structurizr-rpe-overview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 36 additions & 0 deletions docs/lld/jps.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>JPS Overview</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-gH2yIJqKdNHPEq0n4Mqa/HGKIhSkIHeL5AyhkYV8i59U5AR6csBvApHHNl/vI1Bx" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-A3rJD856KowSb7dwlZdYEkO39Gagi7vIsF0jrRAoQmDKKtQBHUuLZ9AsSv4jD4Xa" crossorigin="anonymous"></script>
<link rel="stylesheet" href="./style.css">
</head>
<body>
<div class="container px-4 pt-5 my-5">
<h1 class="display-4 fw-bold">JPS Overview</h1>
<div class="col-lg-6 mx-auto">
<p class="lead my-4">Overview of the JPS components and how they interact with other CFT components.</p>
</div>
<div class="overflow-hidden">
<div class="container px-5">
<img src="../c4/jps/images/structurizr-jps-overview.png" class="img-fluid border rounded-3 shadow-lg mb-4" alt="" loading="lazy">
</div>
</div>
</div>
<div class="container px-4 my-5">
<h2 class="display-6 fw-bold">Services:</h2>
<ul><li><a href="https://github.com/hmcts/jps-judicial-payment-service">Judicial Payment Service</a> - <a href="https://hmcts.github.io/cnp-api-docs/swagger.html?url=https://hmcts.github.io/cnp-api-docs/specs/jps-judicial-payment-service.json">Swagger</a></li></ul>
</div>
<div class="container">
<footer class="d-flex flex-wrap justify-content-between align-items-center py-3 my-4 border-top">
<ul class="nav">
<li class="nav-item"><a href="https://hmcts.github.io/cnp-api-docs/" class="nav-link px-2 text-muted">Home</a></li>
<li class="nav-item"><a href="https://github.com/hmcts/cnp-api-docs/" class="nav-link px-2 text-muted">About</a></li>
</ul>
</footer>
</div>
</body>
</html>
38 changes: 38 additions & 0 deletions docs/microservices.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,11 @@
"name": "AM",
"colour": "#ffcc66",
"info": "View our <a href=\"https://tools.hmcts.net/confluence/display/AM/Access+Management+Dashboard\">Access Management Dashboard</a> page for more details about the AM services"
},
{
"name": "JPS",
"colour": "#fa8072",
"info": "View our <a href=\"https://tools.hmcts.net/confluence/display/IJPS/Intermediate+Judicial+Payments+Solution+Home\">Intermediate Judicial Payments Solution Home</a> page for more details."
}
],
"apis": [
Expand Down Expand Up @@ -2463,6 +2468,39 @@
"apis": [],
"version": null
},
{
"id": "jps-judicial-payment-service",
"name": "JPS Judicial Payment Service",
"group": "JPS",
"type": "api",
"description": "Judicial Payment Service",
"repository": "https://github.com/hmcts/jps-judicial-payment-service",
"spec": "https://hmcts.github.io/cnp-api-docs/specs/jps-judicial-payment-service.json",
"dependencies": [
{
"id": "idam-api",
"hard": true,
"apis": []
},
{
"id": "rpe-service-auth-provider",
"hard": true,
"apis": []
},
{
"id": "rd-location-ref-api",
"hard": true,
"apis": []
},
{
"id": "rd-judicial-api",
"hard": true,
"apis": []
}
],
"apis": [],
"version": null
},
{
"id": "rd-professional-api",
"name": "Professional reference data API",
Expand Down