Skip to content

Commit

Permalink
Merge pull request #28 from AbhiGaddi/beneficiary-schema
Browse files Browse the repository at this point in the history
feat : added invite roles
  • Loading branch information
AbhiGaddi authored Sep 8, 2023
2 parents cf09fc8 + 39147db commit 905d2ca
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
2 changes: 1 addition & 1 deletion java/registry/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ keycloak-config:
client-id: ${keycloak_user_client_id:admin-api}
client-secret: ${keycloak_user_client_secret:0e684921-9dbe-4f8f-896a-27e9449a67bc}
beneficiary:
realm: ${keycloak_beneficiary_realm:Beneficiary}
realm: ${keycloak_beneficiary_realm:beneficiary}
client-id: ${keycloak_beneficiary_client_id:admin-api}
client-secret: ${keycloak_beneficiary_client_secret:0e684921-9dbe-4f8f-896a-27e9449a67bc}

Expand Down
19 changes: 11 additions & 8 deletions java/registry/src/main/resources/public/_schemas/Beneficiary.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@
"name": {
"type": "string"
},
"email": {
"type": "string",
"format": "email"
},
"mobile": {
"type": "string",
"pattern": "^[0-9]{10}$"
},
"email": {
"type": "string",
"format": "email"
},
"insurance_id": {
"type": "string"
},
Expand All @@ -50,12 +50,15 @@
"uniqueIndexFields": [
"mobile"
],
"deleteRoles": [
"anonymous"
],
"systemFields": [
"osCreatedAt",
"osUpdatedAt"
],
"deleteRoles": [
"anonymous"
],
"inviteRoles": [
"anonymous"
]
}
}
}

0 comments on commit 905d2ca

Please sign in to comment.