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

FTA scenarios for sscs case role #1431

Open
wants to merge 165 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
165 commits
Select commit Hold shift + click to select a range
e3c99b6
FTA implementation
vladkovalskyi Apr 20, 2022
9fb39f8
Changed the test data base Operation Name
vladkovalskyi Apr 20, 2022
c0d5d50
Added process : sscs-access to base-root
vladkovalskyi Apr 20, 2022
9dca691
Further work on sscs new case roles
vladkovalskyi Apr 22, 2022
1dd8f9d
Further work on sscs new case roles
vladkovalskyi Apr 22, 2022
5935b2c
Refactored code new case roles FTA
vladkovalskyi Apr 22, 2022
9a0a729
Additional changes
vladkovalskyi Apr 22, 2022
272d1c6
Branch was auto-updated.
github-actions[bot] Apr 25, 2022
d9c95d9
Additional changes
vladkovalskyi Apr 26, 2022
5a7b0b6
Reworked the FTA
vladkovalskyi Apr 26, 2022
23f5ea8
Fixed the naming in successful call
vladkovalskyi Apr 27, 2022
244755b
Branch was auto-updated.
github-actions[bot] Apr 28, 2022
408af59
Branch was auto-updated.
github-actions[bot] Apr 29, 2022
6d4adf2
Branch was auto-updated.
github-actions[bot] May 3, 2022
6185a28
Branch was auto-updated.
github-actions[bot] May 3, 2022
e3d343a
Branch was auto-updated.
github-actions[bot] May 3, 2022
6bae34b
Branch was auto-updated.
github-actions[bot] May 6, 2022
6d53997
Branch was auto-updated.
github-actions[bot] May 9, 2022
246b943
Branch was auto-updated.
github-actions[bot] May 9, 2022
54dc1ae
Branch was auto-updated.
github-actions[bot] May 10, 2022
18e97e8
Branch was auto-updated.
github-actions[bot] May 10, 2022
bed7793
Branch was auto-updated.
github-actions[bot] May 10, 2022
3a335fe
Branch was auto-updated.
github-actions[bot] May 10, 2022
44b51c0
Branch was auto-updated.
github-actions[bot] May 10, 2022
4566b76
Branch was auto-updated.
github-actions[bot] May 10, 2022
3d3b48b
Branch was auto-updated.
github-actions[bot] May 11, 2022
fc2761e
Branch was auto-updated.
github-actions[bot] May 11, 2022
24d087c
Branch was auto-updated.
github-actions[bot] May 11, 2022
7893f8f
Branch was auto-updated.
github-actions[bot] May 11, 2022
4199816
Branch was auto-updated.
github-actions[bot] May 11, 2022
9ecb50c
Branch was auto-updated.
github-actions[bot] May 12, 2022
3403d3f
Branch was auto-updated.
github-actions[bot] May 12, 2022
c7a7b1c
Branch was auto-updated.
github-actions[bot] May 16, 2022
4a60556
Branch was auto-updated.
github-actions[bot] May 16, 2022
81290da
Branch was auto-updated.
github-actions[bot] May 17, 2022
3a74d7c
Branch was auto-updated.
github-actions[bot] May 17, 2022
a9dda11
Branch was auto-updated.
github-actions[bot] May 18, 2022
32d4224
Branch was auto-updated.
github-actions[bot] May 18, 2022
669ac41
Branch was auto-updated.
github-actions[bot] May 18, 2022
dec9516
Branch was auto-updated.
github-actions[bot] May 23, 2022
890e23a
Branch was auto-updated.
github-actions[bot] May 23, 2022
e2de114
Branch was auto-updated.
github-actions[bot] May 23, 2022
7e6826a
Branch was auto-updated.
github-actions[bot] May 23, 2022
d235f2b
Branch was auto-updated.
github-actions[bot] May 24, 2022
3182f00
Branch was auto-updated.
github-actions[bot] May 24, 2022
556eab8
Branch was auto-updated.
github-actions[bot] May 24, 2022
f1fa9ba
Branch was auto-updated.
github-actions[bot] May 30, 2022
51be6e0
Branch was auto-updated.
github-actions[bot] May 30, 2022
99af8f4
Branch was auto-updated.
github-actions[bot] May 30, 2022
27ca08b
Branch was auto-updated.
github-actions[bot] May 30, 2022
0d5934f
Branch was auto-updated.
github-actions[bot] May 31, 2022
d87a55a
Branch was auto-updated.
github-actions[bot] Jun 1, 2022
d03940f
Branch was auto-updated.
github-actions[bot] Jun 6, 2022
5ede9a9
Branch was auto-updated.
github-actions[bot] Jun 6, 2022
f959132
Branch was auto-updated.
github-actions[bot] Jun 7, 2022
9239bb8
Branch was auto-updated.
github-actions[bot] Jun 9, 2022
16506ad
Branch was auto-updated.
github-actions[bot] Jun 9, 2022
5752ceb
Branch was auto-updated.
github-actions[bot] Jun 9, 2022
626ee9f
Branch was auto-updated.
github-actions[bot] Jun 15, 2022
0fc774f
Branch was auto-updated.
github-actions[bot] Jun 15, 2022
8e14d25
Branch was auto-updated.
github-actions[bot] Jun 15, 2022
b1ac97e
Branch was auto-updated.
github-actions[bot] Jun 15, 2022
6e35177
Branch was auto-updated.
github-actions[bot] Jun 16, 2022
511d0a3
Branch was auto-updated.
github-actions[bot] Jun 16, 2022
5590cfb
Branch was auto-updated.
github-actions[bot] Jun 16, 2022
b250742
Branch was auto-updated.
github-actions[bot] Jun 16, 2022
40040d9
Found and fixed an error with the syntax
vladkovalskyi Jun 16, 2022
7b694de
revert the test flag
aashishaggarwal123 Jun 17, 2022
daad3b2
Delete befta_recent_executions_info_UnspecifiedEnvironment.json
aashishaggarwal123 Jun 17, 2022
2b39fb2
Delete gitsshkey
aashishaggarwal123 Jun 17, 2022
d164ec9
Delete gitsshkey.pub
aashishaggarwal123 Jun 17, 2022
def9cb8
Delete vlads_key
aashishaggarwal123 Jun 17, 2022
b70da02
Delete vlads_key.pub
aashishaggarwal123 Jun 17, 2022
5e842f7
dummy commit
aashishaggarwal123 Jun 17, 2022
fe54da7
Merge branch 'FTA_scenario_implementation_for_new_CASE_roles' of http…
aashishaggarwal123 Jun 17, 2022
57b2b38
Branch was auto-updated.
github-actions[bot] Jun 28, 2022
51818c0
Branch was auto-updated.
github-actions[bot] Jun 28, 2022
8038e0b
Branch was auto-updated.
github-actions[bot] Jun 30, 2022
59a4d6a
Branch was auto-updated.
github-actions[bot] Jul 1, 2022
24762fa
Branch was auto-updated.
github-actions[bot] Jul 1, 2022
d0f923a
Branch was auto-updated.
github-actions[bot] Jul 8, 2022
93ea9ce
Branch was auto-updated.
github-actions[bot] Jul 8, 2022
2ffcfa6
Branch was auto-updated.
github-actions[bot] Jul 8, 2022
bb2cc76
Branch was auto-updated.
github-actions[bot] Jul 8, 2022
8ecc2e1
Branch was auto-updated.
github-actions[bot] Jul 11, 2022
5b515c0
Branch was auto-updated.
github-actions[bot] Jul 11, 2022
24661ad
Branch was auto-updated.
github-actions[bot] Jul 12, 2022
aa316d3
Branch was auto-updated.
github-actions[bot] Jul 14, 2022
3e2470d
Branch was auto-updated.
github-actions[bot] Jul 14, 2022
70d3d3c
Branch was auto-updated.
github-actions[bot] Jul 18, 2022
63c0ba9
Branch was auto-updated.
github-actions[bot] Jul 18, 2022
df021c4
Branch was auto-updated.
github-actions[bot] Jul 19, 2022
4bbb8fe
Branch was auto-updated.
github-actions[bot] Jul 25, 2022
fd4e444
Branch was auto-updated.
github-actions[bot] Jul 25, 2022
f612e86
Branch was auto-updated.
github-actions[bot] Jul 25, 2022
31ea76e
Branch was auto-updated.
github-actions[bot] Aug 1, 2022
af6beae
Branch was auto-updated.
github-actions[bot] Aug 2, 2022
c6aaad3
Branch was auto-updated.
github-actions[bot] Aug 8, 2022
edc411a
Branch was auto-updated.
github-actions[bot] Aug 11, 2022
654a37f
Branch was auto-updated.
github-actions[bot] Aug 15, 2022
32c9f66
Branch was auto-updated.
github-actions[bot] Aug 15, 2022
87ecc4c
Branch was auto-updated.
github-actions[bot] Aug 17, 2022
8e213de
Branch was auto-updated.
github-actions[bot] Aug 17, 2022
7b2f0e5
Branch was auto-updated.
github-actions[bot] Aug 25, 2022
5063883
Branch was auto-updated.
github-actions[bot] Aug 26, 2022
30a6cf3
Branch was auto-updated.
github-actions[bot] Sep 2, 2022
a370027
Branch was auto-updated.
github-actions[bot] Sep 7, 2022
8af1ab2
Branch was auto-updated.
github-actions[bot] Sep 8, 2022
7cc4f43
Branch was auto-updated.
github-actions[bot] Sep 13, 2022
12d0188
Branch was auto-updated.
github-actions[bot] Sep 15, 2022
90f4860
Branch was auto-updated.
github-actions[bot] Sep 20, 2022
bd5190b
Branch was auto-updated.
github-actions[bot] Sep 21, 2022
cdc8920
Branch was auto-updated.
github-actions[bot] Sep 29, 2022
ef2b72d
Branch was auto-updated.
github-actions[bot] Sep 30, 2022
9e6f6de
Branch was auto-updated.
github-actions[bot] Oct 3, 2022
8b5098c
Branch was auto-updated.
github-actions[bot] Oct 5, 2022
1890de9
Branch was auto-updated.
github-actions[bot] Oct 6, 2022
e12bb20
Branch was auto-updated.
github-actions[bot] Oct 10, 2022
58fae13
Branch was auto-updated.
github-actions[bot] Oct 10, 2022
0ede356
Branch was auto-updated.
github-actions[bot] Oct 21, 2022
5f3a313
Branch was auto-updated.
github-actions[bot] Oct 24, 2022
2f216c5
Branch was auto-updated.
github-actions[bot] Oct 25, 2022
96ce2f5
Branch was auto-updated.
github-actions[bot] Oct 31, 2022
a8b6c7b
Branch was auto-updated.
github-actions[bot] Nov 7, 2022
189ae11
Branch was auto-updated.
github-actions[bot] Nov 8, 2022
97ec47f
Branch was auto-updated.
github-actions[bot] Nov 9, 2022
bb0ec19
Branch was auto-updated.
github-actions[bot] Nov 9, 2022
ac91323
Branch was auto-updated.
github-actions[bot] Nov 16, 2022
9561e60
Branch was auto-updated.
github-actions[bot] Nov 16, 2022
6c2fc93
Branch was auto-updated.
github-actions[bot] Nov 16, 2022
642924a
Branch was auto-updated.
github-actions[bot] Nov 21, 2022
f3b6a42
Branch was auto-updated.
github-actions[bot] Nov 24, 2022
2ab72da
Branch was auto-updated.
github-actions[bot] Nov 28, 2022
025f3d6
Branch was auto-updated.
github-actions[bot] Nov 28, 2022
33cb641
Branch was auto-updated.
github-actions[bot] Nov 29, 2022
605edc8
Branch was auto-updated.
github-actions[bot] Nov 30, 2022
6e91b7e
Branch was auto-updated.
github-actions[bot] Dec 5, 2022
9d93ad8
Branch was auto-updated.
github-actions[bot] Dec 5, 2022
b4225d4
Branch was auto-updated.
github-actions[bot] Dec 8, 2022
d1a0887
Branch was auto-updated.
github-actions[bot] Dec 12, 2022
2c52932
Branch was auto-updated.
github-actions[bot] Jan 3, 2023
c797497
Branch was auto-updated.
github-actions[bot] Jan 3, 2023
c62a033
Branch was auto-updated.
github-actions[bot] Jan 4, 2023
4d95ca6
Branch was auto-updated.
github-actions[bot] Jan 6, 2023
a52f7fb
Branch was auto-updated.
github-actions[bot] Jan 9, 2023
9fa31be
Branch was auto-updated.
github-actions[bot] Jan 10, 2023
6381ad9
Branch was auto-updated.
github-actions[bot] Jan 26, 2023
253dcce
Branch was auto-updated.
github-actions[bot] Jan 26, 2023
d8189ae
Branch was auto-updated.
github-actions[bot] Jan 30, 2023
4ae3baa
Branch was auto-updated.
github-actions[bot] Feb 1, 2023
b9e37d7
Branch was auto-updated.
github-actions[bot] Feb 1, 2023
e1007b2
Branch was auto-updated.
github-actions[bot] Feb 1, 2023
22311c9
Branch was auto-updated.
github-actions[bot] Feb 7, 2023
66ede8b
Branch was auto-updated.
github-actions[bot] Feb 7, 2023
da91391
Branch was auto-updated.
github-actions[bot] Feb 13, 2023
3fd18cb
Branch was auto-updated.
github-actions[bot] Feb 13, 2023
a0f97ed
Branch was auto-updated.
github-actions[bot] Feb 16, 2023
1a8affc
Branch was auto-updated.
github-actions[bot] Feb 22, 2023
7b41a5f
Branch was auto-updated.
github-actions[bot] Feb 23, 2023
9215b5b
Branch was auto-updated.
github-actions[bot] Feb 27, 2023
7067c31
Branch was auto-updated.
github-actions[bot] Feb 28, 2023
039e13c
Branch was auto-updated.
github-actions[bot] Feb 28, 2023
affd94b
Branch was auto-updated.
github-actions[bot] Feb 28, 2023
3b1d45d
Branch was auto-updated.
github-actions[bot] Mar 2, 2023
6d6f3c3
Branch was auto-updated.
github-actions[bot] Mar 2, 2023
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"_guid_": "F-013-Base-Root",
"users": {
"invokingUser": {
"username": "TEST_AM_USER2_BEFTA@test.local",
"password": "[[$TEST_AM_USER2_BEFTA_PWD]]"
},
"befta1": {
"username": "TEST_AM_USER1_BEFTA@test.local",
"password": "[[$TEST_AM_USER1_BEFTA_PWD]]"
},
"befta3": {
"username": "TEST_AM_USER3_BEFTA@test.local",
"password": "[[$TEST_AM_USER3_BEFTA_PWD]]"
}
},
"request": {
"headers": {
"Authorization": "[[DEFAULT_AUTO_VALUE]]",
"ServiceAuthorization": "[[DEFAULT_AUTO_VALUE]]",
"X-Correlation-ID": "003352d0-e699-48bc-b6f5-5810411e60af",
"Content-Type": "application/json"
},
"body": {
"roleRequest": {
"assignerId": "3168da13-00b3-41e3-81fa-cbc71ac28a0f",
"process" : "sscs-access",
"reference": "1616413322379009/sscs-access/787f8cea-955e-4458-b8ac-e8680827b32b",
"replaceExisting": true
}
}
},
"expectedResponse": {
"headers": {
"Content-Length": "[[ANYTHING_PRESENT]]",
"Content-Type": "application/json"
}
}
}
125 changes: 125 additions & 0 deletions src/functionalTest/resources/features/F-013/F-013.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
@F-013
Feature: F-013 : Create SSCS Role Assignments

Background:
Given an appropriate test context as detailed in the test data source

@S-231
@FeatureToggle(RAS:sscs_wa_1_0=on)
Scenario: must successfully create SSCS CASE role assignment with all mandatory fields
Given a user with [an active IDAM profile with full permissions],
And a user [Befta1 - who is the actor for requested role],
And a successful call [to create org role assignments for actors & requester] as in [S-231_Org_Role_Creation_Multiple],
When a request is prepared with appropriate values,
And the request [contains case-allocator org role as assigner],
And the request [contains judge org role as assignee],
And the request [contains hearing-judge case role assignment],
And it is submitted to call the [Create Role Assignments] operation of [Role Assignments Service],
Then a positive response is received,
And the response has all other details as expected,
And a successful call [to delete role assignments just created above] as in [S-232_DeleteDataForRoleAssignmentsForSSCS_Access].

@S-232
@FeatureToggle(RAS:sscs_wa_1_0=on)
Scenario: must successfully create SSCS CASE role assignment with all mandatory fields
Given a user with [an active IDAM profile with full permissions],
And a user [Befta1 - who is the actor for requested role],
And a successful call [to create org role assignments for actors & requester] as in [S-232_Org_Role_Creation_Multiple],
When a request is prepared with appropriate values,
And the request [contains case-allocator org role as assigner],
And the request [contains fee-paid-medical org role as assignee],
And the request [contains panel-doctor case role assignment],
And it is submitted to call the [Create Role Assignments] operation of [Role Assignments Service],
Then a positive response is received,
And the response has all other details as expected,
And a successful call [to delete role assignments just created above] as in [S-232_DeleteDataForRoleAssignmentsForSSCS_Access].


@S-233
@FeatureToggle(RAS:sscs_wa_1_0=on)
Scenario: must successfully create SSCS CASE role assignment with all mandatory fields
Given a user with [an active IDAM profile with full permissions],
And a user [Befta1 - who is the actor for requested role],
And a successful call [to create org role assignments for actors & requester] as in [S-233_Org_Role_Creation_Multiple],
When a request is prepared with appropriate values,
And the request [contains case-allocator org role as assigner],
And the request [contains fee-paid-disability org role as assignee],
And the request [contains panel-disability case role assignment],
And it is submitted to call the [Create Role Assignments] operation of [Role Assignments Service],
Then a positive response is received,
And the response has all other details as expected,
And a successful call [to delete role assignments just created above] as in [S-232_DeleteDataForRoleAssignmentsForSSCS_Access].

@S-234
@FeatureToggle(RAS:sscs_wa_1_0=on)
Scenario: must successfully create SSCS CASE role assignment with all mandatory fields
Given a user with [an active IDAM profile with full permissions],
And a user [Befta1 - who is the actor for requested role],
And a successful call [to create org role assignments for actors & requester] as in [S-234_Org_Role_Creation_Multiple],
When a request is prepared with appropriate values,
And the request [contains case-allocator org role as assigner],
And the request [contains fee-paid-financial org role as assignee],
And the request [contains panel-financial case role assignment],
And it is submitted to call the [Create Role Assignments] operation of [Role Assignments Service],
Then a positive response is received,
And the response has all other details as expected,
And a successful call [to delete role assignments just created above] as in [S-232_DeleteDataForRoleAssignmentsForSSCS_Access].

@S-235
@FeatureToggle(RAS:sscs_wa_1_0=on)
Scenario: must successfully create SSCS CASE role assignment with all mandatory fields
Given a user with [an active IDAM profile with full permissions],
And a user [Befta1 - who is the actor for requested role],
And a successful call [to create org role assignments for actors & requester] as in [S-235_Org_Role_Creation_Multiple],
When a request is prepared with appropriate values,
And the request [contains case-allocator org role as assigner],
And the request [contains judge org role as assignee],
And the request [contains panel-appraisal-judge case role assignment],
And it is submitted to call the [Create Role Assignments] operation of [Role Assignments Service],
Then a positive response is received,
And the response has all other details as expected,
And a successful call [to delete role assignments just created above] as in [S-232_DeleteDataForRoleAssignmentsForSSCS_Access].

@S-236
@FeatureToggle(RAS:sscs_wa_1_0=on)
Scenario: must successfully create SSCS CASE role assignment with all mandatory fields
Given a user with [an active IDAM profile with full permissions],
And a user [Befta1 - who is the actor for requested role],
And a successful call [to create org role assignments for actors & requester] as in [S-236_Org_Role_Creation_Multiple],
When a request is prepared with appropriate values,
And the request [contains case-allocator org role as assigner],
And the request [contains fee-paid-medical org role as assignee],
And the request [contains panel-appraisal-medical case role assignment],
And it is submitted to call the [Create Role Assignments] operation of [Role Assignments Service],
Then a positive response is received,
And the response has all other details as expected,
And a successful call [to delete role assignments just created above] as in [S-232_DeleteDataForRoleAssignmentsForSSCS_Access].

@S-237
@FeatureToggle(RAS:sscs_wa_1_0=on)
Scenario: must successfully create SSCS CASE role assignment with all mandatory fields
Given a user with [an active IDAM profile with full permissions],
And a user [Befta1 - who is the actor for requested role],
And a successful call [to create org role assignments for actors & requester] as in [S-237_Org_Role_Creation_Multiple],
When a request is prepared with appropriate values,
And the request [contains case-allocator org role as assigner],
And the request [contains judge org role as assignee],
And the request [contains interloc-judge case role assignment],
And it is submitted to call the [Create Role Assignments] operation of [Role Assignments Service],
Then a positive response is received,
And the response has all other details as expected,
And a successful call [to delete role assignments just created above] as in [S-232_DeleteDataForRoleAssignmentsForSSCS_Access].

@S-238
@FeatureToggle(RAS:sscs_wa_1_0=on)
Scenario: must successfully create SSCS CASE role assignment with all mandatory fields
Given a user with [an active IDAM profile with full permissions],
And a user [Befta1 - who is the actor for requested role],
And a successful call [to create org role assignments for actors & requester] as in [S-238_Org_Role_Creation_Multiple],
When a request is prepared with appropriate values,
And the request [contains case-allocator org role as assigner],
And the request [contains case-allocator case role assignment],
And it is submitted to call the [Create Role Assignments] operation of [Role Assignments Service],
Then a positive response is received,
And the response has all other details as expected,
And a successful call [to delete role assignments just created above] as in [S-232_DeleteDataForRoleAssignmentsForSSCS_Access].
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"_guid_": "F-013_Test_Data_Base",
"_extends_": "F-013-Base-Root",
"productName": "Role Assignments Service",
"operationName": "Create Role Assignments",
"specs": [
"an active IDAM profile with full permissions"
],
"method": "POST",
"uri": "am/role-assignments"
}
94 changes: 94 additions & 0 deletions src/functionalTest/resources/features/F-013/S-231.td.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
{
"title": "must successfully create SSCS CASE role assignment with all mandatory fields",
"_guid_": "S-231",
"_extends_": "F-013_Test_Data_Base",
"specs": [
"Befta1 - who is the actor for requested role",
"contains case-allocator org role as assigner",
"contains judge org role as assignee",
"contains hearing-judge case role assignment"
],
"users": {
"invokingUser": {
"username": "TEST_AM_USER6_BEFTA@test.local",
"password": "[[$TEST_AM_USER2_BEFTA_PWD]]"
}
},
"request": {
"body": {
"roleRequest": {
"assignerId": "${[scenarioContext][testData][users][invokingUser][id]}",
"reference": "1607103938250138/hearing-judge/${[scenarioContext][testData][users][invokingUser][id]}",
"process" : "sscs-access",
"replaceExisting" : true
},
"requestedRoles": [
{
"_extends_": "RequestedRole",
"roleType" : "CASE",
"grantType" : "SPECIFIC",
"classification" : "PUBLIC",
"attributes": {
"jurisdiction": "SSCS",
"caseId": "1114567890123457",
"caseType": "Benefit"

},
"roleName": "hearing-judge",
"roleCategory": "JUDICIAL",
"actorId": "${[scenarioContext][testData][users][befta1][id]}",
"beginTime": "${[scenarioContext][customValues][today]}T00:00:00Z",
"endTime": "${[scenarioContext][customValues][tomorrow]}T00:00:00Z",
"readOnly": true,
"notes" : [{
"userId": "${[scenarioContext][testData][users][invokingUser][id]}",
"time": "2022-01-01T00:00Z",
"comment": "Need Access to case number 1607103938250138 for a month"
}]
}
]
}
},
"expectedResponse": {
"_extends_": "Common_201_Response",
"headers": {
"Content-Length": "[[ANYTHING_PRESENT]]",
"Content-Type": "application/json"
},
"body": {
"roleAssignmentResponse": {
"roleRequest": {
"_extends_": "ResponseRoleRequest",
"reference": "${[scenarioContext][testData][request][body][roleRequest][reference]}",
"process" : "${[scenarioContext][testData][request][body][roleRequest][process]}",
"replaceExisting": true
},
"requestedRoles": [
{
"_extends_": "ResponseRequestedRole",
"process" : "sscs-access",
"actorId": "${[scenarioContext][testData][request][body][requestedRoles][0][actorId]}",
"roleName": "${[scenarioContext][testData][request][body][requestedRoles][0][roleName]}",
"roleCategory": "${[scenarioContext][testData][request][body][requestedRoles][0][roleCategory]}",
"roleType": "${[scenarioContext][testData][request][body][requestedRoles][0][roleType]}",
"grantType": "${[scenarioContext][testData][request][body][requestedRoles][0][grantType]}",
"classification" : "${[scenarioContext][testData][request][body][requestedRoles][0][classification]}",
"readOnly": true,
"attributes": {
"caseId": "1114567890123457",
"jurisdiction" : "SSCS",
"caseType" : "Benefit",
"substantive" : "Y"
},
"notes" : [{
"userId": "${[scenarioContext][testData][users][invokingUser][id]}",
"time": "2022-01-01T00:00Z",
"comment": "Need Access to case number 1607103938250138 for a month"
}
]
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"_guid_": "S-231_DeleteDataForRoleAssignmentsForSSCS_Access",
"productName": "Role Assignment SSCS Service",
"operationName": "Delete Role Assignments by Process",
"method": "DELETE",
"uri": "/am/role-assignments?process={process}&reference={reference}",
"specs": [
"to delete role assignments just created above"
],
"users": {
"invokingUser": {
"username": "TEST_AM_USER6_BEFTA@test.local",
"password": "[[$TEST_AM_USER2_BEFTA_PWD]]"
}
},
"request": {
"headers": {
"Authorization": "[[DEFAULT_AUTO_VALUE]]",
"ServiceAuthorization": "[[DEFAULT_AUTO_VALUE]]",
"X-Correlation-ID": "003352d0-e699-48bc-b6f5-5810411e60af"
},
"pathVariables": {
"process": "sscs-access",
"reference": "${[scenarioContext][parentContext][testData][request][body][roleRequest][reference]}"
}
},
"expectedResponse": {
"headers": {
"Content-Length": "[[ANYTHING_PRESENT]]",
"Content-Type": "application/json"
},
"_extends_": "Common_204_Response"
}
}
Loading