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

Ci/temp #17

Draft
wants to merge 34 commits into
base: main
Choose a base branch
from
Draft

Ci/temp #17

wants to merge 34 commits into from

Commits on Mar 18, 2024

  1. [Feature] Setup workspace skeleton and implement basic CRUD API (open…

    …search-project#130)
    
    * feature: setup workspace skeleton and implement basic CRUD API on workspace
    
    Signed-off-by: Zhou Su <suzhou@dev-dsk-suzhou-2a-8ce7a7a7.us-west-2.amazon.com>
    
    * feat: remove useless required plugins and logger typo
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * feat: setup public side skeleton
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    ---------
    
    Signed-off-by: Zhou Su <suzhou@dev-dsk-suzhou-2a-8ce7a7a7.us-west-2.amazon.com>
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    Co-authored-by: Zhou Su <suzhou@dev-dsk-suzhou-2a-8ce7a7a7.us-west-2.amazon.com>
    SuZhou-Joe and Zhou Su committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    450ed0f View commit details
    Browse the repository at this point in the history
  2. [Workspace] Add ACL related functions for workspace (opensearch-proje…

    …ct#146)
    
    * [Workspace] Add acl related functions for workspace
    
    Signed-off-by: gaobinlong <gbinlong@amazon.com>
    
    * Minor change
    
    Signed-off-by: gaobinlong <gbinlong@amazon.com>
    
    ---------
    
    Signed-off-by: gaobinlong <gbinlong@amazon.com>
    gaobinlong authored and SuZhou-Joe committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    93aa359 View commit details
    Browse the repository at this point in the history
  3. feat: add core workspace module (opensearch-project#145)

    The core workspace module(WorkspaceService) is a foundational component
    that enables the implementation of workspace features within OSD
    plugins. The purpose of the core workspace module is to provide
    a framework for workspace implementations.
    
    This module does not implement specific workspace
    functionality but provides the essential infrastructure for plugins to
    extend and customize workspace features, it maintains a shared
    workspace state(observables) across the entire application to ensure
    a consistent and up-to-date view of workspace-related information to
    all parts of the application.
    
    ---------
    
    Signed-off-by: Yulong Ruan <ruanyl@amazon.com>
    ruanyl authored and SuZhou-Joe committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    bc555d2 View commit details
    Browse the repository at this point in the history
  4. use self hosted runner and disable windows workflow (opensearch-proje…

    …ct#182)
    
    disable github workflows running on windows for development (opensearch-project#161)
    
    ---------
    
    Signed-off-by: Yulong Ruan <ruanyl@amazon.com>
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    Co-authored-by: SuZhou-Joe <suzhou@amazon.com>
    ruanyl and SuZhou-Joe committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    5876656 View commit details
    Browse the repository at this point in the history
  5. fix backport workflow

    Signed-off-by: Yulong Ruan <ruanyl@amazon.com>
    ruanyl authored and SuZhou-Joe committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    fa68b39 View commit details
    Browse the repository at this point in the history
  6. [Workspace] Add optional workspaces parameter to all saved objects A…

    …PI (opensearch-project#185)
    
    * [Workspace] Add workspaces parameters to all saved objects API
    
    Signed-off-by: gaobinlong <gbinlong@amazon.com>
    
    * feat: update snapshot
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * feat: optimize logic when checkConflict and bulkCreate (opensearch-project#189)
    
    * feat: optimize logic when checkConflict and bulkCreate
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * feat: add options.workspace check
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * feat: throw error when workspace check error in repository create
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * feat: modify judgement
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * feat: always get objects from DB when create-with-override
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    ---------
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * feat: call get when create with override
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * feat: update test according to count
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * feat: add integration test
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * fix: unit test
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * feat: regenerate ids when import
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * feat: add more unit test
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * feat: minor changes logic on repository
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * feat: update unit test
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * feat: update test
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * feat: optimization according to comments
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * feat: update test
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * feat: optimize code
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    ---------
    
    Signed-off-by: gaobinlong <gbinlong@amazon.com>
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    Co-authored-by: SuZhou-Joe <suzhou@amazon.com>
    gaobinlong and SuZhou-Joe committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    1d8088e View commit details
    Browse the repository at this point in the history
  7. Register Advance Settings, Data Source management,Index Pattern manag…

    …ement and SavedObject management as standalone app, retire dashboard management (opensearch-project#208)
    
    * feat: init retire dashboard management
    
    Signed-off-by: tygao <tygao@amazon.com>
    
    * move index pattern to Library (opensearch-project#91)
    
    * move index pattern to libaray
    
    Signed-off-by: Hailong Cui <ihailong@amazon.com>
    
    * Remove it from Dashboards management when workspace is on
    
    Signed-off-by: Hailong Cui <ihailong@amazon.com>
    
    ---------
    
    Signed-off-by: Hailong Cui <ihailong@amazon.com>
    
    index pattern always show under library
    
    Signed-off-by: Hailong Cui <ihailong@amazon.com>
    
    * functional test
    
    Signed-off-by: Hailong Cui <ihailong@amazon.com>
    
    * feat: move data source / advanced settings / saved objects management out of Dashboard management
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * feat: update test
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * feat: update snapshot
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * feat: update snapshot
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * fix: fix failed overview header ut
    
    Signed-off-by: tygao <tygao@amazon.com>
    
    * fix: deeplink inside saved objects management page
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * fix: unit test fail
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * feat: add unit test for each page wrapper
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * feat: some optimization
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * remove management dependency
    
    Signed-off-by: Hailong Cui <ihailong@amazon.com>
    
    * test: update cypress config to use workspace branch
    
    Signed-off-by: tygao <tygao@amazon.com>
    
    * Replace ManagementAppMountParams with AppMountParameters
    
    Signed-off-by: Hailong Cui <ihailong@amazon.com>
    
    ---------
    
    Signed-off-by: tygao <tygao@amazon.com>
    Signed-off-by: Hailong Cui <ihailong@amazon.com>
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    Co-authored-by: Hailong Cui <ihailong@amazon.com>
    Co-authored-by: SuZhou-Joe <suzhou@amazon.com>
    3 people committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    d89987d View commit details
    Browse the repository at this point in the history
  8. feat: add unit test for mountWrapper (opensearch-project#223)

    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    SuZhou-Joe committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    d046d52 View commit details
    Browse the repository at this point in the history
  9. [Workspace]Add workspace id in basePath (opensearch-project#212)

    * feat: enable workspace id in basePath
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * feat: add unit test
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * feat: remove useless test object id
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * feat: add unit test
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * feat: add unit test
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * feat: update snapshot
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * feat: move formatUrlWithWorkspaceId to core/public/utils
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * feat: remove useless variable
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * feat: remove useless variable
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * feat: optimization
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * feat: optimization
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * feat: optimization
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * feat: move workspace/utils to core
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * feat: move workspace/utils to core
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * feat: update comment
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * feat: optimize code
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * feat: update unit test
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * feat: optimization
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * feat: add space under license
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * fix: unit test
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    ---------
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    SuZhou-Joe committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    b26aef0 View commit details
    Browse the repository at this point in the history
  10. [API] Delete saved objects by workspace (opensearch-project#216)

    * Delete saved objects by workspace
    
    Signed-off-by: Hailong Cui <ihailong@amazon.com>
    
    fix osd boostrap
    
    Signed-off-by: Hailong Cui <ihailong@amazon.com>
    
    * add unit test
    
    Signed-off-by: Hailong Cui <ihailong@amazon.com>
    
    * fix can't delete workspace due to invalid permission
    
    Signed-off-by: Hailong Cui <ihailong@amazon.com>
    
    ---------
    
    Signed-off-by: Hailong Cui <ihailong@amazon.com>
    Hailong-am authored and SuZhou-Joe committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    722fc28 View commit details
    Browse the repository at this point in the history
  11. [Workspace][Feature] Import sample data to workspace (opensearch-proj…

    …ect#210)
    
    * feat: import sample data saved objects to workspace
    
    Signed-off-by: Lin Wang <wonglam@amazon.com>
    
    * refactor: simplify sample data saved object id prefix logic (#1)
    
    * refactor: simplify sample data saved object id prefix logic
    
    Signed-off-by: Yulong Ruan <ruanyl@amazon.com>
    
    * fix: align the prefix order of sample data install and uninstall
    
    rename appendPrefix to addPrefix
    
    Signed-off-by: Yulong Ruan <ruanyl@amazon.com>
    
    ---------
    
    Signed-off-by: Yulong Ruan <ruanyl@amazon.com>
    
    * refactor: assigned copied saved objects to new variables
    
    Signed-off-by: Lin Wang <wonglam@amazon.com>
    
    ---------
    
    Signed-off-by: Lin Wang <wonglam@amazon.com>
    Signed-off-by: Yulong Ruan <ruanyl@amazon.com>
    Co-authored-by: Yulong Ruan <ruanyu1@gmail.com>
    2 people authored and SuZhou-Joe committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    132447b View commit details
    Browse the repository at this point in the history
  12. Patch/acl (opensearch-project#231)

    * consume permissions in repository
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * feat: consume permissions in serializer
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * Add unit tests for consuming permissions in repository
    
    Signed-off-by: gaobinlong <gbinlong@amazon.com>
    
    * feat: update
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * fix: unit test
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    ---------
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    Signed-off-by: gaobinlong <gbinlong@amazon.com>
    Co-authored-by: gaobinlong <gbinlong@amazon.com>
    SuZhou-Joe and gaobinlong committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    63e8e9d View commit details
    Browse the repository at this point in the history
  13. [Workspace][Feature] Left navigation menu adjustment (opensearch-proj…

    …ect#192)
    
    * add util function to filter workspace feature by wildcard
    
    Signed-off-by: Yulong Ruan <ruanyl@amazon.com>
    
    * resolve conflict
    
    Signed-off-by: yuye-aws <yuyezhu@amazon.com>
    
    * update tests and snapshots
    
    Signed-off-by: yuye-aws <yuyezhu@amazon.com>
    
    * small adjustment to left menu
    
    Signed-off-by: yuye-aws <yuyezhu@amazon.com>
    
    * resolve git conflict
    
    Signed-off-by: yuye-aws <yuyezhu@amazon.com>
    
    * rename nav link service function
    
    Signed-off-by: yuye-aws <yuyezhu@amazon.com>
    
    * unit test for workspace plugin.ts
    
    Signed-off-by: yuye-aws <yuyezhu@amazon.com>
    
    * update snapshots
    
    Signed-off-by: yuye-aws <yuyezhu@amazon.com>
    
    * optimize code
    
    Signed-off-by: yuye-aws <yuyezhu@amazon.com>
    
    * optimize code
    
    Signed-off-by: yuye-aws <yuyezhu@amazon.com>
    
    * optimize code
    
    Signed-off-by: yuye-aws <yuyezhu@amazon.com>
    
    * optimize code
    
    Signed-off-by: yuye-aws <yuyezhu@amazon.com>
    
    * optimize code
    
    Signed-off-by: yuye-aws <yuyezhu@amazon.com>
    
    * optimize code
    
    Signed-off-by: yuye-aws <yuyezhu@amazon.com>
    
    ---------
    
    Signed-off-by: Yulong Ruan <ruanyl@amazon.com>
    Signed-off-by: yuye-aws <yuyezhu@amazon.com>
    Co-authored-by: Yulong Ruan <ruanyl@amazon.com>
    2 people authored and SuZhou-Joe committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    7e8c2e3 View commit details
    Browse the repository at this point in the history
  14. Add copy saved objects API (opensearch-project#217)

    * Add copy saved objects API
    
    Signed-off-by: gaobinlong <gbinlong@amazon.com>
    
    * Modify file header
    
    Signed-off-by: gaobinlong <gbinlong@amazon.com>
    
    ---------
    
    Signed-off-by: gaobinlong <gbinlong@amazon.com>
    gaobinlong authored and SuZhou-Joe committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    7185d73 View commit details
    Browse the repository at this point in the history
  15. Feature: create management / public workspaces when calling list api (o…

    …pensearch-project#236)
    
    * feat: create management / public workspaces when calling list api
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * feat: fix bootstrap
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * fix: integration test
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * fix: flaky test
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    ---------
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    SuZhou-Joe committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    0d079d7 View commit details
    Browse the repository at this point in the history
  16. fix: remove duplicated reserved field avoid type error (opensearch-pr…

    …oject#250)
    
    Signed-off-by: Lin Wang <wonglam@amazon.com>
    wanglam authored and SuZhou-Joe committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    b78cea6 View commit details
    Browse the repository at this point in the history
  17. fix: cypress tests checkout workspace branch (opensearch-project#252)

    Signed-off-by: Lin Wang <wonglam@amazon.com>
    wanglam authored and SuZhou-Joe committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    f7b057b View commit details
    Browse the repository at this point in the history
  18. fix: workspace routes integration failed (opensearch-project#251)

    Signed-off-by: Lin Wang <wonglam@amazon.com>
    wanglam authored and SuZhou-Joe committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    b7a4a28 View commit details
    Browse the repository at this point in the history
  19. feat: consume current workspace in saved objects management and saved…

    … objects client (opensearch-project#261)
    
    * feat: consume current workspace in saved objects management and saved objects client
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * feat: add unit test
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * feat: add unit test for each change
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * fix: update snapshot of unit test
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * fix: unit test
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * fix: unit test
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * fix: unit test
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    ---------
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    SuZhou-Joe committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    a6f2f3f View commit details
    Browse the repository at this point in the history
  20. feat: backport pr 5949 to workspace-pr-inte (opensearch-project#275)

    * feat: merge 5949
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * feat: update snapshot
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * fix: bootstrap error
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * fix: unit test error
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    ---------
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    SuZhou-Joe committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    0644dcb View commit details
    Browse the repository at this point in the history
  21. feat: remove useless code (opensearch-project#280)

    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    SuZhou-Joe committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    856d014 View commit details
    Browse the repository at this point in the history
  22. add permission control service for saved objects and workspace saved …

    …objects client wrapper (opensearch-project#230)
    
    * feat: add basic workspace saved objects client wrapper
    
    Signed-off-by: Lin Wang <wonglam@amazon.com>
    
    * feat: add unit test (#2)
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * feat: update client wrapper
    
    Signed-off-by: tygao <tygao@amazon.com>
    
    * feat: init permission control in workspace plugin
    
    Signed-off-by: Lin Wang <wonglam@amazon.com>
    
    * Support disable permission check on workspace (opensearch-project#228)
    
    * support disable permission check for workspace
    
    Signed-off-by: Hailong Cui <ihailong@amazon.com>
    
    * fix typos
    
    Signed-off-by: Hailong Cui <ihailong@amazon.com>
    
    ---------
    
    Signed-off-by: Hailong Cui <ihailong@amazon.com>
    
    * feat: add ACLSearchParams consumer in repository (#3)
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * fix: ACLSearchParams missing in search dsl
    
    Signed-off-by: Lin Wang <wonglam@amazon.com>
    
    * test: add integration test for workspace saved objects client wrapper
    
    Signed-off-by: Lin Wang <wonglam@amazon.com>
    
    * style: add empty line under license
    
    Signed-off-by: Lin Wang <wonglam@amazon.com>
    
    * test: enable workspace permission control for integration tests
    
    Signed-off-by: Lin Wang <wonglam@amazon.com>
    
    * feat: add workspace into includeHiddenTypes (opensearch-project#249)
    
    * feat: add workspace into includeHiddenTypes of client wrapper and permission control client
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * fix: hiddenType side effect
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    ---------
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * fix workspace client wrapper integration tests
    
    Signed-off-by: Lin Wang <wonglam@amazon.com>
    
    * add permissions fields to workspace CRUD APIs
    
    Signed-off-by: Lin Wang <wonglam@amazon.com>
    
    * Move WorkspacePermissionMode inside workspace plugin
    
    Signed-off-by: Lin Wang <wonglam@amazon.com>
    
    * Address pr comments
    
    Signed-off-by: Lin Wang <wonglam@amazon.com>
    
    * Remove ACLSearchParams in public SavedObjectsFindOptions
    
    Signed-off-by: Lin Wang <wonglam@amazon.com>
    
    * Remove lodash and Add default permissionModes
    
    Signed-off-by: Lin Wang <wonglam@amazon.com>
    
    * feat: address concerns on ensureRawRequest (#4)
    
    * feat: address concerns on ensureRawRequest
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * feat: add check for empty array
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * feat: make find api backward compatible
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * feat: remove useless code
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    ---------
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * Update annotations and  error
    
    Signed-off-by: Lin Wang <wonglam@amazon.com>
    
    * Add unit tests for worksapce saved objects client wrapper
    
    Signed-off-by: Lin Wang <wonglam@amazon.com>
    
    * Remove getPrincipalsOfObjects in permission
    
    Signed-off-by: Lin Wang <wonglam@amazon.com>
    
    * Fix permissionEnabled flag missed in workspace plugin setup test
    
    Signed-off-by: Lin Wang <wonglam@amazon.com>
    
    * Change back to Not Authorized error
    
    Signed-off-by: Lin Wang <wonglam@amazon.com>
    
    * Fix unit tests for query_params and plugin setup
    
    Signed-off-by: Lin Wang <wonglam@amazon.com>
    
    * Fix unittests in workspace server utils
    
    Signed-off-by: Lin Wang <wonglam@amazon.com>
    
    * feat: add workspacesSearchOperators to decouple ACLSearchParams
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * feat: update test cases
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * feat: optimize test cases
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * feat: optimize comment
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * feat: omit defaultSearchOperator in public savedobjetcs client
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    * feat: omit workspacesSearchOperator field
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    
    ---------
    
    Signed-off-by: Lin Wang <wonglam@amazon.com>
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    Signed-off-by: tygao <tygao@amazon.com>
    Signed-off-by: Hailong Cui <ihailong@amazon.com>
    Co-authored-by: Lin Wang <wonglam@amazon.com>
    Co-authored-by: SuZhou-Joe <suzhou@amazon.com>
    Co-authored-by: Hailong Cui <ihailong@amazon.com>
    4 people committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    e0c9e87 View commit details
    Browse the repository at this point in the history
  23. revert Register Advance Settings, Data Source management,Index Patter…

    …n management and SavedObject management as standalone app, retire dashboard management (opensearch-project#283)
    
    * Revert "Register Advance Settings, Data Source management,Index Pattern management and SavedObject management as standalone app, retire dashboard management (opensearch-project#208)"
    
    This reverts commit 5f09f84.
    
    * Revert "feat: add unit test for mountWrapper (opensearch-project#223)"
    
    This reverts commit a70ce71.
    
    * Revert "fix: cypress tests checkout workspace branch (opensearch-project#252)"
    
    This reverts commit 734c890.
    
    * run cypress with ftr main
    
    Signed-off-by: Yulong Ruan <ruanyl@amazon.com>
    
    ---------
    
    Signed-off-by: Yulong Ruan <ruanyl@amazon.com>
    ruanyl authored and SuZhou-Joe committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    fbe1039 View commit details
    Browse the repository at this point in the history
  24. Add a workspace dropdown menu in left navigation bar (opensearch-proj…

    …ect#282)
    
    In this commit, the workspace plugin registered a workspace dropdown
    menu on the top of left navigation bar. This allows user to quickly
    switch the current workspace and navigate to workspace create page and
    workspace list page from the dropdown sticky on the top of the left nav bar.
    
    Signed-off-by: Yulong Ruan <ruanyl@amazon.com>
    
    ---------
    
    Signed-off-by: Yulong Ruan <ruanyl@amazon.com>
    ruanyl authored and SuZhou-Joe committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    035dc4c View commit details
    Browse the repository at this point in the history
  25. remove management workspace (opensearch-project#278) (opensearch-proj…

    …ect#281)
    
    * remove management workspace (opensearch-project#278)
    
    * remove management workspace
    
    * delete unnecessary code comments
    
    * delete comments
    # Conflicts:
    #	src/core/public/index.ts
    #	src/core/public/utils/index.ts
    #	src/core/utils/constants.ts
    #	src/plugins/workspace/public/components/workspace_creator/workspace_form.tsx
    #	src/plugins/workspace/public/components/workspace_menu/workspace_menu.tsx
    #	src/plugins/workspace/server/workspace_client.ts
    
    * update typescript version to 4.6.4
    
    * delete useless code and add a lost yarn.lock
    
    * delete yarn.lock
    yubonluo authored and SuZhou-Joe committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    c726157 View commit details
    Browse the repository at this point in the history
  26. [Workspace][Feature] Add ACL related functions (opensearch-project#5084

    …) (opensearch-project#287)
    
    * [Workspace] Add ACL related functions for workspace (opensearch-project#146)
    
    * [Workspace] Add acl related functions for workspace
    
    
    
    * Minor change
    
    
    
    ---------
    
    
    
    * Modify changelog
    
    
    
    * Add more unit test cases
    
    
    
    * Modify test case
    
    
    
    * Some minor change
    
    
    
    * Add more test cases
    
    
    
    * Optimize some code and the comments of the functions
    
    
    
    * Add more comments for some basic functions
    
    
    
    * Export more interfaces
    
    
    
    * consume permissions in repository
    
    
    
    * feat: consume permissions in serializer
    
    
    
    * Add unit tests for consuming permissions in repository
    
    
    
    * Remove double exclamation
    
    
    
    * Rename some variables
    
    
    
    * Remove duplicated semicolon
    
    
    
    * Add permissions field to the mapping only if the permission control is enabled
    
    
    
    * Fix test failure
    
    
    
    * Add feature flag config to the yml file
    
    
    
    * Make the comment of feature flag more clear
    
    
    
    * Make comment more clear
    
    
    
    * Remove management permission type
    
    
    
    * Fix test failure
    
    
    
    ---------
    
    Signed-off-by: gaobinlong <gbinlong@amazon.com>
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    Co-authored-by: Josh Romero <rmerqg@amazon.com>
    Co-authored-by: SuZhou-Joe <suzhou@amazon.com>
    3 people committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    3cf8b8e View commit details
    Browse the repository at this point in the history
  27. Workspace left nav bar (opensearch-project#286)

    * revert unnecessary changes to recently viewed component
    
    refactor nav link updater so that the displayed links can be customized,
    this is majority required by workspace as with workspace, user would be
    able to config what features(plugins) then want to see for a workspace,
    this requires to filter out those links that are not configured by the
    user.
    
    Signed-off-by: Yulong Ruan <ruanyl@amazon.com>
    
    * fix test snapshot
    
    Signed-off-by: Yulong Ruan <ruanyl@amazon.com>
    
    * tweak comments
    
    Signed-off-by: Yulong Ruan <ruanyl@amazon.com>
    
    ---------
    
    Signed-off-by: Yulong Ruan <ruanyl@amazon.com>
    ruanyl authored and SuZhou-Joe committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    822ef54 View commit details
    Browse the repository at this point in the history
  28. Add workspace filter/column into saved objects page (opensearch-proje…

    …ct#211)
    
    * Add workspace column/filter into saved objects page
    
    Signed-off-by: Hailong Cui <ihailong@amazon.com>
    
    fix failed test case
    
    Signed-off-by: Hailong Cui <ihailong@amazon.com>
    
    move workspace column to its own folder
    
    Signed-off-by: Hailong Cui <ihailong@amazon.com>
    
    * default workspace
    
    Signed-off-by: Hailong Cui <ihailong@amazon.com>
    
    fix test case
    
    Signed-off-by: Hailong Cui <ihailong@amazon.com>
    
    add test case
    
    Signed-off-by: Hailong Cui <ihailong@amazon.com>
    
    remove hide import
    
    Signed-off-by: Hailong Cui <ihailong@amazon.com>
    
    * address review comments
    
    Signed-off-by: Hailong Cui <ihailong@amazon.com>
    
    ---------
    
    Signed-off-by: Hailong Cui <ihailong@amazon.com>
    Hailong-am authored and SuZhou-Joe committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    6f12320 View commit details
    Browse the repository at this point in the history
  29. Workspace list pr (opensearch-project#285)

    * feat: add workspace list
    
    Signed-off-by: tygao <tygao@amazon.com>
    
    * update index.ts
    
    Signed-off-by: tygao <tygao@amazon.com>
    
    * test: update workspace plugin test
    
    Signed-off-by: tygao <tygao@amazon.com>
    
    * remove extra file and add test for modal
    
    Signed-off-by: tygao <tygao@amazon.com>
    
    * test: add tests for workspace util
    
    Signed-off-by: tygao <tygao@amazon.com>
    
    * test: update test for delete_workspace_modal
    
    Signed-off-by: tygao <tygao@amazon.com>
    
    * test: update test for delete_workspace_modal
    
    Signed-off-by: tygao <tygao@amazon.com>
    
    * test: update test for workspace list
    
    Signed-off-by: tygao <tygao@amazon.com>
    
    * rename and update test
    
    Signed-off-by: tygao <tygao@amazon.com>
    
    * add tests for workspace list
    
    Signed-off-by: tygao <tygao@amazon.com>
    
    ---------
    
    Signed-off-by: tygao <tygao@amazon.com>
    raintygao authored and SuZhou-Joe committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    d287778 View commit details
    Browse the repository at this point in the history
  30. fix: authInfo destructure (#7) (opensearch-project#296)

    * fix: authInfo destructure
    
    
    
    * fix: unit test error
    
    
    
    ---------
    
    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    SuZhou-Joe committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    93a6585 View commit details
    Browse the repository at this point in the history
  31. Add workspace create page (opensearch-project#284)

    * Add workspace create page
    
    Signed-off-by: Lin Wang <wonglam@amazon.com>
    
    * Address PR comments
    
    Signed-off-by: Lin Wang <wonglam@amazon.com>
    
    * Add more comments
    
    Signed-off-by: Lin Wang <wonglam@amazon.com>
    
    * Add example for dependencies field in App
    
    Signed-off-by: Lin Wang <wonglam@amazon.com>
    
    * Separate workspace feature selector
    
    Signed-off-by: Lin Wang <wonglam@amazon.com>
    
    * Correct example for dependencies
    
    Signed-off-by: Lin Wang <wonglam@amazon.com>
    
    * Remove unclear icon and defaultVISTheme input
    
    Signed-off-by: Lin Wang <wonglam@amazon.com>
    
    * Remove unclear dependencies feature
    
    Signed-off-by: Lin Wang <wonglam@amazon.com>
    
    * Remove states and fix onChange fired after mount
    
    Signed-off-by: Lin Wang <wonglam@amazon.com>
    
    ---------
    
    Signed-off-by: Lin Wang <wonglam@amazon.com>
    wanglam authored and SuZhou-Joe committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    529fc01 View commit details
    Browse the repository at this point in the history
  32. fix test for delete workspace modal (opensearch-project#299)

    Signed-off-by: tygao <tygao@amazon.com>
    raintygao authored and SuZhou-Joe committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    f95cf18 View commit details
    Browse the repository at this point in the history
  33. feat: rebase 20240518

    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    SuZhou-Joe committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    1b542b6 View commit details
    Browse the repository at this point in the history
  34. feat: update to run ci

    Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
    SuZhou-Joe committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    22638da View commit details
    Browse the repository at this point in the history