diff options
author | Shadi Haidar <sh1986@att.com> | 2019-02-15 17:38:41 -0500 |
---|---|---|
committer | Shadi Haidar <sh1986@att.com> | 2019-03-26 08:56:33 -0400 |
commit | 7c78f9c1208af746b417c5184abfaddc318926b4 (patch) | |
tree | 6c0ad6cb18859c6233020a12fced0ccb96d29117 /tests/mock_deployment_handler.js | |
parent | 12c8d505c49b8b999660c52872a66071a9abc4c6 (diff) |
Add health and service endpoints
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>
Diffstat (limited to 'tests/mock_deployment_handler.js')
-rw-r--r-- | tests/mock_deployment_handler.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/mock_deployment_handler.js b/tests/mock_deployment_handler.js index 5ed1985..36f3ac4 100644 --- a/tests/mock_deployment_handler.js +++ b/tests/mock_deployment_handler.js @@ -29,7 +29,8 @@ const LOG_PATH = './log/'; const CONSUL_URL = 'http://consul:8500'; const MOCK_CLOUDIFY_MANAGER = "mock_cloudify_manager"; const CLOUDIFY_URL = "http://" + MOCK_CLOUDIFY_MANAGER + ":80"; -const CLOUDIFY_API = "/api/v2.1"; +//const CLOUDIFY_API = "/api/v2.1"; +const CLOUDIFY_API = "/api/v3.1"; const MOCK_INVENTORY = "mock_inventory"; const INVENTORY_URL = "https://" + MOCK_INVENTORY + ":8080"; |