JUnit/SONAR/Checkstyle in ONAP-REST
[policy/engine.git] / ONAP-PAP-REST / src / main / java / org / onap / policy / pap / xacml / rest / policycontroller / PolicyCreation.java
index 34ea2c0..29b2440 100644 (file)
@@ -56,7 +56,7 @@ import org.onap.policy.pap.xacml.rest.util.AbstractPolicyCreation;
 import org.onap.policy.rest.adapter.PolicyRestAdapter;
 import org.onap.policy.rest.dao.CommonClassDao;
 import org.onap.policy.rest.jpa.ActionPolicyDict;
-import org.onap.policy.rest.jpa.BRMSParamTemplate;
+import org.onap.policy.rest.jpa.BrmsParamTemplate;
 import org.onap.policy.rest.jpa.PolicyEditorScopes;
 import org.onap.policy.rest.jpa.PolicyVersion;
 import org.onap.policy.rest.jpa.UserInfo;
@@ -314,8 +314,8 @@ public class PolicyCreation extends AbstractPolicyCreation {
                         String modelName = drlRuleAndUiParams.get("templateName");
                         PolicyLogger.info("Template name from API is: " + modelName);
 
-                        BRMSParamTemplate template = (BRMSParamTemplate) commonClassDao
-                                .getEntityItem(BRMSParamTemplate.class, "ruleName", modelName);
+                        BrmsParamTemplate template = (BrmsParamTemplate) commonClassDao
+                                .getEntityItem(BrmsParamTemplate.class, "ruleName", modelName);
                         if (template == null) {
                             String message =
                                     XACMLErrorConstants.ERROR_DATA_ISSUE + "Invalid Template.  The template name, "