-
Notifications
You must be signed in to change notification settings - Fork 138
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
Set tenant ID for predict request #2619
Set tenant ID for predict request #2619
Conversation
Signed-off-by: Arjun kumar Giri <arjung@amazon.com>
Signed-off-by: Arjun kumar Giri <arjung@amazon.com>
…ctor (opensearch-project#2546) * multi-tenancy for models (create, get, delete) Signed-off-by: Dhrubo Saha <dhrubo@amazon.com> * added update connector + update model Signed-off-by: Dhrubo Saha <dhrubo@amazon.com> --------- Signed-off-by: Dhrubo Saha <dhrubo@amazon.com> Signed-off-by: Arjun kumar Giri <arjung@amazon.com>
…search-project#2489) * Add source map to GetDataObjectResponse Signed-off-by: Daniel Widdis <widdis@gmail.com> * Add test for map getter in clients Signed-off-by: Daniel Widdis <widdis@gmail.com> --------- Signed-off-by: Daniel Widdis <widdis@gmail.com> Signed-off-by: Arjun kumar Giri <arjung@amazon.com>
…onnector Implementations (opensearch-project#2520) * Restore original exception handling expectations Signed-off-by: Daniel Widdis <widdis@gmail.com> * Add UpdateDataObject to interface and implementations Signed-off-by: Daniel Widdis <widdis@gmail.com> * Implement UpdateConnector action Signed-off-by: Daniel Widdis <widdis@gmail.com> * Move CompletionException handling to a common method Signed-off-by: Daniel Widdis <widdis@gmail.com> * Add tests for SDKClient exceptions refactored from Transport Action Signed-off-by: Daniel Widdis <widdis@gmail.com> --------- Signed-off-by: Daniel Widdis <widdis@gmail.com> Signed-off-by: Arjun kumar Giri <arjung@amazon.com>
Signed-off-by: Arjun kumar Giri <arjung@amazon.com>
Signed-off-by: arjunkumargiri <142054468+arjunkumargiri@users.noreply.github.com>
Signed-off-by: Arjun kumar Giri <arjung@amazon.com>
Signed-off-by: arjunkumargiri <142054468+arjunkumargiri@users.noreply.github.com>
Signed-off-by: Arjun kumar Giri <arjung@amazon.com>
f866e55
to
884d623
Compare
884d623
to
3249ac2
Compare
Signed-off-by: Arjun kumar Giri <arjung@amazon.com>
65b202e
to
53b4113
Compare
Integ tests were failing due to transient exception. Rerunning integ tests succeeded. Thanks for quick turnaround with SDKClient module refactoring in PR: #2638 |
@@ -99,7 +99,8 @@ protected void doExecute(Task task, ActionRequest request, ActionListener<MLCrea | |||
|
|||
try (ThreadContext.StoredContext context = client.threadPool().getThreadContext().stashContext()) { | |||
ActionListener<MLCreateControllerResponse> wrappedListener = ActionListener.runBefore(actionListener, context::restore); | |||
mlModelManager.getModel(modelId, null, excludes, ActionListener.wrap(mlModel -> { | |||
// TODO: Add support for multi tenancy |
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.
This Controller actions will be disabled for multi-tenancy. @b4sjoo is working on this.
8c80f43
into
opensearch-project:feature/multi_tenancy
Description
Tenant ID changes to support predict API. With this change was able to successfully test predict API with remote model and multi tenancy enabled. Following changes are included in this PR:
Check List
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.