generated from ministryofjustice/template-repository
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
8d2ae62
commit f5a0106
Showing
11 changed files
with
205 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 13 additions & 1 deletion
14
projects/risk-assessment-scores-to-delius/src/dev/resources/db/h2.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,16 @@ | ||
drop schema if exists pkg_triggersupport cascade; | ||
|
||
create schema pkg_triggersupport; | ||
create alias pkg_triggersupport.procUpdateCAS as 'void stub(String p_crn, Integer p_event_number, java.util.Date p_rsr_assessor_date, Double p_rsr_score, String p_rsr_level_code, Double p_osp_score_i, Double p_osp_score_c, String p_osp_level_i_code, String p_osp_level_c_code) {}'; | ||
create | ||
alias pkg_triggersupport.procUpdateCAS as 'void stub(' || | ||
'String p_crn, ' || | ||
'Integer p_event_number, ' || | ||
'java.util.Date p_rsr_assessor_date, ' || | ||
'Double p_rsr_score, ' || | ||
'String p_rsr_level_code, ' || | ||
'Double p_osp_score_i, ' || | ||
'Double p_osp_score_c, ' || | ||
'String p_osp_level_i_code, ' || | ||
'String p_osp_level_c_code, ' || | ||
'String p_osp_level_iic_code, ' || | ||
'String p_osp_level_dc_code) {}'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
...ssessment-scores-to-delius/src/dev/resources/messages/rsr-scores-determined-null-osp.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"Type": "Notification", | ||
"MessageId": "b04098df-3d67-416f-87eb-f63782f713fb", | ||
"TopicArn": "", | ||
"Message": "{\"eventType\":\"risk-assessment.scores.rsr.determined\",\"version\":1,\"description\":\"Risk assessment scores have been determined\",\"detailUrl\":\"https://some-url-where-we-can-get-more-info-this-might-not-exist\",\"occurredAt\":\"2022-09-22T12:16:04+01:00\",\"additionalInformation\":{\"RSRScore\":45.33,\"RSRBand\":\"H\",\"RSRStaticOrDynamic\":\"STATIC\",\"OSPIndecentScore\":5.79,\"OSPIndecentBand\":\"H\",\"OSPContactScore\":38.7,\"OSPContactBand\":\"V\",\"EventNumber\":1,\"AssessmentDate\":\"2022-09-22T12:16:04+01:00\"},\"personReference\":{\"identifiers\":[{\"type\":\"CRN\",\"value\":\"X552020\"}]}}", | ||
"Timestamp": "2022-05-04T08:06:46.704Z", | ||
"SignatureVersion": "1", | ||
"Signature": "", | ||
"SigningCertURL": "", | ||
"UnsubscribeURL": "", | ||
"MessageAttributes": { | ||
"eventType": { | ||
"Type": "String", | ||
"Value": "risk-assessment.scores.determined" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.