diff options
author | Krishnajinka <kris.jinka@samsung.com> | 2018-08-31 20:01:30 +0900 |
---|---|---|
committer | krishnajinka <kris.jinka@samsung.com> | 2018-09-03 08:17:36 +0900 |
commit | da9e01a78e3205ee7238196a574adcf11c041797 (patch) | |
tree | b3e9baf1e0087b95f5b4ba54ce93ef3f1b59a471 /main/src/test/resources/expectedValidationResults | |
parent | 293600297e604c9a8d5487cd281044becdf9c405 (diff) |
Add basic main structure for policy-api
Define main pom xml and update to include main.
Add the main exception parameters rest
startstop classes. Add test cases. Modify comments
Issue-ID: POLICY-1066
Change-Id: I2e878a58eef4f021e3a9a991738194127edf4d16
Signed-off-by: krisjinka <kris.jinka@samsung.com>
Signed-off-by: krishnajinka <kris.jinka@samsung.com>
Diffstat (limited to 'main/src/test/resources/expectedValidationResults')
-rw-r--r-- | main/src/test/resources/expectedValidationResults/InvalidRestServerParameters.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/main/src/test/resources/expectedValidationResults/InvalidRestServerParameters.txt b/main/src/test/resources/expectedValidationResults/InvalidRestServerParameters.txt new file mode 100644 index 00000000..2ab9c1b4 --- /dev/null +++ b/main/src/test/resources/expectedValidationResults/InvalidRestServerParameters.txt @@ -0,0 +1,7 @@ +validation error(s) on parameters from "parameters/ApiConfigParameters_InvalidRestServerParameters.json" +parameter group "ApiGroup" type "org.onap.policy.api.main.parameters.ApiParameterGroup" INVALID, parameter group has status INVALID + parameter group "null" type "org.onap.policy.api.main.parameters.RestServerParameters" INVALID, parameter group has status INVALID + field "host" type "java.lang.String" value "" INVALID, must be a non-blank string containing hostname/ipaddress of the api rest server + field "port" type "int" value "-1" INVALID, must be a positive integer containing port of the api rest server + field "userName" type "java.lang.String" value "" INVALID, must be a non-blank string containing userName for api rest server credentials + field "password" type "java.lang.String" value "" INVALID, must be a non-blank string containing password for api rest server credentials |