Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Update QueryGroup API Logic #14775

Merged
merged 9 commits into from
Sep 4, 2024

address comments

ed85052
Select commit
Loading
Failed to load commit list.
Merged

Add Update QueryGroup API Logic #14775

address comments
ed85052
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Sep 3, 2024 in 1s

82.20% of diff hit (target 71.97%)

View this Pull Request on Codecov

82.20% of diff hit (target 71.97%)

Annotations

Check warning on line 73 in plugins/workload-management/src/main/java/org/opensearch/plugin/wlm/WorkloadManagementPlugin.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/workload-management/src/main/java/org/opensearch/plugin/wlm/WorkloadManagementPlugin.java#L73

Added line #L73 was not covered by tests

Check warning on line 45 in plugins/workload-management/src/main/java/org/opensearch/plugin/wlm/action/TransportUpdateQueryGroupAction.java

See this annotation in the file changed.

@codecov 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

Check warning on line 50 in plugins/workload-management/src/main/java/org/opensearch/plugin/wlm/action/TransportUpdateQueryGroupAction.java

See this annotation in the file changed.

@codecov 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

Check warning on line 23 in plugins/workload-management/src/main/java/org/opensearch/plugin/wlm/action/UpdateQueryGroupAction.java

See this annotation in the file changed.

@codecov 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

Check warning on line 35 in plugins/workload-management/src/main/java/org/opensearch/plugin/wlm/action/UpdateQueryGroupAction.java

See this annotation in the file changed.

@codecov 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

Check warning on line 55 in plugins/workload-management/src/main/java/org/opensearch/plugin/wlm/action/UpdateQueryGroupRequest.java

See this annotation in the file changed.

@codecov 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

Check warning on line 61 in plugins/workload-management/src/main/java/org/opensearch/plugin/wlm/action/UpdateQueryGroupRequest.java

See this annotation in the file changed.

@codecov 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

Check warning on line 41 in plugins/workload-management/src/main/java/org/opensearch/plugin/wlm/rest/RestUpdateQueryGroupAction.java

See this annotation in the file changed.

@codecov 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

Check warning on line 45 in plugins/workload-management/src/main/java/org/opensearch/plugin/wlm/rest/RestUpdateQueryGroupAction.java

See this annotation in the file changed.

@codecov 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

Check warning on line 53 in plugins/workload-management/src/main/java/org/opensearch/plugin/wlm/rest/RestUpdateQueryGroupAction.java

See this annotation in the file changed.

@codecov 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

Check warning on line 60 in plugins/workload-management/src/main/java/org/opensearch/plugin/wlm/rest/RestUpdateQueryGroupAction.java

See this annotation in the file changed.

@codecov 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

Check warning on line 65 in plugins/workload-management/src/main/java/org/opensearch/plugin/wlm/rest/RestUpdateQueryGroupAction.java

See this annotation in the file changed.

@codecov 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

Check warning on line 68 in plugins/workload-management/src/main/java/org/opensearch/plugin/wlm/rest/RestUpdateQueryGroupAction.java

See this annotation in the file changed.

@codecov 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

Check warning on line 258 in plugins/workload-management/src/main/java/org/opensearch/plugin/wlm/service/QueryGroupPersistenceService.java

See this annotation in the file changed.

@codecov 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

Check warning on line 324 in plugins/workload-management/src/main/java/org/opensearch/plugin/wlm/service/QueryGroupPersistenceService.java

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/wlm/MutableQueryGroupFragment.java#L129-L130

Added lines #L129 - L130 were not covered by tests