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

Added register a group model step #118

Merged
merged 6 commits into from
Oct 30, 2023

Conversation

owaiskazi19
Copy link
Member

Description

Added Registering a group model

Issues Resolved

Fixes #83

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.

@github-actions github-actions bot added the backport 2.x backport PRs to 2.x branch label Oct 26, 2023
@owaiskazi19 owaiskazi19 changed the title Added Registering a group model Added register a group model step Oct 26, 2023
@opensearch-project opensearch-project deleted a comment from codecov bot Oct 27, 2023
@codecov
Copy link

codecov bot commented Oct 27, 2023

Codecov Report

Merging #118 (fef826e) into main (6ee3d53) will increase coverage by 0.44%.
The diff coverage is 89.47%.

@@             Coverage Diff              @@
##               main     #118      +/-   ##
============================================
+ Coverage     80.24%   80.68%   +0.44%     
- Complexity      250      261      +11     
============================================
  Files            30       31       +1     
  Lines           992     1046      +54     
  Branches         95      103       +8     
============================================
+ Hits            796      844      +48     
- Misses          160      161       +1     
- Partials         36       41       +5     
Files Coverage Δ
...g/opensearch/flowframework/common/CommonValue.java 100.00% <ø> (ø)
...a/org/opensearch/flowframework/model/Template.java 89.65% <ø> (ø)
...ch/flowframework/workflow/CreateConnectorStep.java 73.84% <100.00%> (ø)
...arch/flowframework/workflow/RegisterModelStep.java 78.94% <100.00%> (ø)
...ch/flowframework/workflow/WorkflowStepFactory.java 71.42% <100.00%> (+1.42%) ⬆️
...nsearch/flowframework/workflow/ModelGroupStep.java 88.67% <88.67%> (ø)

Copy link
Member

@dbwiddis dbwiddis left a comment

Choose a reason for hiding this comment

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

Some questions, nits, and useless but interesting style point.

@dbwiddis
Copy link
Member

LGTM to merge. @amitgalitz can you resolve any conversations you still have open?

@owaiskazi19 owaiskazi19 merged commit bcd53e1 into opensearch-project:main Oct 30, 2023
21 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Oct 30, 2023
* Added Registering a group model

Signed-off-by: Owais Kazi <[email protected]>

* Updated create connector test

Signed-off-by: Owais Kazi <[email protected]>

* Added optional field and handled them for creating the builder

Signed-off-by: Owais Kazi <[email protected]>

* Added another test for name check

Signed-off-by: Owais Kazi <[email protected]>

* Addressed PR comments

Signed-off-by: Owais Kazi <[email protected]>

* Moved common fields to CommonValue

Signed-off-by: Owais Kazi <[email protected]>

---------

Signed-off-by: Owais Kazi <[email protected]>
(cherry picked from commit bcd53e1)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
owaiskazi19 pushed a commit that referenced this pull request Oct 30, 2023
Added register a group model step (#118)

* Added Registering a group model



* Updated create connector test



* Added optional field and handled them for creating the builder



* Added another test for name check



* Addressed PR comments



* Moved common fields to CommonValue



---------


(cherry picked from commit bcd53e1)

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x backport PRs to 2.x branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] Register Model Group for model
4 participants