Skip to content

Commit c6ef609

Browse files
committed
update snaps
Signed-off-by: OsamaRab3 <osrab3@gmail.com>
1 parent 06134e2 commit c6ef609

8 files changed

+70
-1318
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1421,7 +1421,7 @@ exports[`samples/fablo-config-hlf2-1org-1chaincode-peer-dev-mode.json should cre
14211421
"FABLO_VERSION=2.2.0
14221422
FABLO_BUILD=<date with git hash>
14231423
FABLO_REST_VERSION=0.1.2
1424-
HYPERLEDGER_EXPLORER_VERSION=2.0.0
1424+
HYPERLEDGER_EXPLORER_VERSION=1.1.8
14251425
14261426
COUCHDB_VERSION=3.1
14271427
FABRIC_COUCHDB_VERSION=0.4.18

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

Lines changed: 12 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -224,22 +224,11 @@ exports[`samples/fablo-config-hlf2-1org-1chaincode-raft-explorer.json should cre
224224
"ca.orderer.example.com": {
225225
"url": "https://localhost:7020",
226226
"caName": "ca.orderer.example.com",
227-
"httpOptions": {
228-
"verify": false
229-
},
230227
"tlsCACerts": {
231228
"path": "<absolute path>/samples/fablo-target/fabric-config/crypto-config/peerOrganizations/orderer.example.com/ca/ca.orderer.example.com-cert.pem"
232-
}
233-
}
234-
},
235-
"orderers": {
236-
"orderer0.group1.orderer.example.com": {
237-
"url": "grpcs://localhost:7030",
238-
"tlsCACerts": {
239-
"path": "<absolute path>/samples/fablo-target/fabric-config/crypto-config/ordererOrganizations/orderer.example.com/orderers/orderer0.group1.orderer.example.com/tls/ca.crt"
240229
},
241-
"grpcOptions": {
242-
"ssl-target-name-override": "orderer0.group1.orderer.example.com"
230+
"httpOptions": {
231+
"verify": false
243232
}
244233
}
245234
}
@@ -272,19 +261,11 @@ certificateAuthorities:
272261
ca.orderer.example.com:
273262
url: https://localhost:7020
274263
caName: ca.orderer.example.com
275-
httpOptions:
276-
verify: false
277264
tlsCACerts:
278265
path: >-
279266
<absolute path>/samples/fablo-target/fabric-config/crypto-config/peerOrganizations/orderer.example.com/ca/ca.orderer.example.com-cert.pem
280-
orderers:
281-
orderer0.group1.orderer.example.com:
282-
url: grpcs://localhost:7030
283-
tlsCACerts:
284-
path: >-
285-
<absolute path>/samples/fablo-target/fabric-config/crypto-config/ordererOrganizations/orderer.example.com/orderers/orderer0.group1.orderer.example.com/tls/ca.crt
286-
grpcOptions:
287-
ssl-target-name-override: orderer0.group1.orderer.example.com
267+
httpOptions:
268+
verify: false
288269
"
289270
`;
290271
@@ -322,29 +303,13 @@ exports[`samples/fablo-config-hlf2-1org-1chaincode-raft-explorer.json should cre
322303
"ca.org1.example.com": {
323304
"url": "https://localhost:7040",
324305
"caName": "ca.org1.example.com",
325-
"httpOptions": {
326-
"verify": false
327-
},
328306
"tlsCACerts": {
329307
"path": "<absolute path>/samples/fablo-target/fabric-config/crypto-config/peerOrganizations/org1.example.com/ca/ca.org1.example.com-cert.pem"
330-
}
331-
}
332-
},
333-
"orderers": {
334-
"orderer0.group1.orderer.example.com": {
335-
"url": "grpcs://localhost:7030",
336-
"tlsCACerts": {
337-
"path": "<absolute path>/samples/fablo-target/fabric-config/crypto-config/ordererOrganizations/orderer.example.com/orderers/orderer0.group1.orderer.example.com/tls/ca.crt"
338308
},
339-
"grpcOptions": {
340-
"ssl-target-name-override": "orderer0.group1.orderer.example.com"
309+
"httpOptions": {
310+
"verify": false
341311
}
342312
}
343-
},
344-
"channels": {
345-
"my-channel1": {
346-
"peers": {}
347-
}
348313
}
349314
}
350315
"
@@ -375,22 +340,11 @@ certificateAuthorities:
375340
ca.org1.example.com:
376341
url: https://localhost:7040
377342
caName: ca.org1.example.com
378-
httpOptions:
379-
verify: false
380343
tlsCACerts:
381344
path: >-
382345
<absolute path>/samples/fablo-target/fabric-config/crypto-config/peerOrganizations/org1.example.com/ca/ca.org1.example.com-cert.pem
383-
orderers:
384-
orderer0.group1.orderer.example.com:
385-
url: grpcs://localhost:7030
386-
tlsCACerts:
387-
path: >-
388-
<absolute path>/samples/fablo-target/fabric-config/crypto-config/ordererOrganizations/orderer.example.com/orderers/orderer0.group1.orderer.example.com/tls/ca.crt
389-
grpcOptions:
390-
ssl-target-name-override: orderer0.group1.orderer.example.com
391-
channels:
392-
my-channel1:
393-
peers: {}
346+
httpOptions:
347+
verify: false
394348
"
395349
`;
396350
@@ -1573,7 +1527,7 @@ exports[`samples/fablo-config-hlf2-1org-1chaincode-raft-explorer.json should cre
15731527
"FABLO_VERSION=2.2.0
15741528
FABLO_BUILD=<date with git hash>
15751529
FABLO_REST_VERSION=0.1.2
1576-
HYPERLEDGER_EXPLORER_VERSION=2.0.0
1530+
HYPERLEDGER_EXPLORER_VERSION=1.1.8
15771531
15781532
COUCHDB_VERSION=3.1
15791533
FABRIC_COUCHDB_VERSION=0.4.18
@@ -2167,14 +2121,14 @@ services:
21672121
- basic
21682122
21692123
db.explorer.example.com:
2170-
image: ghcr.io/hyperledger-labs/explorer-db:\${HYPERLEDGER_EXPLORER_VERSION}
2124+
image: hyperledger/explorer-db:\${HYPERLEDGER_EXPLORER_VERSION}
21712125
container_name: db.explorer.example.com
21722126
environment:
21732127
- DATABASE_DATABASE=fabricexplorer
21742128
- DATABASE_USERNAME=hppoc
21752129
- DATABASE_PASSWORD=password
21762130
healthcheck:
2177-
test: "pg_isready -h localhost -p 5432 -q -U hppoc -d fabricexplorer"
2131+
test: "pg_isready -h localhost -p 5432 -q -U postgres"
21782132
interval: 5s
21792133
timeout: 10s
21802134
retries: 7
@@ -2184,7 +2138,7 @@ services:
21842138
- basic
21852139
21862140
explorer.example.com:
2187-
image: ghcr.io/hyperledger-labs/explorer:\${HYPERLEDGER_EXPLORER_VERSION}
2141+
image: hyperledger/explorer:\${HYPERLEDGER_EXPLORER_VERSION}
21882142
restart: on-failure:8
21892143
container_name: explorer.example.com
21902144
environment:

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

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -223,11 +223,6 @@ exports[`samples/fablo-config-hlf2-1org-1chaincode.json should create proper e2e
223223
"verify": false
224224
}
225225
}
226-
},
227-
"orderers": {
228-
"orderer0.group1.orderer.example.com": {
229-
"url": "grpc://localhost:7030"
230-
}
231226
}
232227
}
233228
"
@@ -258,9 +253,6 @@ certificateAuthorities:
258253
caName: ca.orderer.example.com
259254
httpOptions:
260255
verify: false
261-
orderers:
262-
orderer0.group1.orderer.example.com:
263-
url: grpc://localhost:7030
264256
"
265257
`;
266258
@@ -300,16 +292,6 @@ exports[`samples/fablo-config-hlf2-1org-1chaincode.json should create proper e2e
300292
"verify": false
301293
}
302294
}
303-
},
304-
"orderers": {
305-
"orderer0.group1.orderer.example.com": {
306-
"url": "grpc://localhost:7030"
307-
}
308-
},
309-
"channels": {
310-
"my-channel1": {
311-
"peers": {}
312-
}
313295
}
314296
}
315297
"
@@ -340,12 +322,6 @@ certificateAuthorities:
340322
caName: ca.org1.example.com
341323
httpOptions:
342324
verify: false
343-
orderers:
344-
orderer0.group1.orderer.example.com:
345-
url: grpc://localhost:7030
346-
channels:
347-
my-channel1:
348-
peers: {}
349325
"
350326
`;
351327
@@ -1462,7 +1438,7 @@ exports[`samples/fablo-config-hlf2-1org-1chaincode.json should create proper e2e
14621438
"FABLO_VERSION=2.2.0
14631439
FABLO_BUILD=<date with git hash>
14641440
FABLO_REST_VERSION=0.1.2
1465-
HYPERLEDGER_EXPLORER_VERSION=2.0.0
1441+
HYPERLEDGER_EXPLORER_VERSION=1.1.8
14661442
14671443
COUCHDB_VERSION=3.1
14681444
FABRIC_COUCHDB_VERSION=0.4.18

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

Lines changed: 1 addition & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -281,11 +281,6 @@ exports[`samples/fablo-config-hlf2-2orgs-2chaincodes-private-data.yaml should cr
281281
"verify": false
282282
}
283283
}
284-
},
285-
"orderers": {
286-
"orderer0.group1.orderer.example.com": {
287-
"url": "grpc://localhost:7030"
288-
}
289284
}
290285
}
291286
"
@@ -319,9 +314,6 @@ certificateAuthorities:
319314
caName: ca.orderer.example.com
320315
httpOptions:
321316
verify: false
322-
orderers:
323-
orderer0.group1.orderer.example.com:
324-
url: grpc://localhost:7030
325317
"
326318
`;
327319
@@ -365,16 +357,6 @@ exports[`samples/fablo-config-hlf2-2orgs-2chaincodes-private-data.yaml should cr
365357
"verify": false
366358
}
367359
}
368-
},
369-
"orderers": {
370-
"orderer0.group1.orderer.example.com": {
371-
"url": "grpc://localhost:7030"
372-
}
373-
},
374-
"channels": {
375-
"my-channel1": {
376-
"peers": {}
377-
}
378360
}
379361
}
380362
"
@@ -408,12 +390,6 @@ certificateAuthorities:
408390
caName: ca.org1.example.com
409391
httpOptions:
410392
verify: false
411-
orderers:
412-
orderer0.group1.orderer.example.com:
413-
url: grpc://localhost:7030
414-
channels:
415-
my-channel1:
416-
peers: {}
417393
"
418394
`;
419395
@@ -457,16 +433,6 @@ exports[`samples/fablo-config-hlf2-2orgs-2chaincodes-private-data.yaml should cr
457433
"verify": false
458434
}
459435
}
460-
},
461-
"orderers": {
462-
"orderer0.group1.orderer.example.com": {
463-
"url": "grpc://localhost:7030"
464-
}
465-
},
466-
"channels": {
467-
"my-channel1": {
468-
"peers": {}
469-
}
470436
}
471437
}
472438
"
@@ -500,12 +466,6 @@ certificateAuthorities:
500466
caName: ca.org2.example.com
501467
httpOptions:
502468
verify: false
503-
orderers:
504-
orderer0.group1.orderer.example.com:
505-
url: grpc://localhost:7030
506-
channels:
507-
my-channel1:
508-
peers: {}
509469
"
510470
`;
511471
@@ -2139,7 +2099,7 @@ exports[`samples/fablo-config-hlf2-2orgs-2chaincodes-private-data.yaml should cr
21392099
"FABLO_VERSION=2.2.0
21402100
FABLO_BUILD=<date with git hash>
21412101
FABLO_REST_VERSION=0.1.2
2142-
HYPERLEDGER_EXPLORER_VERSION=2.0.0
2102+
HYPERLEDGER_EXPLORER_VERSION=1.1.8
21432103
21442104
COUCHDB_VERSION=3.1
21452105
FABRIC_COUCHDB_VERSION=0.4.18

0 commit comments

Comments
 (0)