-
Notifications
You must be signed in to change notification settings - Fork 39
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
Integrate multitenancy into workflow provisioning #1012
Integrate multitenancy into workflow provisioning #1012
Conversation
src/main/java/org/opensearch/flowframework/transport/CreateWorkflowTransportAction.java
Outdated
Show resolved
Hide resolved
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.
LGTM So far.
Can you do the actual passing to mlClient for connector, model, and model group steps? (Yes, the PR for model was merged after you submitted, but yay rapid iteration!)
src/main/java/org/opensearch/flowframework/transport/CreateWorkflowTransportAction.java
Outdated
Show resolved
Hide resolved
src/main/java/org/opensearch/flowframework/workflow/AbstractCreatePipelineStep.java
Show resolved
Hide resolved
src/main/java/org/opensearch/flowframework/workflow/CreateConnectorStep.java
Show resolved
Hide resolved
src/main/java/org/opensearch/flowframework/workflow/ProcessNode.java
Outdated
Show resolved
Hide resolved
e440dc1
to
496c09a
Compare
Signed-off-by: Siddhartha Bingi <[email protected]>
Signed-off-by: Siddhartha Bingi <[email protected]>
Signed-off-by: Siddhartha Bingi <[email protected]>
Signed-off-by: Siddhartha Bingi <[email protected]>
496c09a
to
16e2f2d
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1012 +/- ##
============================================
- Coverage 76.40% 76.39% -0.02%
Complexity 1010 1010
============================================
Files 100 100
Lines 4879 4881 +2
Branches 455 455
============================================
+ Hits 3728 3729 +1
- Misses 954 955 +1
Partials 197 197 ☔ View full report in Codecov by Sentry. |
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.
LGTM. Let's get this merged so I can rebase against it and you can work on a new PR for the mlClient connection now that you have the tenantId in the workflow steps.
* Adding tenantId in ProcessNode to be surfaced to the client Signed-off-by: Siddhartha Bingi <[email protected]> * Passing tenantId in Transport Actions Signed-off-by: Siddhartha Bingi <[email protected]> * Updating tests to have tenantId as null for consistency Signed-off-by: Siddhartha Bingi <[email protected]> * Minor code refactoring Signed-off-by: Siddhartha Bingi <[email protected]> --------- Signed-off-by: Siddhartha Bingi <[email protected]> Co-authored-by: Siddhartha Bingi <[email protected]> (cherry picked from commit 055f1ea) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Integrate multitenancy into workflow provisioning (#1012) * Adding tenantId in ProcessNode to be surfaced to the client * Passing tenantId in Transport Actions * Updating tests to have tenantId as null for consistency * Minor code refactoring --------- (cherry picked from commit 055f1ea) Signed-off-by: Siddhartha Bingi <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Siddhartha Bingi <[email protected]>
Description
Pass the tenantId in the (de-)(re-)provisioning transport actions to the workflow steps that execute the provisioning, and eventually to the respective client calls.
Related Issues
#987
Check List
--signoff
.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.