Skip to content

Commit

Permalink
Merge pull request #1187 from nandhu-kumar/develop
Browse files Browse the repository at this point in the history
MOSIP-28365
  • Loading branch information
lsivanand authored Nov 8, 2023
2 parents d1fef54 + 9960356 commit daf2f93
Show file tree
Hide file tree
Showing 8 changed files with 354 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,38 @@ GenerateLinkCode:
}'
output: '{
}'

ESignet_GenerateLinkCode_Consent_uin_User2_all_Valid_Smoke_sid:
endPoint: /v1/esignet/linked-authorization/link-code
role: resident
checkErrorsOnlyInResponse: true
restMethod: post
validityCheckRequired: true
inputTemplate: esignet/GenerateLinkCode/GenerateLinkCode
outputTemplate: esignet/GenerateLinkCode/GenerateLinkCodeResult
input: '{
"requestTime": "$TIMESTAMP$",
"transactionId": "$ID:OAuthDetailsRequest_LinkAuth_Consent_User2_Uin_Valid_Smoke_sid_transactionId$"
}'
output: '{
}'

ESignet_GenerateLinkCode_Consent_Vid_User2_all_Valid_Smoke_sid:
endPoint: /v1/esignet/linked-authorization/link-code
role: resident
checkErrorsOnlyInResponse: true
restMethod: post
validityCheckRequired: true
inputTemplate: esignet/GenerateLinkCode/GenerateLinkCode
outputTemplate: esignet/GenerateLinkCode/GenerateLinkCodeResult
input: '{
"requestTime": "$TIMESTAMP$",
"transactionId": "$ID:OAuthDetailsRequest_LinkAuth_Consent_User2_Vid_Valid_Smoke_sid_transactionId$"
}'
output: '{
}'

ESignet_GenerateLinkCode_Consent_uin_SameClaim_all_Valid_Smoke_sid:
Expand Down Expand Up @@ -59,6 +91,38 @@ GenerateLinkCode:
}'
output: '{
}'

ESignet_GenerateLinkCode_Consent_uin_SameClaim_NoBinding_all_Valid_Smoke_sid:
endPoint: /v1/esignet/linked-authorization/link-code
role: resident
checkErrorsOnlyInResponse: true
restMethod: post
validityCheckRequired: true
inputTemplate: esignet/GenerateLinkCode/GenerateLinkCode
outputTemplate: esignet/GenerateLinkCode/GenerateLinkCodeResult
input: '{
"requestTime": "$TIMESTAMP$",
"transactionId": "$ID:OAuthDetailsRequest_LinkAuth_Consent_SameClaim_Uin_NoBinding_Valid_Smoke_sid_transactionId$"
}'
output: '{
}'

ESignet_GenerateLinkCode_Consent_Vid_SameClaim_NoBinding_all_Valid_Smoke_sid:
endPoint: /v1/esignet/linked-authorization/link-code
role: resident
checkErrorsOnlyInResponse: true
restMethod: post
validityCheckRequired: true
inputTemplate: esignet/GenerateLinkCode/GenerateLinkCode
outputTemplate: esignet/GenerateLinkCode/GenerateLinkCodeResult
input: '{
"requestTime": "$TIMESTAMP$",
"transactionId": "$ID:OAuthDetailsRequest_LinkAuth_Consent_SameClaim_Uin_NoBinding_Valid_Smoke_sid_transactionId$"
}'
output: '{
}'

ESignet_GenerateLinkCode_Invalid_RequestTime_Neg:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,40 @@ GetLinkStatus:
}'
output: '{
}'

ESignet_GetLinkStatus_Consent_uin_User2_all_Valid_Smoke:
endPoint: /v1/esignet/linked-authorization/link-status
role: resident
checkErrorsOnlyInResponse: true
restMethod: post
validityCheckRequired: true
inputTemplate: esignet/GetLinkStatus/GetLinkStatus
outputTemplate: esignet/GetLinkStatus/GetLinkStatusResult
input: '{
"requestTime": "$TIMESTAMP$",
"transactionId": "$ID:OAuthDetailsRequest_LinkAuth_Consent_User2_Uin_Valid_Smoke_sid_transactionId$",
"linkCode": "$ID:GenerateLinkCode_Consent_uin_User2_all_Valid_Smoke_sid_linkCode$"
}'
output: '{
}'

ESignet_GetLinkStatus_Consent_Vid_User2_all_Valid_Smoke:
endPoint: /v1/esignet/linked-authorization/link-status
role: resident
checkErrorsOnlyInResponse: true
restMethod: post
validityCheckRequired: true
inputTemplate: esignet/GetLinkStatus/GetLinkStatus
outputTemplate: esignet/GetLinkStatus/GetLinkStatusResult
input: '{
"requestTime": "$TIMESTAMP$",
"transactionId": "$ID:OAuthDetailsRequest_LinkAuth_Consent_User2_Vid_Valid_Smoke_sid_transactionId$",
"linkCode": "$ID:GenerateLinkCode_Consent_Vid_User2_all_Valid_Smoke_sid_linkCode$"
}'
output: '{
}'

ESignet_GetLinkStatus_Consent_uin_SameClaim_all_Valid_Smoke:
Expand Down Expand Up @@ -63,6 +97,40 @@ GetLinkStatus:
}'
output: '{
}'

ESignet_GetLinkStatus_Consent_uin_SameClaim_NoBinding_all_Valid_Smoke:
endPoint: /v1/esignet/linked-authorization/link-status
role: resident
checkErrorsOnlyInResponse: true
restMethod: post
validityCheckRequired: true
inputTemplate: esignet/GetLinkStatus/GetLinkStatus
outputTemplate: esignet/GetLinkStatus/GetLinkStatusResult
input: '{
"requestTime": "$TIMESTAMP$",
"transactionId": "$ID:OAuthDetailsRequest_LinkAuth_Consent_SameClaim_Uin_NoBinding_Valid_Smoke_sid_transactionId$",
"linkCode": "$ID:GenerateLinkCode_Consent_uin_SameClaim_NoBinding_all_Valid_Smoke_sid_linkCode$"
}'
output: '{
}'

ESignet_GetLinkStatus_Consent_Vid_SameClaim_NoBinding_all_Valid_Smoke:
endPoint: /v1/esignet/linked-authorization/link-status
role: resident
checkErrorsOnlyInResponse: true
restMethod: post
validityCheckRequired: true
inputTemplate: esignet/GetLinkStatus/GetLinkStatus
outputTemplate: esignet/GetLinkStatus/GetLinkStatusResult
input: '{
"requestTime": "$TIMESTAMP$",
"transactionId": "$ID:OAuthDetailsRequest_LinkAuth_Consent_SameClaim_Vid_NoBinding_Valid_Smoke_sid_transactionId$",
"linkCode": "$ID:GenerateLinkCode_Consent_Vid_SameClaim_NoBinding_all_Valid_Smoke_sid_linkCode$"
}'
output: '{
}'

ESignet_GetLinkStatus_Invalid_RequestTime_Neg:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,38 @@ LinkTransaction:
}'
output: '{
}'

ESignet_LinkTransaction_Consent_uin_User2_all_Valid_Smoke_sid:
endPoint: /v1/esignet/linked-authorization/link-transaction
role: resident
checkErrorsOnlyInResponse: true
restMethod: post
validityCheckRequired: true
inputTemplate: esignet/LinkTransaction/LinkTransaction
outputTemplate: esignet/LinkTransaction/LinkTransactionResult
input: '{
"requestTime": "$TIMESTAMP$",
"linkCode": "$ID:GenerateLinkCode_Consent_uin_User2_all_Valid_Smoke_sid_linkCode$"
}'
output: '{
}'

ESignet_LinkTransaction_Consent_Vid_User2_all_Valid_Smoke_sid:
endPoint: /v1/esignet/linked-authorization/link-transaction
role: resident
checkErrorsOnlyInResponse: true
restMethod: post
validityCheckRequired: true
inputTemplate: esignet/LinkTransaction/LinkTransaction
outputTemplate: esignet/LinkTransaction/LinkTransactionResult
input: '{
"requestTime": "$TIMESTAMP$",
"linkCode": "$ID:GenerateLinkCode_Consent_Vid_User2_all_Valid_Smoke_sid_linkCode$"
}'
output: '{
}'

ESignet_LinkTransaction_Consent_uin_SameClaim_all_Valid_Smoke_sid:
Expand Down Expand Up @@ -59,6 +91,38 @@ LinkTransaction:
}'
output: '{
}'

ESignet_LinkTransaction_Consent_uin_SameClaim_NoBinding_all_Valid_Smoke_sid:
endPoint: /v1/esignet/linked-authorization/link-transaction
role: resident
checkErrorsOnlyInResponse: true
restMethod: post
validityCheckRequired: true
inputTemplate: esignet/LinkTransaction/LinkTransaction
outputTemplate: esignet/LinkTransaction/LinkTransactionResult
input: '{
"requestTime": "$TIMESTAMP$",
"linkCode": "$ID:GenerateLinkCode_Consent_uin_SameClaim_NoBinding_all_Valid_Smoke_sid_linkCode$"
}'
output: '{
}'

ESignet_LinkTransaction_Consent_Vid_SameClaim_NoBinding_all_Valid_Smoke_sid:
endPoint: /v1/esignet/linked-authorization/link-transaction
role: resident
checkErrorsOnlyInResponse: true
restMethod: post
validityCheckRequired: true
inputTemplate: esignet/LinkTransaction/LinkTransaction
outputTemplate: esignet/LinkTransaction/LinkTransactionResult
input: '{
"requestTime": "$TIMESTAMP$",
"linkCode": "$ID:GenerateLinkCode_Consent_Vid_SameClaim_NoBinding_all_Valid_Smoke_sid_linkCode$"
}'
output: '{
}'

ESignet_LinkTransaction_Invalid_RequestTime_Neg:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"requestTime": "{{requestTime}}",
"request": {
"linkedTransactionId": "{{linkTransactionId}}",
"individualId": "{{individualId}}",
"challengeList": [
{
"authFactorType": "{{authFactorType}}",
"challenge": "{{challenge}}",
"format": "{{format}}"
}
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
LinkedAuthenticationWlaNoBinding:
ESignet_LinkedAuthenticationWlaNoBinding_Consent_SameClaim_uin_SCert_all_Valid_Smoke:
endPoint: /v1/esignet/linked-authorization/v2/authenticate
role: resident
checkErrorsOnlyInResponse: true
restMethod: post
validityCheckRequired: true
inputTemplate: esignet/LinkedAuthenticationWlaNoBinding/LinkedAuthenticationWla
outputTemplate: esignet/LinkedConsent/LinkedAuthenticationConsentWla/LinkedAuthenticationConsentWlaResult
input: '{
"requestTime": "$TIMESTAMP$",
"linkTransactionId": "$ID:LinkTransaction_Consent_uin_SameClaim_NoBinding_all_Valid_Smoke_sid_linkTransactionId$",
"individualId": "$ID:AddIdentity_Linked_Consent_smoke_Pos_UIN$",
"authFactorType": "WLA",
"challenge": "$WLATOKENCONSENT$",
"format": "jwt"
}'
output: '{
"consentAction": "NOCAPTURE"
}'

ESignet_LinkedAuthenticationWlaNoBinding_Consent_SameClaim_Vid_SCert_all_Valid_Smoke:
endPoint: /v1/esignet/linked-authorization/v2/authenticate
role: resident
checkErrorsOnlyInResponse: true
restMethod: post
validityCheckRequired: true
inputTemplate: esignet/LinkedAuthenticationWlaNoBinding/LinkedAuthenticationWla
outputTemplate: esignet/LinkedConsent/LinkedAuthenticationConsentWla/LinkedAuthenticationConsentWlaResult
input: '{
"requestTime": "$TIMESTAMP$",
"linkTransactionId": "$ID:LinkTransaction_Consent_Vid_SameClaim_NoBinding_all_Valid_Smoke_sid_linkTransactionId$",
"individualId": "$ID:Generate_Perpetual_VID_Linked_Consent_Valid_Smoke_sid_vid$",
"authFactorType": "WLA",
"challenge": "$WLATOKENCONSENTVID$",
"format": "jwt"
}'
output: '{
"consentAction": "NOCAPTURE"
}'
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
Loading

0 comments on commit daf2f93

Please sign in to comment.