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

[Backport 2.x] [Workspace] Handle data sources and advanced settings as global object. #6611

Merged
merged 1 commit into from
Apr 23, 2024

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport da88296 from #6524.

…t. (#6524)

* Handle data sources and advanced settings as global object. (#313)

* feat: POC implementation

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: add some comment

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: revert dependency

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: update comment

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: address one TODO

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: address TODO

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: add unit test

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: some special logic on specific operation

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: add integration test

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: declare workspaces as empty array for advanced settings

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: unified workspaces parameters when parsing from router

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: improve code coverage

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: declare workspaces as null

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: use unified types

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: update comment

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: remove null

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: address comments

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: use request app to store request workspace id

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: use app state to store request workspace id

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: remove workspaces when listing data sources

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: remove useless code change

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: throw error if the type is not allowed

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: add unit test

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: add integration test

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: change the implementation

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: remove useless change

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: remove useless change

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: add integration test

Signed-off-by: SuZhou-Joe <[email protected]>

* fix: unit test

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: add error message

Signed-off-by: SuZhou-Joe <[email protected]>

* fix: integration test

Signed-off-by: SuZhou-Joe <[email protected]>

* fix: integration test

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: remove useless change

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: add test case and add restrict on create method

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: change type

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: change comment

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: optimize test

Signed-off-by: SuZhou-Joe <[email protected]>

* refactor: move logic to conflict check wrapper

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: remove useless change

Signed-off-by: SuZhou-Joe <[email protected]>

* fix: unit test

Signed-off-by: SuZhou-Joe <[email protected]>

* fix: unit test

Signed-off-by: SuZhou-Joe <[email protected]>

---------

Signed-off-by: SuZhou-Joe <[email protected]>

* Changeset file for PR #6524 created/updated

* Apply suggestions from code review

Co-authored-by: Lu Yu <[email protected]>
Signed-off-by: SuZhou-Joe <[email protected]>

* feat: optimize based on comment

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: remove useless default value

Signed-off-by: SuZhou-Joe <[email protected]>

---------

Signed-off-by: SuZhou-Joe <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
Co-authored-by: Lu Yu <[email protected]>
(cherry picked from commit da88296)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@SuZhou-Joe SuZhou-Joe merged commit 7d6d7d0 into 2.x Apr 23, 2024
88 of 89 checks passed
@github-actions github-actions bot deleted the backport/backport-6524-to-2.x branch April 23, 2024 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autocut Skip the changelog verification check on backports seasoned-contributor v2.14.0 workspace
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants