aboutsummaryrefslogtreecommitdiffstats
path: root/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao
diff options
context:
space:
mode:
Diffstat (limited to 'ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao')
-rw-r--r--ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/ActionListDao.java33
-rw-r--r--ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/ActionPolicyDictDao.java34
-rw-r--r--ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/AddressGroupDao.java33
-rw-r--r--ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/AttributeDao.java35
-rw-r--r--ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/BRMSParamTemplateDao.java33
-rw-r--r--ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/CategoryDao.java29
-rw-r--r--ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/DCAEUUIDDao.java33
-rw-r--r--ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/DecisionPolicyDao.java33
-rw-r--r--ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/DescriptiveScopeDao.java35
-rw-r--r--ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/EcompNameDao.java34
-rw-r--r--ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/EnforcerPolicyDao.java32
-rw-r--r--ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/FirewallDictionaryListDao.java37
-rw-r--r--ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/GroupPolicyScopeListDao.java34
-rw-r--r--ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/MicroServiceConfigNameDao.java33
-rw-r--r--ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/MicroServiceLocationDao.java33
-rw-r--r--ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/MicroServiceModelsDao.java33
-rw-r--r--ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/PEPOptionsDao.java35
-rw-r--r--ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/PolicyScopeClosedLoopDao.java34
-rw-r--r--ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/PolicyScopeResourceDao.java34
-rw-r--r--ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/PolicyScopeServiceDao.java34
-rw-r--r--ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/PolicyScopeTypeDao.java34
-rw-r--r--ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/PortListDao.java33
-rw-r--r--ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/PrefixListDao.java33
-rw-r--r--ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/ProtocolListDao.java33
-rw-r--r--ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/RiskTypeDao.java34
-rw-r--r--ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/SafePolicyWarningDao.java34
-rw-r--r--ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/SecurityZoneDao.java33
-rw-r--r--ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/ServiceDictionaryDao.java33
-rw-r--r--ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/ServiceGroupDao.java33
-rw-r--r--ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/ServiceListDao.java34
-rw-r--r--ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/SiteDictionaryDao.java33
-rw-r--r--ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/TermListDao.java34
-rw-r--r--ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/UserInfoDao.java32
-rw-r--r--ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/VNFTypeDao.java34
-rw-r--r--ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/VSCLActionDao.java35
-rw-r--r--ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/VarbindDictionaryDao.java34
-rw-r--r--ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/ZoneDao.java33
-rw-r--r--ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/package-info.java27
38 files changed, 1267 insertions, 0 deletions
diff --git a/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/ActionListDao.java b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/ActionListDao.java
new file mode 100644
index 000000000..b8aa2948a
--- /dev/null
+++ b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/ActionListDao.java
@@ -0,0 +1,33 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ECOMP-REST
+ * ================================================================================
+ * Copyright (C) 2017 AT&T 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.openecomp.policy.rest.dao;
+
+import java.util.List;
+
+import org.openecomp.policy.rest.jpa.ActionList;
+
+public interface ActionListDao {
+ List<ActionList> getActionListData();
+ List<String> getActionListDataByName();
+ void Save(ActionList actionList);
+ void delete(ActionList actionList);
+ void update(ActionList actionList);
+}
diff --git a/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/ActionPolicyDictDao.java b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/ActionPolicyDictDao.java
new file mode 100644
index 000000000..c4914eb47
--- /dev/null
+++ b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/ActionPolicyDictDao.java
@@ -0,0 +1,34 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ECOMP-REST
+ * ================================================================================
+ * Copyright (C) 2017 AT&T 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.openecomp.policy.rest.dao;
+
+import java.util.List;
+
+import org.openecomp.policy.rest.jpa.ActionPolicyDict;
+
+public interface ActionPolicyDictDao {
+ List<ActionPolicyDict> getActionDictData();
+ List<String> getActionDictDataByName();
+ ActionPolicyDict getActionEntityDatabyId(String action);
+ void Save(ActionPolicyDict action);
+ void delete(ActionPolicyDict action);
+ void update(ActionPolicyDict action);
+}
diff --git a/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/AddressGroupDao.java b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/AddressGroupDao.java
new file mode 100644
index 000000000..c4c7002b3
--- /dev/null
+++ b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/AddressGroupDao.java
@@ -0,0 +1,33 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ECOMP-REST
+ * ================================================================================
+ * Copyright (C) 2017 AT&T 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.openecomp.policy.rest.dao;
+
+import java.util.List;
+
+import org.openecomp.policy.rest.jpa.AddressGroup;
+
+public interface AddressGroupDao {
+ List<AddressGroup> getAddressGroupData();
+ List<String> getAddressGroupDataByName();
+ void Save(AddressGroup addressGroup);
+ void delete(AddressGroup addressGroup);
+ void update(AddressGroup addressGroup);
+}
diff --git a/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/AttributeDao.java b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/AttributeDao.java
new file mode 100644
index 000000000..796157f62
--- /dev/null
+++ b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/AttributeDao.java
@@ -0,0 +1,35 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ECOMP-REST
+ * ================================================================================
+ * Copyright (C) 2017 AT&T 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.openecomp.policy.rest.dao;
+
+import java.util.List;
+
+import org.openecomp.policy.rest.jpa.Attribute;
+
+public interface AttributeDao {
+
+ List<Attribute> getData();
+ List<String> getAttributeData();
+ void Save(Attribute attribute);
+ void delete(Attribute attribute);
+ void update(Attribute attribute);
+
+}
diff --git a/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/BRMSParamTemplateDao.java b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/BRMSParamTemplateDao.java
new file mode 100644
index 000000000..2c03192c0
--- /dev/null
+++ b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/BRMSParamTemplateDao.java
@@ -0,0 +1,33 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ECOMP-REST
+ * ================================================================================
+ * Copyright (C) 2017 AT&T 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.openecomp.policy.rest.dao;
+
+import java.util.List;
+
+import org.openecomp.policy.rest.jpa.BRMSParamTemplate;
+
+public interface BRMSParamTemplateDao {
+ List<BRMSParamTemplate> getBRMSParamTemplateData();
+ List<String> getBRMSParamDataByName();
+ void Save(BRMSParamTemplate brmsParam);
+ void delete(BRMSParamTemplate brmsParam);
+ void update(BRMSParamTemplate brmsParam);
+}
diff --git a/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/CategoryDao.java b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/CategoryDao.java
new file mode 100644
index 000000000..e90aa1d8b
--- /dev/null
+++ b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/CategoryDao.java
@@ -0,0 +1,29 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ECOMP-REST
+ * ================================================================================
+ * Copyright (C) 2017 AT&T 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.openecomp.policy.rest.dao;
+
+import java.util.List;
+
+import org.openecomp.policy.rest.jpa.Category;
+
+public interface CategoryDao {
+ List<Category> getCategoryListData();
+}
diff --git a/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/DCAEUUIDDao.java b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/DCAEUUIDDao.java
new file mode 100644
index 000000000..418d77629
--- /dev/null
+++ b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/DCAEUUIDDao.java
@@ -0,0 +1,33 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ECOMP-REST
+ * ================================================================================
+ * Copyright (C) 2017 AT&T 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.openecomp.policy.rest.dao;
+
+import java.util.List;
+
+import org.openecomp.policy.rest.jpa.DCAEuuid;
+
+public interface DCAEUUIDDao {
+ List<DCAEuuid> getDCAEuuidData();
+ List<String> getDCAEuuidDataByName();
+ void Save(DCAEuuid dcaeUUID);
+ void delete(DCAEuuid dcaeUUID);
+ void update(DCAEuuid dcaeUUID);
+}
diff --git a/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/DecisionPolicyDao.java b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/DecisionPolicyDao.java
new file mode 100644
index 000000000..372a1fb7c
--- /dev/null
+++ b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/DecisionPolicyDao.java
@@ -0,0 +1,33 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ECOMP-REST
+ * ================================================================================
+ * Copyright (C) 2017 AT&T 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.openecomp.policy.rest.dao;
+
+import java.util.List;
+
+import org.openecomp.policy.rest.jpa.DecisionSettings;
+
+public interface DecisionPolicyDao {
+ List<DecisionSettings> getDecisionSettingsData();
+ List<String> getDecisionDataByName();
+ void Save(DecisionSettings decisionSettings);
+ void delete(DecisionSettings decisionSettings);
+ void update(DecisionSettings decisionSettings);
+}
diff --git a/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/DescriptiveScopeDao.java b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/DescriptiveScopeDao.java
new file mode 100644
index 000000000..b0001390e
--- /dev/null
+++ b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/DescriptiveScopeDao.java
@@ -0,0 +1,35 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ECOMP-REST
+ * ================================================================================
+ * Copyright (C) 2017 AT&T 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.openecomp.policy.rest.dao;
+
+import java.util.List;
+
+import org.openecomp.policy.rest.jpa.DescriptiveScope;
+
+public interface DescriptiveScopeDao {
+
+ List<DescriptiveScope> getDescriptiveScope();
+ List<String> getDescriptiveScopeDataByName();
+ void Save(DescriptiveScope descriptiveScope);
+ void delete(DescriptiveScope descriptiveScope);
+ void update(DescriptiveScope descriptiveScope);
+ DescriptiveScope getDescriptiveScopeById(String name);
+}
diff --git a/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/EcompNameDao.java b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/EcompNameDao.java
new file mode 100644
index 000000000..420121883
--- /dev/null
+++ b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/EcompNameDao.java
@@ -0,0 +1,34 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ECOMP-REST
+ * ================================================================================
+ * Copyright (C) 2017 AT&T 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.openecomp.policy.rest.dao;
+
+import java.util.List;
+
+import org.openecomp.policy.rest.jpa.EcompName;
+
+public interface EcompNameDao {
+ List<EcompName> getEcompName();
+ List<String> getEcompNameDataByName();
+ void Save(EcompName ecompName);
+ void delete(EcompName ecompName);
+ void update(EcompName ecompName);
+
+}
diff --git a/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/EnforcerPolicyDao.java b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/EnforcerPolicyDao.java
new file mode 100644
index 000000000..55f4bf599
--- /dev/null
+++ b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/EnforcerPolicyDao.java
@@ -0,0 +1,32 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ECOMP-REST
+ * ================================================================================
+ * Copyright (C) 2017 AT&T 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.openecomp.policy.rest.dao;
+
+import java.util.List;
+
+import org.openecomp.policy.rest.jpa.EnforcingType;
+
+public interface EnforcerPolicyDao {
+ List<EnforcingType> getEnforcingTypeData();
+ void Save(EnforcingType enforcingType);
+ void delete(EnforcingType enforcingType);
+ void update(EnforcingType enforcingType);
+}
diff --git a/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/FirewallDictionaryListDao.java b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/FirewallDictionaryListDao.java
new file mode 100644
index 000000000..76cb1bc1f
--- /dev/null
+++ b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/FirewallDictionaryListDao.java
@@ -0,0 +1,37 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ECOMP-REST
+ * ================================================================================
+ * Copyright (C) 2017 AT&T 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.openecomp.policy.rest.dao;
+
+import java.util.List;
+
+import org.openecomp.policy.rest.jpa.FirewallDictionaryList;
+
+
+public interface FirewallDictionaryListDao {
+ List<FirewallDictionaryList> getFWDictionaryListData();
+ List<String> getFWDictionaryListDataByName();
+ void Save(FirewallDictionaryList firewallDictionaryList);
+ void delete(FirewallDictionaryList firewallDictionaryList);
+ void update(FirewallDictionaryList firewallDictionaryList);
+ void updateQuery(String query);
+ FirewallDictionaryList getFWDictionaryDataById(String value);
+}
+
diff --git a/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/GroupPolicyScopeListDao.java b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/GroupPolicyScopeListDao.java
new file mode 100644
index 000000000..fdab28a0f
--- /dev/null
+++ b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/GroupPolicyScopeListDao.java
@@ -0,0 +1,34 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ECOMP-REST
+ * ================================================================================
+ * Copyright (C) 2017 AT&T 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.openecomp.policy.rest.dao;
+
+import java.util.List;
+
+import org.openecomp.policy.rest.jpa.GroupPolicyScopeList;
+
+public interface GroupPolicyScopeListDao{
+ List<GroupPolicyScopeList> getGroupPolicyScopeListData();
+ List<String> getGroupPolicyScopeListDataByName();
+ void Save(GroupPolicyScopeList attribute);
+ void delete(GroupPolicyScopeList attribute);
+ void update(GroupPolicyScopeList attribute);
+ List<GroupPolicyScopeList> CheckDuplicateEntry(String value);
+}
diff --git a/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/MicroServiceConfigNameDao.java b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/MicroServiceConfigNameDao.java
new file mode 100644
index 000000000..f0321031c
--- /dev/null
+++ b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/MicroServiceConfigNameDao.java
@@ -0,0 +1,33 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ECOMP-REST
+ * ================================================================================
+ * Copyright (C) 2017 AT&T 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.openecomp.policy.rest.dao;
+
+import java.util.List;
+
+import org.openecomp.policy.rest.jpa.MicroServiceConfigName;
+
+public interface MicroServiceConfigNameDao {
+ List<MicroServiceConfigName> getMicroServiceConfigNameData();
+ List<String> getMSConfigDataByName();
+ void Save(MicroServiceConfigName microServiceConfigName);
+ void delete(MicroServiceConfigName microServiceConfigName);
+ void update(MicroServiceConfigName microServiceConfigName);
+}
diff --git a/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/MicroServiceLocationDao.java b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/MicroServiceLocationDao.java
new file mode 100644
index 000000000..fdb9c559e
--- /dev/null
+++ b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/MicroServiceLocationDao.java
@@ -0,0 +1,33 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ECOMP-REST
+ * ================================================================================
+ * Copyright (C) 2017 AT&T 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.openecomp.policy.rest.dao;
+
+import java.util.List;
+
+import org.openecomp.policy.rest.jpa.MicroServiceLocation;
+
+public interface MicroServiceLocationDao {
+ List<MicroServiceLocation> getMicroServiceLocationData();
+ List<String> getMSLocationDataByName();
+ void Save(MicroServiceLocation microServiceLocation);
+ void delete(MicroServiceLocation microServiceLocation);
+ void update(MicroServiceLocation microServiceLocation);
+}
diff --git a/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/MicroServiceModelsDao.java b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/MicroServiceModelsDao.java
new file mode 100644
index 000000000..0a56edd2c
--- /dev/null
+++ b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/MicroServiceModelsDao.java
@@ -0,0 +1,33 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ECOMP-REST
+ * ================================================================================
+ * Copyright (C) 2017 AT&T 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.openecomp.policy.rest.dao;
+
+import java.util.List;
+
+import org.openecomp.policy.rest.jpa.MicroServiceModels;
+
+public interface MicroServiceModelsDao {
+ List<MicroServiceModels> getMicroServiceModelsData();
+ List<String> getMSModelsDataByName();
+ void Save(MicroServiceModels microServiceModels);
+ void delete(MicroServiceModels microServiceModels);
+ void update(MicroServiceModels microServiceModels);
+}
diff --git a/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/PEPOptionsDao.java b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/PEPOptionsDao.java
new file mode 100644
index 000000000..d1bbf2a1a
--- /dev/null
+++ b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/PEPOptionsDao.java
@@ -0,0 +1,35 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ECOMP-REST
+ * ================================================================================
+ * Copyright (C) 2017 AT&T 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.openecomp.policy.rest.dao;
+
+import java.util.List;
+
+import org.openecomp.policy.rest.jpa.PEPOptions;
+
+
+
+public interface PEPOptionsDao {
+ List<PEPOptions> getPEPOptionsData();
+ List<String> getPEPOptionsDataByName();
+ void Save(PEPOptions pepOptions);
+ void delete(PEPOptions pepOptions);
+ void update(PEPOptions pepOptions);
+}
diff --git a/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/PolicyScopeClosedLoopDao.java b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/PolicyScopeClosedLoopDao.java
new file mode 100644
index 000000000..7730adacb
--- /dev/null
+++ b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/PolicyScopeClosedLoopDao.java
@@ -0,0 +1,34 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ECOMP-REST
+ * ================================================================================
+ * Copyright (C) 2017 AT&T 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.openecomp.policy.rest.dao;
+
+import java.util.List;
+
+import org.openecomp.policy.rest.jpa.PolicyScopeClosedLoop;
+
+public interface PolicyScopeClosedLoopDao {
+ List<PolicyScopeClosedLoop> getPolicyScopeClosedLoopData();
+ List<String> getPolicyScopeClosedLoopDataByName();
+ void Save(PolicyScopeClosedLoop attribute);
+ void delete(PolicyScopeClosedLoop attribute);
+ void update(PolicyScopeClosedLoop attribute);
+ List<PolicyScopeClosedLoop> CheckDuplicateEntry(String value);
+}
diff --git a/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/PolicyScopeResourceDao.java b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/PolicyScopeResourceDao.java
new file mode 100644
index 000000000..4ff88fed8
--- /dev/null
+++ b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/PolicyScopeResourceDao.java
@@ -0,0 +1,34 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ECOMP-REST
+ * ================================================================================
+ * Copyright (C) 2017 AT&T 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.openecomp.policy.rest.dao;
+
+import java.util.List;
+
+import org.openecomp.policy.rest.jpa.PolicyScopeResource;
+
+public interface PolicyScopeResourceDao {
+ List<PolicyScopeResource> getPolicyScopeResourceData();
+ List<String> getPolicyScopeResourceDataByName();
+ void Save(PolicyScopeResource attribute);
+ void delete(PolicyScopeResource attribute);
+ void update(PolicyScopeResource attribute);
+ List<PolicyScopeResource> CheckDuplicateEntry(String value);
+}
diff --git a/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/PolicyScopeServiceDao.java b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/PolicyScopeServiceDao.java
new file mode 100644
index 000000000..2a5c8c565
--- /dev/null
+++ b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/PolicyScopeServiceDao.java
@@ -0,0 +1,34 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ECOMP-REST
+ * ================================================================================
+ * Copyright (C) 2017 AT&T 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.openecomp.policy.rest.dao;
+
+import java.util.List;
+
+import org.openecomp.policy.rest.jpa.PolicyScopeService;
+
+public interface PolicyScopeServiceDao {
+ List<PolicyScopeService> getPolicyScopeServiceData();
+ List<String> getPolicyScopeServiceDataByName();
+ void Save(PolicyScopeService attribute);
+ void delete(PolicyScopeService attribute);
+ void update(PolicyScopeService attribute);
+ List<PolicyScopeService> CheckDuplicateEntry(String value);
+}
diff --git a/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/PolicyScopeTypeDao.java b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/PolicyScopeTypeDao.java
new file mode 100644
index 000000000..e49f84cec
--- /dev/null
+++ b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/PolicyScopeTypeDao.java
@@ -0,0 +1,34 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ECOMP-REST
+ * ================================================================================
+ * Copyright (C) 2017 AT&T 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.openecomp.policy.rest.dao;
+
+import java.util.List;
+
+import org.openecomp.policy.rest.jpa.PolicyScopeType;
+
+public interface PolicyScopeTypeDao {
+ List<PolicyScopeType> getPolicyScopeTypeData();
+ List<String> getPolicyScopeTypeDataByName();
+ void Save(PolicyScopeType attribute);
+ void delete(PolicyScopeType attribute);
+ void update(PolicyScopeType attribute);
+ List<PolicyScopeType> CheckDuplicateEntry(String value);
+}
diff --git a/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/PortListDao.java b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/PortListDao.java
new file mode 100644
index 000000000..461387f4a
--- /dev/null
+++ b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/PortListDao.java
@@ -0,0 +1,33 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ECOMP-REST
+ * ================================================================================
+ * Copyright (C) 2017 AT&T 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.openecomp.policy.rest.dao;
+
+import java.util.List;
+
+import org.openecomp.policy.rest.jpa.PortList;
+
+public interface PortListDao {
+ List<PortList> getPortListData();
+ List<String> getPortListDataByName();
+ void Save(PortList portList);
+ void delete(PortList portList);
+ void update(PortList portList);
+}
diff --git a/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/PrefixListDao.java b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/PrefixListDao.java
new file mode 100644
index 000000000..29571dddb
--- /dev/null
+++ b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/PrefixListDao.java
@@ -0,0 +1,33 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ECOMP-REST
+ * ================================================================================
+ * Copyright (C) 2017 AT&T 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.openecomp.policy.rest.dao;
+
+import java.util.List;
+
+import org.openecomp.policy.rest.jpa.PREFIXLIST;
+
+public interface PrefixListDao {
+ List<PREFIXLIST> getPREFIXLISTData();
+ List<String> getPrefixListDataByName();
+ void Save(PREFIXLIST prefixList);
+ void delete(PREFIXLIST prefixList);
+ void update(PREFIXLIST prefixList);
+}
diff --git a/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/ProtocolListDao.java b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/ProtocolListDao.java
new file mode 100644
index 000000000..11956ee94
--- /dev/null
+++ b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/ProtocolListDao.java
@@ -0,0 +1,33 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ECOMP-REST
+ * ================================================================================
+ * Copyright (C) 2017 AT&T 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.openecomp.policy.rest.dao;
+
+import java.util.List;
+
+import org.openecomp.policy.rest.jpa.ProtocolList;
+
+public interface ProtocolListDao {
+ List<ProtocolList> getProtocolListData();
+ List<String> getProtocolListDataByName();
+ void Save(ProtocolList protocolList);
+ void delete(ProtocolList protocolList);
+ void update(ProtocolList protocolList);
+}
diff --git a/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/RiskTypeDao.java b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/RiskTypeDao.java
new file mode 100644
index 000000000..6c14928d8
--- /dev/null
+++ b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/RiskTypeDao.java
@@ -0,0 +1,34 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ECOMP-REST
+ * ================================================================================
+ * Copyright (C) 2017 AT&T 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.openecomp.policy.rest.dao;
+
+import java.util.List;
+
+import org.openecomp.policy.rest.jpa.RiskType;
+
+public interface RiskTypeDao {
+ List<RiskType> getRiskName();
+ List<String> getRiskTypeDataByName();
+ void Save(RiskType riskName);
+ void delete(RiskType riskName);
+ void update(RiskType riskName);
+
+}
diff --git a/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/SafePolicyWarningDao.java b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/SafePolicyWarningDao.java
new file mode 100644
index 000000000..3812f9470
--- /dev/null
+++ b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/SafePolicyWarningDao.java
@@ -0,0 +1,34 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ECOMP-REST
+ * ================================================================================
+ * Copyright (C) 2017 AT&T 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.openecomp.policy.rest.dao;
+
+import java.util.List;
+
+import org.openecomp.policy.rest.jpa.SafePolicyWarning;
+
+public interface SafePolicyWarningDao{
+ List<SafePolicyWarning> getSafePolicyWarningData();
+ List<String> getSafePolicyWarningDataByName();
+ void Save(SafePolicyWarning attribute);
+ void delete(SafePolicyWarning attribute);
+ void update(SafePolicyWarning attribute);
+ SafePolicyWarning getSafePolicyWarningDataById(String riskType);
+}
diff --git a/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/SecurityZoneDao.java b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/SecurityZoneDao.java
new file mode 100644
index 000000000..4367023b5
--- /dev/null
+++ b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/SecurityZoneDao.java
@@ -0,0 +1,33 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ECOMP-REST
+ * ================================================================================
+ * Copyright (C) 2017 AT&T 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.openecomp.policy.rest.dao;
+
+import java.util.List;
+
+import org.openecomp.policy.rest.jpa.SecurityZone;
+
+public interface SecurityZoneDao {
+ List<SecurityZone> getSecurityZoneData();
+ List<String> getSecurityZoneDataByName();
+ void Save(SecurityZone securityZone);
+ void delete(SecurityZone securityZone);
+ void update(SecurityZone securityZone);
+}
diff --git a/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/ServiceDictionaryDao.java b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/ServiceDictionaryDao.java
new file mode 100644
index 000000000..a756f3234
--- /dev/null
+++ b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/ServiceDictionaryDao.java
@@ -0,0 +1,33 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ECOMP-REST
+ * ================================================================================
+ * Copyright (C) 2017 AT&T 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.openecomp.policy.rest.dao;
+
+import java.util.List;
+
+import org.openecomp.policy.rest.jpa.ClosedLoopD2Services;
+
+public interface ServiceDictionaryDao {
+ List<ClosedLoopD2Services> getClosedLoopD2ServicesData();
+ List<String> getCLServiceDictDataByName();
+ void Save(ClosedLoopD2Services closedLoopD2Services);
+ void delete(ClosedLoopD2Services closedLoopD2Services);
+ void update(ClosedLoopD2Services closedLoopD2Services);
+}
diff --git a/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/ServiceGroupDao.java b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/ServiceGroupDao.java
new file mode 100644
index 000000000..678c6426a
--- /dev/null
+++ b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/ServiceGroupDao.java
@@ -0,0 +1,33 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ECOMP-REST
+ * ================================================================================
+ * Copyright (C) 2017 AT&T 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.openecomp.policy.rest.dao;
+
+import java.util.List;
+
+import org.openecomp.policy.rest.jpa.GroupServiceList;
+
+public interface ServiceGroupDao {
+ List<GroupServiceList> getGroupServiceListData();
+ List<String> getGroupServiceDataByName();
+ void Save(GroupServiceList groupServiceList);
+ void delete(GroupServiceList groupServiceList);
+ void update(GroupServiceList groupServiceList);
+}
diff --git a/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/ServiceListDao.java b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/ServiceListDao.java
new file mode 100644
index 000000000..116f9cb17
--- /dev/null
+++ b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/ServiceListDao.java
@@ -0,0 +1,34 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ECOMP-REST
+ * ================================================================================
+ * Copyright (C) 2017 AT&T 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.openecomp.policy.rest.dao;
+
+import java.util.List;
+
+import org.openecomp.policy.rest.jpa.ServiceList;
+
+
+public interface ServiceListDao {
+ List<ServiceList> getServiceListData();
+ List<String> getServiceListDataByName();
+ void Save(ServiceList serviceList);
+ void delete(ServiceList serviceList);
+ void update(ServiceList serviceList);
+}
diff --git a/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/SiteDictionaryDao.java b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/SiteDictionaryDao.java
new file mode 100644
index 000000000..21cae69b9
--- /dev/null
+++ b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/SiteDictionaryDao.java
@@ -0,0 +1,33 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ECOMP-REST
+ * ================================================================================
+ * Copyright (C) 2017 AT&T 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.openecomp.policy.rest.dao;
+
+import java.util.List;
+
+import org.openecomp.policy.rest.jpa.ClosedLoopSite;
+
+public interface SiteDictionaryDao {
+ List<ClosedLoopSite> getClosedLoopSiteData();
+ List<String> getCLSiteDataByName();
+ void Save(ClosedLoopSite closedLoopSite);
+ void delete(ClosedLoopSite closedLoopSite);
+ void update(ClosedLoopSite closedLoopSite);
+}
diff --git a/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/TermListDao.java b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/TermListDao.java
new file mode 100644
index 000000000..c2c81cfd8
--- /dev/null
+++ b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/TermListDao.java
@@ -0,0 +1,34 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ECOMP-REST
+ * ================================================================================
+ * Copyright (C) 2017 AT&T 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.openecomp.policy.rest.dao;
+
+import java.util.List;
+
+import org.openecomp.policy.rest.jpa.TermList;
+
+public interface TermListDao {
+ List<TermList> getTermListData();
+ List<String> getTermListDataByName();
+ void Save(TermList termList);
+ void delete(TermList termList);
+ void update(TermList termList);
+ TermList getTermListValueByName(String name);
+}
diff --git a/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/UserInfoDao.java b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/UserInfoDao.java
new file mode 100644
index 000000000..a144a463f
--- /dev/null
+++ b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/UserInfoDao.java
@@ -0,0 +1,32 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ECOMP-REST
+ * ================================================================================
+ * Copyright (C) 2017 AT&T 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.openecomp.policy.rest.dao;
+
+import java.util.List;
+
+import org.openecomp.policy.rest.jpa.UserInfo;
+
+public interface UserInfoDao {
+ void save(UserInfo userInfo);
+ List<UserInfo> getUserInfo();
+ UserInfo getUserInfoByLoginId(String loginid);
+ String getUserName(String loginid);
+}
diff --git a/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/VNFTypeDao.java b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/VNFTypeDao.java
new file mode 100644
index 000000000..ff68a4065
--- /dev/null
+++ b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/VNFTypeDao.java
@@ -0,0 +1,34 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ECOMP-REST
+ * ================================================================================
+ * Copyright (C) 2017 AT&T 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.openecomp.policy.rest.dao;
+
+import java.util.List;
+
+import org.openecomp.policy.rest.jpa.VNFType;
+
+public interface VNFTypeDao {
+ List<VNFType> getVNFTypeData();
+ List<String> getVNFTypeDataByName();
+ void Save(VNFType vnfType);
+ void delete(VNFType vnfType);
+ void update(VNFType vnfType);
+
+}
diff --git a/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/VSCLActionDao.java b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/VSCLActionDao.java
new file mode 100644
index 000000000..3d0245555
--- /dev/null
+++ b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/VSCLActionDao.java
@@ -0,0 +1,35 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ECOMP-REST
+ * ================================================================================
+ * Copyright (C) 2017 AT&T 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.openecomp.policy.rest.dao;
+
+import java.util.List;
+
+import org.openecomp.policy.rest.jpa.VSCLAction;
+
+
+
+public interface VSCLActionDao {
+ List<VSCLAction> getVSCLActionData();
+ List<String> getVsclActionDataByName();
+ void Save(VSCLAction vSCLAction);
+ void delete(VSCLAction vSCLAction);
+ void update(VSCLAction vSCLAction);
+}
diff --git a/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/VarbindDictionaryDao.java b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/VarbindDictionaryDao.java
new file mode 100644
index 000000000..f3153f6df
--- /dev/null
+++ b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/VarbindDictionaryDao.java
@@ -0,0 +1,34 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ECOMP-REST
+ * ================================================================================
+ * Copyright (C) 2017 AT&T 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.openecomp.policy.rest.dao;
+
+import java.util.List;
+
+import org.openecomp.policy.rest.jpa.VarbindDictionary;
+
+public interface VarbindDictionaryDao {
+ List<VarbindDictionary> getVarbindDictionaryData();
+ List<VarbindDictionary> getVarbindEntityByName(String value);
+ List<String> getVarbindDataByName();
+ void Save(VarbindDictionary varbindDictionary);
+ void delete(VarbindDictionary varbindDictionary);
+ void update(VarbindDictionary varbindDictionary);
+}
diff --git a/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/ZoneDao.java b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/ZoneDao.java
new file mode 100644
index 000000000..df318e167
--- /dev/null
+++ b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/ZoneDao.java
@@ -0,0 +1,33 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ECOMP-REST
+ * ================================================================================
+ * Copyright (C) 2017 AT&T 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.openecomp.policy.rest.dao;
+
+import java.util.List;
+
+import org.openecomp.policy.rest.jpa.Zone;
+
+public interface ZoneDao {
+ List<Zone> getZoneData();
+ List<String> getZoneDataByName();
+ void Save(Zone zone);
+ void delete(Zone zone);
+ void update(Zone zone);
+}
diff --git a/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/package-info.java b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/package-info.java
new file mode 100644
index 000000000..c9f449f4f
--- /dev/null
+++ b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/dao/package-info.java
@@ -0,0 +1,27 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ECOMP-REST
+ * ================================================================================
+ * Copyright (C) 2017 AT&T 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.openecomp.policy.rest.dao;