From 1873f28d549111c001d8483b8d7fdb7d44aa7002 Mon Sep 17 00:00:00 2001 From: Attila Klenik Date: Wed, 6 May 2020 13:39:25 +0000 Subject: [PATCH] [Release 0.3.1] Bump package versions and update change log Signed-off-by: Attila Klenik --- CHANGELOG.md | 25 ++ lerna.json | 2 +- package.json | 134 ++++----- packages/caliper-burrow/package.json | 6 +- packages/caliper-cli/package.json | 18 +- packages/caliper-core/package.json | 4 +- packages/caliper-ethereum/package.json | 6 +- packages/caliper-fabric/package.json | 8 +- packages/caliper-fisco-bcos/package.json | 6 +- .../generator-caliper/package.json | 200 ++++++------- packages/caliper-gui-dashboard/package.json | 4 +- packages/caliper-gui-server/package.json | 14 +- packages/caliper-iroha/package.json | 6 +- packages/caliper-publish/package.json | 4 +- packages/caliper-sawtooth/package.json | 6 +- .../caliper-tests-integration/package.json | 279 +++++++++--------- 16 files changed, 373 insertions(+), 349 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7bbfbf801..c0ec8e16b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,28 @@ +## 0.3.1 (May 11, 2020) + +* Core changes + * Relax constraints for monitor/observer combinations ([PR#761](https://github.com/hyperledger/caliper/pull/761)) + * Call the `end` function of workload modules sooner, so they can still access the adapter context ([PR#779](https://github.com/hyperledger/caliper/pull/779)) + * Improved error reporting in the worker processes ([PR#782](https://github.com/hyperledger/caliper/pull/782)) + * Improve TX handling/waiting approach for worker processes, thus enabling long-term benchmarks ([PR#794](https://github.com/hyperledger/caliper/pull/794)) + * Improve core package management for the Docker image ([PR#795](https://github.com/hyperledger/caliper/pull/795)) + * Improve handling of benchmark errors upon monitoring data reporing ([PR#797](https://github.com/hyperledger/caliper/pull/797)) + +* Hyperledger Fabric adapter changes + * Fix orderer name check for Fabric v2 adapter ([PR#762](https://github.com/hyperledger/caliper/pull/762)) + * Add support for stable Fabric v2 SDK packages + +* Ethereum/Hyperledger Besu adapter changes + * Improve connection/TX management to SUT ([PR#780](https://github.com/hyperledger/caliper/pull/780)) + * Update HL Besu versions ([PR#786](https://github.com/hyperledger/caliper/pull/786)) + * Make `contractDeployerAddress` available in the adapter context ([PR#808](https://github.com/hyperledger/caliper/pull/808)) + +* Hyperledger Sawtooth adapter changes + * Refactored adapter to be more OO-like, and fixed non-existing variable reference bug ([PR#782](https://github.com/hyperledger/caliper/pull/782)) + +* Hyperledger Burrow adapter changes + * Switch SDK package to `@hyperledger/burrow` ([PR#804](https://github.com/hyperledger/caliper/pull/804)) + ## 0.3.0 (March 4, 2020) * Core changes diff --git a/lerna.json b/lerna.json index c905288c2..60668ae50 100644 --- a/lerna.json +++ b/lerna.json @@ -19,6 +19,6 @@ "packages/caliper-gui-server", "packages/caliper-generator/generator-caliper" ], - "version": "0.3.1-unstable", + "version": "0.3.1", "hoist": true } diff --git a/package.json b/package.json index 6d7fad82d..307eba7ad 100644 --- a/package.json +++ b/package.json @@ -1,69 +1,69 @@ { - "name": "caliper", - "description": "Performance benchmarking for Hyperledger blockchain technologies. You must install [Lerna](https://lernajs.io) to build this multi-package repository.", - "version": "0.3.1-unstable", - "repository": { - "type": "git", - "url": "https://github.com/hyperledger/caliper" - }, - "scripts": { - "repoclean": "lerna clean", - "bootstrap": "lerna bootstrap", - "pretest": "npm run licchk", - "licchk": "license-check-and-add", - "test": "lerna run test" - }, - "engines": { - "node": ">=8.10.0", - "npm": ">=5.6.0" - }, - "dependencies": {}, - "devDependencies": { - "lerna": "^3.18.3", - "license-check-and-add": "2.3.6", - "repolinter": "0.8.2" - }, - "license-check-and-add-config": { - "folder": ".", - "license": "LICENSE.txt", - "exact_paths_method": "EXCLUDE", - "exact_paths": [ - "CODEOWNERS", - "LICENSE", - ".idea", - "node_modules", - ".nyc_output", - "coverage", - "scripts", - ".git", - ".gitignore", - "packages", - "log" - ], - "file_type_method": "EXCLUDE", - "file_types": [ - ".yml", - ".md", - ".log", - ".html" - ], - "insert_license": false, - "license_formats": { - "js|cto|qry|go": { - "prepend": "/*", - "append": "*/", - "eachLine": { - "prepend": "* " + "name": "caliper", + "description": "Performance benchmarking for Hyperledger blockchain technologies. You must install [Lerna](https://lernajs.io) to build this multi-package repository.", + "version": "0.3.1", + "repository": { + "type": "git", + "url": "https://github.com/hyperledger/caliper" + }, + "scripts": { + "repoclean": "lerna clean", + "bootstrap": "lerna bootstrap", + "pretest": "npm run licchk", + "licchk": "license-check-and-add", + "test": "lerna run test" + }, + "engines": { + "node": ">=8.10.0", + "npm": ">=5.6.0" + }, + "dependencies": {}, + "devDependencies": { + "lerna": "^3.18.3", + "license-check-and-add": "2.3.6", + "repolinter": "0.8.2" + }, + "license-check-and-add-config": { + "folder": ".", + "license": "LICENSE.txt", + "exact_paths_method": "EXCLUDE", + "exact_paths": [ + "CODEOWNERS", + "LICENSE", + ".idea", + "node_modules", + ".nyc_output", + "coverage", + "scripts", + ".git", + ".gitignore", + "packages", + "log" + ], + "file_type_method": "EXCLUDE", + "file_types": [ + ".yml", + ".md", + ".log", + ".html" + ], + "insert_license": false, + "license_formats": { + "js|cto|qry|go": { + "prepend": "/*", + "append": "*/", + "eachLine": { + "prepend": "* " + } + }, + "cfg|editorconfig|yaml|py": { + "prepend": "#", + "append": "#", + "eachLine": { + "prepend": "# " + } + } } - }, - "cfg|editorconfig|yaml|py": { - "prepend": "#", - "append": "#", - "eachLine": { - "prepend": "# " - } - } - } - }, - "license": "Apache-2.0" -} + }, + "license": "Apache-2.0" +} \ No newline at end of file diff --git a/packages/caliper-burrow/package.json b/packages/caliper-burrow/package.json index 39f9fbd46..9f314569d 100644 --- a/packages/caliper-burrow/package.json +++ b/packages/caliper-burrow/package.json @@ -1,7 +1,7 @@ { "name": "@hyperledger/caliper-burrow", "description": "Hyperledger Burrow adaptor for Caliper, enabling the running of performance benchmarks that interact with Burrow", - "version": "0.3.1-unstable", + "version": "0.3.1", "repository": { "type": "git", "url": "https://github.com/hyperledger/caliper", @@ -22,7 +22,7 @@ "npm": ">=5.6.0" }, "dependencies": { - "@hyperledger/caliper-core": "0.3.1-unstable", + "@hyperledger/caliper-core": "0.3.1", "google-protobuf": "^3.11.4" }, "devDependencies": { @@ -87,4 +87,4 @@ "lines": 5 }, "license": "Apache-2.0" -} +} \ No newline at end of file diff --git a/packages/caliper-cli/package.json b/packages/caliper-cli/package.json index 22f643e1d..eb8e06096 100644 --- a/packages/caliper-cli/package.json +++ b/packages/caliper-cli/package.json @@ -1,7 +1,7 @@ { "name": "@hyperledger/caliper-cli", "description": "Hyperledger Caliper CLI, for convenience running of a performance benchmark to test blockchain technologies", - "version": "0.3.1-unstable", + "version": "0.3.1", "repository": { "type": "git", "url": "https://github.com/hyperledger/caliper", @@ -26,13 +26,13 @@ "npm": ">=5.6.0" }, "dependencies": { - "@hyperledger/caliper-core": "0.3.1-unstable", - "@hyperledger/caliper-burrow": "0.3.1-unstable", - "@hyperledger/caliper-fabric": "0.3.1-unstable", - "@hyperledger/caliper-iroha": "0.3.1-unstable", - "@hyperledger/caliper-sawtooth": "0.3.1-unstable", - "@hyperledger/caliper-ethereum": "0.3.1-unstable", - "@hyperledger/caliper-fisco-bcos": "0.3.1-unstable", + "@hyperledger/caliper-core": "0.3.1", + "@hyperledger/caliper-burrow": "0.3.1", + "@hyperledger/caliper-fabric": "0.3.1", + "@hyperledger/caliper-iroha": "0.3.1", + "@hyperledger/caliper-sawtooth": "0.3.1", + "@hyperledger/caliper-ethereum": "0.3.1", + "@hyperledger/caliper-fisco-bcos": "0.3.1", "yargs": "15.3.1" }, "devDependencies": { @@ -95,4 +95,4 @@ "lines": 5 }, "license": "Apache-2.0" -} +} \ No newline at end of file diff --git a/packages/caliper-core/package.json b/packages/caliper-core/package.json index 591a8f5db..e367bf4dc 100644 --- a/packages/caliper-core/package.json +++ b/packages/caliper-core/package.json @@ -1,7 +1,7 @@ { "name": "@hyperledger/caliper-core", "description": "Core Hyperledger Caliper module, used for running performance benchmarks that interact with blockchain technologies", - "version": "0.3.1-unstable", + "version": "0.3.1", "repository": { "type": "git", "url": "https://github.com/hyperledger/caliper", @@ -108,4 +108,4 @@ "lines": 1 }, "license": "Apache-2.0" -} +} \ No newline at end of file diff --git a/packages/caliper-ethereum/package.json b/packages/caliper-ethereum/package.json index 3bacc0b8d..711919730 100644 --- a/packages/caliper-ethereum/package.json +++ b/packages/caliper-ethereum/package.json @@ -1,7 +1,7 @@ { "name": "@hyperledger/caliper-ethereum", "description": "Ethereum adaptor for Caliper, enabling the running of performance benchmarks that interact with Ethereum", - "version": "0.3.1-unstable", + "version": "0.3.1", "repository": { "type": "git", "url": "https://github.com/hyperledger/caliper", @@ -22,7 +22,7 @@ "npm": ">=5.6.0" }, "dependencies": { - "@hyperledger/caliper-core": "0.3.1-unstable", + "@hyperledger/caliper-core": "0.3.1", "ethereumjs-wallet": "^0.6.3" }, "devDependencies": { @@ -86,4 +86,4 @@ "lines": 5 }, "license": "Apache-2.0" -} +} \ No newline at end of file diff --git a/packages/caliper-fabric/package.json b/packages/caliper-fabric/package.json index a9c1dbea4..adccd8b90 100644 --- a/packages/caliper-fabric/package.json +++ b/packages/caliper-fabric/package.json @@ -1,7 +1,7 @@ { "name": "@hyperledger/caliper-fabric", "description": "Hyperledger Fabric adaptor for Caliper, enabling the running of performance benchmarks that interact with Fabric", - "version": "0.3.1-unstable", + "version": "0.3.1", "repository": { "type": "git", "url": "https://github.com/hyperledger/caliper", @@ -23,8 +23,8 @@ }, "dependencies": { "@hapi/joi": "^15.1.1", - "@hyperledger/caliper-core": "0.3.1-unstable", - "semver":"7.1.1" + "@hyperledger/caliper-core": "0.3.1", + "semver": "7.1.1" }, "devDependencies": { "fabric-ca-client": "^1.4.7", @@ -90,4 +90,4 @@ "lines": 1 }, "license": "Apache-2.0" -} +} \ No newline at end of file diff --git a/packages/caliper-fisco-bcos/package.json b/packages/caliper-fisco-bcos/package.json index 7309f5d42..90cd2ea7c 100644 --- a/packages/caliper-fisco-bcos/package.json +++ b/packages/caliper-fisco-bcos/package.json @@ -1,6 +1,6 @@ { "name": "@hyperledger/caliper-fisco-bcos", - "version": "0.3.1-unstable", + "version": "0.3.1", "description": "FISCO BCOS adaptor for Caliper, enabling the running of a performance benchmarks that interact with FISCO BCOS", "repository": { "type": "git", @@ -22,7 +22,7 @@ "npm": ">=5.6.0" }, "dependencies": { - "@hyperledger/caliper-core": "0.3.1-unstable", + "@hyperledger/caliper-core": "0.3.1", "nconf": "^0.10.0", "isarray": "^2.0.4", "fs-extra": "8.1.0", @@ -89,4 +89,4 @@ "lines": 5 }, "license": "Apache-2.0" -} +} \ No newline at end of file diff --git a/packages/caliper-generator/generator-caliper/package.json b/packages/caliper-generator/generator-caliper/package.json index 69b735ae2..a2a588dac 100644 --- a/packages/caliper-generator/generator-caliper/package.json +++ b/packages/caliper-generator/generator-caliper/package.json @@ -1,106 +1,106 @@ { - "private": true, - "name": "@hyperledger/generator-caliper", - "description": "Yeoman generator for Hyperledger Caliper", - "version": "0.3.1-unstable", - "author": "Lynn Muswere", - "homepage": "https://hyperledger.github.io/caliper/", - "repository": { - "type": "git", - "url": "https://github.com/hyperledger/caliper" - }, - "main": "generators/callback/index.js", - "keywords": [ - "yeoman-generator", - "hyperledger", - "caliper" - ], - "scripts": { - "pretest": "npm run licchk", - "licchk": "license-check-and-add", - "test": "npm run lint && npm run nyc", - "lint": "npx eslint .", - "nyc": "nyc mocha --recursive -t 10000" - }, - "engines": { - "node": ">=8.10.0", - "npm": ">=5.6.0" - }, - "files": [ - "generators" - ], - "dependencies": { - "yeoman-generator": "4.1.0", - "yosay": "^2.0.1" - }, - "devDependencies": { - "js-yaml": "^3.12.0", - "fs-extra": "8.1.0", - "yeoman-assert": "^3.1.1", - "yeoman-test": "^1.7.0", - "mocha": "3.4.2", - "sinon": "^7.3.2", - "chai": "^3.5.0", - "sinon-chai": "^3.3.0", - "eslint": "^5.16.0", - "rewire": "^4.0.0", - "nyc": "11.1.0", - "license-check-and-add": "2.3.6" - }, - "license": "Apache-2.0", - "licenses": [ - { - "type": "Apache-2.0", - "url": "https://github.com/hyperledger/caliper/blob/master/LICENSE" - } - ], - "license-check-and-add-config": { - "folder": ".", - "license": "../../../LICENSE.txt", - "exact_paths_method": "EXCLUDE", - "exact_paths": [ - "node_modules", - ".nyc_output", - "coverage" + "private": true, + "name": "@hyperledger/generator-caliper", + "description": "Yeoman generator for Hyperledger Caliper", + "version": "0.3.1", + "author": "Lynn Muswere", + "homepage": "https://hyperledger.github.io/caliper/", + "repository": { + "type": "git", + "url": "https://github.com/hyperledger/caliper" + }, + "main": "generators/callback/index.js", + "keywords": [ + "yeoman-generator", + "hyperledger", + "caliper" ], - "file_type_method": "EXCLUDE", - "file_types": [ - ".yml", - ".md" + "scripts": { + "pretest": "npm run licchk", + "licchk": "license-check-and-add", + "test": "npm run lint && npm run nyc", + "lint": "npx eslint .", + "nyc": "nyc mocha --recursive -t 10000" + }, + "engines": { + "node": ">=8.10.0", + "npm": ">=5.6.0" + }, + "files": [ + "generators" ], - "insert_license": false, - "license_formats": { - "js": { - "prepend": "/*", - "append": "*/", - "eachLine": { - "prepend": "* " + "dependencies": { + "yeoman-generator": "4.1.0", + "yosay": "^2.0.1" + }, + "devDependencies": { + "js-yaml": "^3.12.0", + "fs-extra": "8.1.0", + "yeoman-assert": "^3.1.1", + "yeoman-test": "^1.7.0", + "mocha": "3.4.2", + "sinon": "^7.3.2", + "chai": "^3.5.0", + "sinon-chai": "^3.3.0", + "eslint": "^5.16.0", + "rewire": "^4.0.0", + "nyc": "11.1.0", + "license-check-and-add": "2.3.6" + }, + "license": "Apache-2.0", + "licenses": [ + { + "type": "Apache-2.0", + "url": "https://github.com/hyperledger/caliper/blob/master/LICENSE" } - }, - "editorconfig|yaml": { - "prepend": "#", - "append": "#", - "eachLine": { - "prepend": "# " + ], + "license-check-and-add-config": { + "folder": ".", + "license": "../../../LICENSE.txt", + "exact_paths_method": "EXCLUDE", + "exact_paths": [ + "node_modules", + ".nyc_output", + "coverage" + ], + "file_type_method": "EXCLUDE", + "file_types": [ + ".yml", + ".md" + ], + "insert_license": false, + "license_formats": { + "js": { + "prepend": "/*", + "append": "*/", + "eachLine": { + "prepend": "* " + } + }, + "editorconfig|yaml": { + "prepend": "#", + "append": "#", + "eachLine": { + "prepend": "# " + } + } } - } + }, + "nyc": { + "exclude": [ + "test/**", + "coverage/**", + "generators/benchmark/templates/**" + ], + "reporter": [ + "text-summary", + "html" + ], + "all": true, + "check-coverage": true, + "statements": 1, + "branches": 1, + "functions": 1, + "lines": 1 } - }, - "nyc": { - "exclude": [ - "test/**", - "coverage/**", - "generators/benchmark/templates/**" - ], - "reporter": [ - "text-summary", - "html" - ], - "all": true, - "check-coverage": true, - "statements": 1, - "branches": 1, - "functions": 1, - "lines": 1 - } -} +} \ No newline at end of file diff --git a/packages/caliper-gui-dashboard/package.json b/packages/caliper-gui-dashboard/package.json index 1e4738b78..baac73324 100755 --- a/packages/caliper-gui-dashboard/package.json +++ b/packages/caliper-gui-dashboard/package.json @@ -1,7 +1,7 @@ { "name": "@hyperledger/caliper-gui-dashboard", "description": "Hyperledger Caliper GUI dashboard module, for easily assembling configuration files and monitoring benchmark runs", - "version": "0.3.1-unstable", + "version": "0.3.1", "private": true, "repository": { "type": "git", @@ -145,4 +145,4 @@ "lines": 1 }, "license": "Apache-2.0" -} +} \ No newline at end of file diff --git a/packages/caliper-gui-server/package.json b/packages/caliper-gui-server/package.json index 1236b08da..c40b507b4 100644 --- a/packages/caliper-gui-server/package.json +++ b/packages/caliper-gui-server/package.json @@ -1,7 +1,7 @@ { "name": "@hyperledger/caliper-gui-server", "description": "Hyperledger Caliper GUI server module, for easily assembling configuration files and monitoring benchmark runs", - "version": "0.3.1-unstable", + "version": "0.3.1", "private": true, "repository": { "type": "git", @@ -22,11 +22,11 @@ "npm": ">=5.6.0" }, "dependencies": { - "@hyperledger/caliper-burrow": "0.3.1-unstable", - "@hyperledger/caliper-core": "0.3.1-unstable", - "@hyperledger/caliper-fabric": "0.3.1-unstable", - "@hyperledger/caliper-iroha": "0.3.1-unstable", - "@hyperledger/caliper-sawtooth": "0.3.1-unstable", + "@hyperledger/caliper-burrow": "0.3.1", + "@hyperledger/caliper-core": "0.3.1", + "@hyperledger/caliper-fabric": "0.3.1", + "@hyperledger/caliper-iroha": "0.3.1", + "@hyperledger/caliper-sawtooth": "0.3.1", "chalk": "1.1.3", "cors": "^2.8.5", "express": "^4.17.1", @@ -107,4 +107,4 @@ "lines": 1 }, "license": "Apache-2.0" -} +} \ No newline at end of file diff --git a/packages/caliper-iroha/package.json b/packages/caliper-iroha/package.json index 02272d698..ee9939c30 100644 --- a/packages/caliper-iroha/package.json +++ b/packages/caliper-iroha/package.json @@ -1,7 +1,7 @@ { "name": "@hyperledger/caliper-iroha", "description": "Hyperledger Iroha adaptor for Caliper, enabling the running of performance benchmarks that interact with Iroha", - "version": "0.3.1-unstable", + "version": "0.3.1", "repository": { "type": "git", "url": "https://github.com/hyperledger/caliper", @@ -22,7 +22,7 @@ "npm": ">=5.6.0" }, "dependencies": { - "@hyperledger/caliper-core": "0.3.1-unstable" + "@hyperledger/caliper-core": "0.3.1" }, "devDependencies": { "iroha-helpers": "0.8.8", @@ -85,4 +85,4 @@ "lines": 5 }, "license": "Apache-2.0" -} +} \ No newline at end of file diff --git a/packages/caliper-publish/package.json b/packages/caliper-publish/package.json index bb4540217..e5edb5843 100644 --- a/packages/caliper-publish/package.json +++ b/packages/caliper-publish/package.json @@ -1,7 +1,7 @@ { "name": "caliper-publish", "description": "Hyperledger Caliper internal CLI for publishing packages", - "version": "0.3.1-unstable", + "version": "0.3.1", "private": true, "repository": { "type": "git", @@ -85,4 +85,4 @@ "lines": 5 }, "license": "Apache-2.0" -} +} \ No newline at end of file diff --git a/packages/caliper-sawtooth/package.json b/packages/caliper-sawtooth/package.json index 32968e56e..0b0bf4a69 100644 --- a/packages/caliper-sawtooth/package.json +++ b/packages/caliper-sawtooth/package.json @@ -1,7 +1,7 @@ { "name": "@hyperledger/caliper-sawtooth", "description": "Hyperledger Sawtooth adaptor for Caliper, enabling the running of performance benchmarks that interact with Sawtooth", - "version": "0.3.1-unstable", + "version": "0.3.1", "repository": { "type": "git", "url": "https://github.com/hyperledger/caliper", @@ -22,7 +22,7 @@ "npm": ">=5.6.0" }, "dependencies": { - "@hyperledger/caliper-core": "0.3.1-unstable", + "@hyperledger/caliper-core": "0.3.1", "request-promise": "^4.2.1", "protocol-buffers": "^4.1.0" }, @@ -87,4 +87,4 @@ "lines": 5 }, "license": "Apache-2.0" -} +} \ No newline at end of file diff --git a/packages/caliper-tests-integration/package.json b/packages/caliper-tests-integration/package.json index 9fee3d0f9..23ee51765 100644 --- a/packages/caliper-tests-integration/package.json +++ b/packages/caliper-tests-integration/package.json @@ -1,144 +1,143 @@ { - "name": "caliper-tests-integration", - "version": "0.3.1-unstable", - "private": true, - "description": "Integration tests for Hyperledger Caliper", - "scripts": { - "cleanup": "./scripts/cleanup.sh", - "start_verdaccio": "npm run cleanup && ./scripts/start-verdaccio.sh", - "stop_verdaccio": "PM2_HOME=.pm2 pm2 stop verdaccio || true", - "pretest": "npm run licchk", - "licchk": "license-check-and-add", - "npm_publish_local": "ARCH=`uname -m` npm_config_registry=http://localhost:4873 node ./scripts/publishNpmPackages.js http://localhost:4873", - "docker_build_local": "node ./scripts/buildDockerImage.js http://localhost:4873", - "test": "exit 0" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/hyperledger/caliper.git" - }, - "keywords": [ - "blockchain", - "performance" - ], - "author": "Hyperledger Caliper", - "license": "Apache-2.0", - "bugs": { - "url": "https://github.com/hyperledger/caliper/issues" - }, - "homepage": "https://github.com/hyperledger/caliper#readme", - "devDependencies": { - "license-check-and-add": "2.3.6" - }, - "dependencies": { - "@hyperledger/caliper-burrow": "0.3.1-unstable", - "@hyperledger/caliper-cli": "0.3.1-unstable", - "@hyperledger/caliper-core": "0.3.1-unstable", - "@hyperledger/caliper-ethereum": "0.3.1-unstable", - "@hyperledger/caliper-fabric": "0.3.1-unstable", - "@hyperledger/caliper-fisco-bcos": "0.3.1-unstable", - "@hyperledger/caliper-iroha": "0.3.1-unstable", - "@hyperledger/caliper-sawtooth": "0.3.1-unstable", - "yeoman-generator": "4.1.0", - "yosay": "^2.0.1" - }, - "license-check-and-add-config": { - "folder": ".", - "license": "../../LICENSE.txt", - "exact_paths_method": "EXCLUDE", - "exact_paths": [ - "node_modules", - ".nyc_output", - "coverage", - ".pm2/touch", - "storage", - "scripts/storage", - "log", - ".DS_Store", - "fabric_docker_distributed_tests/.gitignore", - "fabric_docker_distributed_tests/config/.gitignore", - "fabric_docker_distributed_tests/config/bin", - "fabric_docker_distributed_tests/config/config", - "fabric_docker_distributed_tests/config/crypto-config", - "fabric_docker_distributed_tests/mosquitto", - "fabric_docker_distributed_tests/node_modules", - "fabric_docker_local_tests/.gitignore", - "fabric_docker_local_tests/config/.gitignore", - "fabric_docker_local_tests/config/bin", - "fabric_docker_local_tests/config/config", - "fabric_docker_local_tests/config/crypto-config", - "fabric_docker_local_tests/node_modules", - "fabric_tests/.gitignore", - "fabric_tests/config/.gitignore", - "fabric_tests/config/bin", - "fabric_tests/config/config", - "fabric_tests/config/crypto-config", - "fabric_tests/mosquitto", - "ethereum_tests/.gitignore", - "ethereum_tests/config/data", - "ethereum_tests/config/keys", - "besu_tests/.gitignore", - "besu_tests/config/data", - "besu_tests/config/keys", - "sawtooth_tests/.gitignore", - "fisco-bcos_tests/.gitignore", - "fisco-bcos_tests/config/node0", - "fisco-bcos_tests/config/node1", - "fisco-bcos_tests/config/node2", - "fisco-bcos_tests/config/node3", - "fisco-bcos_tests/config/sdk", - "generator_tests/fabric/.gitignore", - "generator_tests/fabric/config/.gitignore", - "iroha_tests/.gitignore", - "iroha_tests/config/node0", - "iroha_tests/config/node1", - "iroha_tests/config/node2" - + "name": "caliper-tests-integration", + "version": "0.3.1", + "private": true, + "description": "Integration tests for Hyperledger Caliper", + "scripts": { + "cleanup": "./scripts/cleanup.sh", + "start_verdaccio": "npm run cleanup && ./scripts/start-verdaccio.sh", + "stop_verdaccio": "PM2_HOME=.pm2 pm2 stop verdaccio || true", + "pretest": "npm run licchk", + "licchk": "license-check-and-add", + "npm_publish_local": "ARCH=`uname -m` npm_config_registry=http://localhost:4873 node ./scripts/publishNpmPackages.js http://localhost:4873", + "docker_build_local": "node ./scripts/buildDockerImage.js http://localhost:4873", + "test": "exit 0" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/hyperledger/caliper.git" + }, + "keywords": [ + "blockchain", + "performance" ], - "file_type_method": "EXCLUDE", - "file_types": [ - ".pm2", - ".pid", - ".yml", - ".log", - ".acl", - ".md", - ".toml", - ".sample", - ".service", - ".priv", - ".pub", - ".pem", - ".html", - ".bin", - ".crt", - ".key", - ".tx", - ".block", - ".sh", - ".qry", - ".list", - ".sol", - ".address", - ".proto", - ".cfg" - ], - "insert_license": false, - "license_formats": { - "js|go|cto": { - "prepend": "/*", - "append": "*/", - "eachLine": { - "prepend": "* " - } - }, - "editorconfig|yaml|Dockerfile|dockerignore": { - "prepend": "#", - "append": "#", - "eachLine": { - "prepend": "# " + "author": "Hyperledger Caliper", + "license": "Apache-2.0", + "bugs": { + "url": "https://github.com/hyperledger/caliper/issues" + }, + "homepage": "https://github.com/hyperledger/caliper#readme", + "devDependencies": { + "license-check-and-add": "2.3.6" + }, + "dependencies": { + "@hyperledger/caliper-burrow": "0.3.1", + "@hyperledger/caliper-cli": "0.3.1", + "@hyperledger/caliper-core": "0.3.1", + "@hyperledger/caliper-ethereum": "0.3.1", + "@hyperledger/caliper-fabric": "0.3.1", + "@hyperledger/caliper-fisco-bcos": "0.3.1", + "@hyperledger/caliper-iroha": "0.3.1", + "@hyperledger/caliper-sawtooth": "0.3.1", + "yeoman-generator": "4.1.0", + "yosay": "^2.0.1" + }, + "license-check-and-add-config": { + "folder": ".", + "license": "../../LICENSE.txt", + "exact_paths_method": "EXCLUDE", + "exact_paths": [ + "node_modules", + ".nyc_output", + "coverage", + ".pm2/touch", + "storage", + "scripts/storage", + "log", + ".DS_Store", + "fabric_docker_distributed_tests/.gitignore", + "fabric_docker_distributed_tests/config/.gitignore", + "fabric_docker_distributed_tests/config/bin", + "fabric_docker_distributed_tests/config/config", + "fabric_docker_distributed_tests/config/crypto-config", + "fabric_docker_distributed_tests/mosquitto", + "fabric_docker_distributed_tests/node_modules", + "fabric_docker_local_tests/.gitignore", + "fabric_docker_local_tests/config/.gitignore", + "fabric_docker_local_tests/config/bin", + "fabric_docker_local_tests/config/config", + "fabric_docker_local_tests/config/crypto-config", + "fabric_docker_local_tests/node_modules", + "fabric_tests/.gitignore", + "fabric_tests/config/.gitignore", + "fabric_tests/config/bin", + "fabric_tests/config/config", + "fabric_tests/config/crypto-config", + "fabric_tests/mosquitto", + "ethereum_tests/.gitignore", + "ethereum_tests/config/data", + "ethereum_tests/config/keys", + "besu_tests/.gitignore", + "besu_tests/config/data", + "besu_tests/config/keys", + "sawtooth_tests/.gitignore", + "fisco-bcos_tests/.gitignore", + "fisco-bcos_tests/config/node0", + "fisco-bcos_tests/config/node1", + "fisco-bcos_tests/config/node2", + "fisco-bcos_tests/config/node3", + "fisco-bcos_tests/config/sdk", + "generator_tests/fabric/.gitignore", + "generator_tests/fabric/config/.gitignore", + "iroha_tests/.gitignore", + "iroha_tests/config/node0", + "iroha_tests/config/node1", + "iroha_tests/config/node2" + ], + "file_type_method": "EXCLUDE", + "file_types": [ + ".pm2", + ".pid", + ".yml", + ".log", + ".acl", + ".md", + ".toml", + ".sample", + ".service", + ".priv", + ".pub", + ".pem", + ".html", + ".bin", + ".crt", + ".key", + ".tx", + ".block", + ".sh", + ".qry", + ".list", + ".sol", + ".address", + ".proto", + ".cfg" + ], + "insert_license": false, + "license_formats": { + "js|go|cto": { + "prepend": "/*", + "append": "*/", + "eachLine": { + "prepend": "* " + } + }, + "editorconfig|yaml|Dockerfile|dockerignore": { + "prepend": "#", + "append": "#", + "eachLine": { + "prepend": "# " + } + } } - } } - } -} +} \ No newline at end of file