-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #954 from mohanachandran-s/develop
MOSIP-34827 - Added test cases for L2 flow api's & MOSIP-36488 - Fixed bioAuth failure
- Loading branch information
Showing
8 changed files
with
130 additions
and
13 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -613,4 +613,31 @@ AddIdentity: | |
}' | ||
output: '{ | ||
"status":"ACTIVATED" | ||
}' | ||
|
||
ESignet_AddIdentity_L2_Valid_Parameters_smoke_Pos: | ||
endPoint: /idrepository/v1/identity/ | ||
role: idrepo | ||
restMethod: post | ||
inputTemplate: esignet/AddIdentity/addIdentity_$LANGNUMBER$ | ||
outputTemplate: esignet/AddIdentity/addIdentityResult | ||
input: '{ | ||
"value": "$BIOVALUE$", | ||
"id": "mosip.id.create", | ||
"registrationId": "$RID$", | ||
"biometricReferenceId": "23452353", | ||
"UIN": "$UIN$", | ||
"dateOfBirth": "1992/04/15", | ||
"postalCode": "14022", | ||
"email": "[email protected]", | ||
"phone": "9876543210", | ||
"referenceIdentityNumber": "6789545678878", | ||
"version": "v1", | ||
"introducerRID": "212124324784879", | ||
"introducerUIN": "212124324784879", | ||
"category": "individualBiometrics", | ||
"requesttime": "$TIMESTAMP$" | ||
}' | ||
output: '{ | ||
"status":"ACTIVATED" | ||
}' |
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
63 changes: 63 additions & 0 deletions
63
...st/src/main/resources/esignet/OAuthDetailsRequestV3/OAuthDetailsWithClaimValueRequest.hbs
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,63 @@ | ||
{ | ||
"requestTime": "{{requestTime}}", | ||
"request": { | ||
"clientId": "{{clientId}}", | ||
"scope": "{{scope}}", | ||
"responseType": "{{responseType}}", | ||
"redirectUri": "{{redirectUri}}", | ||
"display": "{{display}}", | ||
"prompt": "{{prompt}}", | ||
"acrValues": "{{acrValues}}", | ||
"claims": { | ||
"userinfo": { | ||
"name": { | ||
"essential": false | ||
}, | ||
"phone_number": { | ||
"essential": true | ||
}, | ||
"verified_claims": [ | ||
{ | ||
"verification": { | ||
"trust_framework": { | ||
"value": ["de_aml", "jp_aml"] | ||
}, | ||
"assurance-level": { | ||
"value": "high" | ||
}, | ||
"time": { | ||
"max_age": 63113852 | ||
}, | ||
"evidence": [ | ||
{"type": { "value": "document" }}, | ||
{"method": { "value": "test" }} | ||
] | ||
}, | ||
"claims": { | ||
"given_name": { | ||
"value":["automation", "test"], | ||
"purpose":"Name given by user", | ||
"essential": true | ||
}, | ||
"name": { | ||
"value": "automation", | ||
"values":["ab","cd"] | ||
}, | ||
"phone_number": { | ||
"value": "1234567890" | ||
}, | ||
"email": { | ||
"essential": true | ||
} | ||
} | ||
} | ||
] | ||
}, | ||
"id_token": {} | ||
}, | ||
"nonce" : "{{nonce}}", | ||
"state" : "{{state}}", | ||
"claimsLocales" : "{{claimsLocales}}", | ||
"uiLocales" : "{{uiLocales}}" | ||
} | ||
} |
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