Age | Commit message (Collapse) | Author | Files | Lines |
|
remove cloudify.uploadBlueprint() from cloudify.js debug log
Issue-ID: DCAEGEN2-548
Change-Id: I800766aab4e95a945477c0a6eeb5adfc41a1203d
Signed-off-by: Shadi Haidar <sh1986@att.com>
|
|
- 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
|
|
- 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
|
|
- 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
|
|
- 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
|
|
- 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
|
|
|
|
Issue-ID: DCAEGEN2-206
Change-Id: I9bdfc4f58e80b047d205edfa5001b533391e5f1c
Signed-off-by: Lusheng Ji <lji@research.att.com>
|
|
Change-Id: Idf4ca1de1d2a2fb616cc4eeb0d7d714fd9eb3b0d
Issue-ID: DCAEGEN2-255
Signed-off-by: Jack Lucas <jflucas@research.att.com>
|
|
- 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
|
|
- 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
|
|
Change-Id: I9f7e7e6448f31cdabb0dd029e05aaab134148356
Signed-off-by: Alex Shatov <alexs@att.com>
Issue-ID: DCAEGEN2-356
|
|
- 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
|
|
- 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
|
|
Change-Id: Idff7ac3c209823d0f96d4b942363d41b9e39325a
Signed-off-by: Lusheng Ji <lji@research.att.com>
Issue-ID: DCAEGEN2-325
|
|
Change-Id: I87f4438774a5e8b65bc8ceba83893a717a8a907f
Issue-ID: DCAEGEN2-249
Signed-off-by: Alex Shatov <alexs@att.com>
|
|
* 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>
|
|
* 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>
|
|
* 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>
|
|
Change-Id: Id0297ae4619d3b0c4c111b4be6746de430561357
Issue-ID: DCAEGEN2-211
Signed-off-by: vagrant <vv770d@att.com>
|
|
Bump minor version in preparation for Amsterdam
branching.
Change-Id: Idf115d32d65e4a3aff2b673f9e10ff69ac53252b
Issue-ID: CIMAN-120
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
|
|
Change-Id: Ibb5182e7eff9a1c2d079da28a46d09cb2c700592
Issue-Id: DCAEGEN2-171
Signed-off-by: Jack Lucas <jflucas@research.att.com>
|
|
Issue-Id: DCAEGEN2-128
Change-Id: I8a5f0093777803ba83e5fe9412dd9233d30ac1a8
Signed-off-by: Lusheng Ji <lji@research.att.com>
|
|
* start of dh was broken by coding for unit-test
* Coverage summary
Statements : 50.84% ( 514/1011 )
Branches : 26.11% ( 100/383 )
Functions : 30.11% ( 56/186 )
Lines : 51.35% ( 513/999 )
Change-Id: Ibb59f1ddd25a37a7bd58f4017837a622b04381e3
Issue-Id: DCAEGEN2-62
Signed-off-by: Alex Shatov <alexs@att.com>
|
|
* only unit testing the /policy/components at the moment
* use -f Dockerfile_UT when building the image
* unit test runs inside docker container
* after docker run finishes copy the logs and coverage folder
from docker container. Sample commands:
docker cp test_deployment_handler:/opt/app/dh test_logs/
docker logs test_deployment_handler > \
test_logs/$(date +%Y_%m%d-%H%M%S)_test_deployment_handler.log 2>&1
Change-Id: I77276550e2ffb7094e02ffa20741afac6bfea96f
Issue-Id: DCAEGEN2-62
Signed-off-by: Alex Shatov <alexs@att.com>
|
|
Change-Id: Ib91f54dd94695c1c5d4759837a20776bf63288ed
Issue-Id: DCAEGEN2-62
Signed-off-by: Alex Shatov <alexs@att.com>
|
|
* 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>
|
|
Issue-Id: DCAEGEN2-60
Change-Id: Ie873aacfd54ddfea9e7012cdfa88392cf9e84e33
Signed-off-by: Lusheng Ji <lji@research.att.com>
|
|
The name parameter in the root pom.xml should
match the project name in gerrit to reflect consistency
in Sonar.
Change-Id: I06cd95596ae0e1644d6c8532e20fe6dbe6a64d20
Issue-id: CIMAN-65
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
|
|
Issue-Id: DCAEGEN2-60
Change-Id: I2180cdb4ff0338d0323a353e8039a37e08cf6cc1
Signed-off-by: Lusheng Ji <lji@research.att.com>
|
|
Issue-Id: DCAEGEN2-86
Change-Id: I91b27265c7f4de30f0b502665cde8b1586a57967
Signed-off-by: Lusheng Ji <lji@research.att.com>
|
|
Change-Id: I0bfc86d17edead0114ea0012fb469014e978cd15
Issue-Id: DCAEGEN2-43
Signed-off-by: J. F. Lucas <jflucas@research.att.com>
|
|
|