aboutsummaryrefslogtreecommitdiffstats
path: root/ecomp-sdk-app/src/main/java/org/openecomp/policy/dao
diff options
context:
space:
mode:
authorITSERVICES\rb7147 <rb7147@att.com>2017-04-25 11:46:00 -0400
committerITSERVICES\rb7147 <rb7147@att.com>2017-05-03 09:58:17 -0400
commite0addf5b588a1244f9679becd90999dfcb4c3a94 (patch)
tree1212772d6366730266ff0e093c874b07aa716c29 /ecomp-sdk-app/src/main/java/org/openecomp/policy/dao
parent39fb0f30472777e4b60d6a7ac8aa4eb9773961ff (diff)
Policy 1707 commit to LF
Change-Id: Ibe6f01d92f9a434c040abb05d5386e89d675ae65 Signed-off-by: ITSERVICES\rb7147 <rb7147@att.com>
Diffstat (limited to 'ecomp-sdk-app/src/main/java/org/openecomp/policy/dao')
-rw-r--r--ecomp-sdk-app/src/main/java/org/openecomp/policy/dao/FunctionDefinitionDao.java32
-rw-r--r--ecomp-sdk-app/src/main/java/org/openecomp/policy/dao/GlobalRoleSettingsDao.java33
-rw-r--r--ecomp-sdk-app/src/main/java/org/openecomp/policy/dao/GroupEntityDao.java39
-rw-r--r--ecomp-sdk-app/src/main/java/org/openecomp/policy/dao/PDPEntityDao.java33
-rw-r--r--ecomp-sdk-app/src/main/java/org/openecomp/policy/dao/PolicyEditorScopesDao.java37
-rw-r--r--ecomp-sdk-app/src/main/java/org/openecomp/policy/dao/PolicyRolesDao.java37
-rw-r--r--ecomp-sdk-app/src/main/java/org/openecomp/policy/dao/PolicyVersionDao.java38
-rw-r--r--ecomp-sdk-app/src/main/java/org/openecomp/policy/dao/RemoteCatalogValuesDao.java34
-rw-r--r--ecomp-sdk-app/src/main/java/org/openecomp/policy/dao/RolesDao.java38
-rw-r--r--ecomp-sdk-app/src/main/java/org/openecomp/policy/dao/RuleAlgorithmsDao.java31
-rw-r--r--ecomp-sdk-app/src/main/java/org/openecomp/policy/dao/SystemLogDbDao.java33
-rw-r--r--ecomp-sdk-app/src/main/java/org/openecomp/policy/dao/WatchPolicyNotificationDao.java35
12 files changed, 0 insertions, 420 deletions
diff --git a/ecomp-sdk-app/src/main/java/org/openecomp/policy/dao/FunctionDefinitionDao.java b/ecomp-sdk-app/src/main/java/org/openecomp/policy/dao/FunctionDefinitionDao.java
deleted file mode 100644
index c216ca589..000000000
--- a/ecomp-sdk-app/src/main/java/org/openecomp/policy/dao/FunctionDefinitionDao.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * ECOMP Policy Engine
- * ================================================================================
- * 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.dao;
-
-
-import java.util.List;
-
-import org.openecomp.policy.rest.jpa.FunctionDefinition;
-
-public interface FunctionDefinitionDao {
-
- List<FunctionDefinition> getFunctionDefinition();
- List<String> getFunctionDefinitionByName();
-}
diff --git a/ecomp-sdk-app/src/main/java/org/openecomp/policy/dao/GlobalRoleSettingsDao.java b/ecomp-sdk-app/src/main/java/org/openecomp/policy/dao/GlobalRoleSettingsDao.java
deleted file mode 100644
index 35aab5211..000000000
--- a/ecomp-sdk-app/src/main/java/org/openecomp/policy/dao/GlobalRoleSettingsDao.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * ECOMP Policy Engine
- * ================================================================================
- * 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.dao;
-
-
-import java.util.List;
-
-import org.openecomp.policy.rest.jpa.GlobalRoleSettings;
-
-public interface GlobalRoleSettingsDao {
-
- void update(GlobalRoleSettings globalRoleSettings);
- List<GlobalRoleSettings> getGlobalRoleSettings();
-
-}
diff --git a/ecomp-sdk-app/src/main/java/org/openecomp/policy/dao/GroupEntityDao.java b/ecomp-sdk-app/src/main/java/org/openecomp/policy/dao/GroupEntityDao.java
deleted file mode 100644
index 8983382f7..000000000
--- a/ecomp-sdk-app/src/main/java/org/openecomp/policy/dao/GroupEntityDao.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * ECOMP Policy Engine
- * ================================================================================
- * 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.dao;
-
-
-import java.util.List;
-
-import org.openecomp.policy.rest.jpa.GroupEntity;
-
-
-public abstract interface GroupEntityDao {
-
- public abstract List<GroupEntity> getGroupEntityData();
-
- public abstract GroupEntity getPDPGroupEntity(String string);
-
- public abstract void savePDPGroupEntity(GroupEntity pdpGroupDataFunction);
-
- public abstract void deletePDPGroupEntity(GroupEntity pdpGroupDataFunction);
-
-}
diff --git a/ecomp-sdk-app/src/main/java/org/openecomp/policy/dao/PDPEntityDao.java b/ecomp-sdk-app/src/main/java/org/openecomp/policy/dao/PDPEntityDao.java
deleted file mode 100644
index 60f7441b3..000000000
--- a/ecomp-sdk-app/src/main/java/org/openecomp/policy/dao/PDPEntityDao.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * ECOMP Policy Engine
- * ================================================================================
- * 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.dao;
-
-
-import java.util.List;
-
-import org.openecomp.policy.rest.jpa.PdpEntity;
-
-
-public abstract interface PDPEntityDao {
-
- public abstract List<PdpEntity> getPDPEntityData();
-
-}
diff --git a/ecomp-sdk-app/src/main/java/org/openecomp/policy/dao/PolicyEditorScopesDao.java b/ecomp-sdk-app/src/main/java/org/openecomp/policy/dao/PolicyEditorScopesDao.java
deleted file mode 100644
index f40de6d50..000000000
--- a/ecomp-sdk-app/src/main/java/org/openecomp/policy/dao/PolicyEditorScopesDao.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * ECOMP Policy Engine
- * ================================================================================
- * 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.dao;
-
-
-import java.util.List;
-
-import org.openecomp.policy.rest.jpa.PolicyEditorScopes;
-
-
-public interface PolicyEditorScopesDao {
- List<PolicyEditorScopes> getPolicyEditorScopesData();
- List<String> getPolicyEditorScopesDataByName();
- void Save(PolicyEditorScopes policyEditorScopes);
- void delete(PolicyEditorScopes policyEditorScopes);
- void update(PolicyEditorScopes policyEditorScopes);
- List<PolicyEditorScopes> getListOfPolicyScopes(String query);
- void updateQuery(String policyScopeQuery);
-}
diff --git a/ecomp-sdk-app/src/main/java/org/openecomp/policy/dao/PolicyRolesDao.java b/ecomp-sdk-app/src/main/java/org/openecomp/policy/dao/PolicyRolesDao.java
deleted file mode 100644
index 49cd17c10..000000000
--- a/ecomp-sdk-app/src/main/java/org/openecomp/policy/dao/PolicyRolesDao.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * ECOMP Policy Engine
- * ================================================================================
- * 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.dao;
-
-
-import java.util.List;
-
-import org.openecomp.policy.rest.jpa.PolicyRoles;
-
-public interface PolicyRolesDao {
-
- List<PolicyRoles> getRoles();
- List<PolicyRoles> getUserRoles();
- void save(PolicyRoles role);
-
- void update(PolicyRoles role);
-
- void delete(PolicyRoles role);
-}
diff --git a/ecomp-sdk-app/src/main/java/org/openecomp/policy/dao/PolicyVersionDao.java b/ecomp-sdk-app/src/main/java/org/openecomp/policy/dao/PolicyVersionDao.java
deleted file mode 100644
index 0c2692e6c..000000000
--- a/ecomp-sdk-app/src/main/java/org/openecomp/policy/dao/PolicyVersionDao.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * ECOMP Policy Engine
- * ================================================================================
- * 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.dao;
-
-
-import java.util.List;
-
-import org.openecomp.policy.rest.jpa.PolicyVersion;
-
-
-public interface PolicyVersionDao {
- List<PolicyVersion> getPolicyVersionData();
- List<PolicyVersion> getPolicyVersionEntityByName(String policyVersion);
- List<String> getPolicyVersionDataByName();
- List<PolicyVersion> getActiveVersionPolicy(String query);
- void Save(PolicyVersion policyVersion);
- void delete(PolicyVersion policyVersion);
- void update(PolicyVersion policyVersion);
- void updateQuery(String policyVersion);
-}
diff --git a/ecomp-sdk-app/src/main/java/org/openecomp/policy/dao/RemoteCatalogValuesDao.java b/ecomp-sdk-app/src/main/java/org/openecomp/policy/dao/RemoteCatalogValuesDao.java
deleted file mode 100644
index c2ff0f7b8..000000000
--- a/ecomp-sdk-app/src/main/java/org/openecomp/policy/dao/RemoteCatalogValuesDao.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * ECOMP Policy Engine
- * ================================================================================
- * 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.dao;
-
-
-import java.util.List;
-
-import org.openecomp.policy.rest.jpa.RemoteCatalogValues;
-
-public interface RemoteCatalogValuesDao {
- List<RemoteCatalogValues> getRemoteCatalogValuesData();
- List<String> getRemoteCatalogValuesDataByName();
- void Save(RemoteCatalogValues attribute);
- void delete(RemoteCatalogValues attribute);
- void update(RemoteCatalogValues attribute);
-}
diff --git a/ecomp-sdk-app/src/main/java/org/openecomp/policy/dao/RolesDao.java b/ecomp-sdk-app/src/main/java/org/openecomp/policy/dao/RolesDao.java
deleted file mode 100644
index 4612daea0..000000000
--- a/ecomp-sdk-app/src/main/java/org/openecomp/policy/dao/RolesDao.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * ECOMP Policy Engine
- * ================================================================================
- * 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.dao;
-
-
-import java.util.List;
-
-import org.openecomp.policy.model.Roles;
-
-
-
-public interface RolesDao {
-
- List<Roles> getUserRoles(String userId);
-
- void save(Roles role);
-
- void delete(Roles role);
-
-}
diff --git a/ecomp-sdk-app/src/main/java/org/openecomp/policy/dao/RuleAlgorithmsDao.java b/ecomp-sdk-app/src/main/java/org/openecomp/policy/dao/RuleAlgorithmsDao.java
deleted file mode 100644
index 6a9c6b303..000000000
--- a/ecomp-sdk-app/src/main/java/org/openecomp/policy/dao/RuleAlgorithmsDao.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * ECOMP Policy Engine
- * ================================================================================
- * 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.dao;
-
-
-import java.util.List;
-
-import org.openecomp.policy.rest.jpa.RuleAlgorithms;
-
-public interface RuleAlgorithmsDao {
-
- List<RuleAlgorithms> getRuleAlgorithms();
-}
diff --git a/ecomp-sdk-app/src/main/java/org/openecomp/policy/dao/SystemLogDbDao.java b/ecomp-sdk-app/src/main/java/org/openecomp/policy/dao/SystemLogDbDao.java
deleted file mode 100644
index bdfdd8f0a..000000000
--- a/ecomp-sdk-app/src/main/java/org/openecomp/policy/dao/SystemLogDbDao.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * ECOMP Policy Engine
- * ================================================================================
- * 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.dao;
-
-
-import java.util.List;
-
-import org.openecomp.policy.rest.jpa.SystemLogDB;
-
-
-
-public abstract interface SystemLogDbDao {
- public abstract List<SystemLogDB> getLoggingData();
- public abstract List<SystemLogDB> getSystemAlertData();
-}
diff --git a/ecomp-sdk-app/src/main/java/org/openecomp/policy/dao/WatchPolicyNotificationDao.java b/ecomp-sdk-app/src/main/java/org/openecomp/policy/dao/WatchPolicyNotificationDao.java
deleted file mode 100644
index a43294e94..000000000
--- a/ecomp-sdk-app/src/main/java/org/openecomp/policy/dao/WatchPolicyNotificationDao.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * ECOMP Policy Engine
- * ================================================================================
- * 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.dao;
-
-
-import java.util.List;
-
-import org.openecomp.policy.rest.jpa.WatchPolicyNotificationTable;
-
-public interface WatchPolicyNotificationDao {
- List<WatchPolicyNotificationTable> getListData();
- List<WatchPolicyNotificationTable> getListDataByPolicyName(String policyName);
- void save(WatchPolicyNotificationTable data);
- void update(WatchPolicyNotificationTable data);
- void delete(WatchPolicyNotificationTable data);
- List<WatchPolicyNotificationTable> watchListQuery(String query);
-}