-
Notifications
You must be signed in to change notification settings - Fork 286
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
feat(connector-corda): support corda 5 RC via TS/HTTP (no JVM) #1480
Comments
@AzaharaC I added more details, let me know if there are any questions and I can add more based on those. |
Hello @petermetz , can you assign me on this one? Thank you. |
@ruzell22 Done, thank you! |
Hi @ruzell22 |
Hello @jagpreetsinghsasan , apologies for not commenting here about the updates.
After the postman testing, we tried disabling the SSL certification verification there and the output was the expected successful start flow. Without it being disabled, the output is "certificate has expired" error. Currently trying to learn how to disable it in the repository in the axios part of the coding for corda v5 and will test it again once it is successful. |
No worries @ruzell22. Thankyou for the update! |
Hello @petermetz and @jagpreetsinghsasan can you assign this to me? We just have some ticket reassignment on our end and I will continue what we have done on this issue. |
Hi @johnhomantaring, any updates on this? (Corda 5 support seems to be the current highest priority task in Cacti) |
Hi @johnhomantaring Corda has now released the general available Corda v5.0 |
Here's the AIO for the latest Corda v5.0: jagpreetsinghsasan@72ef235 |
Thanks for this @jagpreetsinghsasan we also tried to move to Corda v5 because of the latest release but got some issues on postgres this will be a great help on the continuation of testing. |
Even I faced that problem, couldn't solve with any of the prominent dind images out there. So for the time being, I used the host network for the containers to spin up (have added that in the readme). But that's what I will look into, maybe we can tweak the test-network configurations from the CDSE repo before actually spinning up the postgres. |
As of now I am still experiencing issue with the latest AIO using Mac (Intel), it seems that port 8888 is not accessible. On the other hand testing it with the team using Windows works perfectly. Checking if there are some changes we could work on to run it also on Mac. |
@johnhomantaring is the development happening on a public repo? If yes, I can also have a look into it. |
1. Update of Corda Cli from 'Corda V5.0.0.0-devpreview-1.0' to 'Corda V5.0.0.0' 2. Update the test samples from 'corda5-solarsystem-contracts-demo' to 'CSDE-cordapp-template-kotlin' Fixes hyperledger-cacti#1480 Co-authored-by: jagpreetsinghsasan [email protected] Signed-off-by: john.h.o.mantaring <[email protected]>
This is also using your latest changes with R3Corda V5. Already fixed the issue it seems that the firewall for ports on Mac is hindering the exposed ports 8888. I was able to fix the issue by bypassing the firewall docker/for-mac#2670. Not sure if it's because of the limitation of the corporate laptop firewall rules or a Mac firewall issue but changing the proxyport resolves the issue. Also tried using docker:20.10.3-dind and was able to successfully initiate the R3 Corda V5 AIO proceeding with the changes on PluginLedgerConnectorCorda. |
1. Update of Corda Cli from 'Corda V5.0.0.0-devpreview-1.0' to 'Corda V5.0.0.0' 2. Update the test samples from 'corda5-solarsystem-contracts-demo' to 'CSDE-cordapp-template-kotlin' Fixes hyperledger-cacti#1480 Co-authored-by: jagpreetsinghsasan [email protected] Signed-off-by: john.h.o.mantaring <[email protected]>
Hello @jagpreetsinghsasan I am helping on the testing of this issue. |
1. Update of Corda Cli from 'Corda V5.0.0.0-devpreview-1.0' to 'Corda V5.0.0.0' 2. Update the test samples from 'corda5-solarsystem-contracts-demo' to 'CSDE-cordapp-template-kotlin' Fixes hyperledger-cacti#1480 Co-authored-by: jagpreetsinghsasan [email protected] Signed-off-by: john.h.o.mantaring <[email protected]>
Fixes hyperledger-cacti#1480 Signed-off-by: adrian.batuto <[email protected]>
Fixes hyperledger-cacti#1480 Signed-off-by: adrian.batuto <[email protected]>
The ticket is currently blocked by the issue |
Fixes hyperledger-cacti#1480 Signed-off-by: adrian.batuto <[email protected]>
Closing the issue as 5.0 assets are dropped in favour for 5.1 (and tracking it from scratch is easier than to push more time spent in this same long ongoing task) |
Description
packages/cactus-plugin-ledger-connector-corda/src/main-server
packages/cactus-plugin-ledger-connector-corda/src/main/typescript
PluginLedgerConnectorCorda
class which needs the constructor argument (config type) extended with connectivity details about the Corda 5 ledger that it is going to be talking to. Once those connection details are available the connector can instantiate an axios instance and then use that to talk to the ledger the same way that the Corda 5 AIO image's README showcases flow triggering via HTTP from the command line withcurl
.Relevant discussion
Make sure to read this relevant discussion on this PR about where to put the code that uses the new Corda 5 TS/HTTP communication:
#1347
Useful Links
https://docs.r3.com/en/platform/corda/5.0-dev-preview-1.html
https://www.corda.net/blog/corda-5-developer-preview-running-your-first-cordapp/
https://www.corda.net/blog/corda-5-developer-preview-modular-apis/
cc: @elenaizaguirre
The text was updated successfully, but these errors were encountered: