-
Notifications
You must be signed in to change notification settings - Fork 285
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(connector-fabric-socketio): migrate to fabric-all-in-one from fabric14-fabcar-testnet #1754
refactor(connector-fabric-socketio): migrate to fabric-all-in-one from fabric14-fabcar-testnet #1754
Conversation
ba9963e
to
372924c
Compare
Depends on #1696 |
@izuru0 @takeutak @petermetz |
372924c
to
1895afb
Compare
@outSH Are the files in the |
@petermetz No, I described this in README in this dir, I've done some minor changes to access connection info from local directory, also changed formatting a little |
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.
Are the files in the ./tools/docker/fabric-all-in-one/fabcar-cli-1.4/ directory a copy paste of the ones in the fabric samples repo?
@petermetz No, I described this in README in this dir, I've done some minor changes to access connection info from local directory, also changed formatting a little
@outSH Would it make sense to contribute those minor changes back to the fabric sample repo and then use it from there instead?
@outSH Unfortunately the robot only sees this syntax when it's placed in the PR description, not in the comments afterwards. (I edited the PR description just now so that the robot sees it) It's a silly little detail, but actually quite important because the robot keeps us from accidentally merging this PR before the other one (which if we do, the other PR will have to be closed down without being merged) |
Well, hard-coded path could be replaced with argument (or adjustable by env variable), and although it doesn't seem relevant in any way to fabric-samples itself, I think it could pass, but I'll think about it later - right now I'm working on putting cartrade in a container, and will possibly introduce some changes to these scripts in follow-up commit.
Didn't know that, thanks! I will put the dependencies in PR description from now on :) |
1895afb
to
eac8443
Compare
This PR/issue depends on: |
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
…m fabric14-fabcar-testnet Remove obsolete fabric fabric14-fabcar-testnet fabric14-testnet, use only fabric-all-in-one for all purposes for all test / sample app purposes. Add helper scripts from fabric-sample that are used during cartrade setup phase (I've decided it's better to keep them in repo than increasing the size of fabric-all-in-one image). Upgrade of fabcar network (from 1.4.1 to 1.4.8) triggered multiple changes in fabric-socketio validator, since fabcar nodes (peers, orderer) use TLS and require different setup, additionaly done some refactors and fixes in the validator. Update the cartrade and discounted-cartrade sample apps to work with the new setup, refreshed scripts can be used to ease up the setup process. Closes: hyperledger-cacti#1753 Signed-off-by: Michal Bajer <michal.bajer@fujitsu.com>
eac8443
to
b6ae085
Compare
@outSH Sounds good to me, thanks again! |
…srsasign Revert fabric sdk package change from PR hyperledger-cacti#1754 Closes: hyperledger-cacti#1799 Signed-off-by: Michal Bajer <michal.bajer@fujitsu.com>
…srsasign Revert fabric sdk package change from PR hyperledger-cacti#1754 Closes: hyperledger-cacti#1799 Signed-off-by: Michal Bajer <michal.bajer@fujitsu.com>
…srsasign Revert fabric sdk package change from PR hyperledger-cacti#1754 Closes: hyperledger-cacti#1799 Signed-off-by: Michal Bajer <michal.bajer@fujitsu.com>
…srsasign Revert fabric sdk package change from PR hyperledger-cacti#1754 Closes: hyperledger-cacti#1799 Signed-off-by: Michal Bajer <michal.bajer@fujitsu.com>
…srsasign Revert fabric sdk package change from PR hyperledger-cacti#1754 Closes: hyperledger-cacti#1799 Signed-off-by: Michal Bajer <michal.bajer@fujitsu.com>
…srsasign Revert fabric sdk package change from PR hyperledger-cacti#1754 Closes: hyperledger-cacti#1799 Signed-off-by: Michal Bajer <michal.bajer@fujitsu.com>
…srsasign Revert fabric sdk package change from PR hyperledger-cacti#1754 Closes: hyperledger-cacti#1799 Signed-off-by: Michal Bajer <michal.bajer@fujitsu.com>
- Remove obsolete fabric14-fabcar-testnet fabric14-testnet, use only fabric-all-in-one for all purposes for all test / sample app purposes.
- Add helper scripts from fabric-sample that are used during cartrade setup phase (I've decided it's better to keep them in repo than increasing the size of fabric-all-in-one image).
- Upgrade of fabcar network (from 1.4.1 to 1.4.8) triggered multiple changes in fabric-socketio validator, since fabcar nodes (peers, orderer) use TLS and require different setup, additionaly done some refactors and fixes in the validator.
- Update the cartrade and discounted-cartrade sample apps to work with the new setup, refreshed scripts can be used to ease up the setup process.
Closes: #1753
Signed-off-by: Michal Bajer michal.bajer@fujitsu.com
Please note that I'll work on containerizing fabric-socketio validator and cartrade sample, for this reason I didn't put too much effort in documenting changes from this commit (since most of it will change very soon).
Also, docker startup scripts will probably be replaced by sample-specific docker-compose.
Depends on #1696