Fix table names for CSIT issue 61/98261/2
authorJim Hahn <jrh3@att.com>
Mon, 11 Nov 2019 19:32:15 +0000 (14:32 -0500)
committerJim Hahn <jrh3@att.com>
Mon, 11 Nov 2019 22:03:19 +0000 (17:03 -0500)
Changed the table name in multiple files.
Backed out some changes per review comments.

Change-Id: I31f75ebdef4aa70aff841c8a52185f6ab8a4e329
Issue-ID: POLICY-2131
Signed-off-by: Jim Hahn <jrh3@att.com>
ONAP-PAP-REST/src/main/java/org/onap/policy/pap/xacml/rest/components/CreateBrmsParamPolicy.java
ONAP-PAP-REST/src/main/resources/META-INF/persistence.xml
ONAP-PDP-REST/src/test/resources/META-INF/persistence.xml

index 36ab893..c728f3b 100644 (file)
@@ -184,7 +184,7 @@ public class CreateBrmsParamPolicy extends Policy {
     private String getValueFromDictionary(String templateName) {
         String ruleTemplate = null;
         CommonClassDaoImpl dbConnection = new CommonClassDaoImpl();
-        String queryString = "from BRMSParamTemplate where param_template_name= :templateName";
+        String queryString = "from BrmsParamTemplate where param_template_name= :templateName";
         SimpleBindings params = new SimpleBindings();
         params.put("templateName", templateName);
         List<Object> result = dbConnection.getDataByQuery(queryString, params);
index 7be9501..057666e 100644 (file)
@@ -40,7 +40,7 @@
                <class>org.onap.policy.rest.jpa.ActionPolicyDict</class>
                <class>org.onap.policy.rest.jpa.DecisionSettings</class>
                <class>org.onap.policy.rest.jpa.MicroServiceModels</class>
-               <class>org.onap.policy.rest.jpa.BRMSParamTemplate</class>
+               <class>org.onap.policy.rest.jpa.BrmsParamTemplate</class>
                <class>org.onap.policy.rest.jpa.PolicyEditorScopes</class>
                <!-- unique to PolicyEngineUtils - will be audited from PAP -->
                <class>org.onap.policy.jpa.BackUpMonitorEntity</class>
                <class>org.onap.policy.rest.jpa.ActionList</class>
                <class>org.onap.policy.rest.jpa.AddressGroup</class>
                <class>org.onap.policy.rest.jpa.AttributeAssignment</class>
-               <class>org.onap.policy.rest.jpa.BRMSParamTemplate</class>
+               <class>org.onap.policy.rest.jpa.BrmsParamTemplate</class>
                <class>org.onap.policy.rest.jpa.ClosedLoopD2Services</class>
                <class>org.onap.policy.rest.jpa.ClosedLoopSite</class>
-               <class>org.onap.policy.rest.jpa.DCAEUsers</class>
-               <class>org.onap.policy.rest.jpa.DCAEuuid</class>
+               <class>org.onap.policy.rest.jpa.DcaeUsers</class>
+               <class>org.onap.policy.rest.jpa.Dcaeuuid</class>
                <class>org.onap.policy.rest.jpa.DescriptiveScope</class>
                <class>org.onap.policy.rest.jpa.OnapName</class>
                <class>org.onap.policy.rest.jpa.EnforcingType</class>
index b44841c..b431327 100644 (file)
@@ -40,7 +40,7 @@
                <class>org.onap.policy.rest.jpa.ActionPolicyDict</class>
                <class>org.onap.policy.rest.jpa.DecisionSettings</class>
                <class>org.onap.policy.rest.jpa.MicroServiceModels</class>
-               <class>org.onap.policy.rest.jpa.BRMSParamTemplate</class>
+               <class>org.onap.policy.rest.jpa.BrmsParamTemplate</class>
                <class>org.onap.policy.rest.jpa.PolicyEditorScopes</class>
                <!-- unique to PolicyEngineUtils - will be audited from PAP -->
                <class>org.onap.policy.jpa.BackUpMonitorEntity</class>
                <class>org.onap.policy.rest.jpa.ActionList</class>
                <class>org.onap.policy.rest.jpa.AddressGroup</class>
                <class>org.onap.policy.rest.jpa.AttributeAssignment</class>
-               <class>org.onap.policy.rest.jpa.BRMSParamTemplate</class>
+               <class>org.onap.policy.rest.jpa.BrmsParamTemplate</class>
                <class>org.onap.policy.rest.jpa.ClosedLoopD2Services</class>
                <class>org.onap.policy.rest.jpa.ClosedLoopSite</class>
-               <class>org.onap.policy.rest.jpa.DCAEUsers</class>
-               <class>org.onap.policy.rest.jpa.DCAEuuid</class>
+               <class>org.onap.policy.rest.jpa.DcaeUsers</class>
+               <class>org.onap.policy.rest.jpa.Dcaeuuid</class>
                <class>org.onap.policy.rest.jpa.DescriptiveScope</class>
                <class>org.onap.policy.rest.jpa.OnapName</class>
                <class>org.onap.policy.rest.jpa.EnforcingType</class>

© 2017 ONAP. Copyright © The Linux Foundation ®. All Rights Reserved.
The Linux Foundation has registered trademarks and uses trademarks.
For a list of trademarks of The Linux Foundation, please see our Trademark Usage page.
Linux is a registered trademark of Linus Torvalds.
Privacy Policy and Terms of Use