Skip to content

Commit 3e696c2

Browse files
committed
update snapshots
Signed-off-by: Osama Rabea <osrab3@gmail.com>
1 parent 42b7a1a commit 3e696c2

9 files changed

+798
-17
lines changed

e2e/__snapshots__/extendConfig.test.ts.snap

Lines changed: 683 additions & 0 deletions
Large diffs are not rendered by default.

e2e/__snapshots__/fablo-config-hlf2-1org-1chaincode-raft-explorer.json.test.ts.snap

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,8 @@ exports[`samples/fablo-config-hlf2-1org-1chaincode-raft-explorer.json should cre
373373
"
374374
`;
375375
376+
exports[`samples/fablo-config-hlf2-1org-1chaincode-raft-explorer.json should create proper e2e/__tmp__/samples/fablo-config-hlf2-1org-1chaincode-raft-explorer.json.tmpdir/fablo-target/fabric-config/explorer/.gitkeep from samples/fablo-config-hlf2-1org-1chaincode-raft-explorer.json 1`] = `""`;
377+
376378
exports[`samples/fablo-config-hlf2-1org-1chaincode-raft-explorer.json should create proper e2e/__tmp__/samples/fablo-config-hlf2-1org-1chaincode-raft-explorer.json.tmpdir/fablo-target/fabric-config/explorer/config-global.json from samples/fablo-config-hlf2-1org-1chaincode-raft-explorer.json 1`] = `
377379
"{
378380
"network-configs": {
@@ -1527,7 +1529,7 @@ exports[`samples/fablo-config-hlf2-1org-1chaincode-raft-explorer.json should cre
15271529
"FABLO_VERSION=2.2.0
15281530
FABLO_BUILD=<date with git hash>
15291531
FABLO_REST_VERSION=0.1.2
1530-
HYPERLEDGER_EXPLORER_VERSION=1.1.8
1532+
HYPERLEDGER_EXPLORER_VERSION=2.0.0
15311533
15321534
COUCHDB_VERSION=3.1
15331535
FABRIC_COUCHDB_VERSION=0.4.18
@@ -2119,7 +2121,7 @@ services:
21192121
- basic
21202122
21212123
db.explorer.example.com:
2122-
image: hyperledger/explorer-db:\${HYPERLEDGER_EXPLORER_VERSION}
2124+
image: ghcr.io/hyperledger-labs/explorer-db:\${HYPERLEDGER_EXPLORER_VERSION}
21232125
container_name: db.explorer.example.com
21242126
environment:
21252127
- DATABASE_DATABASE=fabricexplorer
@@ -2136,7 +2138,7 @@ services:
21362138
- basic
21372139
21382140
explorer.example.com:
2139-
image: hyperledger/explorer:\${HYPERLEDGER_EXPLORER_VERSION}
2141+
image: ghcr.io/hyperledger-labs/explorer:\${HYPERLEDGER_EXPLORER_VERSION}
21402142
restart: on-failure:8
21412143
container_name: explorer.example.com
21422144
environment:
@@ -2149,10 +2151,14 @@ services:
21492151
- LOG_LEVEL_CONSOLE=info
21502152
- LOG_CONSOLE_STDOUT=true
21512153
- DISCOVERY_AS_LOCALHOST=false
2154+
- CORE_PEER_TLS_ENABLED=true
2155+
- CORE_PEER_TLS_CERT_FILE=/tmp/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/server.crt
2156+
- CORE_PEER_TLS_KEY_FILE=/tmp/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/server.key
2157+
- CORE_PEER_TLS_ROOTCERT_FILE=/tmp/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt
21522158
volumes:
2153-
- ../fabric-config/explorer/config-global.json:/opt/explorer/app/platform/fabric/config.json
2154-
- ../fabric-config/explorer:/opt/explorer/app/platform/fabric/connection-profile
2155-
- ../fabric-config/crypto-config:/tmp/crypto
2159+
- ../fabric-config/explorer/config.json:/opt/explorer/app/platform/fabric/config.json:ro
2160+
- ../fabric-config/explorer/connection-profile.json:/opt/explorer/app/platform/fabric/connection-profile/connection-profile.json:ro
2161+
- ../fabric-config/crypto-config:/tmp/crypto:ro
21562162
ports:
21572163
- "7010:8080"
21582164
depends_on:
@@ -3288,6 +3294,7 @@ exports[`samples/fablo-config-hlf2-1org-1chaincode-raft-explorer.json should cre
32883294
"e2e/__tmp__/samples/fablo-config-hlf2-1org-1chaincode-raft-explorer.json.tmpdir/fablo-target/fabric-config/connection-profiles/connection-profile-org1.yaml",
32893295
"e2e/__tmp__/samples/fablo-config-hlf2-1org-1chaincode-raft-explorer.json.tmpdir/fablo-target/fabric-config/crypto-config-orderer.yaml",
32903296
"e2e/__tmp__/samples/fablo-config-hlf2-1org-1chaincode-raft-explorer.json.tmpdir/fablo-target/fabric-config/crypto-config-org1.yaml",
3297+
"e2e/__tmp__/samples/fablo-config-hlf2-1org-1chaincode-raft-explorer.json.tmpdir/fablo-target/fabric-config/explorer/.gitkeep",
32913298
"e2e/__tmp__/samples/fablo-config-hlf2-1org-1chaincode-raft-explorer.json.tmpdir/fablo-target/fabric-config/explorer/config-global.json",
32923299
"e2e/__tmp__/samples/fablo-config-hlf2-1org-1chaincode-raft-explorer.json.tmpdir/fablo-target/fabric-config/explorer/config-org1.json",
32933300
"e2e/__tmp__/samples/fablo-config-hlf2-1org-1chaincode-raft-explorer.json.tmpdir/fablo-target/fabric-config/explorer/connection-profile-org1.json",

e2e/__snapshots__/fablo-config-hlf2-1org-1chaincode.json.test.ts.snap

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,8 @@ exports[`samples/fablo-config-hlf2-1org-1chaincode.json should create proper e2e
350350
"
351351
`;
352352
353+
exports[`samples/fablo-config-hlf2-1org-1chaincode.json should create proper e2e/__tmp__/samples/fablo-config-hlf2-1org-1chaincode.json.tmpdir/fablo-target/fabric-config/explorer/.gitkeep from samples/fablo-config-hlf2-1org-1chaincode.json 1`] = `""`;
354+
353355
exports[`samples/fablo-config-hlf2-1org-1chaincode.json should create proper e2e/__tmp__/samples/fablo-config-hlf2-1org-1chaincode.json.tmpdir/fablo-target/fabric-config/explorer/config-global.json from samples/fablo-config-hlf2-1org-1chaincode.json 1`] = `
354356
"{
355357
"network-configs": {
@@ -1438,7 +1440,7 @@ exports[`samples/fablo-config-hlf2-1org-1chaincode.json should create proper e2e
14381440
"FABLO_VERSION=2.2.0
14391441
FABLO_BUILD=<date with git hash>
14401442
FABLO_REST_VERSION=0.1.2
1441-
HYPERLEDGER_EXPLORER_VERSION=1.1.8
1443+
HYPERLEDGER_EXPLORER_VERSION=2.0.0
14421444
14431445
COUCHDB_VERSION=3.1
14441446
FABRIC_COUCHDB_VERSION=0.4.18
@@ -3156,6 +3158,7 @@ exports[`samples/fablo-config-hlf2-1org-1chaincode.json should create proper fil
31563158
"e2e/__tmp__/samples/fablo-config-hlf2-1org-1chaincode.json.tmpdir/fablo-target/fabric-config/connection-profiles/connection-profile-org1.yaml",
31573159
"e2e/__tmp__/samples/fablo-config-hlf2-1org-1chaincode.json.tmpdir/fablo-target/fabric-config/crypto-config-orderer.yaml",
31583160
"e2e/__tmp__/samples/fablo-config-hlf2-1org-1chaincode.json.tmpdir/fablo-target/fabric-config/crypto-config-org1.yaml",
3161+
"e2e/__tmp__/samples/fablo-config-hlf2-1org-1chaincode.json.tmpdir/fablo-target/fabric-config/explorer/.gitkeep",
31593162
"e2e/__tmp__/samples/fablo-config-hlf2-1org-1chaincode.json.tmpdir/fablo-target/fabric-config/explorer/config-global.json",
31603163
"e2e/__tmp__/samples/fablo-config-hlf2-1org-1chaincode.json.tmpdir/fablo-target/fabric-config/fabric-ca-server-config/orderer.example.com/fabric-ca-server-config.yaml",
31613164
"e2e/__tmp__/samples/fablo-config-hlf2-1org-1chaincode.json.tmpdir/fablo-target/fabric-config/fabric-ca-server-config/org1.example.com/fabric-ca-server-config.yaml",

e2e/__snapshots__/fablo-config-hlf2-2orgs-2chaincodes-private-data.yaml.test.ts.snap

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,6 +506,8 @@ exports[`samples/fablo-config-hlf2-2orgs-2chaincodes-private-data.yaml should cr
506506
"
507507
`;
508508
509+
exports[`samples/fablo-config-hlf2-2orgs-2chaincodes-private-data.yaml should create proper e2e/__tmp__/samples/fablo-config-hlf2-2orgs-2chaincodes-private-data.yaml.tmpdir/fablo-target/fabric-config/explorer/.gitkeep from samples/fablo-config-hlf2-2orgs-2chaincodes-private-data.yaml 1`] = `""`;
510+
509511
exports[`samples/fablo-config-hlf2-2orgs-2chaincodes-private-data.yaml should create proper e2e/__tmp__/samples/fablo-config-hlf2-2orgs-2chaincodes-private-data.yaml.tmpdir/fablo-target/fabric-config/explorer/config-global.json from samples/fablo-config-hlf2-2orgs-2chaincodes-private-data.yaml 1`] = `
510512
"{
511513
"network-configs": {
@@ -2099,7 +2101,7 @@ exports[`samples/fablo-config-hlf2-2orgs-2chaincodes-private-data.yaml should cr
20992101
"FABLO_VERSION=2.2.0
21002102
FABLO_BUILD=<date with git hash>
21012103
FABLO_REST_VERSION=0.1.2
2102-
HYPERLEDGER_EXPLORER_VERSION=1.1.8
2104+
HYPERLEDGER_EXPLORER_VERSION=2.0.0
21032105
21042106
COUCHDB_VERSION=3.1
21052107
FABRIC_COUCHDB_VERSION=0.4.18
@@ -4089,6 +4091,7 @@ exports[`samples/fablo-config-hlf2-2orgs-2chaincodes-private-data.yaml should cr
40894091
"e2e/__tmp__/samples/fablo-config-hlf2-2orgs-2chaincodes-private-data.yaml.tmpdir/fablo-target/fabric-config/crypto-config-orderer.yaml",
40904092
"e2e/__tmp__/samples/fablo-config-hlf2-2orgs-2chaincodes-private-data.yaml.tmpdir/fablo-target/fabric-config/crypto-config-org1.yaml",
40914093
"e2e/__tmp__/samples/fablo-config-hlf2-2orgs-2chaincodes-private-data.yaml.tmpdir/fablo-target/fabric-config/crypto-config-org2.yaml",
4094+
"e2e/__tmp__/samples/fablo-config-hlf2-2orgs-2chaincodes-private-data.yaml.tmpdir/fablo-target/fabric-config/explorer/.gitkeep",
40924095
"e2e/__tmp__/samples/fablo-config-hlf2-2orgs-2chaincodes-private-data.yaml.tmpdir/fablo-target/fabric-config/explorer/config-global.json",
40934096
"e2e/__tmp__/samples/fablo-config-hlf2-2orgs-2chaincodes-private-data.yaml.tmpdir/fablo-target/fabric-config/fabric-ca-server-config/orderer.example.com/fabric-ca-server-config.yaml",
40944097
"e2e/__tmp__/samples/fablo-config-hlf2-2orgs-2chaincodes-private-data.yaml.tmpdir/fablo-target/fabric-config/fabric-ca-server-config/org1.example.com/fabric-ca-server-config.yaml",

e2e/__snapshots__/fablo-config-hlf2-2orgs-2chaincodes-raft.yaml.test.ts.snap

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -928,6 +928,8 @@ exports[`samples/fablo-config-hlf2-2orgs-2chaincodes-raft.yaml should create pro
928928
"
929929
`;
930930
931+
exports[`samples/fablo-config-hlf2-2orgs-2chaincodes-raft.yaml should create proper e2e/__tmp__/samples/fablo-config-hlf2-2orgs-2chaincodes-raft.yaml.tmpdir/fablo-target/fabric-config/explorer/.gitkeep from samples/fablo-config-hlf2-2orgs-2chaincodes-raft.yaml 1`] = `""`;
932+
931933
exports[`samples/fablo-config-hlf2-2orgs-2chaincodes-raft.yaml should create proper e2e/__tmp__/samples/fablo-config-hlf2-2orgs-2chaincodes-raft.yaml.tmpdir/fablo-target/fabric-config/explorer/config-global.json from samples/fablo-config-hlf2-2orgs-2chaincodes-raft.yaml 1`] = `
932934
"{
933935
"network-configs": {
@@ -3022,7 +3024,7 @@ exports[`samples/fablo-config-hlf2-2orgs-2chaincodes-raft.yaml should create pro
30223024
"FABLO_VERSION=2.2.0
30233025
FABLO_BUILD=<date with git hash>
30243026
FABLO_REST_VERSION=0.1.2
3025-
HYPERLEDGER_EXPLORER_VERSION=1.1.8
3027+
HYPERLEDGER_EXPLORER_VERSION=2.0.0
30263028
30273029
COUCHDB_VERSION=3.1
30283030
FABRIC_COUCHDB_VERSION=0.4.18
@@ -5498,6 +5500,7 @@ exports[`samples/fablo-config-hlf2-2orgs-2chaincodes-raft.yaml should create pro
54985500
"e2e/__tmp__/samples/fablo-config-hlf2-2orgs-2chaincodes-raft.yaml.tmpdir/fablo-target/fabric-config/crypto-config-orderer2.yaml",
54995501
"e2e/__tmp__/samples/fablo-config-hlf2-2orgs-2chaincodes-raft.yaml.tmpdir/fablo-target/fabric-config/crypto-config-org1.yaml",
55005502
"e2e/__tmp__/samples/fablo-config-hlf2-2orgs-2chaincodes-raft.yaml.tmpdir/fablo-target/fabric-config/crypto-config-org2.yaml",
5503+
"e2e/__tmp__/samples/fablo-config-hlf2-2orgs-2chaincodes-raft.yaml.tmpdir/fablo-target/fabric-config/explorer/.gitkeep",
55015504
"e2e/__tmp__/samples/fablo-config-hlf2-2orgs-2chaincodes-raft.yaml.tmpdir/fablo-target/fabric-config/explorer/config-global.json",
55025505
"e2e/__tmp__/samples/fablo-config-hlf2-2orgs-2chaincodes-raft.yaml.tmpdir/fablo-target/fabric-config/fabric-ca-server-config/orderer1.com/fabric-ca-server-config.yaml",
55035506
"e2e/__tmp__/samples/fablo-config-hlf2-2orgs-2chaincodes-raft.yaml.tmpdir/fablo-target/fabric-config/fabric-ca-server-config/orderer2.com/fabric-ca-server-config.yaml",

e2e/__snapshots__/fablo-config-hlf2-3orgs-1chaincode-raft-explorer.json.test.ts.snap

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1071,6 +1071,8 @@ exports[`samples/fablo-config-hlf2-3orgs-1chaincode-raft-explorer.json should cr
10711071
"
10721072
`;
10731073
1074+
exports[`samples/fablo-config-hlf2-3orgs-1chaincode-raft-explorer.json should create proper e2e/__tmp__/samples/fablo-config-hlf2-3orgs-1chaincode-raft-explorer.json.tmpdir/fablo-target/fabric-config/explorer/.gitkeep from samples/fablo-config-hlf2-3orgs-1chaincode-raft-explorer.json 1`] = `""`;
1075+
10741076
exports[`samples/fablo-config-hlf2-3orgs-1chaincode-raft-explorer.json should create proper e2e/__tmp__/samples/fablo-config-hlf2-3orgs-1chaincode-raft-explorer.json.tmpdir/fablo-target/fabric-config/explorer/config-global.json from samples/fablo-config-hlf2-3orgs-1chaincode-raft-explorer.json 1`] = `
10751077
"{
10761078
"network-configs": {
@@ -3317,7 +3319,7 @@ exports[`samples/fablo-config-hlf2-3orgs-1chaincode-raft-explorer.json should cr
33173319
"FABLO_VERSION=2.2.0
33183320
FABLO_BUILD=<date with git hash>
33193321
FABLO_REST_VERSION=0.1.2
3320-
HYPERLEDGER_EXPLORER_VERSION=1.1.8
3322+
HYPERLEDGER_EXPLORER_VERSION=2.0.0
33213323
33223324
COUCHDB_VERSION=3.1
33233325
FABRIC_COUCHDB_VERSION=0.4.18
@@ -4823,7 +4825,7 @@ services:
48234825
- basic
48244826
48254827
db.explorer.example.com:
4826-
image: hyperledger/explorer-db:\${HYPERLEDGER_EXPLORER_VERSION}
4828+
image: ghcr.io/hyperledger-labs/explorer-db:\${HYPERLEDGER_EXPLORER_VERSION}
48274829
container_name: db.explorer.example.com
48284830
environment:
48294831
- DATABASE_DATABASE=fabricexplorer
@@ -4840,7 +4842,7 @@ services:
48404842
- basic
48414843
48424844
explorer.example.com:
4843-
image: hyperledger/explorer:\${HYPERLEDGER_EXPLORER_VERSION}
4845+
image: ghcr.io/hyperledger-labs/explorer:\${HYPERLEDGER_EXPLORER_VERSION}
48444846
restart: on-failure:8
48454847
container_name: explorer.example.com
48464848
environment:
@@ -4853,10 +4855,14 @@ services:
48534855
- LOG_LEVEL_CONSOLE=info
48544856
- LOG_CONSOLE_STDOUT=true
48554857
- DISCOVERY_AS_LOCALHOST=false
4858+
- CORE_PEER_TLS_ENABLED=true
4859+
- CORE_PEER_TLS_CERT_FILE=/tmp/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/server.crt
4860+
- CORE_PEER_TLS_KEY_FILE=/tmp/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/server.key
4861+
- CORE_PEER_TLS_ROOTCERT_FILE=/tmp/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt
48564862
volumes:
4857-
- ../fabric-config/explorer/config-global.json:/opt/explorer/app/platform/fabric/config.json
4858-
- ../fabric-config/explorer:/opt/explorer/app/platform/fabric/connection-profile
4859-
- ../fabric-config/crypto-config:/tmp/crypto
4863+
- ../fabric-config/explorer/config.json:/opt/explorer/app/platform/fabric/config.json:ro
4864+
- ../fabric-config/explorer/connection-profile.json:/opt/explorer/app/platform/fabric/connection-profile/connection-profile.json:ro
4865+
- ../fabric-config/crypto-config:/tmp/crypto:ro
48604866
ports:
48614867
- "7010:8080"
48624868
depends_on:
@@ -6010,6 +6016,7 @@ exports[`samples/fablo-config-hlf2-3orgs-1chaincode-raft-explorer.json should cr
60106016
"e2e/__tmp__/samples/fablo-config-hlf2-3orgs-1chaincode-raft-explorer.json.tmpdir/fablo-target/fabric-config/crypto-config-org1.yaml",
60116017
"e2e/__tmp__/samples/fablo-config-hlf2-3orgs-1chaincode-raft-explorer.json.tmpdir/fablo-target/fabric-config/crypto-config-org2.yaml",
60126018
"e2e/__tmp__/samples/fablo-config-hlf2-3orgs-1chaincode-raft-explorer.json.tmpdir/fablo-target/fabric-config/crypto-config-org3.yaml",
6019+
"e2e/__tmp__/samples/fablo-config-hlf2-3orgs-1chaincode-raft-explorer.json.tmpdir/fablo-target/fabric-config/explorer/.gitkeep",
60136020
"e2e/__tmp__/samples/fablo-config-hlf2-3orgs-1chaincode-raft-explorer.json.tmpdir/fablo-target/fabric-config/explorer/config-global.json",
60146021
"e2e/__tmp__/samples/fablo-config-hlf2-3orgs-1chaincode-raft-explorer.json.tmpdir/fablo-target/fabric-config/explorer/config-org1.json",
60156022
"e2e/__tmp__/samples/fablo-config-hlf2-3orgs-1chaincode-raft-explorer.json.tmpdir/fablo-target/fabric-config/explorer/config-org2.json",

e2e/__snapshots__/fablo-config-hlf3-1orgs-1chaincode.json.test.ts.snap

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,8 @@ exports[`samples/fablo-config-hlf3-1orgs-1chaincode.json should create proper e2
426426
"
427427
`;
428428
429+
exports[`samples/fablo-config-hlf3-1orgs-1chaincode.json should create proper e2e/__tmp__/samples/fablo-config-hlf3-1orgs-1chaincode.json.tmpdir/fablo-target/fabric-config/explorer/.gitkeep from samples/fablo-config-hlf3-1orgs-1chaincode.json 1`] = `""`;
430+
429431
exports[`samples/fablo-config-hlf3-1orgs-1chaincode.json should create proper e2e/__tmp__/samples/fablo-config-hlf3-1orgs-1chaincode.json.tmpdir/fablo-target/fabric-config/explorer/config-global.json from samples/fablo-config-hlf3-1orgs-1chaincode.json 1`] = `
430432
"{
431433
"network-configs": {
@@ -1514,7 +1516,7 @@ exports[`samples/fablo-config-hlf3-1orgs-1chaincode.json should create proper e2
15141516
"FABLO_VERSION=2.2.0
15151517
FABLO_BUILD=<date with git hash>
15161518
FABLO_REST_VERSION=0.1.2
1517-
HYPERLEDGER_EXPLORER_VERSION=1.1.8
1519+
HYPERLEDGER_EXPLORER_VERSION=2.0.0
15181520
15191521
COUCHDB_VERSION=3.1
15201522
FABRIC_COUCHDB_VERSION=0.4.18
@@ -3406,6 +3408,7 @@ exports[`samples/fablo-config-hlf3-1orgs-1chaincode.json should create proper fi
34063408
"e2e/__tmp__/samples/fablo-config-hlf3-1orgs-1chaincode.json.tmpdir/fablo-target/fabric-config/connection-profiles/connection-profile-org1.yaml",
34073409
"e2e/__tmp__/samples/fablo-config-hlf3-1orgs-1chaincode.json.tmpdir/fablo-target/fabric-config/crypto-config-orderer.yaml",
34083410
"e2e/__tmp__/samples/fablo-config-hlf3-1orgs-1chaincode.json.tmpdir/fablo-target/fabric-config/crypto-config-org1.yaml",
3411+
"e2e/__tmp__/samples/fablo-config-hlf3-1orgs-1chaincode.json.tmpdir/fablo-target/fabric-config/explorer/.gitkeep",
34093412
"e2e/__tmp__/samples/fablo-config-hlf3-1orgs-1chaincode.json.tmpdir/fablo-target/fabric-config/explorer/config-global.json",
34103413
"e2e/__tmp__/samples/fablo-config-hlf3-1orgs-1chaincode.json.tmpdir/fablo-target/fabric-config/fabric-ca-server-config/orderer.example.com/fabric-ca-server-config.yaml",
34113414
"e2e/__tmp__/samples/fablo-config-hlf3-1orgs-1chaincode.json.tmpdir/fablo-target/fabric-config/fabric-ca-server-config/org1.example.com/fabric-ca-server-config.yaml",

e2e/__snapshots__/fablo-config-hlf3-bft-1orgs-1chaincode.json.test.ts.snap

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,6 +451,8 @@ exports[`samples/fablo-config-hlf3-bft-1orgs-1chaincode.json should create prope
451451
"
452452
`;
453453
454+
exports[`samples/fablo-config-hlf3-bft-1orgs-1chaincode.json should create proper e2e/__tmp__/samples/fablo-config-hlf3-bft-1orgs-1chaincode.json.tmpdir/fablo-target/fabric-config/explorer/.gitkeep from samples/fablo-config-hlf3-bft-1orgs-1chaincode.json 1`] = `""`;
455+
454456
exports[`samples/fablo-config-hlf3-bft-1orgs-1chaincode.json should create proper e2e/__tmp__/samples/fablo-config-hlf3-bft-1orgs-1chaincode.json.tmpdir/fablo-target/fabric-config/explorer/config-global.json from samples/fablo-config-hlf3-bft-1orgs-1chaincode.json 1`] = `
455457
"{
456458
"network-configs": {
@@ -1539,7 +1541,7 @@ exports[`samples/fablo-config-hlf3-bft-1orgs-1chaincode.json should create prope
15391541
"FABLO_VERSION=2.2.0
15401542
FABLO_BUILD=<date with git hash>
15411543
FABLO_REST_VERSION=0.1.2
1542-
HYPERLEDGER_EXPLORER_VERSION=1.1.8
1544+
HYPERLEDGER_EXPLORER_VERSION=2.0.0
15431545
15441546
COUCHDB_VERSION=3.1
15451547
FABRIC_COUCHDB_VERSION=0.4.18
@@ -3430,6 +3432,7 @@ exports[`samples/fablo-config-hlf3-bft-1orgs-1chaincode.json should create prope
34303432
"e2e/__tmp__/samples/fablo-config-hlf3-bft-1orgs-1chaincode.json.tmpdir/fablo-target/fabric-config/connection-profiles/connection-profile-org1.yaml",
34313433
"e2e/__tmp__/samples/fablo-config-hlf3-bft-1orgs-1chaincode.json.tmpdir/fablo-target/fabric-config/crypto-config-orderer.yaml",
34323434
"e2e/__tmp__/samples/fablo-config-hlf3-bft-1orgs-1chaincode.json.tmpdir/fablo-target/fabric-config/crypto-config-org1.yaml",
3435+
"e2e/__tmp__/samples/fablo-config-hlf3-bft-1orgs-1chaincode.json.tmpdir/fablo-target/fabric-config/explorer/.gitkeep",
34333436
"e2e/__tmp__/samples/fablo-config-hlf3-bft-1orgs-1chaincode.json.tmpdir/fablo-target/fabric-config/explorer/config-global.json",
34343437
"e2e/__tmp__/samples/fablo-config-hlf3-bft-1orgs-1chaincode.json.tmpdir/fablo-target/fabric-config/fabric-ca-server-config/orderer.example.com/fabric-ca-server-config.yaml",
34353438
"e2e/__tmp__/samples/fablo-config-hlf3-bft-1orgs-1chaincode.json.tmpdir/fablo-target/fabric-config/fabric-ca-server-config/org1.example.com/fabric-ca-server-config.yaml",

fablo-config.json

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
{
2+
"$schema": "https://github.com/hyperledger-labs/fablo/releases/download/2.2.0/schema.json",
3+
"global": {
4+
"fabricVersion": "2.3.2",
5+
"tls": false,
6+
"peerDevMode": true
7+
},
8+
"orgs": [
9+
{
10+
"organization": {
11+
"name": "Orderer",
12+
"mspName": "OrdererMSP",
13+
"domain": "root.com"
14+
},
15+
"orderers": [
16+
{
17+
"groupName": "group1",
18+
"prefix": "orderer",
19+
"type": "solo",
20+
"instances": 1
21+
}
22+
]
23+
},
24+
{
25+
"organization": {
26+
"name": "Org1",
27+
"mspName": "Org1MSP",
28+
"domain": "org1.example.com"
29+
},
30+
"ca": {
31+
"prefix": "ca"
32+
},
33+
"peer": {
34+
"prefix": "peer",
35+
"instances": 1,
36+
"db": "LevelDb",
37+
"image": "./docker/peer",
38+
"chaincode": {
39+
"builder": "hyperledger/fabric-ccenv:2.3.2",
40+
"golang": {
41+
"runtime": "2.3.2"
42+
}
43+
}
44+
}
45+
}
46+
],
47+
"channels": [
48+
{
49+
"name": "mychannel",
50+
"orgs": [
51+
{
52+
"name": "Org1",
53+
"policy": {
54+
"endorsement": "1 of 1"
55+
}
56+
}
57+
]
58+
}
59+
],
60+
"chaincodes": [
61+
{
62+
"name": "simple-asset",
63+
"version": "1.0",
64+
"lang": "java",
65+
"channel": "mychannel",
66+
"directory": "./samples/java-chaincode"
67+
}
68+
]
69+
}

0 commit comments

Comments
 (0)