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

Updates exception handling with FlowFrameworkException and fix Global Context mapping #106

Closed
wants to merge 8 commits into from

Using OpenSearch ExceptionsHelper to get rest status from failed clie…

d67a7c1
Select commit
Loading
Failed to load commit list.
Closed

Updates exception handling with FlowFrameworkException and fix Global Context mapping #106

Using OpenSearch ExceptionsHelper to get rest status from failed clie…
d67a7c1
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch failed Oct 20, 2023 in 1s

40.78% of diff hit (target 70.00%)

View this Pull Request on Codecov

40.78% of diff hit (target 70.00%)

Annotations

Check warning on line 77 in src/main/java/org/opensearch/flowframework/indices/GlobalContextHandler.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/flowframework/indices/GlobalContextHandler.java#L77

Added line #L77 was not covered by tests

Check warning on line 92 in src/main/java/org/opensearch/flowframework/indices/GlobalContextHandler.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/flowframework/indices/GlobalContextHandler.java#L92

Added line #L92 was not covered by tests

Check warning on line 287 in src/main/java/org/opensearch/flowframework/model/Template.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/flowframework/model/Template.java#L287

Added line #L287 was not covered by tests

Check warning on line 72 in src/main/java/org/opensearch/flowframework/rest/RestCreateWorkflowAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/flowframework/rest/RestCreateWorkflowAction.java#L67-L72

Added lines #L67 - L72 were not covered by tests

Check warning on line 80 in src/main/java/org/opensearch/flowframework/rest/RestCreateWorkflowAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/flowframework/rest/RestCreateWorkflowAction.java#L74-L80

Added lines #L74 - L80 were not covered by tests

Check warning on line 78 in src/main/java/org/opensearch/flowframework/rest/RestProvisionWorkflowAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/flowframework/rest/RestProvisionWorkflowAction.java#L74-L78

Added lines #L74 - L78 were not covered by tests

Check warning on line 86 in src/main/java/org/opensearch/flowframework/rest/RestProvisionWorkflowAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/flowframework/rest/RestProvisionWorkflowAction.java#L80-L86

Added lines #L80 - L86 were not covered by tests

Check warning on line 112 in src/main/java/org/opensearch/flowframework/transport/ProvisionWorkflowTransportAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/flowframework/transport/ProvisionWorkflowTransportAction.java#L112

Added line #L112 was not covered by tests

Check warning on line 176 in src/main/java/org/opensearch/flowframework/transport/ProvisionWorkflowTransportAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/flowframework/transport/ProvisionWorkflowTransportAction.java#L175-L176

Added lines #L175 - L176 were not covered by tests

Check warning on line 178 in src/main/java/org/opensearch/flowframework/transport/ProvisionWorkflowTransportAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/flowframework/transport/ProvisionWorkflowTransportAction.java#L178

Added line #L178 was not covered by tests

Check warning on line 154 in src/main/java/org/opensearch/flowframework/workflow/CreateIndexStep.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/flowframework/workflow/CreateIndexStep.java#L153-L154

Added lines #L153 - L154 were not covered by tests

Check warning on line 189 in src/main/java/org/opensearch/flowframework/workflow/CreateIndexStep.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/flowframework/workflow/CreateIndexStep.java#L189

Added line #L189 was not covered by tests

Check warning on line 193 in src/main/java/org/opensearch/flowframework/workflow/CreateIndexStep.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/flowframework/workflow/CreateIndexStep.java#L193

Added line #L193 was not covered by tests

Check warning on line 207 in src/main/java/org/opensearch/flowframework/workflow/CreateIndexStep.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/flowframework/workflow/CreateIndexStep.java#L206-L207

Added lines #L206 - L207 were not covered by tests

Check warning on line 211 in src/main/java/org/opensearch/flowframework/workflow/CreateIndexStep.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/flowframework/workflow/CreateIndexStep.java#L211

Added line #L211 was not covered by tests

Check warning on line 224 in src/main/java/org/opensearch/flowframework/workflow/CreateIndexStep.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/flowframework/workflow/CreateIndexStep.java#L223-L224

Added lines #L223 - L224 were not covered by tests

Check warning on line 234 in src/main/java/org/opensearch/flowframework/workflow/CreateIndexStep.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/flowframework/workflow/CreateIndexStep.java#L233-L234

Added lines #L233 - L234 were not covered by tests

Check warning on line 92 in src/main/java/org/opensearch/flowframework/workflow/WorkflowProcessSorter.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/flowframework/workflow/WorkflowProcessSorter.java#L92

Added line #L92 was not covered by tests