Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
817 commits
Select commit Hold shift + click to select a range
49faaf3
Extract default implementation from BlockchainConnector
aklenik Sep 18, 2020
22c6720
Add support for getting contract details (#1009)
davek-at-ibm Sep 22, 2020
66a26dc
Merge pull request #1006 from aklenik/connector-extract
aklenik Sep 23, 2020
b5a734f
Fix import call to wallet facade (#1011)
davek-at-ibm Sep 24, 2020
1de30a5
Add support for isTLSEnabled (#1010)
davek-at-ibm Sep 24, 2020
52c0afd
Update changelog (#977)
nklincoln Sep 25, 2020
1cf7f49
Add support for V2 Wallets (#1014)
davek-at-ibm Sep 25, 2020
70965b7
remove ability to bind to broken fabric sdks
nklincoln Sep 29, 2020
85706dc
Merge pull request #1021 from nklincoln/remove-broken-bindings
aklenik Sep 29, 2020
99217a8
Make options robust and add unit tests to prom monitors
nklincoln Sep 29, 2020
5938426
Merge pull request #1020 from nklincoln/prom-monitor-options
aklenik Oct 1, 2020
54cbec9
[Release v0.4.0] Bump version to stable v0.4.0
aklenik Oct 1, 2020
7ddfe0a
Merge pull request #1027 from aklenik/release-0-4-0
aklenik Oct 2, 2020
5f35063
Bump version to unstable v0.5.0
aklenik Oct 2, 2020
a42cd2f
Merge pull request #1032 from aklenik/bump-to-unstable-0-5-0
aklenik Oct 2, 2020
4a3ed4e
Added support for v1 connectors with wallets (#1029)
RosieMurphy0 Oct 5, 2020
ccd8b2b
Minor improvements to V2 Wallet Impl (#1035)
davek-at-ibm Oct 5, 2020
d8cdd1b
New fabric connector factory (#1037)
davek-at-ibm Oct 6, 2020
dbcac24
Add new connector to integration tests (#1039)
davek-at-ibm Oct 6, 2020
83ebf97
Prevent failures in integration tests
nklincoln Oct 6, 2020
6f5e66b
Merge pull request #1041 from nklincoln/ethereum-tests
aklenik Oct 7, 2020
363a6dd
New V1 Gateway Connector (#1042)
davek-at-ibm Oct 8, 2020
161bce5
Added support for Besu private transactions (#1030)
lucassaldanha Oct 9, 2020
b5e2177
remove the old fabric connector factory (#1048)
davek-at-ibm Oct 12, 2020
af19ec8
Update node version in image (#1050)
nklincoln Oct 12, 2020
f4b986a
Pre-req support code for V1 non gateway fabric connector (#1052)
davek-at-ibm Oct 14, 2020
ad523eb
Update txCollector and add unit tests
nklincoln Oct 8, 2020
11cd799
Improve readibility and behaviour of Identity Manager tests (#1057)
davek-at-ibm Oct 15, 2020
ce7516c
Merge pull request #1045 from nklincoln/txCollector
aklenik Oct 16, 2020
2120680
Extract identities from wallet to memory wallet (#1058)
RosieMurphy0 Oct 16, 2020
ec42990
update node engines to v10, matching travis and caliper image build (…
nklincoln Oct 19, 2020
f89f17c
Update changelog for 0.4.1 (#1062)
nklincoln Oct 19, 2020
7427142
version bump for 0.4.1 release (#1060)
nklincoln Oct 19, 2020
78b1286
update version to unstable (#1063)
nklincoln Oct 19, 2020
8e39576
new non gateway 1.4 connector (#1054)
davek-at-ibm Oct 19, 2020
6bc81ef
Added support for admin identities (#1064)
davek-at-ibm Oct 21, 2020
0b5c508
Restore Operational Support (#1073)
davek-at-ibm Nov 6, 2020
2545cc6
Support Single Wallet for Multiple Organizations (#1082)
davek-at-ibm Nov 11, 2020
306d5bb
Support a default invoker (#1086)
davek-at-ibm Nov 14, 2020
404ce2b
Add new SUT for fabric (#1088)
davek-at-ibm Nov 17, 2020
c6a553b
support multiorg and channels (#1089)
davek-at-ibm Nov 18, 2020
d3a7ba5
Improve validation for new connectors (#1095)
davek-at-ibm Nov 25, 2020
4e177e2
[1/3] Update changelog (#1098)
nklincoln Nov 27, 2020
62de240
Bump versions for release process (#1097)
nklincoln Dec 1, 2020
bf94701
bump to unstable (#1100)
nklincoln Dec 1, 2020
bc436e8
Azure pipelines build (#1105)
nklincoln Dec 31, 2020
d6f0027
Enable builds for PRs that target master branch (#1108)
nklincoln Jan 4, 2021
730a884
Update contributing guide (#1109)
nklincoln Jan 4, 2021
6fa9b12
publish to npm stage (#1110)
nklincoln Jan 5, 2021
6ced65a
update conditionals (#1112)
nklincoln Jan 5, 2021
c3090ea
update pipeline condition (#1113)
nklincoln Jan 6, 2021
5b74a2c
Change build reason for publish (#1114)
nklincoln Jan 6, 2021
88a1568
prevent cascade skip (#1116)
nklincoln Jan 6, 2021
c48f9ad
Publish containers (#1117)
nklincoln Jan 6, 2021
369d11e
use single publish script (#1118)
nklincoln Jan 6, 2021
69eec09
use 0.21.1 axios (#1119)
nklincoln Jan 8, 2021
12a3e52
Adding changes related to value parameter for payable function in Eth…
nachikettapas Jan 21, 2021
b615b17
FIX: caliper bind command now compatible with Windows OS
fransotodev Feb 25, 2021
5a34ad7
Make Mosquitto authentication and authorization explicit for v2
aklenik Feb 26, 2021
7093592
Merge pull request #1128 from aklenik/mosquitto-config-update
aklenik Mar 3, 2021
afc4bb6
Merge pull request #1127 from fransotodev/master
aklenik Apr 7, 2021
61410f3
Resolve issue in which only first round would be docker-monitored
Viserius Apr 23, 2021
550fdb7
comparison to ===
Viserius Apr 26, 2021
4ecfca7
Merge pull request #1135 from Viserius/ms/fix-docker-monitor-rounds
aklenik Jul 21, 2021
0053563
Add base classes for declarative workload module and
bistaastha Aug 30, 2021
ea77aa0
Merge pull request #1164 from bistaastha/value-provider-base
aklenik Oct 1, 2021
4f98fa7
Open in Visual Studio Code badge added
Justinjdaniel Oct 29, 2021
fa007ea
Merge pull request #1170 from Justinjdaniel/main
aklenik Nov 2, 2021
4bd51cf
Update link for security bug handling wiki page (#1171)
aklenik Nov 5, 2021
6d5f071
Update branch name in Azure CI pipeline configuration (#1172)
aklenik Nov 10, 2021
14bbbcb
Add ValueProviderFactory, ListElementValueProvider and FormattedStrin…
bistaastha Nov 11, 2021
c73f5a7
Fix Besu integration test (#1174)
aklenik Nov 30, 2021
5a538e1
Fix Ethereum integration test (#1175)
aklenik Nov 30, 2021
cc19cd6
Fix generator integration test (#1176)
aklenik Nov 30, 2021
595942a
Fix issue where init flow errors when not using mutual TLS (#1183)
davidkel Dec 9, 2021
aa0b3db
Fix CompositeRateController class bug (#1181) (#1184)
aklenik Dec 9, 2021
1fb6011
Propose myself as a new caliper Maintainer (#1186)
davidkel Dec 17, 2021
8701938
Fix the unit of the interval of default-observer in the log (#1193)
justin-themedium Dec 27, 2021
9e296ac
Update CONTRIBUTING.md document (#1192)
aklenik Jan 4, 2022
a8e9ada
Add GitHub web forms-based issue templates (#1189)
aklenik Jan 4, 2022
f0553d1
Declarative workload module base integration (#1194)
bistaastha Jan 5, 2022
7c2b3f7
address fabric:1.4 sut binding not working in caliper container (#1211)
davidkel Jan 27, 2022
caad464
Docker monitor metrics fixes - cpu and memory usage (#1214)
fraVlaca Feb 7, 2022
4a1860e
enable support for node 14 - node engine >=14.19.0 (#1219)
fraVlaca Feb 11, 2022
24fcdf3
Node 14 support (#1221)
fraVlaca Feb 11, 2022
5922238
add new folder peer-gateway containing new connector Wallet Facade an…
fraVlaca Feb 17, 2022
986c856
Add support for node 16 (#1223)
davidkel Feb 18, 2022
a8652a6
Reference Discord instead of Rocket Chat (#1228)
davidkel Feb 21, 2022
cbacc35
Correct timeout defaults (#1230)
davidkel Feb 22, 2022
338212d
Bump version to 0.5.0-unstable (#1239)
davidkel Feb 24, 2022
9043fd0
Remove the legacy fabric connectors (#1235)
davidkel Feb 25, 2022
71a5a87
Update bindings to latest fabric sdks and remove old ones (#1244)
davidkel Feb 28, 2022
c72dc9f
ensure endorsetimeout is set on v2 fabric connector (#1246)
davidkel Mar 4, 2022
5380af7
add txid to proposal when doing a query (#1247)
davidkel Mar 4, 2022
5ee6aaa
Remove the need for gateway-enabled when binding to a fabric 2.2 SUT …
davidkel Mar 8, 2022
a84cdd9
add changes to ConnectionProfileDefinition for new PeerGateway connec…
fraVlaca Mar 11, 2022
ba1ffcf
Improve integration tests (#1259)
davidkel Mar 11, 2022
4356663
improve message to help when file not found (#1262)
davidkel Mar 11, 2022
4f03fef
rename certain terms in code base (#1280)
davidkel Mar 23, 2022
6a76834
Remove CountQueryAsLoad Option (#1276)
davidkel Mar 23, 2022
ada19c3
Caliper terminates if prometheus is not available (#1288)
davidkel Mar 24, 2022
a372f18
added main logic for the new peer-gateaway connector including unit t…
fraVlaca Apr 1, 2022
5f9aa29
fix RecordRate rate controller (#1292)
davidkel Apr 6, 2022
66e8386
remove latency values if no successful txns in final report (#1290)
davidkel Apr 6, 2022
7c33aca
Update the usage examples to more appropriate versions (#1297)
davidkel Apr 6, 2022
25f905d
added logic to pick new Peer Gateway connector in the connector selec…
fraVlaca Apr 6, 2022
9e736c0
edit defaul.yaml (updated comments and deleted sllep after option for…
fraVlaca Apr 8, 2022
6fb76f2
add integration test for peer gateway connector + updated docker comp…
fraVlaca Apr 12, 2022
7f4d374
fixed colors dependency to 1.4.0 (#1311)
fraVlaca Apr 13, 2022
57d8d46
Change monitor intervals from milliseconds to seconds (#1314)
davidkel Apr 15, 2022
af6440f
address worker cleanup when an error occurs (#1315)
davidkel Apr 15, 2022
031267f
fixed docker monitor to use dockerode only (#1319)
fraVlaca Apr 25, 2022
da99385
correct interval usage in fabric-tests (#1323)
davidkel Apr 27, 2022
d699171
Fix cli and update dependabot security dependencies (#1324)
davidkel Apr 27, 2022
35ae4ca
Ensure that connector errors finishes caliper transactions (#1328)
davidkel May 9, 2022
ca58c47
disable logging debug to file (#1331)
davidkel May 12, 2022
1a6639c
add peers property support to fabric network config (#1329)
davidkel May 12, 2022
b554467
upgraded node-sdk binding for fabric-v1-lts from 1.4.19 to 1.4.20 (#1…
fraVlaca May 12, 2022
14467a4
upgraded node-sdk binding for fabric-v2-lts from 2.2.11 to 2.2.12 (#1…
fraVlaca May 12, 2022
4bbb40c
changed all bit.ly links with a direct link (#1336)
fraVlaca May 13, 2022
671ca2f
explicitly bind grpc-js for fabric 2.4 connector (#1344)
fraVlaca May 17, 2022
df1b96c
Peer Gateway txs error messsage: added output of the contents of the …
fraVlaca May 17, 2022
2fd8925
Fixes caliper hang of unfinished transactions (#1342)
davidkel May 17, 2022
babd997
[Release 0.5.0] Update Changelog (#1350)
davidkel May 19, 2022
d4c5939
[Release 0.5.0] Publish official release (#1349)
davidkel May 19, 2022
e38c05a
Bump to 0.5.1-unstable release (#1352)
davidkel May 24, 2022
0c1e973
Fix #536 Update error messages for 'caliper-cli' package (#1348)
May 27, 2022
5b96845
Port the unit test workflow to GitHub Actions (#1364)
CaptainIRS Jun 14, 2022
2a3839f
Port the integration test workflow to GitHub Actions (#1376)
CaptainIRS Jun 21, 2022
7ca519b
Disable unit and integration tests in Azure Pipelines (#1382)
CaptainIRS Jun 21, 2022
ae23774
Fix #536 Update error messages for 'caliper-ethereum' package (#1363)
Jun 21, 2022
e7a5a17
Port the publish workflow to GitHub Actions (#1384)
CaptainIRS Jun 22, 2022
3d22571
Pass secrets to CI workflow for publish (#1390)
CaptainIRS Jun 26, 2022
158a367
change the generator binding from 2.2 to 1.4 (#1391)
Jun 26, 2022
f1634b5
Fix #536: Minor changes in the error messages of 'caliper-fisco-bcos'…
Jun 27, 2022
04a1154
Add DCI linting to CI of PRs (#1393)
aklenik Jun 28, 2022
8a792e0
Updated fabric bindings: fabric-network@2.2.12 -> 2.2.13, @hyperledge…
fraVlaca Jul 5, 2022
5025d20
Migrate Fabric integration tests to test network (#1410)
CaptainIRS Jul 20, 2022
78e4e84
Remove channel and chaincode ops from Fabric v1 (#1411)
CaptainIRS Jul 20, 2022
dd5c85c
update fabric bindings (#1412)
davek-at-ibm Jul 21, 2022
c29fc0f
Migrate to npm workspaces (#1394)
CaptainIRS Jul 22, 2022
9ecfb02
Migrate generator tests to test network (#1414)
CaptainIRS Jul 25, 2022
acb518e
Cache node modules across CI workflows (#1406)
CaptainIRS Jul 28, 2022
e476ba7
Execute integration tests based on changes (#1421)
CaptainIRS Aug 1, 2022
954eba5
Add workflow for gh-pages branch (#1423)
CaptainIRS Aug 1, 2022
2efba52
Revert "Add workflow for gh-pages branch (#1423)" (#1425)
CaptainIRS Aug 2, 2022
c648fa9
Distinguish different workers in Prometheus PushGateway (#1427)
CaptainIRS Aug 4, 2022
2cdd46d
Add coverage report workflow (#1428)
CaptainIRS Aug 5, 2022
64f3868
Upload coverage reports on merge (#1433)
CaptainIRS Aug 8, 2022
69000d4
Add VSCode extension skeleton and runtime config schema (#1404)
eravatee Oct 3, 2022
85cf073
Add Node 18 to CI (#1455)
CaptainIRS Oct 10, 2022
1eade51
Fix calculation and doc comment in prometheus observer (#1456)
CaptainIRS Oct 10, 2022
e504bee
Revert "Add Node 18 to CI (#1455)" (#1460)
CaptainIRS Oct 17, 2022
2097812
Fix integration test CI trigger (#1458)
CaptainIRS Oct 17, 2022
2d58e09
Add TxObserver for Prometheus manager (#1448)
CaptainIRS Oct 17, 2022
cc3edeb
Bump moment-timezone from 0.5.34 to 0.5.38 (#1461)
dependabot[bot] Oct 17, 2022
394357f
Move inactive maintainers to emeritus status (#1462)
ryjones Oct 20, 2022
4a64acf
Add CODEOWNERS file (#1463)
ryjones Oct 21, 2022
dc1ce93
Fix npmignore for report html (#1466)
CaptainIRS Oct 26, 2022
91870b7
Update cache action (#1469)
CaptainIRS Oct 28, 2022
35dcc86
Add directory structure and introduction for the development document…
aklenik Feb 7, 2023
7c9c5d2
Use go chaincode in integration tests (#1484)
CaptainIRS Feb 21, 2023
943ab2a
Update go chaincode dependencies in integration tests (#1485)
CaptainIRS Feb 22, 2023
8cef10c
docker monitor remote monitoring bugfix (#1499)
May 21, 2023
26da2f2
Terminate workers if caliper manager is terminated prematurely (#1514)
davek-at-ibm Feb 28, 2024
31b978f
Remove fisco-bcos (#1515)
davek-at-ibm Feb 28, 2024
f24f777
test node 18/20, minimum version 18.19.0 (#1517)
davek-at-ibm Mar 16, 2024
7477c70
Temporarily revert publish to using node 16.x to fix broken publish (…
davek-at-ibm Mar 25, 2024
4bdb98c
downgrade npm on publish as temp fix (#1523)
davek-at-ibm Apr 3, 2024
16d4983
Update the versions of fabric sdks (#1519)
davek-at-ibm Apr 3, 2024
3fafbf5
Update PSWG whitepaper link in README (#1524)
vinayakjaas Apr 3, 2024
25ee0f9
Remove Caliper-gui-server packages and Caliper-gui-dashboard packages…
vinayakjaas Apr 22, 2024
62c7593
Remove collection of node gc stats in prometheus (#1545)
davek-at-ibm Apr 22, 2024
0877b16
Removed unused dependencies (#1544)
psankhe28 Apr 29, 2024
36014fc
[Release 0.6.0] Publish Official Release (#1562)
davek-at-ibm May 1, 2024
21a98f4
Bump to 0.6.1-unstable (#1565)
davek-at-ibm May 1, 2024
6c899ad
`caliper-core`: add tests for `Message` classes (#1561)
EshaanAgg May 15, 2024
56ecafa
remove vscode extension (#1569)
davek-at-ibm May 16, 2024
44b3c52
Address use/reference of startingTps where not correct (#1578)
davek-at-ibm May 30, 2024
b97c4b3
Add Support for Org targeting to peer gateway (#1582)
davek-at-ibm Jun 3, 2024
8ec4e00
Address test flake due to timing (#1595)
davek-at-ibm Jun 10, 2024
08f732a
Add fixed-load rate controller to calliper generator (#1592)
duckling69 Jul 1, 2024
5ab2b07
restructure all test folders to match the library they test so it is …
tunedev Aug 6, 2024
a8a32d4
Bump test libraries to latest (#1598)
tunedev Aug 21, 2024
1c5b280
Update Marbles to match fabric 2.5 (#1608)
Aug 25, 2024
bf2a625
update semver and fabric gateway versions (#1612)
Aug 25, 2024
ddb853d
Bump google.golang.org/protobuf (#1610)
dependabot[bot] Aug 25, 2024
6daae6c
Bump golang.org/x/net (#1611)
dependabot[bot] Aug 25, 2024
9e80ce7
update express dependency (#1614)
Aug 26, 2024
10fee8e
remove declarative code (#1615)
Aug 27, 2024
0e01238
Create v0.6.0 documentation using Hyperledger template (#1605)
psankhe28 Sep 10, 2024
3c6b739
update upload/download artifact actions to fix build (#1623)
Sep 10, 2024
47be99a
Bump google.golang.org/protobuf (#1618)
dependabot[bot] Sep 10, 2024
134ae97
Remove old CI tests not used anymore (#1620)
Sep 10, 2024
54dd1bc
Bump express from 4.19.2 to 4.20.0 (#1632)
dependabot[bot] Sep 11, 2024
f222853
add test for more tests for prometheus transaction observer (#1631)
tunedev Sep 17, 2024
baca4cf
added contributing guide (#1634)
psankhe28 Sep 27, 2024
7504fab
Fix contributing.md (#1636)
Oct 5, 2024
13b8710
add test for the message handling behavior (#1626)
tunedev Oct 10, 2024
ecbe3c6
fixed packages err (#1642)
psankhe28 Oct 20, 2024
334dd2a
add test to improve coverage report of caliper worker test coverage (…
tunedev Oct 22, 2024
aa11adf
docs: update links to point to new website URL (#1646)
argbet21 Oct 30, 2024
6082ede
add test for test-logging-tx-observer (#1630)
tunedev Nov 6, 2024
ade355f
add test for caliper-engine module (#1638)
tunedev Nov 6, 2024
5617b01
add more test for fixedFeedbackRate controller implementation (#1628)
tunedev Nov 12, 2024
cc0ada4
add dev container for vscode (#1643)
psankhe28 Nov 12, 2024
3fd4c0c
Add support for Node 22 LTS (#1650)
Nov 15, 2024
ddedaf3
Minor doc fixes (#1655)
Nov 16, 2024
c042c7d
removed unwanted line (#1652)
psankhe28 Nov 16, 2024
fb55219
fix tutorial section link (#1657)
psankhe28 Nov 16, 2024
c84417d
feat: updated github links (#1651)
psankhe28 Nov 16, 2024
67be1b7
Minor changes to tutorial navigation (#1658)
Nov 17, 2024
3661a0e
add test for internal-tx-observer module (#1629)
tunedev Nov 20, 2024
42c1fe5
add more test for recordRate rate-controller (#1627)
tunedev Nov 21, 2024
42708e4
fix: record rate doc section (#1653)
psankhe28 Nov 22, 2024
19d46db
fix: throughput faq (#1656)
psankhe28 Nov 22, 2024
48434c2
add logo back in (#1662)
Nov 23, 2024
9107f00
Add information about BFT consensus in docs for fabric (#1663)
Nov 23, 2024
f5e5b55
Update the release process for docs (#1668)
Dec 4, 2024
a1d4c32
Fix a bug in caliper engine (#1669)
Dec 5, 2024
1f66ab1
update test (#1670)
Dec 9, 2024
5246025
Fix refactored core structure references (#1671)
emmanuel-ferdman Dec 10, 2024
719b661
corrected the caliper documentation link (#1673)
Veer0x1 Jan 5, 2025
30be8f6
Update contributing.md (#1674)
francescomiliani Jan 23, 2025
86bc38a
Bump golang.org/x/net (#1678)
dependabot[bot] Mar 20, 2025
2e1345f
Bump golang.org/x/net (#1679)
dependabot[bot] Mar 20, 2025
a1f8edb
Remove ethereum and besu support (#1685)
Apr 22, 2025
55c5832
Bump golang.org/x/net (#1683)
dependabot[bot] Apr 22, 2025
0342fcb
Bump golang.org/x/net (#1687)
dependabot[bot] Apr 22, 2025
20ee96c
Remove support for fabric node sdk 1.4 (#1689)
davidkel Apr 26, 2025
d4b0766
Distinguish more between network config and caliper config (#1691)
davidkel May 1, 2025
7244499
minor fix to faq around tps (#1695)
davidkel May 1, 2025
a4d7fe4
Remove reference to Node 18 as it is now out of LTS (#1697)
davidkel May 16, 2025
d9d351b
Add some extra unit tests to common/core (#1698)
davidkel Jun 17, 2025
6702568
update mocha, nyc, sinon so they are all consistent (#1699)
davidkel Jun 17, 2025
1c6b559
update js-yaml (#1701)
davidkel Jun 17, 2025
6c30d20
integration builds broken (#1702)
davidkel Jun 17, 2025
8a840b3
fail if chaincode deployment fails (#1703)
davidkel Jun 17, 2025
c02c225
Remove repolinter as it's not used (#1704)
davidkel Jun 17, 2025
fd1c3ba
Fix CLI behavior with help and version commands (#1705)
aklenik Jul 4, 2025
810cc17
Add npm-shrinkwrap.json file and distribute it during publishing (#1708)
aklenik Sep 22, 2025
6cf0011
chore: update to OIDC (#1709)
ryjones Sep 24, 2025
bc25342
fix: update node versions for CI, npm and docker publishing; fix Fabr…
aklenik Sep 29, 2025
d87b9e0
fix: Remove NPM token check from publishing script (#1712)
aklenik Sep 29, 2025
cc6d552
fix: NPM publishing with workspaces (#1714) (#1715)
aklenik Oct 1, 2025
0e0c999
Make workflow secret passing and usage explicit (#1717)
aklenik Oct 2, 2025
bacbdf3
chore(generator)!: Remove generator package and related artifacts (#1…
aklenik Oct 2, 2025
65c09af
[Release 0.7.0] Publish Official Release (#1720)
aklenik Oct 3, 2025
6a59dc6
Fix dev container (#1722)
davidkel Oct 3, 2025
6d6e067
Deployed 6a59dc6e to 0.7.0 with MkDocs 1.6.1 and mike 2.1.2
ryjones Oct 3, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
48 changes: 48 additions & 0 deletions .build/benchmark-integration-test-direct.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
#!/bin/bash
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

# Exit on first error, print all commands.
set -e
set -o pipefail

# Bootstrap the project again
npm ci

# Get the root directory of the caliper source
ROOT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd )"
echo $ROOT_DIR

# Call the CLI directly in the source tree
export CALL_METHOD="node $ROOT_DIR/packages/caliper-cli/caliper.js"
# Use explicit binding for
export BIND_IN_PACKAGE_DIR=true

# Create a directory outside of the source code tree to install SUT binding node modules
# We have to do this otherwise npm will attempt to hoist the npm modules to a directory
# which subsequently doesn't get searched
# This approach means we can drop having to declare dependencies on SUT bound modules in the
# connector and makes it more like the way a user would use caliper.
export SUT_DIR=$HOME/sut
echo $SUT_DIR
mkdir -p $SUT_DIR

# Ensure node searches this directory by setting NODE_PATH
export NODE_PATH=$SUT_DIR/node_modules

echo "---- Running Integration test for adaptor ${BENCHMARK}"
cd ./packages/caliper-tests-integration/
./run-tests.sh

rm -fr $SUT_DIR
58 changes: 58 additions & 0 deletions .build/check-prerequisites.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
#!/bin/bash
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

# Exit on first error, print all commands.
set -e
set -o pipefail

CLEAR="$(tput sgr0)"
RED="$(tput setaf 1)"
GREEN="$(tput setaf 2)"

check_npm_version() {
required_version="11.5.1"
installed_version=$(npm --version)
versions="$required_version\n$installed_version"
if echo -e $versions | sort -rV | head -n 1 | grep -q "$installed_version"; then
echo "$GREEN npm version $installed_version is >= $required_version $CLEAR"
return 0
else
echo "$RED npm version $installed_version < $required_version $CLEAR"
echo "$RED Please update npm to the latest version: https://docs.npmjs.com/try-the-latest-stable-version-of-npm $CLEAR"
return 1
fi
}

check_node_version() {
required_version="22.20.0"
installed_version=$(node --version | cut -c2-)
versions="$required_version\n$installed_version"
if echo -e $versions | sort -rV | head -n 1 | grep -q "$installed_version"; then
echo "$GREEN node version $installed_version is >= $required_version $CLEAR"
return 0
else
echo "$RED node version $installed_version < $required_version $CLEAR"
echo "$RED Please update node to the latest version: https://nodejs.org/en/download/ $CLEAR"
return 1
fi
}

check_node_version
rc=$?
check_npm_version
rc=$?||$rc
if [ $rc -ne 0 ]; then
exit $rc
fi
31 changes: 31 additions & 0 deletions .build/checks-and-unit-tests.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#!/bin/bash
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

# Exit on first error, print all commands.
set -e
set -o pipefail

# check reference Caliper package names
./scripts/check-package-names.sh

# Bootstrap the project again
npm ci

pushd ./packages/caliper-publish/
./publish.js version check
popd

# Run linting, license check and unit tests
npm run test --workspaces
33 changes: 33 additions & 0 deletions .build/publish-caliper.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#!/bin/bash
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

# Exit on first error
set -e

# distribute root README file before publishing
cp ./README.md ./packages/caliper-cli/README.md
cp ./README.md ./packages/caliper-core/README.md
cp ./README.md ./packages/caliper-fabric/README.md

# distribute root package-lock file as npm-shrinkwrap file to packages before publishing
cp ./package-lock.json ./packages/caliper-cli/npm-shrinkwrap.json
cp ./package-lock.json ./packages/caliper-core/npm-shrinkwrap.json
cp ./package-lock.json ./packages/caliper-fabric/npm-shrinkwrap.json

cd ./packages/caliper-publish/
npm ci

./publish.js npm
./publish.js docker --publish
26 changes: 26 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"name": "Caliper Development",
"image": "mcr.microsoft.com/vscode/devcontainers/python:3.11",
"features": {
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {
"moby": false
},
"ghcr.io/devcontainers/features/node:1": {
"version": "v22.20.0"
}
},
"customizations": {
"vscode": {
"settings": {
"terminal.integrated.shell.linux": "/bin/bash",
"python.defaultInterpreterPath": "/usr/local/bin/python"
},
"extensions": [
"esbenp.prettier-vscode",
]
}
},
"postCreateCommand": "cd docs && pip install -r pip-requirements.txt && mkdocs build",
"remoteUser": "vscode",
"forwardPorts": [8000]
}
26 changes: 26 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

root = true

[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ node_modules

# Plugins
/src/gui
/src/adapters/fabric/ChannelSignedTransaction.js
48 changes: 0 additions & 48 deletions .eslintrc.yml

This file was deleted.

88 changes: 88 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
name: Bug Report
description: File a bug report
body:
- type: markdown
attributes:
value: Thank you for helping us make Caliper better by submitting a bug report!
- type: markdown
attributes:
value: "## Environment information"
- type: input
id: caliper_version
attributes:
label: Which Caliper version are you using?
placeholder: "For example: v0.4.2, or latest"
validations:
required: true
- type: input
id: nodejs_version
attributes:
label: Which Node.JS version are you using?
placeholder: "For example: v10"
validations:
required: true
- type: input
id: os
attributes:
label: Which operating system are you using?
placeholder: "For example: Ubuntu 20.04 LTS"
validations:
required: true
- type: markdown
attributes:
value: "## Behavior information"
- type: textarea
id: context
attributes:
label: Please provide some context for your error. For example, when did the error occur? What were you trying to achieve, and how?
placeholder: "For example: I tried to monitor remote Docker containers..."
validations:
required: true
- type: textarea
id: actual_behavior
attributes:
label: What was the observed incorrect behavior?
placeholder: "For example: Caliper hangs and waits for submitted transactions indefinitely."
validations:
required: true
- type: textarea
id: error_log
attributes:
label: Please provide the error logs and their surroundings.
placeholder: "Error logs"
render: text
validations:
required: true
- type: textarea
id: bench_config
attributes:
label: Please provide your benchmark configuration file content, if possible.
placeholder: "test: ..."
render: yaml
validations:
required: false
- type: textarea
id: network_config
attributes:
label: Please provide your network configuration file content, if possible.
placeholder: "name: Fabric ..."
render: yaml
validations:
required: false
- type: textarea
id: workload
attributes:
label: Please provide your workload module content, if possible.
placeholder: "JS file content"
render: nodejs
validations:
required: false
- type: markdown
attributes:
value: "## Additional information"
- type: textarea
id: additional
attributes:
label: Please provide any additional information you deem relevant to the error.
validations:
required: false
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
blank_issues_enabled: true
contact_links:
- name: Hyperledger Discord
url: https://discord.com/channels/905194001349627914/941417677778473031
about: Please ask general questions about the project in the Caliper channel (Discord id required).
- name: Hyperledger Caliper mailing list
url: https://lists.hyperledger.org/g/caliper
about: Please ask general questions about the project here (LFID recommended).
Loading
Loading