Skip to content
Merged
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
479 commits
Select commit Hold shift + click to select a range
ff9fbdc
Update changelog with version 2.0.0 changes
dzikowski Sep 10, 2024
029148a
created a seperate function for node_version check, also covered all …
Sanket-0510 Apr 10, 2024
ce46355
updated snapshots
Sanket-0510 Sep 10, 2024
8eb427a
updated
Sanket-0510 Sep 10, 2024
e97aa6e
Update changelog: add info about new Fablo Docker image registry
dzikowski Sep 12, 2024
49ea650
Update Fablo Docker image registry to GHCR
dzikowski Sep 12, 2024
254d749
Update Fablo REST version and registry
dzikowski Sep 12, 2024
1c6d758
Update getting Fablo versions
dzikowski Sep 17, 2024
a733c3d
Update snapshots
dzikowski Sep 17, 2024
1f1c2c6
Set Docker registry to ghcr.io/fablo-io/fablo
dzikowski Sep 17, 2024
2bac13a
Update release action
dzikowski Sep 17, 2024
de039b6
Update GHCR credentials
dzikowski Sep 17, 2024
730ef7c
Fix errors when yeoman is printing messages
dzikowski Oct 15, 2024
4527561
Fix import path
dzikowski Oct 15, 2024
a34c529
Update snapshots
dzikowski Oct 15, 2024
74b33ac
Fix linting
dzikowski Oct 15, 2024
48c91f3
version 3 changes initiated
Sanket-0510 Oct 25, 2024
03da1ec
added the tests
Sanket-0510 Oct 25, 2024
a6fff36
added the samples
Sanket-0510 Oct 25, 2024
3931232
updated some conditions
Sanket-0510 Oct 25, 2024
0b88ba7
updated the templates, now version 3 is supported
Sanket-0510 Nov 6, 2024
abb5499
Successfully pass the tests
Sanket-0510 Nov 13, 2024
26ca71c
updated testCases.md
Sanket-0510 Nov 13, 2024
3cdd487
increased the number of instances for the orderers
Sanket-0510 Dec 1, 2024
bcb18eb
minor changes
Sanket-0510 Dec 2, 2024
c3f2eb5
done with initial configuration for BFT, updated the templates for th…
Sanket-0510 Nov 13, 2024
9c999d6
updated the permission
Sanket-0510 Nov 22, 2024
6891165
version 3 completed heading towards adding BFT support
Sanket-0510 Nov 22, 2024
b47dc13
Use proper createChannelAndJoinTls with certs
dzikowski Nov 30, 2024
25f996a
Enable TLS for admin endpoints
dzikowski Nov 30, 2024
d9e0bd3
Reorder and fix docker compose variable for orderer
dzikowski Nov 30, 2024
30904af
Fix identity which remove NOT_FOUND error while fetching the channel
dzikowski Nov 30, 2024
6249af4
Remove unnecessary sleep
dzikowski Nov 30, 2024
aa2873f
Fix docker compose variables for RAFT
dzikowski Nov 30, 2024
1ea6666
Some polishing and cleanup
dzikowski Nov 30, 2024
1f296b5
Update src/setup-docker/templates/fabric-docker/docker-compose.yaml
Sanket-0510 Dec 3, 2024
5daa762
updated the snapshots
Sanket-0510 Dec 3, 2024
e2d7200
changed the log check message in BFT test file
Sanket-0510 Dec 3, 2024
5df5ac8
Update src/setup-docker/index.ts
Sanket-0510 Dec 3, 2024
d36b5b9
minor changes
Sanket-0510 Dec 3, 2024
4e714f9
Update e2e-network/docker/test-05-version3-BFT.sh
Sanket-0510 Dec 3, 2024
b8ce2dc
Update e2e-network/docker/test-05-version3.sh
Sanket-0510 Dec 3, 2024
68b9aeb
minor fixes after the review
Sanket-0510 Dec 3, 2024
1091ba0
updated the snapshots
Sanket-0510 Dec 3, 2024
30efd99
added the tests in the CI pipeline of fablo
Sanket-0510 Dec 4, 2024
7ac89a6
updated testCases.md
Sanket-0510 Dec 4, 2024
58cf5e5
fixes in docker-compose
Sanket-0510 Dec 5, 2024
bd05269
some linting and other fixes
Sanket-0510 Dec 5, 2024
e77befe
updated the workflow file
Sanket-0510 Dec 5, 2024
3f2f23a
final fixes
Sanket-0510 Dec 5, 2024
27224b2
Update snapshot
dzikowski Dec 6, 2024
b9814c8
Adjust versions
dzikowski Dec 6, 2024
99499dc
Update snapshots
dzikowski Dec 6, 2024
c032313
Add explicit fabricToolsVetsion
dzikowski Dec 6, 2024
2c355db
Update Docker commands to use FABRIC_TOOLS_VERSION instead of FABRIC_…
dzikowski Dec 6, 2024
99c3ce8
Update fabricToolsVersion to 3.0.0-beta in configuration snapshots an…
dzikowski Dec 6, 2024
2662b84
Update snapshots
dzikowski Dec 6, 2024
e291799
Validation changes to make explicit Fablo supports Fabric up to 3.0.0…
dzikowski Dec 7, 2024
0ca096a
Update CHANGELOG
dzikowski Dec 7, 2024
cf04d9b
Update snapshots
dzikowski Dec 7, 2024
4c4cfba
Create directory to avoid permission errors
dzikowski Dec 7, 2024
98e9275
Set version 2.1.0
dzikowski Jan 8, 2025
a44ebbe
Add VSC config to gitignore
dzikowski Jan 8, 2025
787b2bb
Bump cross-spawn from 7.0.3 to 7.0.6
dependabot[bot] Nov 18, 2024
e0dba14
Bump ejs and ejs-lint
dependabot[bot] Dec 7, 2024
c0483ba
NPM audit fix
dzikowski Jan 8, 2025
98550db
Added
SRshohan Feb 7, 2025
a9cbac0
Chore: Update MAINTAINERS.md
dzikowski Feb 14, 2025
3f9a5ac
Merge pull request #513 from umegbewe/feat/support-fabric-v3-completion
umegbewe Mar 21, 2025
ef54fc1
bump version 2.2.0
umegbewe Mar 21, 2025
d0c7d37
docs: clarify usage of global vs local fablo installation in README (…
iamkalio Apr 11, 2025
93ddff2
Fix #519: Check if post-generate.sh exists before executing (#521)
VijetaPriya47 Apr 13, 2025
86b3ccf
Updated fablo.sh to check if /hooks/post-generate.sh exists (#526)
debayangg Apr 13, 2025
de25400
feat: support installing chaincode from Docker image using CCAAS
dpereowei May 10, 2025
f62acac
Keep cc container running ang generate dynamic ports
dpereowei Jun 4, 2025
c071869
use lang in type for metadata.json
dpereowei Jun 5, 2025
7ee63ee
use lang in type for metadata.json
dpereowei Jun 5, 2025
8b439de
change fabric version
dpereowei Jun 6, 2025
e7c3d8e
Chaincode install test passed
dpereowei Jun 6, 2025
763bc85
fix-add fallback values for chaincodePackage arguments
dpereowei Jun 6, 2025
2943f6b
Fix tag format for release CI (#504)
dzikowski Apr 28, 2025
72034ab
Implement CCAAS TLS issue preparation and metadata updates
iamkalio Apr 28, 2025
45d5d2c
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
571fa79
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
75b12df
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
8109463
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
0073a4b
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
2d8c1c8
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
7ed0ca9
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
145f88c
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
6e01bc7
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
ca767d0
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
5a500cc
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
ce5e121
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
c8646c1
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
69075f5
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
6af17ce
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
df5b011
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
a6b0949
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
3c769bf
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
102d0ce
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
694c634
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
c889654
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
8e4a90a
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
aa9ed84
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
16d2a5f
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
0c1f80c
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
c61f274
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
bd7e905
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
023218b
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
e5a56d4
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
ae49ebc
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
09087d3
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
1aa5cb8
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
c7fa88f
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
b450252
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
5ac72d2
Implement CCAAS TLS issue preparation and metadata updates
ronaldl29 Apr 30, 2025
d423553
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
f091951
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
8858c44
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
4839308
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
b52fd82
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
d9e4249
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
ba38acd
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
00b7aa6
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
0f54dc2
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
ba15d9a
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
31fd0a2
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
8eb39b1
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
51b7f29
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
4325d2c
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
856825a
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
9af0ae7
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
cebad90
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
79b2b5d
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
1114187
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
6513453
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
010bdda
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
83a4a75
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
32bf139
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
de44c59
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
43485a0
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
2421539
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
691220d
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
3eb0111
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
f640b09
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
36d1bd9
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
33e6ae1
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
b650f08
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
811153c
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
8de917a
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
b32ecf5
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
f5852bd
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
6350ee8
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
18a6a07
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
767e2a1
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
a8ef5c1
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
9a6ad93
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
153d6e5
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
400514d
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
f2321c6
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
e4cf1ef
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
6dad434
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
18ed0e5
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
e8eb537
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
e95c29c
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
6370a8f
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
c540391
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
9236b23
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
64b0b45
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
fdba647
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
6bd5b7e
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
312e88d
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
bec171e
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
4d44e28
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
1cffcf5
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
18c7ff3
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
820442b
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
31903ad
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
d9446f6
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
d9c6b34
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
33e2ea6
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
d7155ff
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
e114ed1
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
1c7d525
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
d847bc3
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
de9a9f3
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
63d57fe
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
a788ba7
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
6c91602
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
7d74f04
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
2435d7c
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
f4ff7fa
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
2e05775
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
d941901
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
ffbf37e
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
e300d13
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
e043306
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
a6e4f2f
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
6a3ab5b
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
54af835
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
bac2888
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
1f4162e
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
c452b00
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
fd609c2
Implement CCAAS TLS issue preparation and metadata updates
dpereowei Jun 20, 2025
af89893
Checkpoint
dzikowski Jul 14, 2025
8f7982f
PoC of CCaaS
dzikowski Jul 14, 2025
38e8be2
PoC (checkpoint working)
dzikowski Jul 14, 2025
94b7c98
Rafactor and use proper ports
dzikowski Jul 14, 2025
8762d83
Fixes for multiple peers
dzikowski Jul 14, 2025
b13027d
Refactoring
dzikowski Jul 14, 2025
237dfb4
added the tests
Sanket-0510 Oct 25, 2024
098cc09
Updated fablo.sh to check if /hooks/post-generate.sh exists (#526)
debayangg Apr 13, 2025
d1855cc
Fix: Missing FABLO_VERSION in publish docker workflow (#556)
dzikowski Jun 9, 2025
d11624a
Coverage tracker document (#557)
dpereowei Jun 16, 2025
d6871b7
Update coverage tracker Snapshot (#564)
OsamaRab3 Jul 7, 2025
da7ba06
Update coverage tracker markdown with network topology tests (#562)
dpereowei Jul 11, 2025
d3ff754
Update coverage for 'Other Features' (#566)
OsamaRab3 Jul 11, 2025
e77a2f6
Update coverage tracker Fablo Commands section (#563)
OsamaRab3 Jul 11, 2025
707e1a5
Pre-review fixes
dzikowski Jul 14, 2025
565605f
ensure read access for generated certs
dzikowski Jul 15, 2025
8da527f
Use chown instead of chmod to handle permission errors
dzikowski Jul 21, 2025
6ff6c3d
Move the chown inside alpine container
dzikowski Jul 21, 2025
bf33501
Update fablo config to use CCaaS and add todos
dzikowski Jul 25, 2025
87e44ee
Fix-ccaas-without-TLS
dpereowei Aug 1, 2025
7cc8f7e
fix-start chaincodes after restore
dpereowei Aug 12, 2025
91524b2
test post-generate hook creation and execution in ci (#580)
OsamaRab3 Jul 21, 2025
b5ffd79
Fix Gradle build for Java chaincode (#583)
OsamaRab3 Jul 21, 2025
8e4f4ac
Generate diagrams by default for each 'generate' command (#584)
OsamaRab3 Jul 21, 2025
e37c5d3
Upgrade Blockchain Explorer (#590)
OsamaRab3 Aug 2, 2025
14bc668
ci: fix test-05-v3 (#591)
umegbewe Aug 11, 2025
c473161
fix-update test suites
dpereowei Aug 12, 2025
3229452
Merge branch 'feat/ccaas' of https://github.com/dpereowei/fablo into …
dpereowei Aug 15, 2025
7885606
fix-DCO error
dpereowei Aug 15, 2025
0b5f54c
Merge branch 'main' into feat/ccaas
dpereowei Aug 18, 2025
b06d3ac
fix-update branch and snapshots
dpereowei Aug 18, 2025
ac2d74b
Merge branch 'main' of https://github.com/hyperledger-labs/fablo into…
dpereowei Aug 21, 2025
1a4eebf
fix-increase instances for fault tolerance warning
dpereowei Aug 21, 2025
a09b426
fix-increase instances for fault tolerance warning
dpereowei Aug 21, 2025
087684f
fix-expected validation count
dpereowei Aug 21, 2025
58ce3e4
fix-shellcheck validation
dpereowei Aug 21, 2025
6133591
fix-wait for container
dpereowei Aug 21, 2025
502116a
fix-endorsement
dpereowei Aug 21, 2025
a31fe41
Merge branch 'main' into feat/ccaas
dpereowei Aug 22, 2025
1c275c9
fix-resolve review comments
dpereowei Aug 22, 2025
0064de5
Merge branch 'main' into feat/ccaas
dpereowei Aug 22, 2025
d76e64f
Merge branch 'feat/ccaas' of https://github.com/dpereowei/fablo into …
dpereowei Aug 22, 2025
ed31207
fix-revert init changes
dpereowei Aug 22, 2025
f8d6057
Update src/validate/index.ts
dpereowei Aug 22, 2025
95e9bf7
fix-update snapshots
dpereowei Aug 22, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/publish-docker-on-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ jobs:
--platform linux/amd64,linux/arm64 \
--tag "ghcr.io/fablo-io/fablo-kv-node-chaincode-sample:$FABLO_VERSION" \
--push \
samples/chaincodes/chaincode-kv-node
samples/chaincodes/chaincode-kv-node
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ node_modules
.idea
.vscode
samples/invalid-fablo-config.json
.DS_Store
.DS_Store
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
[#569](https://github.com/hyperledger-labs/fablo/pull/569)
* Export network topology with Mermaid
[#565](https://github.com/hyperledger-labs/fablo/pull/565)
* Support installing Chaincode from Docker image using CCaaS
[#550](https://github.com/hyperledger-labs/fablo/pull/550)
[#582](https://github.com/hyperledger-labs/fablo/pull/582)

## 2.2.0

Expand Down
2 changes: 1 addition & 1 deletion COVERAGE_TRACKER.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ This document provides an overview of Fablo features. The table below tracks fea
| Node | ✓ | ✓ | | | |
| Go | ✓ | ✓ | | | |
| Java | ✓ | ✓ | | | |
| Chaincode-as-a-Service (CCaaS) | | ✕ | | | |
| Chaincode-as-a-Service (CCaaS) | | ✕ | | [04_v2](/e2e-network/docker/test-04-v2-snapshot.sh) | |
| Endorsement Policies | ✓ | ✓ | | | |
| Multi-org Endorsements | ✓ | ✓ | | | |
| Private Data Collections | ✓ | ✓ | | | |
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ Example:
3. Execute `./fablo prune` to destroy the current network. If the network was present, Fablo would not be able to restore the new one from backup.
4. Execute `./fablo restore /tmp/my-snapshot` to restore the network.
5. Execute `./fablo start` to start the restored network.
6. When running external chaincodes(CCAAS), Execute `./fablo chaincodes install` to start the CCAAS container

Typically, a snapshot of the network with little data will take less than 1 MB, so it is easy to share.

Expand Down
24 changes: 21 additions & 3 deletions docs/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -416,8 +416,20 @@
"name",
"version",
"lang",
"channel",
"directory"
"channel"
],
"allOf": [
{
"if": {
"properties": { "lang": { "const": "ccaas"}}
},
"then": {
"required": [ "image"]
},
"else": {
"required": [ "directory" ]
}
}
],
"properties": {
"name": {
Expand All @@ -439,7 +451,8 @@
"enum": [
"golang",
"java",
"node"
"node",
"ccaas"
]
},
"channel": {
Expand Down Expand Up @@ -478,6 +491,11 @@
"title": "Chaincode directory",
"type": "string"
},
"image": {
"$id": "#/properties/chaincodes/items/properties/image",
"title": "Chaincode image URI",
"type": "string"
},
"privateData": {
"$id": "#/properties/chaincodes/items/properties/privateData",
"title": "Private data collections",
Expand Down
11 changes: 2 additions & 9 deletions e2e-network/docker/test-01-v2-simple.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ trap 'networkDown ; echo "Test failed" ; exit 1' ERR SIGINT
networkUp

waitForContainer "orderer0.group1.orderer.example.com" "Created and started new.*my-channel1"
waitForContainer "ca.org1.example.com" "Listening on http://0.0.0.0:7054"
waitForContainer "ca.org1.example.com" "Listening on https://0.0.0.0:7054"
waitForContainer "peer0.org1.example.com" "Joining gossip network of channel my-channel1 with 1 organizations"
waitForContainer "peer1.org1.example.com" "Joining gossip network of channel my-channel1 with 1 organizations"
waitForContainer "peer0.org1.example.com" "Learning about the configured anchor peers of Org1MSP for channel my-channel1"
Expand Down Expand Up @@ -91,11 +91,4 @@ expectInvoke "peer0.org1.example.com" "my-channel1" "chaincode1" \
'{"Args":["KVContract:put", "name", "James Bond"]}' \
'{\"success\":\"OK\"}'


# Test export-network-topology to Mermaid
cp -f "$FABLO_HOME/samples/fablo-config-hlf2-1org-1chaincode.json" "$TEST_TMP/simple-config.json"
(cd "$TEST_TMP" && "$FABLO_HOME/fablo.sh" export-network-topology simple-config.json simple-network-topology.mmd)
expectCommand "head -n 1 \"$TEST_TMP/simple-network-topology.mmd\"" "graph TD"
expectCommand "cat \"$TEST_TMP/simple-network-topology.mmd\"" "Org_Orderer"
expectCommand "cat \"$TEST_TMP/simple-network-topology.mmd\"" "Org_Org1"
expectCommand "cat \"$TEST_TMP/simple-network-topology.mmd\"" "Channel_my_channel1"
echo "✅ Test passed!"
3 changes: 3 additions & 0 deletions e2e-network/docker/test-04-v2-snapshot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ hook_command="perl -i -pe 's/FABRIC_VERSION=2\.3\.3/FABRIC_VERSION=2\.4\.2/g' ./
"$FABLO_HOME/fablo.sh" prune &&
"$FABLO_HOME/fablo.sh" restore "$snapshot_name" "$hook_command" &&
"$FABLO_HOME/fablo.sh" start
"$FABLO_HOME/fablo.sh" chaincodes install
)

waitForContainer "explorer.example.com" "Successfully created channel event hub for \[my-channel1\]" "200"
Expand All @@ -129,3 +130,5 @@ expectInvokeRest "$fablo_rest_org1 $user_token" "my-channel1" "chaincode1" \
expectInvokeRest "$fablo_rest_org1 $user_token" "my-channel1" "chaincode1" \
"KVContract:getPrivateMessage" '["_implicit_org_Org1MSP"]' \
'{"success":"RHIgVmljdG9yIEZyaWVz"}'

echo "✅ Test passed!"
93 changes: 93 additions & 0 deletions e2e-network/docker/test-05.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
#!/usr/bin/env bash

set -eux

TEST_TMP="$(rm -rf "$0.tmpdir" && mkdir -p "$0.tmpdir" && (cd "$0.tmpdir" && pwd))"
TEST_LOGS="$(mkdir -p "$0.logs" && (cd "$0.logs" && pwd))"
FABLO_HOME="$TEST_TMP/../../.."

CONFIG="$FABLO_HOME/samples/fablo-config-hlf3-1orgs-1chaincode.json"

networkUp() {
"$FABLO_HOME/fablo-build.sh"
(cd "$TEST_TMP" && "$FABLO_HOME/fablo.sh" generate "$CONFIG")
(cd "$TEST_TMP" && "$FABLO_HOME/fablo.sh" up)
}

dumpLogs() {
echo "Saving logs of $1 to $TEST_LOGS/$1.log"
mkdir -p "$TEST_LOGS"
docker logs "$1" >"$TEST_LOGS/$1.log" 2>&1
}

networkDown() {
rm -rf "$TEST_LOGS"
(for name in $(docker ps --format '{{.Names}}'); do dumpLogs "$name"; done)
dumpLogs orderer0.group1.orderer.example.com
(cd "$TEST_TMP" && "$FABLO_HOME/fablo.sh" down)
}

waitForContainer() {
sh "$TEST_TMP/../wait-for-container.sh" "$1" "$2"
}

waitForChaincode() {
(cd "$TEST_TMP" && sh ../wait-for-chaincode.sh "$1" "$2" "$3" "$4")
}

expectInvoke() {
(cd "$TEST_TMP" && sh ../expect-invoke-cli.sh "$1" "$2" "$3" "$4" "$5" "$6")
}

expectCommand() {
sh "$TEST_TMP/../expect-command.sh" "$1" "$2"
}

trap networkDown EXIT
trap 'networkDown ; echo "Test failed" ; exit 1' ERR SIGINT

# start the network
networkUp

waitForContainer "orderer0.group1.orderer.example.com" "Created and started new.*my-channel1"
waitForContainer "ca.org1.example.com" "Listening on http://0.0.0.0:7054"
waitForContainer "peer0.org1.example.com" "Joining gossip network of channel my-channel1 with 1 organizations"
waitForContainer "peer1.org1.example.com" "Joining gossip network of channel my-channel1 with 1 organizations"
waitForContainer "peer0.org1.example.com" "Learning about the configured anchor peers of Org1MSP for channel my-channel1"
waitForContainer "peer0.org1.example.com" "Anchor peer.*with same endpoint, skipping connecting to myself"
waitForContainer "peer0.org1.example.com" "Membership view has changed. peers went online:.*peer1.org1.example.com:7042"
waitForContainer "peer1.org1.example.com" "Learning about the configured anchor peers of Org1MSP for channel my-channel1"
waitForContainer "peer1.org1.example.com" "Membership view has changed. peers went online:.*peer0.org1.example.com:7041"

# Test simple chaincode
expectInvoke "peer0.org1.example.com" "my-channel1" "chaincode1" \
'{"Args":["KVContract:put", "name", "Willy Wonka"]}' \
'{\"success\":\"OK\"}'
expectInvoke "peer1.org1.example.com" "my-channel1" "chaincode1" \
'{"Args":["KVContract:get", "name"]}' \
'{\"success\":\"Willy Wonka\"}'

# Verify channel query scripts
(cd "$TEST_TMP" && "$FABLO_HOME/fablo.sh" channel fetch newest my-channel1 org1 peer1)
expectCommand "cat \"$TEST_TMP/newest.block\"" "KVContract:get"

(cd "$TEST_TMP" && "$FABLO_HOME/fablo.sh" channel fetch 4 my-channel1 org1 peer1 "another.block")
expectCommand "cat \"$TEST_TMP/another.block\"" "KVContract:put"

(cd "$TEST_TMP" && "$FABLO_HOME/fablo.sh" channel fetch config my-channel1 org1 peer1 "channel-config.json")
expectCommand "cat \"$TEST_TMP/channel-config.json\"" "\"mod_policy\": \"Admins\","

expectCommand "(cd \"$TEST_TMP\" && \"$FABLO_HOME/fablo.sh\" channel getinfo my-channel1 org1 peer1)" "\"height\":6"

# Reset and ensure the state is lost after reset
(cd "$TEST_TMP" && "$FABLO_HOME/fablo.sh" reset)
waitForChaincode "peer0.org1.example.com" "my-channel1" "chaincode1" "0.0.1"
waitForChaincode "peer1.org1.example.com" "my-channel1" "chaincode1" "0.0.1"
expectInvoke "peer0.org1.example.com" "my-channel1" "chaincode1" \
'{"Args":["KVContract:get", "name"]}' \
'{\"error\":\"NOT_FOUND\"}'

# Put some data again
expectInvoke "peer0.org1.example.com" "my-channel1" "chaincode1" \
'{"Args":["KVContract:put", "name", "James Bond"]}' \
'{\"success\":\"OK\"}'
Loading
Loading