Skip to content

Commit

Permalink
COT-905 New Judicial ORM and updating work types for existing (#2147)
Browse files Browse the repository at this point in the history
* COT-905 initial check in.

* COT-905 fixing indent issue.

* COT-905 fixing checkstyle issue

* COT-905 removing unnecessary test.

* COT-905 - changes to reflect updated confluence page.

* COT-905 - bringing Pr up to date with master

* COT-905 - pointing preview to RAS pr

* COT-905 - pointing preview to RAS pr

* COT-905 - pointing preview to RAS pr

* COT-905 - pointing preview to RAS pr

* COT-905 - pointing preview to RAS pr

* COT-905 - fixing functional test

* COT-905 - resolving review comments

* COT-905 - resolving checkstyle error

* COT-905 - update to task-supervisor

* COT-905 - removing changes to set RAS pr

* COT-905 - peer review changes.

* COT-905 - peer review changes.

* Reverting to preview RAS image point to the latest

---------

Co-authored-by: Mike Brown <michael.brown@hmcts.net>
Co-authored-by: prashanthnerligeb <prashanth.nerlige@hmcts.net>
  • Loading branch information
3 people authored Dec 12, 2024
1 parent d4b5331 commit e4f884d
Show file tree
Hide file tree
Showing 5 changed files with 629 additions and 71 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Feature: F-007 :Create Role Assignments for CIVIL Caseworker and Judicial Users
And a successful call [to delete existing role assignments corresponding to the test actorId] as in [S-061_DeleteDataForRoleAssignments].

@S-081
@FeatureToggle(DB:civil_wa_1_9=on) @FeatureToggle(EV:JUDICIAL_FTA_ENABLED=on)
@FeatureToggle(DB:civil_wa_2_1=on) @FeatureToggle(EV:JUDICIAL_FTA_ENABLED=on)
Scenario: must successfully create org role mapping for Judge
Given a user with [an active IDAM profile with full permissions],
And a successful call [to delete existing role assignments corresponding to the test actorId] as in [S-081_DeleteDataForRoleAssignments],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,50 @@
"__ordering__": "UNORDERED",
"__elementId__": "roleName"
},
{
"id": "[[ANYTHING_PRESENT]]",
"actorIdType": "IDAM",
"actorId": "${[scenarioContext][testData][request][body][queryRequests][0][actorId][0]}",
"roleType": "ORGANISATION",
"roleName": "district-judge",
"classification": "PUBLIC",
"grantType": "STANDARD",
"roleCategory": "JUDICIAL",
"readOnly": false,
"beginTime": "[[ANYTHING_PRESENT]]",
"created": "[[ANYTHING_PRESENT]]",
"attributes": {
"substantive": "Y",
"contractType": "Salaried",
"primaryLocation": "[[ANYTHING_PRESENT]]",
"jurisdiction": "CIVIL",
"region": "[[ANYTHING_PRESENT]]",
"workTypes": "decision_making_work,applications,Multi_Track_decision_making_work,Intermediate_Track_decision_making_work"
},
"authorisations": "[[ANYTHING_PRESENT]]"
},
{
"id": "[[ANYTHING_PRESENT]]",
"actorIdType": "IDAM",
"actorId": "${[scenarioContext][testData][request][body][queryRequests][0][actorId][0]}",
"roleType": "ORGANISATION",
"roleName": "district-judge",
"classification": "PUBLIC",
"grantType": "STANDARD",
"roleCategory": "JUDICIAL",
"readOnly": false,
"beginTime": "[[ANYTHING_PRESENT]]",
"created": "[[ANYTHING_PRESENT]]",
"attributes": {
"substantive": "Y",
"contractType": "Salaried",
"primaryLocation": "[[ANYTHING_PRESENT]]",
"jurisdiction": "CIVIL",
"region": "[[ANYTHING_PRESENT]]",
"workTypes": "decision_making_work,applications,Multi_Track_decision_making_work,Intermediate_Track_decision_making_work"
},
"authorisations": "[[ANYTHING_PRESENT]]"
},
{
"id": "[[ANYTHING_PRESENT]]",
"actorIdType": "IDAM",
Expand Down Expand Up @@ -93,7 +137,7 @@
"primaryLocation": "[[ANYTHING_PRESENT]]",
"jurisdiction": "CIVIL",
"region": "[[ANYTHING_PRESENT]]",
"workTypes": "[[ANYTHING_PRESENT]]"
"workTypes": "decision_making_work,applications"
},
"authorisations": "[[ANYTHING_PRESENT]]"
},
Expand All @@ -115,7 +159,7 @@
"primaryLocation": "[[ANYTHING_PRESENT]]",
"jurisdiction": "CIVIL",
"region": "[[ANYTHING_PRESENT]]",
"workTypes": "[[ANYTHING_PRESENT]]"
"workTypes": "decision_making_work,applications"
},
"authorisations": "[[ANYTHING_PRESENT]]"
}
Expand Down
Loading

0 comments on commit e4f884d

Please sign in to comment.