-
Notifications
You must be signed in to change notification settings - Fork 287
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
refactor(ledger-connector-corda): add startMonitor features #1610
Comments
Applies to Corda v4.8 |
@petermetz I have some questions regarding corda connector and possible monitoring implementation, could you answer them please?
|
@outSH Sorry for the slow responses.
If the application is designed that way then yes. It is possible to design the application in such a way that the answer is no, but that limits certain options of course.
You could deploy it on a separate network if you wanted to, yes.
The Typescript code is being redone to be the code for Corda v5. You just cannot see this on main yet but there's been a PR open for quite some time that we need to finalize and then merge (and then if you read the code on
If you'd like to, sure thing. Just keep in mind that Kotlin server is for Corda v4 and the Typescript code of the connector is for Corda v5 (in the near future as soon as we can finalize the PR for it) |
@petermetz The PR you have in mind is #1860?
|
Add new endpoints to corda kotlin server used to start and stop monitoring, and get/clean state changes from its internal buffer. Add reactive watchBlocksV1 that polls kotlin server and reports new transactions asynchronously. Add CordaApiClient support to VerifierClient. Add functional test for both monitoring interfaces. Update corda setup in corda-all-in-one to newer version. Closes: hyperledger-cacti#1610 Signed-off-by: Michal Bajer <[email protected]>
Add new endpoints to corda kotlin server used to start and stop monitoring, and get/clean state changes from its internal buffer. Add reactive watchBlocksV1 that polls kotlin server and reports new transactions asynchronously. Add CordaApiClient support to VerifierClient. Add functional test for both monitoring interfaces. Update corda setup in corda-all-in-one to newer version. Closes: hyperledger-cacti#1610 Signed-off-by: Michal Bajer <[email protected]>
Add new endpoints to corda kotlin server used to start and stop monitoring, and get/clean state changes from its internal buffer. Monitoring session is started separately for each client, each client can monitor many corda states. Clients that are not active for specified amount of time are removed. Implementation uses transaction queues that are polled periodically by the client, instead of socketio-based solution because we want to minimize probability of losing a transaction from corda. This can happen when WS connection is disconnected, for instance. With transaction queue on the connector, and explicit get/remove calls from the client, we have greater control over what transactions are delivered to the client code. Also, setting up socketio on spring boot seems overly complicated and would obscurificate the implementation. Add reactive watchBlocksV1 that polls kotlin server and reports new transactions asynchronously. Add CordaApiClient support to VerifierClient. Add functional test for both monitoring interfaces. Update corda setup in corda-all-in-one to newer version. Closes: hyperledger-cacti#1610 Signed-off-by: michal.bajer <[email protected]>
Add new endpoints to corda kotlin server used to start and stop monitoring, and get/clean state changes from its internal buffer. Monitoring session is started separately for each client, each client can monitor many corda states. Clients that are not active for specified amount of time are removed. Implementation uses transaction queues that are polled periodically by the client, instead of socketio-based solution because we want to minimize probability of losing a transaction from corda. This can happen when WS connection is disconnected, for instance. With transaction queue on the connector, and explicit get/remove calls from the client, we have greater control over what transactions are delivered to the client code. Also, setting up socketio on spring boot seems overly complicated and would obscurificate the implementation. Add reactive watchBlocksV1 that polls kotlin server and reports new transactions asynchronously. Add CordaApiClient support to VerifierClient. Add functional test for both monitoring interfaces. Update corda setup in corda-all-in-one to newer version. Closes: hyperledger-cacti#1610 Signed-off-by: michal.bajer <[email protected]>
Add new endpoints to corda kotlin server used to start and stop monitoring, and get/clean state changes from its internal buffer. Monitoring session is started separately for each client, each client can monitor many corda states. Clients that are not active for specified amount of time are removed. Implementation uses transaction queues that are polled periodically by the client, instead of socketio-based solution because we want to minimize probability of losing a transaction from corda. This can happen when WS connection is disconnected, for instance. With transaction queue on the connector, and explicit get/remove calls from the client, we have greater control over what transactions are delivered to the client code. Also, setting up socketio on spring boot seems overly complicated and would obscurificate the implementation. Add reactive watchBlocksV1 that polls kotlin server and reports new transactions asynchronously. Add CordaApiClient support to VerifierClient. Add functional test for both monitoring interfaces. Update corda setup in corda-all-in-one to newer version. Closes: hyperledger-cacti#1610 Signed-off-by: michal.bajer <[email protected]>
Add new endpoints to corda kotlin server used to start and stop monitoring, and get/clean state changes from its internal buffer. Monitoring session is started separately for each client, each client can monitor many corda states. Clients that are not active for specified amount of time are removed. Implementation uses transaction queues that are polled periodically by the client, instead of socketio-based solution because we want to minimize probability of losing a transaction from corda. This can happen when WS connection is disconnected, for instance. With transaction queue on the connector, and explicit get/remove calls from the client, we have greater control over what transactions are delivered to the client code. Also, setting up socketio on spring boot seems overly complicated and would obscurificate the implementation. Add reactive watchBlocksV1 that polls kotlin server and reports new transactions asynchronously. Add CordaApiClient support to VerifierClient. Add functional test for both monitoring interfaces. Update corda setup in corda-all-in-one to newer version. Closes: hyperledger-cacti#1610 Signed-off-by: Michal Bajer <[email protected]>
Add new endpoints to corda kotlin server used to start and stop monitoring, and get/clean state changes from its internal buffer. Monitoring session is started separately for each client, each client can monitor many corda states. Clients that are not active for specified amount of time are removed. Implementation uses transaction queues that are polled periodically by the client, instead of socketio-based solution because we want to minimize probability of losing a transaction from corda. This can happen when WS connection is disconnected, for instance. With transaction queue on the connector, and explicit get/remove calls from the client, we have greater control over what transactions are delivered to the client code. Also, setting up socketio on spring boot seems overly complicated and would obscurificate the implementation. Add reactive watchBlocksV1 that polls kotlin server and reports new transactions asynchronously. Add CordaApiClient support to VerifierClient. Add functional test for both monitoring interfaces. Update corda setup in corda-all-in-one to newer version. Closes: hyperledger-cacti#1610 Signed-off-by: Michal Bajer <[email protected]>
Add new endpoints to corda kotlin server used to start and stop monitoring, and get/clean state changes from its internal buffer. Monitoring session is started separately for each client, each client can monitor many corda states. Clients that are not active for specified amount of time are removed. Implementation uses transaction queues that are polled periodically by the client, instead of socketio-based solution because we want to minimize probability of losing a transaction from corda. This can happen when WS connection is disconnected, for instance. With transaction queue on the connector, and explicit get/remove calls from the client, we have greater control over what transactions are delivered to the client code. Also, setting up socketio on spring boot seems overly complicated and would obscurificate the implementation. Add reactive watchBlocksV1 that polls kotlin server and reports new transactions asynchronously. Add CordaApiClient support to VerifierClient. Add functional test for both monitoring interfaces. Update corda setup in corda-all-in-one to newer version. Closes: hyperledger-cacti#1610 Signed-off-by: Michal Bajer <[email protected]>
Add new endpoints to corda kotlin server used to start and stop monitoring, and get/clean state changes from its internal buffer. Monitoring session is started separately for each client, each client can monitor many corda states. Clients that are not active for specified amount of time are removed. Implementation uses transaction queues that are polled periodically by the client, instead of socketio-based solution because we want to minimize probability of losing a transaction from corda. This can happen when WS connection is disconnected, for instance. With transaction queue on the connector, and explicit get/remove calls from the client, we have greater control over what transactions are delivered to the client code. Also, setting up socketio on spring boot seems overly complicated and would obscurificate the implementation. Add reactive watchBlocksV1 that polls kotlin server and reports new transactions asynchronously. Add CordaApiClient support to VerifierClient. Add functional test for both monitoring interfaces. Update corda setup in corda-all-in-one to newer version. Closes: hyperledger-cacti#1610 Signed-off-by: Michal Bajer <[email protected]>
Add new endpoints to corda kotlin server used to start and stop monitoring, and get/clean state changes from its internal buffer. Monitoring session is started separately for each client, each client can monitor many corda states. Clients that are not active for specified amount of time are removed. Implementation uses transaction queues that are polled periodically by the client, instead of socketio-based solution because we want to minimize probability of losing a transaction from corda. This can happen when WS connection is disconnected, for instance. With transaction queue on the connector, and explicit get/remove calls from the client, we have greater control over what transactions are delivered to the client code. Also, setting up socketio on spring boot seems overly complicated and would obscurificate the implementation. Add reactive watchBlocksV1 that polls kotlin server and reports new transactions asynchronously. Add CordaApiClient support to VerifierClient. Add functional test for both monitoring interfaces. Update corda setup in corda-all-in-one to newer version. Closes: hyperledger-cacti#1610 Signed-off-by: Michal Bajer <[email protected]>
Add new endpoints to corda kotlin server used to start and stop monitoring, and get/clean state changes from its internal buffer. Monitoring session is started separately for each client, each client can monitor many corda states. Clients that are not active for specified amount of time are removed. Implementation uses transaction queues that are polled periodically by the client, instead of socketio-based solution because we want to minimize probability of losing a transaction from corda. This can happen when WS connection is disconnected, for instance. With transaction queue on the connector, and explicit get/remove calls from the client, we have greater control over what transactions are delivered to the client code. Also, setting up socketio on spring boot seems overly complicated and would obscurificate the implementation. Add reactive watchBlocksV1 that polls kotlin server and reports new transactions asynchronously. Add CordaApiClient support to VerifierClient. Add functional test for both monitoring interfaces. Update corda setup in corda-all-in-one to newer version. Closes: #1610 Signed-off-by: Michal Bajer <[email protected]>
Add new endpoints to corda kotlin server used to start and stop monitoring, and get/clean state changes from its internal buffer. Monitoring session is started separately for each client, each client can monitor many corda states. Clients that are not active for specified amount of time are removed. Implementation uses transaction queues that are polled periodically by the client, instead of socketio-based solution because we want to minimize probability of losing a transaction from corda. This can happen when WS connection is disconnected, for instance. With transaction queue on the connector, and explicit get/remove calls from the client, we have greater control over what transactions are delivered to the client code. Also, setting up socketio on spring boot seems overly complicated and would obscurificate the implementation. Add reactive watchBlocksV1 that polls kotlin server and reports new transactions asynchronously. Add CordaApiClient support to VerifierClient. Add functional test for both monitoring interfaces. Update corda setup in corda-all-in-one to newer version. Closes: hyperledger-cacti#1610 Signed-off-by: Michal Bajer <[email protected]>
Add new endpoints to corda kotlin server used to start and stop monitoring, and get/clean state changes from its internal buffer. Monitoring session is started separately for each client, each client can monitor many corda states. Clients that are not active for specified amount of time are removed. Implementation uses transaction queues that are polled periodically by the client, instead of socketio-based solution because we want to minimize probability of losing a transaction from corda. This can happen when WS connection is disconnected, for instance. With transaction queue on the connector, and explicit get/remove calls from the client, we have greater control over what transactions are delivered to the client code. Also, setting up socketio on spring boot seems overly complicated and would obscurificate the implementation. Add reactive watchBlocksV1 that polls kotlin server and reports new transactions asynchronously. Add CordaApiClient support to VerifierClient. Add functional test for both monitoring interfaces. Update corda setup in corda-all-in-one to newer version. Closes: hyperledger-cacti#1610 Signed-off-by: Michal Bajer <[email protected]>
Is your feature request related to a problem? Please describe.
On the current codes, some ledger-connectors (besu, quorum, corda, ...) does not have common API for monitoring block data on connected ledgers.
Corda has no block structure, but if some numbers of transactions are assumed as blocks, this feature can be developed.
This feature was already developed in cmd-socket-server and related ledger-connectors, but in case of merging those codes, we need to enhance the range.
Describe the solution you'd like
Add startMonitor feature to the above ledger-connector
EPIC
#1611
The text was updated successfully, but these errors were encountered: