From 84d06970369af080640c27d6957620213cf33306 Mon Sep 17 00:00:00 2001 From: Guangrong Fu Date: Thu, 12 Oct 2017 14:03:45 +0800 Subject: Improve the API Descriptions Change-Id: Ifb95afa6b2dda9461a9d0a68bc123e934c318abb Issue-ID: HOLMES-68 Signed-off-by: Guangrong Fu --- .../java/org/onap/holmes/rulemgt/dcae/DcaeConfigurationPolling.java | 2 +- .../main/java/org/onap/holmes/rulemgt/resources/RuleMgtResources.java | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'rulemgt/src/main') 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; -- cgit 1.2.3-korg