[rule based autotagging] Add Create Rule API Logic #17792
52.96% of diff hit (target 72.74%)
View this Pull Request on Codecov
52.96% of diff hit (target 72.74%)
Annotations
codecov / codecov/patch
modules/autotagging-commons/common/src/main/java/org/opensearch/rule/CreateRuleRequest.java#L53-L58
Added lines #L53 - L58 were not covered by tests
codecov / codecov/patch
modules/autotagging-commons/common/src/main/java/org/opensearch/rule/RuleUtils.java#L30
Added line #L30 was not covered by tests
codecov / codecov/patch
modules/autotagging-commons/common/src/main/java/org/opensearch/rule/autotagging/FeatureType.java#L56
Added line #L56 was not covered by tests
codecov / codecov/patch
modules/autotagging-commons/common/src/main/java/org/opensearch/rule/service/IndexStoredRulePersistenceService.java#L101-L102
Added lines #L101 - L102 were not covered by tests
codecov / codecov/patch
modules/autotagging-commons/common/src/main/java/org/opensearch/rule/service/IndexStoredRulePersistenceService.java#L123
Added line #L123 was not covered by tests
codecov / codecov/patch
modules/autotagging-commons/common/src/main/java/org/opensearch/rule/service/IndexStoredRulePersistenceService.java#L147-L149
Added lines #L147 - L149 were not covered by tests
codecov / codecov/patch
modules/autotagging-commons/common/src/main/java/org/opensearch/rule/service/IndexStoredRulePersistenceService.java#L235
Added line #L235 was not covered by tests
codecov / codecov/patch
modules/autotagging-commons/src/main/java/org/opensearch/rule/RuleFrameworkPlugin.java#L100
Added line #L100 was not covered by tests
codecov / codecov/patch
modules/autotagging-commons/src/main/java/org/opensearch/rule/RuleFrameworkPlugin.java#L105-L108
Added lines #L105 - L108 were not covered by tests
codecov / codecov/patch
modules/autotagging-commons/src/main/java/org/opensearch/rule/RuleFrameworkPlugin.java#L117-L120
Added lines #L117 - L120 were not covered by tests
codecov / codecov/patch
modules/autotagging-commons/src/main/java/org/opensearch/rule/RuleRoutingServiceRegistry.java#L34
Added line #L34 was not covered by tests
codecov / codecov/patch
modules/autotagging-commons/src/main/java/org/opensearch/rule/RuleRoutingServiceRegistry.java#L36
Added line #L36 was not covered by tests
codecov / codecov/patch
modules/autotagging-commons/src/main/java/org/opensearch/rule/RuleRoutingServiceRegistry.java#L44
Added line #L44 was not covered by tests
codecov / codecov/patch
modules/autotagging-commons/src/main/java/org/opensearch/rule/RuleRoutingServiceRegistry.java#L46
Added line #L46 was not covered by tests
codecov / codecov/patch
modules/autotagging-commons/src/main/java/org/opensearch/rule/action/TransportCreateRuleAction.java#L68
Added line #L68 was not covered by tests
codecov / codecov/patch
modules/autotagging-commons/src/main/java/org/opensearch/rule/action/TransportCreateRuleAction.java#L70-L75
Added lines #L70 - L75 were not covered by tests
codecov / codecov/patch
modules/autotagging-commons/src/main/java/org/opensearch/rule/action/TransportCreateRuleAction.java#L77-L83
Added lines #L77 - L83 were not covered by tests
codecov / codecov/patch
modules/autotagging-commons/src/main/java/org/opensearch/rule/action/TransportCreateRuleAction.java#L99-L101
Added lines #L99 - L101 were not covered by tests
codecov / codecov/patch
modules/autotagging-commons/src/main/java/org/opensearch/rule/action/TransportCreateRuleAction.java#L103-L105
Added lines #L103 - L105 were not covered by tests
codecov / codecov/patch
modules/autotagging-commons/src/main/java/org/opensearch/rule/rest/RestCreateRuleAction.java#L57-L60
Added lines #L57 - L60 were not covered by tests
codecov / codecov/patch
modules/autotagging-commons/src/main/java/org/opensearch/rule/rest/RestCreateRuleAction.java#L62
Added line #L62 was not covered by tests
codecov / codecov/patch
modules/autotagging-commons/src/main/java/org/opensearch/rule/rest/RestCreateRuleAction.java#L67
Added line #L67 was not covered by tests
codecov / codecov/patch
modules/autotagging-commons/src/main/java/org/opensearch/rule/rest/RestCreateRuleAction.java#L70
Added line #L70 was not covered by tests
codecov / codecov/patch
plugins/workload-management/src/main/java/org/opensearch/plugin/wlm/WorkloadManagementPlugin.java#L132-L133
Added lines #L132 - L133 were not covered by tests
codecov / codecov/patch
plugins/workload-management/src/main/java/org/opensearch/plugin/wlm/WorkloadManagementPlugin.java#L191
Added line #L191 was not covered by tests