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

Adds REST APIs for creating and provisioning a workflow #63

Merged
merged 30 commits into from
Oct 12, 2023

Addressing PR comments, moving some common template parsing methods t…

8200441
Select commit
Loading
Failed to load commit list.
Merged

Adds REST APIs for creating and provisioning a workflow #63

Addressing PR comments, moving some common template parsing methods t…
8200441
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Oct 12, 2023 in 1s

81.51% of diff hit (target 70.00%)

View this Pull Request on Codecov

81.51% of diff hit (target 70.00%)

Annotations

Check warning on line 27 in src/main/java/org/opensearch/flowframework/common/TemplateUtil.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/flowframework/common/TemplateUtil.java#L27

Added line #L27 was not covered by tests

Check warning on line 121 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#L119-L121

Added lines #L119 - L121 were not covered by tests

Check warning on line 295 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#L295

Added line #L295 was not covered by tests

Check warning on line 311 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#L311

Added line #L311 was not covered by tests

Check warning on line 336 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#L335-L336

Added lines #L335 - L336 were not covered by tests

Check warning on line 338 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#L338

Added line #L338 was not covered by tests

Check warning on line 355 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#L354-L355

Added lines #L354 - L355 were not covered by tests

Check warning on line 357 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#L357

Added line #L357 was not covered by tests

Check warning on line 365 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#L365

Added line #L365 was not covered by tests

Check warning on line 369 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#L369

Added line #L369 was not covered by tests

Check warning on line 60 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#L58-L60

Added lines #L58 - L60 were not covered by tests

Check warning on line 69 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#L68-L69

Added lines #L68 - L69 were not covered by tests

Check warning on line 101 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#L99-L101

Added lines #L99 - L101 were not covered by tests

Check warning on line 113 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#L113

Added line #L113 was not covered by tests

Check warning on line 116 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#L116

Added line #L116 was not covered by tests

Check warning on line 122 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#L122

Added line #L122 was not covered by tests

Check warning on line 125 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#L125

Added line #L125 was not covered by tests

Check warning on line 136 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#L135-L136

Added lines #L135 - L136 were not covered by tests

Check warning on line 139 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#L139

Added line #L139 was not covered by tests

Check warning on line 141 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#L141

Added line #L141 was not covered by tests

Check warning on line 143 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#L143

Added line #L143 was not covered by tests

Check warning on line 147 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#L145-L147

Added lines #L145 - L147 were not covered by tests

Check warning on line 149 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#L149

Added line #L149 was not covered by tests

Check warning on line 154 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#L153-L154

Added lines #L153 - L154 were not covered by tests

Check warning on line 157 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#L157

Added line #L157 was not covered by tests