Add Update QueryGroup API Logic #14775
82.20% of diff hit (target 71.97%)
View this Pull Request on Codecov
82.20% of diff hit (target 71.97%)
Annotations
codecov / codecov/patch
plugins/workload-management/src/main/java/org/opensearch/plugin/wlm/WorkloadManagementPlugin.java#L73
Added line #L73 was not covered by tests
codecov / codecov/patch
plugins/workload-management/src/main/java/org/opensearch/plugin/wlm/action/TransportUpdateQueryGroupAction.java#L43-L45
Added lines #L43 - L45 were not covered by tests
codecov / codecov/patch
plugins/workload-management/src/main/java/org/opensearch/plugin/wlm/action/TransportUpdateQueryGroupAction.java#L49-L50
Added lines #L49 - L50 were not covered by tests
codecov / codecov/patch
plugins/workload-management/src/main/java/org/opensearch/plugin/wlm/action/UpdateQueryGroupAction.java#L23
Added line #L23 was not covered by tests
codecov / codecov/patch
plugins/workload-management/src/main/java/org/opensearch/plugin/wlm/action/UpdateQueryGroupAction.java#L34-L35
Added lines #L34 - L35 were not covered by tests
codecov / codecov/patch
plugins/workload-management/src/main/java/org/opensearch/plugin/wlm/action/UpdateQueryGroupRequest.java#L54-L55
Added lines #L54 - L55 were not covered by tests
codecov / codecov/patch
plugins/workload-management/src/main/java/org/opensearch/plugin/wlm/action/UpdateQueryGroupRequest.java#L60-L61
Added lines #L60 - L61 were not covered by tests
codecov / codecov/patch
plugins/workload-management/src/main/java/org/opensearch/plugin/wlm/rest/RestUpdateQueryGroupAction.java#L41
Added line #L41 was not covered by tests
codecov / codecov/patch
plugins/workload-management/src/main/java/org/opensearch/plugin/wlm/rest/RestUpdateQueryGroupAction.java#L45
Added line #L45 was not covered by tests
codecov / codecov/patch
plugins/workload-management/src/main/java/org/opensearch/plugin/wlm/rest/RestUpdateQueryGroupAction.java#L53
Added line #L53 was not covered by tests
codecov / codecov/patch
plugins/workload-management/src/main/java/org/opensearch/plugin/wlm/rest/RestUpdateQueryGroupAction.java#L58-L60
Added lines #L58 - L60 were not covered by tests
codecov / codecov/patch
plugins/workload-management/src/main/java/org/opensearch/plugin/wlm/rest/RestUpdateQueryGroupAction.java#L65
Added line #L65 was not covered by tests
codecov / codecov/patch
plugins/workload-management/src/main/java/org/opensearch/plugin/wlm/rest/RestUpdateQueryGroupAction.java#L68
Added line #L68 was not covered by tests
codecov / codecov/patch
plugins/workload-management/src/main/java/org/opensearch/plugin/wlm/service/QueryGroupPersistenceService.java#L258
Added line #L258 was not covered by tests
codecov / codecov/patch
plugins/workload-management/src/main/java/org/opensearch/plugin/wlm/service/QueryGroupPersistenceService.java#L324
Added line #L324 was not covered by tests
Check warning on line 238 in server/src/main/java/org/opensearch/cluster/metadata/QueryGroup.java
codecov / codecov/patch
server/src/main/java/org/opensearch/cluster/metadata/QueryGroup.java#L238
Added line #L238 was not covered by tests
Check warning on line 271 in server/src/main/java/org/opensearch/cluster/metadata/QueryGroup.java
codecov / codecov/patch
server/src/main/java/org/opensearch/cluster/metadata/QueryGroup.java#L271
Added line #L271 was not covered by tests
Check warning on line 83 in server/src/main/java/org/opensearch/wlm/MutableQueryGroupFragment.java
codecov / codecov/patch
server/src/main/java/org/opensearch/wlm/MutableQueryGroupFragment.java#L83
Added line #L83 was not covered by tests
Check warning on line 99 in server/src/main/java/org/opensearch/wlm/MutableQueryGroupFragment.java
codecov / codecov/patch
server/src/main/java/org/opensearch/wlm/MutableQueryGroupFragment.java#L98-L99
Added lines #L98 - L99 were not covered by tests
Check warning on line 112 in server/src/main/java/org/opensearch/wlm/MutableQueryGroupFragment.java
codecov / codecov/patch
server/src/main/java/org/opensearch/wlm/MutableQueryGroupFragment.java#L111-L112
Added lines #L111 - L112 were not covered by tests
Check warning on line 130 in server/src/main/java/org/opensearch/wlm/MutableQueryGroupFragment.java
codecov / codecov/patch
server/src/main/java/org/opensearch/wlm/MutableQueryGroupFragment.java#L129-L130
Added lines #L129 - L130 were not covered by tests