Age | Commit message (Collapse) | Author | Files | Lines |
|
* 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>
|
|
* 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>
|