-
Notifications
You must be signed in to change notification settings - Fork 9
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
CORE-17476 Adding Corda worker RPC endpoints to API schema #1276
Conversation
public static final String CRYPTO_WORKER_RPC_ENDPOINT = "worker.rpc.endpoint.crypto"; | ||
public static final String VERIFICATION_WORKER_RPC_ENDPOINT = "worker.rpc.endpoint.verification"; | ||
public static final String UNIQUENESS_WORKER_RPC_ENDPOINT = "worker.rpc.endpoint.uniqueness"; | ||
public static final String PERSISTENCE_WORKER_RPC_ENDPOINT = "worker.rpc.endpoint.persistence"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this really RPC?, would it make sense to call it HTTP directly instead?.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
aea211b
to
745ce7a
Compare
e509339
to
888b48f
Compare
Jenkins build for PR 1276 build 9 Build Successful: |
888b48f
to
fff4e11
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
In a related corda-runtime-os PR (HERE), we're adding a
ClusterIP
load balancer service to each Corda worker which will distribute HTTP calls to various instances of each worker type. The endpoints for these services are then passed into theFlowWorker
startup args in key:value pairs. This PR adds these keys to the API so that we can query the endpoint map passed into theFlowWorker
.PR Building with these changes: https://ci02.dev.r3.com/job/Corda5/job/corda-runtime-os/job/PR-4823/8/