aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/test/resources/parameters/ApiConfigParameters.json
diff options
context:
space:
mode:
authorChenfei Gao <cgao@research.att.com>2019-04-11 18:47:26 -0400
committerChenfei Gao <cgao@research.att.com>2019-04-11 20:11:06 -0400
commite696cd9f5bafd0830017ad38355c2e8fe64f980b (patch)
tree9dababf31b5c9972d807704d9ab8cb5811994b65 /main/src/test/resources/parameters/ApiConfigParameters.json
parenta229e2bccfdcf40c56c4d87d9e3cc5cd9dabb2a8 (diff)
Add junit tests for endpoints
Add junit tests to improve code coverage to > 80%. Modify db setting and remove db authorization from persistence. Issue-ID: POLICY-1441 Change-Id: I6070ac9ba6adba836adeeb547610c27dccf577bd Signed-off-by: Chenfei Gao <cgao@research.att.com>
Diffstat (limited to 'main/src/test/resources/parameters/ApiConfigParameters.json')
-rw-r--r--main/src/test/resources/parameters/ApiConfigParameters.json5
1 files changed, 3 insertions, 2 deletions
diff --git a/main/src/test/resources/parameters/ApiConfigParameters.json b/main/src/test/resources/parameters/ApiConfigParameters.json
index c64271c7..be9f5811 100644
--- a/main/src/test/resources/parameters/ApiConfigParameters.json
+++ b/main/src/test/resources/parameters/ApiConfigParameters.json
@@ -9,9 +9,10 @@
"databaseProviderParameters": {
"name": "PolicyProviderParameterGroup",
"implementation": "org.onap.policy.models.provider.impl.DatabasePolicyModelsProviderImpl",
- "databaseUrl": "jdbc:mariadb://localhost:3306/policy",
+ "databaseDriver": "org.h2.Driver",
+ "databaseUrl": "jdbc:h2:mem:testdb",
"databaseUser": "policy",
"databasePassword": "UDAxaWNZ",
- "persistenceUnit": "ToscaConceptMariaDBTest"
+ "persistenceUnit": "ToscaConceptTest"
}
}