Skip to content

Conversation

zirui-song-18
Copy link

Description

Overview

Global resource is resources that can be accessed by any tenant, this PR is to support global resource including connector, model and agent.

Changes

  • Multi-tenant encryption: Added logic to differentiate between global and tenant-specific resources for credential decryption
  • Remote metadata integration: Migrated config retrieval to use SDK client with DynamoDB support
  • Configuration enhancement: Added global tenant ID setting for cross-tenant resource management

Related Issues

Resolves #[Issue number to be closed when this PR is merged]

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff.
  • Public documentation issue/PR created.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@zirui-song-18 zirui-song-18 had a problem deploying to ml-commons-cicd-env-require-approval July 25, 2025 07:29 — with GitHub Actions Failure
@zirui-song-18 zirui-song-18 had a problem deploying to ml-commons-cicd-env-require-approval July 25, 2025 07:29 — with GitHub Actions Error
@zirui-song-18 zirui-song-18 had a problem deploying to ml-commons-cicd-env-require-approval July 25, 2025 07:29 — with GitHub Actions Error
@zirui-song-18 zirui-song-18 had a problem deploying to ml-commons-cicd-env-require-approval July 25, 2025 07:29 — with GitHub Actions Failure
@zirui-song-18 zirui-song-18 had a problem deploying to ml-commons-cicd-env-require-approval July 30, 2025 00:27 — with GitHub Actions Failure
@zirui-song-18 zirui-song-18 had a problem deploying to ml-commons-cicd-env-require-approval July 30, 2025 00:27 — with GitHub Actions Failure
@zirui-song-18 zirui-song-18 had a problem deploying to ml-commons-cicd-env-require-approval July 30, 2025 00:27 — with GitHub Actions Failure
@zirui-song-18 zirui-song-18 had a problem deploying to ml-commons-cicd-env-require-approval July 30, 2025 00:27 — with GitHub Actions Failure
@dhrubo-os dhrubo-os had a problem deploying to ml-commons-cicd-env-require-approval August 1, 2025 05:49 — with GitHub Actions Failure
@dhrubo-os dhrubo-os had a problem deploying to ml-commons-cicd-env-require-approval August 1, 2025 05:49 — with GitHub Actions Failure
@dhrubo-os dhrubo-os had a problem deploying to ml-commons-cicd-env-require-approval August 1, 2025 05:49 — with GitHub Actions Failure
@dhrubo-os dhrubo-os had a problem deploying to ml-commons-cicd-env-require-approval August 1, 2025 05:49 — with GitHub Actions Failure
@Override
public void initModel(MLModel model, Map<String, Object> params, Encryptor encryptor) {
try {
SdkClient sdkClient = (SdkClient) params.get(SDK_CLIENT);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how are you getting this param?

@zirui-song-18 zirui-song-18 had a problem deploying to ml-commons-cicd-env-require-approval September 9, 2025 07:11 — with GitHub Actions Failure
@zirui-song-18 zirui-song-18 had a problem deploying to ml-commons-cicd-env-require-approval September 16, 2025 02:34 — with GitHub Actions Error
@zirui-song-18 zirui-song-18 had a problem deploying to ml-commons-cicd-env-require-approval September 16, 2025 02:34 — with GitHub Actions Failure
@zirui-song-18 zirui-song-18 had a problem deploying to ml-commons-cicd-env-require-approval September 16, 2025 02:34 — with GitHub Actions Error
@zirui-song-18 zirui-song-18 had a problem deploying to ml-commons-cicd-env-require-approval September 16, 2025 02:34 — with GitHub Actions Failure
@zirui-song-18 zirui-song-18 had a problem deploying to ml-commons-cicd-env-require-approval September 17, 2025 02:37 — with GitHub Actions Failure
@zirui-song-18 zirui-song-18 had a problem deploying to ml-commons-cicd-env-require-approval September 17, 2025 02:37 — with GitHub Actions Failure
@zirui-song-18 zirui-song-18 had a problem deploying to ml-commons-cicd-env-require-approval September 17, 2025 02:37 — with GitHub Actions Error
@zirui-song-18 zirui-song-18 had a problem deploying to ml-commons-cicd-env-require-approval September 17, 2025 02:37 — with GitHub Actions Error
@zane-neo zane-neo force-pushed the global_resource_support branch from d7cb50f to e329bd3 Compare September 17, 2025 07:30
@zane-neo zane-neo requested a deployment to ml-commons-cicd-env-require-approval September 17, 2025 07:31 — with GitHub Actions Waiting
@zane-neo zane-neo requested a deployment to ml-commons-cicd-env-require-approval September 17, 2025 07:31 — with GitHub Actions Waiting
@zane-neo zane-neo requested a deployment to ml-commons-cicd-env-require-approval September 17, 2025 07:31 — with GitHub Actions Waiting
@zane-neo zane-neo requested a deployment to ml-commons-cicd-env-require-approval September 17, 2025 07:31 — with GitHub Actions Waiting
@zane-neo zane-neo force-pushed the global_resource_support branch from e329bd3 to d0c1266 Compare September 17, 2025 07:35
@zane-neo zane-neo requested a deployment to ml-commons-cicd-env-require-approval September 17, 2025 07:36 — with GitHub Actions Waiting
@zane-neo zane-neo requested a deployment to ml-commons-cicd-env-require-approval September 17, 2025 07:36 — with GitHub Actions Waiting
@zane-neo zane-neo requested a deployment to ml-commons-cicd-env-require-approval September 17, 2025 07:36 — with GitHub Actions Waiting
@zane-neo zane-neo requested a deployment to ml-commons-cicd-env-require-approval September 17, 2025 07:36 — with GitHub Actions Waiting
@zane-neo zane-neo force-pushed the global_resource_support branch from d0c1266 to f21bde8 Compare September 18, 2025 09:04
@zane-neo zane-neo had a problem deploying to ml-commons-cicd-env-require-approval September 18, 2025 09:05 — with GitHub Actions Failure
@zane-neo zane-neo had a problem deploying to ml-commons-cicd-env-require-approval September 18, 2025 09:05 — with GitHub Actions Error
@zane-neo zane-neo had a problem deploying to ml-commons-cicd-env-require-approval September 18, 2025 09:05 — with GitHub Actions Failure
@zane-neo zane-neo had a problem deploying to ml-commons-cicd-env-require-approval September 18, 2025 09:05 — with GitHub Actions Error
zirui-song-18 and others added 2 commits September 19, 2025 14:09
…ntegration

- Add DynamoDB client dependency for remote metadata storage
- Implement tenant-aware encryption for global vs tenant-specific resources
- Migrate GetConfigTransportAction to use SDK client instead of direct ES client
- Add REMOTE_METADATA_GLOBAL_TENANT_ID setting support
- Force AWS SDK version alignment for dependency consistency

Signed-off-by: Zirui Song <[email protected]>
@zane-neo zane-neo force-pushed the global_resource_support branch from f21bde8 to daeeef6 Compare September 19, 2025 06:10
@zane-neo zane-neo requested a deployment to ml-commons-cicd-env-require-approval September 19, 2025 06:11 — with GitHub Actions Waiting
@zane-neo zane-neo requested a deployment to ml-commons-cicd-env-require-approval September 19, 2025 06:11 — with GitHub Actions Waiting
@zane-neo zane-neo requested a deployment to ml-commons-cicd-env-require-approval September 19, 2025 06:11 — with GitHub Actions Waiting
@zane-neo zane-neo requested a deployment to ml-commons-cicd-env-require-approval September 19, 2025 06:11 — with GitHub Actions Waiting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants