aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/org/onap/dcae/inventory/daos/InventoryDataAccessManager.java
diff options
context:
space:
mode:
authorBogumil Zebek <bogumil.zebek@nokia.com>2019-12-06 08:37:39 +0100
committerZebek Bogumil <bogumil.zebek@nokia.com>2019-12-06 08:39:16 +0100
commitcfdf0dbbcd208a669c9919f23f1c30b2ec16b4d8 (patch)
treecd1ee2cf1939204d465fb5ea85ec712f763e0aee /src/main/java/org/onap/dcae/inventory/daos/InventoryDataAccessManager.java
parent045758aee25a2421e76ddd16df2d22edc6cc69f2 (diff)
Improve code coverage
Issue-ID: DCAEGEN2-1980 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com> Change-Id: I062a4a7f6508a6a3b2c212793bdad019ab46f7e2
Diffstat (limited to 'src/main/java/org/onap/dcae/inventory/daos/InventoryDataAccessManager.java')
-rw-r--r--src/main/java/org/onap/dcae/inventory/daos/InventoryDataAccessManager.java34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/main/java/org/onap/dcae/inventory/daos/InventoryDataAccessManager.java b/src/main/java/org/onap/dcae/inventory/daos/InventoryDataAccessManager.java
new file mode 100644
index 0000000..ef4375b
--- /dev/null
+++ b/src/main/java/org/onap/dcae/inventory/daos/InventoryDataAccessManager.java
@@ -0,0 +1,34 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * dcae-inventory
+ * ================================================================================
+ * Copyright (C) 2019 Nokia Intellectual Property. All rights reserved.
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+package org.onap.dcae.inventory.daos;
+
+import org.skife.jdbi.v2.Handle;
+
+public interface InventoryDataAccessManager {
+ DCAEServicesDAO getDCAEServicesDAO();
+
+ DCAEServiceComponentsDAO getDCAEServiceComponentsDAO();
+
+ DCAEServiceTransactionDAO getDCAEServiceTransactionDAO();
+
+ DCAEServiceTypesDAO getDCAEServiceTypesDAO();
+
+ Handle getHandle();
+}