Document reprovision param for Update Workflow API#8172
Document reprovision param for Update Workflow API#8172kolchfa-aws merged 5 commits intoopensearch-project:mainfrom
Conversation
Signed-off-by: Daniel Widdis <widdis@gmail.com>
|
Thank you for submitting your PR. The PR states are In progress (or Draft) -> Tech review -> Doc review -> Editorial review -> Merged. Before you submit your PR for doc review, make sure the content is technically accurate. If you need help finding a tech reviewer, tag a maintainer. When you're ready for doc review, tag the assignee of this PR. The doc reviewer may push edits to the PR directly or leave comments and editorial suggestions for you to address (let us know in a comment if you have a preference). The doc reviewer will arrange for an editorial review. |
|
@amitgalitz @ohltyler Can you please provide a tech review for this since @joshpalis is unavailable and you either reviewed the PR or have used the feature from the front end? |
| You cannot specify both the `provision` and `update_fields` parameters at the same time. | ||
| {: .note} | ||
|
|
||
| If a workflow has been provisioned, you can update and reprovision the full template: |
There was a problem hiding this comment.
I expect this section to create a merge conflict when #8171 is merged. This section should go above that new content as it's directly related to updating. I'll resolve conflicts when the time comes.
| {% include copy-curl.html %} | ||
|
|
||
| You can add new steps to the workflow but not delete them. Only steps for index settings, search pipelines, and ingest pipelines are currently supported for updating. | ||
| {: .note} |
There was a problem hiding this comment.
The {: .note} is not producing anything specific in markdown, can we remove?
There was a problem hiding this comment.
I see, I am okay with it then
There was a problem hiding this comment.
I anticipate we'll make this particular paragraph more detailed and link to a whole separate page (like the use case templates) for the remainder of the feature, so just trying to add the minimum this time.
There was a problem hiding this comment.
Correct, the {: .note} renders as a blue callout.
There was a problem hiding this comment.
Doesn't render in GitHub but does render on the doc site.
| <updated complete template> | ||
| } | ||
| ``` | ||
| {% include copy-curl.html %} |
There was a problem hiding this comment.
I'll leave that to doc reviewers. I see the <placeholder> stuff used in other copy/paste.
There was a problem hiding this comment.
Yeah I see that now in other locations
There was a problem hiding this comment.
We typically want to spell out everything in the documentation in order to avoid confusion. This request clearly shows the reprovision query parameter and specifies that it needs to be a complete template, so we should keep this here. The template is very big so it's fine to use a descriptive placeholder.
ohltyler
left a comment
There was a problem hiding this comment.
Nothing to add from @amitgalitz comments. Will approve once those are resolved
I don't think there's anything to do on those. :) |
kolchfa-aws
left a comment
There was a problem hiding this comment.
Thank you, @dbwiddis! Just a couple of suggestions, otherwise LGTM.
| <updated complete template> | ||
| } | ||
| ``` | ||
| {% include copy-curl.html %} |
There was a problem hiding this comment.
We typically want to spell out everything in the documentation in order to avoid confusion. This request clearly shows the reprovision query parameter and specifies that it needs to be a complete template, so we should keep this here. The template is very big so it's fine to use a descriptive placeholder.
| {% include copy-curl.html %} | ||
|
|
||
| You can add new steps to the workflow but not delete them. Only steps for index settings, search pipelines, and ingest pipelines are currently supported for updating. | ||
| {: .note} |
There was a problem hiding this comment.
Correct, the {: .note} renders as a blue callout.
| {% include copy-curl.html %} | ||
|
|
||
| You can add new steps to the workflow but not delete them. Only steps for index settings, search pipelines, and ingest pipelines are currently supported for updating. | ||
| {: .note} |
There was a problem hiding this comment.
Doesn't render in GitHub but does render on the doc site.
Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com> Signed-off-by: Daniel Widdis <widdis@gmail.com>
Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com> Signed-off-by: Daniel Widdis <widdis@gmail.com>
Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com> Signed-off-by: Daniel Widdis <widdis@gmail.com>
|
Applying "Done but waiting to merge" label to put this in the 2.17 editorial queue starting 9/11. This PR will be merged before the release. |
Note that when #8171 is merged, it may create a merge conflict with this. I'll keep an eye out and rebase accordingly. |
|
Noted. This will likely be merged first because it's a 2.17 PR and will be prioritized higher for editorial review. |
natebower
left a comment
There was a problem hiding this comment.
@dbwiddis @kolchfa-aws Please see my changes and let me know if you have any questions. Thanks!
Co-authored-by: Nathan Bower <nbower@amazon.com> Signed-off-by: Daniel Widdis <widdis@gmail.com>
…t#8172) * Document reprovision param for Update Workflow API Signed-off-by: Daniel Widdis <widdis@gmail.com> * Update _automating-configurations/api/create-workflow.md Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com> Signed-off-by: Daniel Widdis <widdis@gmail.com> * Update _automating-configurations/api/create-workflow.md Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com> Signed-off-by: Daniel Widdis <widdis@gmail.com> * Update _automating-configurations/api/create-workflow.md Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com> Signed-off-by: Daniel Widdis <widdis@gmail.com> * Update _automating-configurations/api/create-workflow.md Co-authored-by: Nathan Bower <nbower@amazon.com> Signed-off-by: Daniel Widdis <widdis@gmail.com> --------- Signed-off-by: Daniel Widdis <widdis@gmail.com> Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com> Co-authored-by: Nathan Bower <nbower@amazon.com> Signed-off-by: Eric Pugh <epugh@opensourceconnections.com>

Description
Adds documentation for the Update Workflow API
reprovisionparameterIssues Resolved
Resolves #8166
Version
2.17.0
Checklist
For more information on following Developer Certificate of Origin and signing off your commits, please check here.