summaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2018-03-13on /policy APIs return server_instance_uuidAlex Shatov1-2/+6
- 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 Shatov2-7/+10
- 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 Ji2-2/+2
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 Shatov10-10/+10
Change-Id: I87f4438774a5e8b65bc8ceba83893a717a8a907f Issue-ID: DCAEGEN2-249 Signed-off-by: Alex Shatov <alexs@att.com>
2018-02-01improved message to deployment-handlerAlex Shatov1-4/+24
* 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 Shatov10-196/+215
* 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 Shatov1-181/+331
* 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-10-20Fix logging errorsv1.1.01.0.0-ONAP1.0.0-AmsterdamJack Lucas4-7/+18
Change-Id: Ibb5182e7eff9a1c2d079da28a46d09cb2c700592 Issue-Id: DCAEGEN2-171 Signed-off-by: Jack Lucas <jflucas@research.att.com>
2017-09-18more commit+branch info for deployment_handlerAlex Shatov1-7/+14
Change-Id: Ib91f54dd94695c1c5d4759837a20776bf63288ed Issue-Id: DCAEGEN2-62 Signed-off-by: Alex Shatov <alexs@att.com>
2017-09-154.2.0 - added the policy-update handlingAlex Shatov10-619/+994
* API version 4.1.0 - added /policy, /swagger-ui * new: policy update with queuing of execute-operations * more data on info - branch+commit-datetime * expecting consul ip to be in /etc/hosts * added swagger-ui and added policy to *API.yaml * common logging - more audits and metrics records - directly in promise_request Change-Id: I7d32f34100a16b5b7293ed5afe67f5c8c3098495 Issue-Id: DCAEGEN2-62 Signed-off-by: Alex Shatov <alexs@att.com>
2017-08-23deployment handler initial seed codeLucas, John (jl1315)14-0/+2006
Change-Id: I0bfc86d17edead0114ea0012fb469014e978cd15 Issue-Id: DCAEGEN2-43 Signed-off-by: J. F. Lucas <jflucas@research.att.com>