luxoft / cordentity-poc-supply-chain Goto Github PK
View Code? Open in Web Editor NEWA proof of concept for cordentity
A proof of concept for cordentity
While we have a license notice in the headers (which is great), we do not provide an actual LICENSE file. We really should do that because that holds all the terms and conditions of usage of the code.
When I follow build instructions in docs/devops/Compose.md
,
I am able to sucessfuly run all steps up to docker-compose up -d notary mfcorda tccorda sacorda
.
After that docker logs -f mfcorda
outputs me an error, from which I assume that the build goes wrong:
docker logs -f mfcorda
______ __
/ ____/ _________/ /___ _
/ / __ / ___/ __ / __ `/ It runs on the JVM because QuickBasic
/ /___ /_/ / / / /_/ / /_/ / is apparently not 'professional' enough.
\____/ /_/ \__,_/\__,_/
--- Corda Open Source 3.1-corda (d193dd8) -----------------------------------------------
Logs can be found in : /opt/corda/logs
Database connection url is : jdbc:h2:tcp://127.0.1.1:46613/node
Advertised P2P messaging addresses : localhost:10001
RPC connection address : localhost:10002
RPC admin connection address : localhost:10003
E 14:06:45+0000 [main] internal.Node.run - Exception during node startup {}
io.netty.channel.unix.Errors$NativeIoException: bind(..) failed: Address already in use
at io.netty.channel.unix.Errors.newIOException(Errors.java:117) ~[netty-all-4.1.9.Final.jar:4.1.9.Final]
at io.netty.channel.unix.Socket.bind(Socket.java:234) ~[netty-all-4.1.9.Final.jar:4.1.9.Final]
at io.netty.channel.epoll.EpollServerSocketChannel.doBind(EpollServerSocketChannel.java:91) ~[netty-all-4.1.9.Final.jar:4.1.9.Final]
at io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:554) ~[netty-all-4.1.9.Final.jar:4.1.9.Final]
at io.netty.channel.DefaultChannelPipeline$HeadContext.bind(DefaultChannelPipeline.java:1258) ~[netty-all-4.1.9.Final.jar:4.1.9.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHandlerContext.java:501) ~[netty-all-4.1.9.Final.jar:4.1.9.Final]
at io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerContext.java:486) ~[netty-all-4.1.9.Final.jar:4.1.9.Final]
at io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:980) ~[netty-all-4.1.9.Final.jar:4.1.9.Final]
at io.netty.channel.AbstractChannel.bind(AbstractChannel.java:250) ~[netty-all-4.1.9.Final.jar:4.1.9.Final]
at io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:365) ~[netty-all-4.1.9.Final.jar:4.1.9.Final]
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163) ~[netty-all-4.1.9.Final.jar:4.1.9.Final]
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:403) ~[netty-all-4.1.9.Final.jar:4.1.9.Final]
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:304) ~[netty-all-4.1.9.Final.jar:4.1.9.Final]
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858) ~[netty-all-4.1.9.Final.jar:4.1.9.Final]
at java.lang.Thread.run(Thread.java:748) ~[?:1.8.0_181]
Hi Team, in docker-compose.yml, there is no SovrinAgent Corda node and web configurations, but in docs/devops/Compose.md, it still has the docker-compose command for sacorda and saweb, so I need to remove them from the command to make compose work.
May I know why SovrinAgent has been removed? If I still would like to get the knowledge about its CorDapp and backend services, where can I get it? Kindly advise.
Thanks
Hi team,
I'm trying to build & run the demo. For the moment I managed to deployed the Android app and the frontend, but I am not pretty sure how to deploy/run the Corda nodes and/or web app services. How can I run those nodes?
Some remaining questions on my sides:
Many thanks for your help and have a great day,
AD
PS: I've managed to run the Corda Nodes by running the runnodes
script in the build/nodes folder
Hi Team, I am using Virtual Box in my Macbook, and Ubuntu 18.04 as the OS, when running the deployJarsToNodes task, there is one error that the "cordentity-cordapp-contracts-states" jar could not be downloaded, read time out. Could you please provide some suggestion how should I fix this issue? Thanks.
Can one fork this to extend this to store one's identity? And how scalable is this platform with respect to the number of patients and nodes?
Nathan Aw
I got the error below when I tried to run Corda nodes.
[ERROR] 09:59:13+0300 [main] internal.NodeStartupLogging. - Exception during node startup: Incompatible schema change detected. Please run schema migration scripts (node with sub-command run-migration-scripts). Reason: Schema-validation: missing table [CredentialDefinitionSchemaV1$PersistentCredentialDefinition]
I guess SQL table xmls are missing. How did you use this library without these xmls?
I am not sure this project is the right place for this issue but Cordentity project is archived now.
Some of the frontend stuff seems to require xterm
for running, ignoring the default terminal settings.
Add an executable file to /bin/xterm
with
#!/bin/bash
x-terminal-emulator "$@"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.