-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CORE-13098 - Merge feature branch back into release branch (#1169)
Merging re-registration feature branch to release.
- Loading branch information
Showing
14 changed files
with
130 additions
and
23 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
23 changes: 23 additions & 0 deletions
23
.../avro/net/corda/data/membership/command/registration/mgm/CheckForPendingRegistration.avsc
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,23 @@ | ||
{ | ||
"type": "record", | ||
"name": "CheckForPendingRegistration", | ||
"namespace": "net.corda.data.membership.command.registration.mgm", | ||
"doc": " Command issued when a member registration request is successfully queued.", | ||
"fields": [ | ||
{ | ||
"name": "mgm", | ||
"doc": "Holding identity of the MGM.", | ||
"type": "net.corda.data.identity.HoldingIdentity" | ||
}, | ||
{ | ||
"name": "member", | ||
"doc": "Holding identity of the registering member as provided during P2P communication. Used to verify the registration request.", | ||
"type": "net.corda.data.identity.HoldingIdentity" | ||
}, | ||
{ | ||
"name": "numberOfRetriesSoFar", | ||
"doc": "The number of times this request failed so far.", | ||
"type": "int" | ||
} | ||
] | ||
} |
28 changes: 28 additions & 0 deletions
28
.../resources/avro/net/corda/data/membership/command/registration/mgm/QueueRegistration.avsc
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,28 @@ | ||
{ | ||
"type": "record", | ||
"name": "QueueRegistration", | ||
"namespace": "net.corda.data.membership.command.registration.mgm", | ||
"doc": " Command issued when a member registration request is received and needs to be processed.", | ||
"fields": [ | ||
{ | ||
"name": "mgm", | ||
"doc": "Holding identity of the target MGM.", | ||
"type": "net.corda.data.identity.HoldingIdentity" | ||
}, | ||
{ | ||
"name": "member", | ||
"doc": "Holding identity of the requesting member.", | ||
"type": "net.corda.data.identity.HoldingIdentity" | ||
}, | ||
{ | ||
"name": "memberRegistrationRequest", | ||
"doc": "The full registration request as received from a registering member.", | ||
"type": "net.corda.data.membership.p2p.MembershipRegistrationRequest" | ||
}, | ||
{ | ||
"name": "numberOfRetriesSoFar", | ||
"doc": "The number of times this request failed so far.", | ||
"type": "int" | ||
} | ||
] | ||
} |
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
20 changes: 20 additions & 0 deletions
20
...chema/src/main/resources/avro/net/corda/data/membership/common/v2/RegistrationStatus.avsc
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,20 @@ | ||
{ | ||
"type": "enum", | ||
"name": "RegistrationStatus", | ||
"namespace": "net.corda.data.membership.common.v2", | ||
"doc": "Registration request status.", | ||
"symbols": [ | ||
"NEW", | ||
"SENT_TO_MGM", | ||
"RECEIVED_BY_MGM", | ||
"STARTED_PROCESSING_BY_MGM", | ||
"PENDING_MEMBER_VERIFICATION", | ||
"PENDING_MANUAL_APPROVAL", | ||
"PENDING_AUTO_APPROVAL", | ||
"DECLINED", | ||
"INVALID", | ||
"FAILED", | ||
"APPROVED" | ||
], | ||
"default": "NEW" | ||
} |
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
21 changes: 21 additions & 0 deletions
21
...ma/src/main/resources/avro/net/corda/data/membership/p2p/v2/SetOwnRegistrationStatus.avsc
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,21 @@ | ||
{ | ||
"type": "record", | ||
"name": "SetOwnRegistrationStatus", | ||
"namespace": "net.corda.data.membership.p2p.v2", | ||
"doc": "Set the member registration status.", | ||
"fields": [ | ||
{ | ||
"name": "registrationId", | ||
"doc": "ID of the registration to set the status.", | ||
"type": { | ||
"type": "string", | ||
"logicalType": "uuid" | ||
} | ||
}, | ||
{ | ||
"name": "newStatus", | ||
"doc": "The new registration status.", | ||
"type": "net.corda.data.membership.common.v2.RegistrationStatus" | ||
} | ||
] | ||
} |
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