From: Guangrong Fu Date: Thu, 12 Oct 2017 06:03:45 +0000 (+0800) Subject: Improve the API Descriptions X-Git-Tag: v1.0.0~26^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=84d06970369af080640c27d6957620213cf33306;p=holmes%2Frule-management.git Improve the API Descriptions Change-Id: Ifb95afa6b2dda9461a9d0a68bc123e934c318abb Issue-ID: HOLMES-68 Signed-off-by: Guangrong Fu --- diff --git a/rulemgt/src/main/java/org/onap/holmes/rulemgt/dcae/DcaeConfigurationPolling.java b/rulemgt/src/main/java/org/onap/holmes/rulemgt/dcae/DcaeConfigurationPolling.java index a69b6a4..1cc31d8 100644 --- a/rulemgt/src/main/java/org/onap/holmes/rulemgt/dcae/DcaeConfigurationPolling.java +++ b/rulemgt/src/main/java/org/onap/holmes/rulemgt/dcae/DcaeConfigurationPolling.java @@ -51,7 +51,7 @@ public class DcaeConfigurationPolling implements Runnable { try { dcaeConfigurations = getDcaeConfigurations(); } catch (CorrelationException e) { - log.error("Failed to polling dcae configurations" + e.getMessage()); + log.error("Failed to fetch DCAE configurations" + e.getMessage()); } if (dcaeConfigurations != null) { RuleQueryListResponse ruleQueryListResponse = getAllCorrelationRules(); diff --git a/rulemgt/src/main/java/org/onap/holmes/rulemgt/resources/RuleMgtResources.java b/rulemgt/src/main/java/org/onap/holmes/rulemgt/resources/RuleMgtResources.java index 00adc63..dc21e0d 100644 --- a/rulemgt/src/main/java/org/onap/holmes/rulemgt/resources/RuleMgtResources.java +++ b/rulemgt/src/main/java/org/onap/holmes/rulemgt/resources/RuleMgtResources.java @@ -69,7 +69,8 @@ public class RuleMgtResources { @Timed public RuleAddAndUpdateResponse addCorrelationRule(@Context HttpServletRequest request, @ApiParam(value = "The request entity of the HTTP call, which comprises \"rulename\"(required), " - + "\"content\"(required), \"enabled\"(required) and \"description\"(optional)", required = true) + + "\"loopcontrolname\"(required), \"content\"(required), \"enabled\"(required) " + + "and \"description\"(optional)", required = true) RuleCreateRequest ruleCreateRequest) { Locale locale = LanguageUtil.getLocale(request); RuleAddAndUpdateResponse ruleChangeResponse;