-
Notifications
You must be signed in to change notification settings - Fork 37
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
Added Create Connector Step #107
Added Create Connector Step #107
Conversation
Signed-off-by: Owais Kazi <[email protected]>
Signed-off-by: Owais Kazi <[email protected]>
Signed-off-by: Owais Kazi <[email protected]>
e2b640e
to
3f7dfb6
Compare
Codecov Report
@@ Coverage Diff @@
## main #107 +/- ##
============================================
+ Coverage 80.47% 80.55% +0.08%
- Complexity 252 262 +10
============================================
Files 30 30
Lines 973 1039 +66
Branches 98 103 +5
============================================
+ Hits 783 837 +54
- Misses 155 164 +9
- Partials 35 38 +3
|
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.
Initial pass
src/main/java/org/opensearch/flowframework/workflow/CreateConnectorStep.java
Outdated
Show resolved
Hide resolved
src/main/java/org/opensearch/flowframework/workflow/CreateConnectorStep.java
Outdated
Show resolved
Hide resolved
src/main/java/org/opensearch/flowframework/workflow/CreateConnectorStep.java
Show resolved
Hide resolved
src/main/java/org/opensearch/flowframework/workflow/DeployModelStep.java
Outdated
Show resolved
Hide resolved
src/main/java/org/opensearch/flowframework/workflow/RegisterModelStep.java
Outdated
Show resolved
Hide resolved
src/main/java/org/opensearch/flowframework/workflow/CreateConnectorStep.java
Show resolved
Hide resolved
Signed-off-by: Owais Kazi <[email protected]>
src/main/java/org/opensearch/flowframework/workflow/CreateConnectorStep.java
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.
Second pass, besides these comments, looks good to me
src/main/java/org/opensearch/flowframework/workflow/RegisterModelStep.java
Show resolved
Hide resolved
src/main/java/org/opensearch/flowframework/workflow/DeployModelStep.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, pending the unresolved comments.
Signed-off-by: Owais Kazi <[email protected]>
Signed-off-by: Owais Kazi <[email protected]>
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.
Thanks for the changes
* Added initial implementation of create connector Signed-off-by: Owais Kazi <[email protected]> * Added test for create connector Signed-off-by: Owais Kazi <[email protected]> * Added more tests and updated MLClient initialization Signed-off-by: Owais Kazi <[email protected]> * Addressed PR comments Signed-off-by: Owais Kazi <[email protected]> * CompletedFuture exceptionally if fields are not present Signed-off-by: Owais Kazi <[email protected]> --------- Signed-off-by: Owais Kazi <[email protected]> (cherry picked from commit 23b2f15) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Added Create Connector Step (#107) * Added initial implementation of create connector * Added test for create connector * Added more tests and updated MLClient initialization * Addressed PR comments * CompletedFuture exceptionally if fields are not present --------- (cherry picked from commit 23b2f15) Signed-off-by: Owais Kazi <[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>
Description
Issues Resolved
Fixes #70
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.