-
Notifications
You must be signed in to change notification settings - Fork 602
Phase navigation for Migration Assistant #10805
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
Merged
natebower
merged 57 commits into
opensearch-project:main
from
sumobrian:phase_navigation
Aug 26, 2025
Merged
Changes from 56 commits
Commits
Show all changes
57 commits
Select commit
Hold shift + click to select a range
e15a775
Update IAM and configuration order in migration scenarios
sumobrian f536990
Update main Migration Assistnat page.
sumobrian e691ac4
Remove checklist item from Is Migration Assistant right for you?
sumobrian 51468a2
Updated key components
sumobrian 366e643
Removed deprecated documentation from IAM and security groups
sumobrian f501eb7
k-NN Add ADC and Random Rotation documentation to binary quantization…
finnroblin b8e91aa
fix dynamic tool link issue in tool index page (#10699)
zane-neo 1b19804
TLS settings for gRPC (#10653)
finnegancarroll 35f64dd
Remove dynamic tool due to critical issue (#10700)
zane-neo fc6c4cc
Fix typo in neural-sparse-with-pipelines.md (#10701)
mattjanssen 604048c
Highlight support for wildcard field (#10707)
kolchfa-aws 319bdcf
Add a rule to replace old-style doc links with variables for spec-ins…
kolchfa-aws 9f8512c
Add built-in Migration Assistant field data type transformation docum…
AndreKurait 877691c
adding docker examples for custom configuration (#10684)
AntonEliatra dfbc644
Update cat-allocation.md (#10715)
Utkarsh-Aga 9a1fe8c
Update ACORN filtering optimization section in efficient filtering. (…
0ctopus13prime 42bbb67
Added GPU-Access to systemd-Service Definition (#10694)
TheBigK02 21d3ee6
Update hybrid collapse documentation for 3.2 (#10664)
ryanbogan 2bcd4cd
Updating helm commands to work with latest version (#10716)
AntonEliatra a0f2cd5
[Migration Assistant] Add version command for migration console comma…
lewijacn 6a7dec2
adding clarification on quick start docs (#10722)
AntonEliatra b63057f
Add command reference for CURL also fix headings across the file (#10…
peternied c3b78b2
Trace analytics update for 3.2 (#10727)
TackAdam de5d8c8
[DOC] ML-Commons agent framework updates (#10682)
pyek-bot 7423a45
Add documentation for derived source in source field metadata (#10674)
tanik98 23c42fe
Revamp docs as UBI has evolved. (#8800)
epugh fcb275e
adding the link to update settings (#10738)
AntonEliatra 0ac06dd
Update remote index build to announce fp16, byte and binary are suppo…
0ctopus13prime 95f18c3
Atlassian sources added (#10739)
san81 d0e1057
Implement breaking changes for examples to work with opensearch-py v3…
spapadop a2fe4ea
[Doc] Live Queries dashboard (#10090) (#10709)
KishoreKicha14 e8e1fb9
Revert "Temporarily remove blogs and events from search results (#103…
peterzhuamazon 62ccb93
Breaking changes selector in Migration Assistant to reference individ…
jugal-chauhan 34c268c
Add rds source doc for Data Prepper (#10781)
oeyh 9e54b68
Add Agentic Memory APIs (#10714)
nathaliellenaa 36c5d42
[GRPC] Documentation for 3.2 GRPC GA (Bulk and k-NN Search) (#10651)
karenyrx b14608d
update Search Relevance Workbench docs for 3.2 (#10514)
wrigleyDan 02ad56f
add explain pf key_name parameter for json codec of s3 source (#10559)
tkykenmt d5fdc1c
Revert "Revert "Including info on OpenID Additional Parameters (#5600…
natebower 574aeaf
Add field data cache page (#10747)
peteralfonsi b8f13d3
Edits to additional parameters (#10794)
natebower 63edc69
Add 3.2 release notes (#10743)
kolchfa-aws 365bd55
Add 3.2 to version history (#10741)
kolchfa-aws c519ab1
Add 3.2 version (#10740)
kolchfa-aws 3f87ca8
Add `false_allow_templates` as a dynamic mapping option (#10749)
bruce-hong-glean adef87b
Minor copy updates with the start of phase navigation.
sumobrian 2091c4f
Add migration phase navigation and update migration scenarios
sumobrian a791784
Merge branch 'main' of github.com:opensearch-project/documentation-we…
sumobrian 8fa327c
Merge branch 'main' of github.com:opensearch-project/documentation-we…
sumobrian eaf8c6c
Update _migration-assistant/key-components.md
sumobrian ce2e328
Update _migration-assistant/migration-phases/create-snapshot.md
sumobrian 36a5555
Update IAM role string
sumobrian 17d9eb7
Removed TODO
sumobrian e3d532a
Merge branch 'phase_navigation' of github.com:sumobrian/documentation…
sumobrian 61fef6b
Fix typo
sumobrian 58f3307
Merge branch 'main' into phase_navigation
sumobrian b96be48
Apply suggestions from code review
natebower File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,193 @@ | ||
{%- comment -%} | ||
This include generates Previous Phase and Next Phase sections for migration phase pages. | ||
It uses the migration scenarios data to determine the flow and relationships. | ||
{%- endcomment -%} | ||
|
||
{%- assign current_page_url = page.url | remove: '/index' -%} | ||
{%- assign scenarios = site.data.migration-scenarios.scenarios -%} | ||
|
||
{%- comment -%}Find previous phases for each scenario{%- endcomment -%} | ||
{%- assign prev_phase_info = '' | split: '' -%} | ||
|
||
{%- for scenario in scenarios -%} | ||
{%- assign found_current = false -%} | ||
{%- assign step_number = 0 -%} | ||
{%- assign prev_step = null -%} | ||
{%- assign prev_step_number = 0 -%} | ||
|
||
{%- for step in scenario.steps -%} | ||
{%- assign step_number = step_number | plus: 1 -%} | ||
{%- assign clean_step_url = step.url | replace: '{{site.url}}{{site.baseurl}}', '' -%} | ||
|
||
{%- if clean_step_url == current_page_url -%} | ||
{%- assign found_current = true -%} | ||
{%- if prev_step -%} | ||
{%- capture prev_phase_data -%}{{ prev_step.url }}|{{ prev_step.title }}|{{ scenario.title }}|{{ prev_step_number }}{%- endcapture -%} | ||
{%- assign prev_phase_info = prev_phase_info | push: prev_phase_data -%} | ||
{%- endif -%} | ||
{%- break -%} | ||
{%- endif -%} | ||
|
||
{%- comment -%}Check substeps too{%- endcomment -%} | ||
{%- if step.substeps -%} | ||
{%- for substep in step.substeps -%} | ||
{%- assign clean_substep_url = substep.url | replace: '{{site.url}}{{site.baseurl}}', '' -%} | ||
{%- if clean_substep_url == current_page_url -%} | ||
{%- assign found_current = true -%} | ||
{%- capture prev_phase_data -%}{{ step.url }}|{{ step.title }}|{{ scenario.title }}|{{ step_number }}{%- endcapture -%} | ||
{%- assign prev_phase_info = prev_phase_info | push: prev_phase_data -%} | ||
{%- break -%} | ||
{%- endif -%} | ||
{%- endfor -%} | ||
{%- if found_current -%} | ||
{%- break -%} | ||
{%- endif -%} | ||
{%- endif -%} | ||
|
||
{%- assign prev_step = step -%} | ||
{%- assign prev_step_number = step_number -%} | ||
{%- endfor -%} | ||
{%- endfor -%} | ||
|
||
{%- comment -%}Remove duplicates from prev_phase_info{%- endcomment -%} | ||
{%- assign unique_prev_phases = '' | split: '' -%} | ||
{%- for phase_data in prev_phase_info -%} | ||
{%- assign phase_parts = phase_data | split: '|' -%} | ||
{%- assign phase_url = phase_parts[0] -%} | ||
{%- assign is_duplicate = false -%} | ||
|
||
{%- for unique_phase_data in unique_prev_phases -%} | ||
{%- assign unique_parts = unique_phase_data | split: '|' -%} | ||
{%- if unique_parts[0] == phase_url -%} | ||
{%- assign is_duplicate = true -%} | ||
{%- break -%} | ||
{%- endif -%} | ||
{%- endfor -%} | ||
|
||
{%- unless is_duplicate -%} | ||
{%- assign unique_prev_phases = unique_prev_phases | push: phase_data -%} | ||
{%- endunless -%} | ||
{%- endfor -%} | ||
|
||
{%- comment -%}Find next phases for each scenario{%- endcomment -%} | ||
{%- assign next_phase_info = '' | split: '' -%} | ||
|
||
{%- for scenario in scenarios -%} | ||
{%- assign step_number = 0 -%} | ||
{%- assign current_step_index = -1 -%} | ||
|
||
{%- comment -%}Find the index of the current step in this scenario{%- endcomment -%} | ||
{%- for step in scenario.steps -%} | ||
{%- assign step_number = step_number | plus: 1 -%} | ||
{%- assign clean_step_url = step.url | replace: '{{site.url}}{{site.baseurl}}', '' -%} | ||
|
||
{%- comment -%}Check if this step matches the current page{%- endcomment -%} | ||
{%- if clean_step_url == current_page_url -%} | ||
{%- assign current_step_index = step_number -%} | ||
{%- endif -%} | ||
|
||
{%- comment -%}Also check substeps{%- endcomment -%} | ||
{%- if step.substeps -%} | ||
{%- for substep in step.substeps -%} | ||
{%- assign clean_substep_url = substep.url | replace: '{{site.url}}{{site.baseurl}}', '' -%} | ||
{%- if clean_substep_url == current_page_url -%} | ||
{%- assign current_step_index = step_number -%} | ||
{%- endif -%} | ||
{%- endfor -%} | ||
{%- endif -%} | ||
{%- endfor -%} | ||
|
||
{%- comment -%}If we found the current step in this scenario, find the next step{%- endcomment -%} | ||
{%- if current_step_index > 0 -%} | ||
{%- assign next_step_index = current_step_index | plus: 1 -%} | ||
{%- assign step_number = 0 -%} | ||
|
||
{%- for step in scenario.steps -%} | ||
{%- assign step_number = step_number | plus: 1 -%} | ||
{%- if step_number == next_step_index -%} | ||
{%- capture next_phase_data -%}{{ step.url }}|{{ step.title }}|{{ scenario.title }}|{{ step_number }}{%- endcapture -%} | ||
{%- assign next_phase_info = next_phase_info | push: next_phase_data -%} | ||
{%- break -%} | ||
{%- endif -%} | ||
{%- endfor -%} | ||
{%- endif -%} | ||
{%- endfor -%} | ||
|
||
{%- comment -%}Remove duplicates from next_phase_info{%- endcomment -%} | ||
{%- assign unique_next_phases = '' | split: '' -%} | ||
{%- for phase_data in next_phase_info -%} | ||
{%- assign phase_parts = phase_data | split: '|' -%} | ||
{%- assign phase_url = phase_parts[0] -%} | ||
{%- assign scenario_title = phase_parts[2] -%} | ||
{%- assign is_duplicate = false -%} | ||
|
||
{%- for unique_phase_data in unique_next_phases -%} | ||
{%- assign unique_parts = unique_phase_data | split: '|' -%} | ||
{%- if unique_parts[0] == phase_url and unique_parts[2] == scenario_title -%} | ||
{%- assign is_duplicate = true -%} | ||
{%- break -%} | ||
{%- endif -%} | ||
{%- endfor -%} | ||
|
||
{%- unless is_duplicate -%} | ||
{%- assign unique_next_phases = unique_next_phases | push: phase_data -%} | ||
{%- endunless -%} | ||
{%- endfor -%} | ||
|
||
|
||
{%- comment -%}Display Previous Phase section{%- endcomment -%} | ||
{%- if unique_prev_phases.size > 0 %} | ||
|
||
## Previous Phase | ||
|
||
{%- if unique_prev_phases.size == 1 -%} | ||
{%- assign phase_data = unique_prev_phases[0] -%} | ||
{%- assign phase_parts = phase_data | split: '|' %} | ||
{%- assign clean_prev_url = phase_parts[0] | replace: '{{site.url}}{{site.baseurl}}', '' %} | ||
|
||
The previous phase in the migration process was: | ||
|
||
**[{{ phase_parts[1] }}]({{ site.url }}{{ site.baseurl }}{{ clean_prev_url }})** | ||
|
||
{%- else %} | ||
|
||
The previous phase depends on your migration scenario: | ||
|
||
{% for phase_data in unique_prev_phases -%} | ||
{%- assign phase_parts = phase_data | split: '|' %} | ||
{%- assign clean_prev_url = phase_parts[0] | replace: '{{site.url}}{{site.baseurl}}', '' -%} | ||
- **{{ phase_parts[2] }}** (Step {{ phase_parts[3] }}): [{{ phase_parts[1] }}]({{ site.url }}{{ site.baseurl }}{{ clean_prev_url }}) | ||
{% endfor %} | ||
{%- endif %} | ||
{%- endif %} | ||
|
||
{%- comment -%}Display Next Phase section{%- endcomment -%} | ||
{%- if unique_next_phases.size > 0 %} | ||
|
||
## Next Phase | ||
natebower marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
{%- if unique_next_phases.size == 1 -%} | ||
{%- assign phase_data = unique_next_phases[0] -%} | ||
{%- assign phase_parts = phase_data | split: '|' %} | ||
{%- assign clean_next_url = phase_parts[0] | replace: '{{site.url}}{{site.baseurl}}', '' %} | ||
|
||
The next phase in the migration process is: | ||
|
||
**[{{ phase_parts[1] }}]({{ site.url }}{{ site.baseurl }}{{ clean_next_url }})** | ||
|
||
For a complete overview of all migration phases, see [Migration phases]({{ site.url }}{{ site.baseurl }}/migration-assistant/migration-phases/). | ||
|
||
{%- else %} | ||
|
||
The next phase depends on your migration scenario: | ||
|
||
{% for phase_data in unique_next_phases -%} | ||
{%- assign phase_parts = phase_data | split: '|' %} | ||
{%- assign clean_next_url = phase_parts[0] | replace: '{{site.url}}{{site.baseurl}}', '' -%} | ||
- **{{ phase_parts[2] }}** (Step {{ phase_parts[3] }}): [{{ phase_parts[1] }}]({{ site.url }}{{ site.baseurl }}{{ clean_next_url }}) | ||
{% endfor %} | ||
|
||
For a complete overview of all migration phases, see [Migration phases]({{ site.url }}{{ site.baseurl }}/migration-assistant/migration-phases/). | ||
|
||
{%- endif %} | ||
{%- endif %} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.