aboutsummaryrefslogtreecommitdiffstats
path: root/lib/utils.js
AgeCommit message (Collapse)AuthorFilesLines
2020-02-284.3.0/6.1.0 deploy-handler - policyVersion as str4.3.0Alex Shatov1-3/+3
- 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
2018-09-173.0.2 tls web-server under k8s3.0.2Alex Shatov1-7/+12
- external version 3.0.2 - internal version 5.0.2 for code change - no API change - https server is enabled when either of the following pairs are found in fs: 1. etc/cert/cert and etc/cert/pass (old behavior) 2. etc/cert/cert.p12 and etc/cert/p12.pass - added alternative - hide secrets when logging the config - changed Dockerfile to copy the whole etc/ folder that might contain etc/cert/* files - easier to test - replaced CRLF with LF in swagger-ui.js - no code change - unit tested Coverage summary Statements : 77.45% ( 910/1175 ) Branches : 53.7% ( 283/527 ) Functions : 79.9% ( 159/199 ) Lines : 77.85% ( 900/1156 ) Change-Id: I921e0d6ac9573f60fa98910f799f9d034b573542 Signed-off-by: Alex Shatov <alexs@att.com> Issue-ID: DCAEGEN2-780
2017-08-23deployment handler initial seed codeLucas, John (jl1315)1-0/+39
Change-Id: I0bfc86d17edead0114ea0012fb469014e978cd15 Issue-Id: DCAEGEN2-43 Signed-off-by: J. F. Lucas <jflucas@research.att.com>