From: Jorge Hernandez Date: Fri, 9 Feb 2018 14:55:18 +0000 (+0000) Subject: Merge "Added JUNITS for ONAP-REST Component" X-Git-Tag: v1.2.0~149 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=7f09be3758d5797c22682686bad9281516cfe5a1;hp=3c739025a9727597b874df03c17bb439261857e4;p=policy%2Fengine.git Merge "Added JUNITS for ONAP-REST Component" --- diff --git a/ONAP-PAP-REST/src/main/java/org/onap/policy/pap/xacml/rest/elk/client/ElasticSearchPolicyUpdate.java b/ONAP-PAP-REST/src/main/java/org/onap/policy/pap/xacml/rest/elk/client/ElasticSearchPolicyUpdate.java index 430f9cd65..d064d052b 100644 --- a/ONAP-PAP-REST/src/main/java/org/onap/policy/pap/xacml/rest/elk/client/ElasticSearchPolicyUpdate.java +++ b/ONAP-PAP-REST/src/main/java/org/onap/policy/pap/xacml/rest/elk/client/ElasticSearchPolicyUpdate.java @@ -2,7 +2,7 @@ * ============LICENSE_START======================================================= * ONAP Policy Engine * ================================================================================ - * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + * Copyright (C) 2017-2018 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. @@ -96,8 +96,7 @@ public class ElasticSearchPolicyUpdate { password = config.getProperty("policy.database.password"); databaseDriver = config.getProperty("policy.database.driver"); if(elkURL == null || databseUrl == null || userName == null || password == null || databaseDriver == null){ - LOGGER.error("One of the Property is null in policyelk.properties = elkurl:databaseurl:username:password:databasedriver " - + elkURL + ":"+ databseUrl + ":"+ userName + ":"+ password + ":"+ databaseDriver + ":"); + LOGGER.error("please check the elk configuration"); } } catch (Exception e) { LOGGER.error("Config File doesn't Exist in the specified Path " + file.toString(),e); diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/Windows/Dictionary/ModelAttributeDictionary.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/Windows/Dictionary/ModelAttributeDictionary.html index 0531a00ae..9f8af5c20 100644 --- a/POLICY-SDK-APP/src/main/webapp/app/policyApp/Windows/Dictionary/ModelAttributeDictionary.html +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/Windows/Dictionary/ModelAttributeDictionary.html @@ -36,14 +36,14 @@

- +

Dictionary Name is required.


- +

Value is required.