diff options
author | 2017-10-12 07:35:19 +0000 | |
---|---|---|
committer | 2017-10-12 07:35:19 +0000 | |
commit | f067dcfc723d4494d84311528b2370196d3691a6 (patch) | |
tree | 47bc1ac8056f514069ee6f1d9dabf9d1aa038faa /rulemgt | |
parent | 842dbebce4743c69d8ba1466c1706cc8a210b39c (diff) | |
parent | 84d06970369af080640c27d6957620213cf33306 (diff) |
Merge "Improve the API Descriptions"
Diffstat (limited to 'rulemgt')
-rw-r--r-- | rulemgt/src/main/java/org/onap/holmes/rulemgt/dcae/DcaeConfigurationPolling.java | 2 | ||||
-rw-r--r-- | rulemgt/src/main/java/org/onap/holmes/rulemgt/resources/RuleMgtResources.java | 3 |
2 files changed, 3 insertions, 2 deletions
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;
|