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 Create QueryGroup API Logic #14680

Merged
merged 20 commits into from
Aug 13, 2024

add coverage

8e123f7
Select commit
Loading
Failed to load commit list.
Merged

Add Create QueryGroup API Logic #14680

add coverage
8e123f7
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Aug 13, 2024 in 0s

74.50% of diff hit (target 71.86%)

View this Pull Request on Codecov

74.50% of diff hit (target 71.86%)

Annotations

Check warning on line 40 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#L40

Added line #L40 was not covered by tests

Check warning on line 44 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#L44

Added line #L44 was not covered by tests

Check warning on line 57 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#L57

Added line #L57 was not covered by tests

Check warning on line 62 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#L62

Added line #L62 was not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/workload-management/src/main/java/org/opensearch/plugin/wlm/action/CreateQueryGroupAction.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/CreateQueryGroupAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/workload-management/src/main/java/org/opensearch/plugin/wlm/action/CreateQueryGroupAction.java#L34-L35

Added lines #L34 - L35 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/workload-management/src/main/java/org/opensearch/plugin/wlm/action/CreateQueryGroupRequest.java#L61-L62

Added lines #L61 - L62 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/workload-management/src/main/java/org/opensearch/plugin/wlm/action/CreateQueryGroupRequest.java#L67

Added line #L67 was not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/workload-management/src/main/java/org/opensearch/plugin/wlm/action/TransportCreateQueryGroupAction.java#L47-L50

Added lines #L47 - L50 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/workload-management/src/main/java/org/opensearch/plugin/wlm/action/TransportCreateQueryGroupAction.java#L54-L56

Added lines #L54 - L56 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/workload-management/src/main/java/org/opensearch/plugin/wlm/rest/RestCreateQueryGroupAction.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/RestCreateQueryGroupAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/workload-management/src/main/java/org/opensearch/plugin/wlm/rest/RestCreateQueryGroupAction.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/RestCreateQueryGroupAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/workload-management/src/main/java/org/opensearch/plugin/wlm/rest/RestCreateQueryGroupAction.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/RestCreateQueryGroupAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/workload-management/src/main/java/org/opensearch/plugin/wlm/rest/RestCreateQueryGroupAction.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/RestCreateQueryGroupAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/workload-management/src/main/java/org/opensearch/plugin/wlm/rest/RestCreateQueryGroupAction.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/RestCreateQueryGroupAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/workload-management/src/main/java/org/opensearch/plugin/wlm/rest/RestCreateQueryGroupAction.java#L68

Added line #L68 was not covered by tests

Check warning on line 114 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#L114

Added line #L114 was not covered by tests

Check warning on line 67 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#L67

Added line #L67 was not covered by tests

Check warning on line 253 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#L253

Added line #L253 was not covered by tests

Check warning on line 272 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#L272

Added line #L272 was not covered by tests

Check warning on line 277 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#L277

Added line #L277 was not covered by tests