-
Notifications
You must be signed in to change notification settings - Fork 30
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
[Feature] Add Basic Support for OpenSearch Ingestion controls from the Migration Console #621
Merged
lewijacn
merged 12 commits into
opensearch-project:main
from
lewijacn:add-osi-migration-console
May 1, 2024
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
07e87f3
Lay groundwork for osi create/start/stop on migration console
lewijacn 5b6405f
Add CDK setup for OSI pipeline on Migration Console
lewijacn 10e2f84
Allow command line approach and solution approach for osi create pipe…
lewijacn a4aaa8b
Cleanup metadata migration files
lewijacn ea13caf
Update CDK tests
lewijacn 78ca471
Update python formatting via flake8 recommends
lewijacn 3c7c39d
Bug fixes for osiMigration and IAM updates
lewijacn 13243c0
Flake 8 line fix
lewijacn 0aff5ed
Minor updates and documentation
lewijacn 35f4c5c
Merge remote-tracking branch 'origin/main' into add-osi-migration-con…
lewijacn 2ee6e27
Updates via PR feedback
lewijacn 30dc9a8
Flake8 minor fix
lewijacn 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 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 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
2 changes: 2 additions & 0 deletions
2
...ture/dockerSolution/src/main/docker/migrationConsole/lib/osiMigrationLib/requirements.txt
This file contains 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,2 @@ | ||
boto3 | ||
coloredlogs |
404 changes: 404 additions & 0 deletions
404
TrafficCapture/dockerSolution/src/main/docker/migrationConsole/osiMigration.py
Large diffs are not rendered by default.
Oops, something went wrong.
27 changes: 27 additions & 0 deletions
27
TrafficCapture/dockerSolution/src/main/docker/migrationConsole/osiPipelineTemplate.yaml
This file contains 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,27 @@ | ||
version: "2" | ||
# NOTE: Placeholder values will be automatically populated and do not need to be changed | ||
<AWS_SECRET_CONFIG_PLACEHOLDER> | ||
|
||
historical-data-migration: | ||
|
||
# Source cluster configuration | ||
source: | ||
opensearch: | ||
hosts: | ||
- <SOURCE_CLUSTER_ENDPOINT_PLACEHOLDER> | ||
indices: | ||
# Indices to exclude - exclude system indices by default | ||
exclude: | ||
- index_name_regex: \.* | ||
<SOURCE_AUTH_OPTIONS_PLACEHOLDER> | ||
|
||
# Target cluster configuration | ||
sink: | ||
- opensearch: | ||
hosts: | ||
- <TARGET_CLUSTER_ENDPOINT_PLACEHOLDER> | ||
# Derive index name from record metadata | ||
index: ${getMetadata("opensearch-index")} | ||
# Use the same document ID as the source cluster document | ||
document_id: ${getMetadata("opensearch-document_id")} | ||
<TARGET_AUTH_OPTIONS_PLACEHOLDER> |
This file contains 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 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 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 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 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 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 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor, we should probably start doing all these chmods in one line so we create fewer layers (and maybe the copies too), but I don't think that's an issue for this moment