aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-02-04Merge "Add initial changelog"honoluluRemigiusz Janeczek1-0/+7
2021-02-03Add initial changelogPawel1-0/+7
Issue-ID: DCAEGEN2-2557 Signed-off-by: Pawel <pawel.kasperkiewicz@nokia.com> Change-Id: Ie3b5a71da0f0016cfbd07ac75c3097d971528014
2021-01-13dcae INFO.yaml updatevv770d1-10/+6
Committer changes Change-Id: I4d27ac51bfd6b20808c21bde5da3e578896b1bc0 Issue-ID: DCAEGEN2-2583 Signed-off-by: vv770d <vv770d@att.com>
2020-09-23Release deployment-handler 4.4.17.0.0-ONAPguilinRemigiusz Janeczek1-0/+8
Fix undefined tenant bug in deployment links Issue-ID: DCAEGEN2-2452 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I5fff529fc1ee7d0b6094eeee9209c07c383a6430
2020-09-23Fix undefined tenant bug in deployment status link4.4.1Remigiusz Janeczek3-3/+4
Issue-ID: DCAEGEN2-2452 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: Ie650724d2a669f3388e93290ae5b840e3a9efb35
2020-09-14Merge "release 4.4.0 DH container"Tony Hansen1-0/+8
2020-09-14release 4.4.0 DH containervv770d1-0/+8
DH install/uninstall improvements Change-Id: Idb6f6dad4e23d980338f76e5037a7b27e57eca9e Signed-off-by: vv770d <vv770d@att.com> Issue-ID: DCAEGEN2-2022
2020-09-11dcae INFO.yaml updatevv770d1-11/+25
Project maturity Committer changes Change-Id: Id94cdb5ce8ca5a7763ff9b606db551ba23a5ece1 Issue-ID: DCAEGEN2-2425 Signed-off-by: vv770d <vv770d@att.com>
2020-09-08Fix INFO.yaml files4.4.0Jessica Wagantall1-0/+1
Proper syntax for INFO.yaml requires the first line to be "---" which was previously removed. Re-adding this missing line. Issue-ID: CIMAN-387 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org> Change-Id: I7a4e3528c0bdc8e2ff2ada4a5d1be9c1da8f35bd
2020-08-19DH install/uninstall improvementsShadi Haidar7-107/+381
Install workflow changes: -Use inventory blueprint (BP) typeId when uploading BP to Cloudify/CFY -Set global visibility when uploading BP to CFY for multi-tenant access -Re-use BP if it exists in CFY rather than alawys uploading a new BP -Do not add a new service in inventory anymore Un-Install workflow changes: -Retreive associated BP against the deployment -Check if any other deployments still exist against the BP -If no associated deployments, get the associated tenant for the BP -Only delete BP if there are no more associated BPs -Do not remove associated service from inventory (it won't exist) Coverage summary Statements : 78.01% ( 997/1278 ) Branches : 56.45% ( 302/535 ) Functions : 74.89% ( 164/219 ) Lines : 78.54% ( 988/1258 ) Issue-ID: DCAEGEN2-2022 Signed-off-by: Shadi Haidar <sh1986@att.com> Change-Id: I9cb197edc3a0276c5ca95f9c936fc7300d849f56 Signed-off-by: Shadi Haidar <sh1986@att.com> Signed-off-by: Shadi Haidar (sh1986) <sh1986@att.com> Signed-off-by: Shadi Haidar <sh1986@att.com>
2020-07-23dcae committer updates in INFO.yamlvv770d1-17/+10
Change-Id: Ic5fb5710332fadd02c9245a3e02e13bbfac0c96a Issue-ID: DCAEGEN2-2365 Signed-off-by: vv770d <vv770d@att.com>
2020-03-074.3.0 DH container release6.0.0-ONAPfrankfurtVijay Venkatesh Kumar1-0/+8
- 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 testw Change-Id: Ife90a8438d343c3ab9e2ba650aba3e341739ccdd Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> Issue-ID: DCAEGEN2-1891 Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
2020-02-284.3.0/6.1.0 deploy-handler - policyVersion as str4.3.0Alex Shatov17-137/+3092
- 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
2020-01-24Fix committer IDJack Lucas1-1/+1
Issue-ID: DCAEGEN2-2012 Signed-off-by: Jack Lucas <jflucas@research.att.com> Change-Id: I42a55f39aeb53eb746117a5136c603e5b8fe2dee
2019-12-03Update DCAE Committer in INFO.yamlJoeOLeary1-26/+10
Issue-ID: DCAEGEN2-1891 Signed-off-by: JoeOLeary <joseph.o.leary@est.tech> Change-Id: Idc7778e197761c39ab4f9c4290024ad1ad1d1fce
2019-06-10Update to node 105.0.2-ONAP5.0.1-ONAP5.0.0-ONAP4.2.0elaltoel-altoJack Lucas4-4/+4
(Node 10 is the current LTS release, with support until April 2021. While node 12 is available, it is not the current LTS release and will not be LTS until late October 2019. 10 is the best choice for now.) Unit test coverage summary: Statements : 80.76% ( 995/1232 ) Branches : 58.44% ( 308/527 ) Functions : 81.13% ( 172/212 ) Lines : 81.27% ( 985/1212 ) Issue-ID: DCAEGEN2-513 Change-Id: I4a7835fbd6bfd2c4029095974769435d2e021faa Signed-off-by: Jack Lucas <jflucas@research.att.com>
2019-06-07Enhance DH uninstall workflowShadi Haidar5-4/+16
Make force uninstall configurable and set ignore_failure to true in order to have the uninstall execution complete as much as possible Coverage summary Statements : 80.79% ( 997/1234 ) Branches : 58.06% ( 306/527 ) Functions : 81.13% ( 172/212 ) Lines : 81.3% ( 987/1214 ) Issue-ID: DCAEGEN2-1439 Change-Id: I5f0cd55c4d5eeead9bb2874f83bb4db1809fbc8d Signed-off-by: Shadi Haidar <sh1986@att.com>
2019-04-04Fix blueprint upload problem4.0.0-ONAPdublinJack Lucas3-4/+4
=============================== Coverage summary =============================== Statements : 80.72% ( 992/1229 ) Branches : 58.13% ( 304/523 ) Functions : 81.13% ( 172/212 ) Lines : 81.22% ( 982/1209 ) ================================================================================ Change-Id: I1f9d531f4f603576ca3668eef73f00e28ed09742 Issue-ID: DCAEGEN2-1301 Signed-off-by: Jack Lucas <jflucas@research.att.com>
2019-03-26Add health and service endpointsShadi Haidar13-43/+556
4.0.0 deployment-handler Upgraded cloudify api from 2.1 to 3.1 due to new cloudify /status api Requires upgrading Cloudify to 4.x Added 2 APIs to check health of DH itself and to Inventory and Cloudify Coverage summary Statements : 80.75% ( 994/1231 ) Branches : 57.74% ( 302/523 ) Functions : 81.13% ( 172/212 ) Lines : 81.26% ( 984/1211 ) Issue-ID: DCAEGEN2-1127 Change-Id: Ic851a576eed668016f6cfe956f0f1880a65e1065 Signed-off-by: Shadi Haidar <sh1986@att.com>
2019-02-053.2.0/5.2.0 - fixed zip folder bug by admzip libAlex Shatov10-38/+52
- external version 3.2.0 - internal version 5.2.0 for code change - no API change - fixed the zip folder bug when sending the blueprint to cloudify = this bug was preventing the opening of the blueprint in cloudify UI because the folder record was not properly formatted by admzip lib 0.4.7 - upgraded adm-zip lib to the latest version 0.4.13 - unit tested the zipping of the blueprint file under subfolder without having the subfolder record in zip = manual unzip in linux shows proper subfolder/file structure = automatic unzip is not supported by the old ubuntu = would need upgrading the node.js/ubuntu and installing unzip for proper testing - see code comments in unit-test - zip file created by admzip unzips properly both in linux and in Windows = zip still has some header warnings, but not critical unit test coverage summary Statements : 80.94% ( 943/1165 ) Branches : 58.22% ( 294/505 ) Functions : 81.28% ( 165/203 ) Lines : 81.48% ( 933/1145 ) Change-Id: I48e44f025c21ef51de5a7422c8db9433581c787f Signed-off-by: Alex Shatov <alexs@att.com> Issue-ID: DCAEGEN2-855
2018-12-063.1.0/5.1.0 - check for finished deploymentAlex Shatov10-245/+269
- external version 3.1.0 - internal version 5.1.0 for code change - no API change - check for finished deployment creation - success or failure - stop querying cloudify manager on failed deployment creation - use optional $CONSUL_URL to get url of consul - improved info used for audit and logging and responses - added more unit tests unit test coverage summary Statements : 80.99% ( 946/1168 ) Branches : 58.22% ( 294/505 ) Functions : 81.28% ( 165/203 ) Lines : 81.53% ( 936/1148 ) Change-Id: I831cd0db0d2e148e6da4c9190495aacf72e2d39c Signed-off-by: Alex Shatov <alexs@att.com> Issue-ID: DCAEGEN2-929
2018-11-09R4 tag updateVijay Venkatesh Kumar1-1/+1
Change-Id: Iafa10f8707e3e2db318258dbfbccc65a6b5e8208 Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> Issue-ID: DCAEGEN2-937
2018-10-083.0.3 restored &_size=1000 param to cloudify3.0.33.0.1-ONAP3.0.0-ONAPcasablancaAlex Shatov4-4/+4
- external version 3.0.3 - internal version 5.0.3 for code change - no API change - restored the lost param &_size=1000 from deployment-handler to cloudify = without this fix, cloudify 4.x does not return any items thru its web api when _offset id provided - this behavior was broken by previous change https://jira.onap.org/browse/DCAEGEN2-548 - unit tested Coverage summary Statements : 76.94% ( 904/1175 ) Branches : 53.12% ( 281/529 ) Functions : 78.89% ( 157/199 ) Lines : 77.42% ( 895/1156 ) Change-Id: Idcf21115294ce3db5577def7e8ee5b00aa0850a7 Signed-off-by: Alex Shatov <alexs@att.com> Issue-ID: DCAEGEN2-862
2018-09-173.0.2 tls web-server under k8s3.0.2Alex Shatov9-75/+106
- 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
2018-09-12Check deployment creation before installShadi Haidar6-17/+137
Unit Test Code Coverage: Statements : 76.85% ( 893/1162 ) Branches : 52.99% ( 275/519 ) Functions : 78.68% ( 155/197 ) Lines : 77.21% ( 884/1145 ) Issue-ID: DCAEGEN2-754 Change-Id: Id8f3fa26e8ece7e9099145ea20034829a1ad7d13 Signed-off-by: Shadi Haidar <sh1986@att.com>
2018-08-27Use managed guava versionGary Wu1-1/+1
Use centrally managed guava version specified in oparent. Includes upgrade to oparent 1.2.0. This change was submitted by script and may include additional whitespace or formatting changes. Change-Id: I8bcbc81e6b87ec88b4fbbd7ea765f2bec973b825 Issue-ID: INT-619 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2018-08-033.0.0 new dataflow on policy-update and catchupAlex Shatov9-229/+353
- external version 3.0.0 - internal version 5.0.0 for API and code - changed API and functionality - new dataflow - new dataflow between policy-handler and deployment-handler on policy-update and catchup = GET /policy - returns the deployed policy_ids+versions and policy-filters = PUT /policy updates policies on deployed components = new message format for policy-update and catchup = matching by policy_id+version and policy_filter_id only - removed POST to /policy - the obsolete API = removed the 'smart' matching of the policies by policy-filter -- it is done by the policy-handler now Coverage summary Statements : 77.06% ( 870/1129 ) Branches : 53.55% ( 264/493 ) Functions : 78.53% ( 150/191 ) Lines : 77.45% ( 862/1113 ) Change-Id: I5409f32e1acd4870f1d74b466902a796fa10f6c7 Signed-off-by: Alex Shatov <alexs@att.com> Issue-ID: DCAEGEN2-492
2018-07-27Merge "Add INFO.yaml file"Vijay Venkatesh Kumar1-0/+90
2018-07-26Add INFO.yaml fileJessica Wagantall1-0/+90
Add INFO.yaml to list: - Project description - Properties - PTL information - Meeting information - Committer information Change-Id: Ic1730ce784457f0c384e6da7a257895e2fa605c2 Issue-ID: CIMAN-134 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-07-16Update release tagLusheng Ji1-1/+1
Issue-ID: DCAEGEN2-499 Change-Id: Iec19c1d8412b6e40bd66ebc69d9a0cbf46202368 Signed-off-by: Lusheng Ji <lji@research.att.com>
2018-06-19Extend API with tenant nameShadi Haidar7-36/+74
remove cloudify.uploadBlueprint() from cloudify.js debug log Issue-ID: DCAEGEN2-548 Change-Id: I800766aab4e95a945477c0a6eeb5adfc41a1203d Signed-off-by: Shadi Haidar <sh1986@att.com>
2018-05-112.1.5 - fixed getting node-instances from cfy 4.x2.0.0-ONAPbeijing2.0.0-ONAPAlex Shatov4-4/+4
- added _size=1000 to params on getting node-instances from cloudify = cloudify 4.x does not like to have the _offset=0 without _size param cfy assumes that _size=0 and returns no items. = that was working fine in cloudify 3.4 = the max _size is now only 1000 in 4.x versus 10,000 in 3.4 - external version 2.1.5, internal version 4.4.5 - unit test code coverage Statements : 83.99% ( 939/1118 ) Branches : 62.75% ( 320/510 ) Functions : 81.15% ( 155/191 ) Lines : 84.13% ( 928/1103 ) Change-Id: I4c47522c49acc028841c5c08787995f33e7ef0e3 Signed-off-by: Alex Shatov <alexs@att.com> Issue-ID: DCAEGEN2-500
2018-05-092.1.4 - fixed "value" argument is out of boundsAlex Shatov5-8/+61
- using the original "adm-zip": "0.4.7" because the latest "adm-zip": "0.4.9" is broken - external version 2.1.4, internal version 4.4.4 - unit test code coverage Statements : 83.99% ( 939/1118 ) Branches : 62.75% ( 320/510 ) Functions : 81.15% ( 155/191 ) Lines : 84.13% ( 928/1103 ) Change-Id: I7e82b1d7a51c562eb88cffbc12a0bfa0d92eebee Signed-off-by: Alex Shatov <alexs@att.com> Issue-ID: DCAEGEN2-487
2018-05-07fixed 413 "request entity too large" for /policyAlex Shatov5-45/+39
- increased the message limit to 150mb on policy-update API to avoid 413 on catchup messages from policy-handler - external version 2.1.3, internal version 4.4.3 - unit test code coverage Statements : 84% ( 940/1119 ) Branches : 62.75% ( 320/510 ) Functions : 81.15% ( 155/191 ) Lines : 84.15% ( 929/1104 ) Change-Id: Iafd27b37fde6b0a310f2ba805f505f380b58ec1f Signed-off-by: Alex Shatov <alexs@att.com> Issue-ID: DCAEGEN2-491
2018-05-04fixed 500 "value" argument is out of boundsAlex Shatov13-71/+87
- convert the EOL to linux "\n" in the blueprint before zipping and sending to cloudify to avoid crashing when the blueprint is windows "\r\n" or mac "\r" based - on catching the exception - log the stack - added logger.info that replaced the logger.debug in a variety of places - external version 2.1.2, internal version 4.4.2 - unit test code coverage Statements : 84.26% ( 942/1118 ) Branches : 64.14% ( 322/502 ) Functions : 81.68% ( 156/191 ) Lines : 84.32% ( 930/1103 ) Change-Id: I9f5f28ddd5d143ca4903316c9199df7d27682143 Signed-off-by: Alex Shatov <alexs@att.com> Issue-ID: DCAEGEN2-487
2018-04-064.4.1 deployment-handler -unit tests 84% coverageAlex Shatov9-131/+577
- more logging on metrics - log both req and res - unit tests of policy-update API - log timing and messaging in unit tests - code coverage 84.28% Statements 938/1113 65.51% Branches 321/490 81.58% Functions 155/190 84.34% Lines 926/1098 Change-Id: I3587135ceac76b291f83753441421a917a8b8bdf Signed-off-by: Alex Shatov <alexs@att.com> Issue-ID: DCAEGEN2-258
2018-04-03Merge "Fix docker tag based on CIMAN-132"Vijay Venkatesh Kumar1-2/+2
2018-04-02Fix docker tag based on CIMAN-132Lusheng Ji1-2/+2
Issue-ID: DCAEGEN2-206 Change-Id: I9bdfc4f58e80b047d205edfa5001b533391e5f1c Signed-off-by: Lusheng Ji <lji@research.att.com>
2018-03-30Update for CM 4.xJack Lucas4-4/+12
Change-Id: Idf4ca1de1d2a2fb616cc4eeb0d7d714fd9eb3b0d Issue-ID: DCAEGEN2-255 Signed-off-by: Jack Lucas <jflucas@research.att.com>
2018-03-27remove -SNAPSHOT from oparent versionAlex Shatov1-1/+1
- to prevent LF nexus removing the build due to snapshot Change-Id: I68717eb0e14e93624116c25c0e354fd668830ed0 Signed-off-by: Alex Shatov <alexs@att.com> Issue-ID: DCAEGEN2-206
2018-03-13on /policy APIs return server_instance_uuidAlex Shatov4-5/+9
- that will allow the policy-handler to identify the change of deployment-handler instance and send the catch_up message to bring all the policies up to date - proper jira ticket Change-Id: I53f99ea8316f506ab999fb6183952409ecb6e53b Signed-off-by: Alex Shatov <alexs@att.com> Issue-ID: DCAEGEN2-389
2018-02-23fixed bug=crashing on /policy/componentsAlex Shatov1-4/+5
Change-Id: I9f7e7e6448f31cdabb0dd029e05aaab134148356 Signed-off-by: Alex Shatov <alexs@att.com> Issue-ID: DCAEGEN2-356
2018-02-22reduce messaging when deployment not busyAlex Shatov5-10/+13
- reduce the messaging when the deployment is not busy in cloudify - returned checking the version and existence when the deployment not busy - otherwise just send all data to plugin in cloudify - bumped up pom version to 2.0.1 Change-Id: I8520de58f4e344bac9f32e21ddcfed7d4ebb205b Signed-off-by: Alex Shatov <alexs@att.com> Issue-ID: DCAEGEN2-356
2018-02-21bug fix - pass all policy versions to pluginAlex Shatov1-9/+8
- on queuing of policy-update messages the deployment-handler erroneously calculated the delta versus current state instead of incremented stat. - This bug only manifests when queuing of more than one policy-update to the same deployment - relaxed mapping of policies to components on not to compare the policy versions and always map to the policy-filters - the fix lets the policy-update plugin to reduce the collection of multiple policies with the same policy_id in the message and do the final comparison against the presence of the policy and the version of the policy on component Change-Id: I5621439a60b59ac9683e7eccfa5481562d3a0d95 Signed-off-by: Alex Shatov <alexs@att.com> Issue-ID: DCAEGEN2-356
2018-02-12Update license textLusheng Ji8-7/+61
Change-Id: Idff7ac3c209823d0f96d4b942363d41b9e39325a Signed-off-by: Lusheng Ji <lji@research.att.com> Issue-ID: DCAEGEN2-325
2018-02-05fix copyright from 2018 to 2017-2018Alex Shatov12-12/+12
Change-Id: I87f4438774a5e8b65bc8ceba83893a717a8a907f Issue-ID: DCAEGEN2-249 Signed-off-by: Alex Shatov <alexs@att.com>
2018-02-01improved message to deployment-handlerAlex Shatov3-9/+60
* added errored_scopes and scope_prefixes to the message to deployment-handler - to prevent erroneous removal of policies * unit test coverage 67% Change-Id: I97a5d2e949273b4564f95e0a1dd71ac5eca66f41 Issue-ID: DCAEGEN2-249 Signed-off-by: Alex Shatov <alexs@att.com>
2018-01-24unit tests coverage 68% and more info in auditAlex Shatov18-305/+941
* refactored the unit test - simpler dh server initialization * new unit tests for the dcae-deployments * new unit tests for healthcheck - info * new server_instance_uuid - unique per deployment-handler instance for logging and info * dragging req object over the stack to show req data in logging and audit and metrics * new feature variable collection of policies per component in DCAE Change-Id: I8388d7e5e11e3a6c871cf3d507bd8a07b09add29 Issue-ID: DCAEGEN2-249 Signed-off-by: Alex Shatov <alexs@att.com>
2018-01-16variable collection of policies per componentAlex Shatov7-190/+355
* new feature variable collection of policies per component in DCAE Change-Id: Iafe366edd749220b347d1ba6f530d54c95e2f1a7 Issue-ID: DCAEGEN2-249 Signed-off-by: Alex Shatov <alexs@att.com>
2017-11-25update versioningvagrant1-1/+1
Change-Id: Id0297ae4619d3b0c4c111b4be6746de430561357 Issue-ID: DCAEGEN2-211 Signed-off-by: vagrant <vv770d@att.com>