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_InvalidName.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_InvalidName.json')
-rw-r--r-- | main/src/test/resources/parameters/DistributionConfigParameters_InvalidName.json | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/main/src/test/resources/parameters/DistributionConfigParameters_InvalidName.json b/main/src/test/resources/parameters/DistributionConfigParameters_InvalidName.json index aae53f50..f31a396b 100644 --- a/main/src/test/resources/parameters/DistributionConfigParameters_InvalidName.json +++ b/main/src/test/resources/parameters/DistributionConfigParameters_InvalidName.json @@ -1,5 +1,11 @@ { "name":" ", + "restServerParameters":{ + "host":"0.0.0.0", + "port":6969, + "userName":"healthcheck", + "password":"zb!XztG34" + }, "receptionHandlerParameters":{ "SDCReceptionHandler":{ "receptionHandlerType":"SDC", |