aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorAlex Shatov <alexs@att.com>2020-02-28 14:59:50 -0500
committerAlex Shatov <alexs@att.com>2020-02-28 14:59:50 -0500
commitdbab04e8789e29fc8dd9e86b693812ea0e071c6a (patch)
tree1535e80ed384cdd9cc23c5d2542ee7951c04a4a7 /package.json
parent781f8706277904ab00f5a739e0d5d64d0dc60b03 (diff)
4.3.0/6.1.0 deploy-handler - policyVersion as str4.3.0
- external version 4.3.0 - internal version 6.1.0 for code change - no API change - deployment-handler now expects the policyVersion as semver or any string to support for DMaaP MR update notification from the new PDP - changed Dockerfile to use the alpine base image to reduce the footprint - brought the latest packages except zip lib - added package-lock.json to freeze the dependencies - latest log4js - change of configuration file format - fixed call to cloudify API /node-instances added &_sort=id to make the pagination consistent - changed uuid/v4 to uuid.v4() to avoid the deprecation warning - unit test = coverage by nyc now = on policy API - assert all expected nock calls are done - integration testing with the latest policy-handler (DCAEGEN2-1851) and the new policy-engine is requested unit test coverage summary Statements : 83.78% ( 1023/1221 ) Branches : 62.95% ( 333/529 ) Functions : 84.35% ( 194/230 ) Lines : 84.18% ( 1011/1201 ) Change-Id: I174aa0b8804af0378755de86be833b0b763ddc1d Signed-off-by: Alex Shatov <alexs@att.com> Issue-ID: DCAEGEN2-2085
Diffstat (limited to 'package.json')
-rw-r--r--package.json40
1 files changed, 23 insertions, 17 deletions
diff --git a/package.json b/package.json
index 1029624..2ca040a 100644
--- a/package.json
+++ b/package.json
@@ -1,30 +1,36 @@
{
"name": "onap-dcae-deployment-handler",
- "version": "6.0.2",
+ "version": "6.1.0",
"description": "ONAP DCAE Deployment Handler",
"main": "deployment-handler.js",
"dependencies": {
"adm-zip": "0.4.11",
- "body-parser": "^1.15.0",
- "express": "^4.13.4",
- "log4js": "^0.6.33",
- "swagger-ui-express": "latest",
- "uuid": "^3.0.1",
- "yamljs": "latest"
+ "body-parser": "1.19.0",
+ "express": "4.17.1",
+ "log4js": "6.1.2",
+ "swagger-ui-express": "4.1.3",
+ "uuid": "7.0.1",
+ "yamljs": "0.3.0"
},
"devDependencies": {
- "chai": "^4.1.2",
- "chai-http": "^3.0.0",
- "istanbul": "^0.4.5",
- "mocha": "^3.5.3",
- "nock": "^9.0.21"
+ "chai": "4.2.0",
+ "chai-http": "4.3.0",
+ "mocha": "7.1.0",
+ "nock": "12.0.1",
+ "nyc": "15.0.0"
},
"scripts": {
- "test": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter spec tests/",
- "test-only": "mocha --reporter spec tests/",
- "test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec tests/",
- "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot tests/"
+ "start": "node deployment-handler.js",
+ "test": "mocha --reporter spec --exit \"./tests/*.js\"",
+ "coverage": "nyc --reporter html --reporter text npm test"
},
- "author": "author",
+ "engines": {
+ "node": ">=10.16.3"
+ },
+ "author": "Jack Lucas",
+ "contributors": [
+ "Alex Shatov",
+ "Shadi Haidar"
+ ],
"license": "(Apache-2.0)"
}