diff options
author | ramverma <ram.krishna.verma@ericsson.com> | 2018-08-17 20:38:03 +0100 |
---|---|---|
committer | ramverma <ram.krishna.verma@ericsson.com> | 2018-08-22 13:33:36 +0100 |
commit | 7de549e5589d5e98a798e65752396627f6990fe1 (patch) | |
tree | 95ebd6d2d1cd9694f139c03cd4d6df31d1bc3e8d /main/src/test/resources/parameters/DistributionConfigParameters_NoReceptionHandler.json | |
parent | 742c4b2ed82860e2a74f3db3b2048173fbc530d8 (diff) |
Adding health check endpoint to distribution
* Adding health check REST endpoint to distribution service.
* Adding isAlive field to DistributionActivator to fetch the health
status.
* Adding parameter group for rest server parameters.
* Adding DistributionRestController for hosting all the rest endpoints
in distribution service.
* Adding DistributionRestServer to manage lifecycle of distribution rest server.
* Adding ParameterValidationUtils utility class for common validations.
Plan is to move this class to policy-common for wider use later.
* Adding test cases for all new code added.
* Refering common classes from policy/common
Change-Id: I246d57133ed1f0c3548bcdee173d7b64fb368abc
Issue-ID: POLICY-1035
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
Diffstat (limited to 'main/src/test/resources/parameters/DistributionConfigParameters_NoReceptionHandler.json')
-rw-r--r-- | main/src/test/resources/parameters/DistributionConfigParameters_NoReceptionHandler.json | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/main/src/test/resources/parameters/DistributionConfigParameters_NoReceptionHandler.json b/main/src/test/resources/parameters/DistributionConfigParameters_NoReceptionHandler.json index 8b0997ca..b91e95d8 100644 --- a/main/src/test/resources/parameters/DistributionConfigParameters_NoReceptionHandler.json +++ b/main/src/test/resources/parameters/DistributionConfigParameters_NoReceptionHandler.json @@ -1,3 +1,9 @@ { - "name":"SDCDistributionGroup" + "name":"SDCDistributionGroup", + "restServerParameters":{ + "host":"0.0.0.0", + "port":6969, + "userName":"healthcheck", + "password":"zb!XztG34" + } }
\ No newline at end of file |