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

chore(api): move infrastructure/v1 to apis folder #894

Merged

Conversation

aslakknutsen
Copy link
Contributor

Description

Collect all APIs under the same parent package structure

How Has This Been Tested?

Manually

Merge criteria:

  • The commits are squashed in a cohesive manner and have meaningful messages.
  • Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
  • The developer has manually tested the changes and verified that the changes work

@zdtsw
Copy link
Member

zdtsw commented Mar 6, 2024

is this all about to get the API exposed so can easily document them?

@aslakknutsen
Copy link
Contributor Author

aslakknutsen commented Mar 6, 2024

is this all about to get the API exposed so can easily document them?

Not really, but if so a nice side effect. :)

Basically just that they are all APIs and should never have been placed anywhere else. #SpringCleaning

@zdtsw
Copy link
Member

zdtsw commented Mar 6, 2024

is this all about to get the API exposed so can easily document them?

Not really, but if so a nice side effect. :)

Basically just that they are all APIs and should never have been placed anywhere else. #SpringCleaning

ah, sure.
i thought originally it was for some reason to keep infra in a "hidden" place but if nobody can think of such, we can get this PR out.

@aslakknutsen
Copy link
Contributor Author

It's exposed via the other APIs either way so having it in another folder won't hide it :)

@openshift-ci openshift-ci bot added the lgtm label Mar 6, 2024
@zdtsw zdtsw removed the request for review from dimakis March 6, 2024 14:18
@openshift-ci openshift-ci bot added the approved label Mar 6, 2024
Collect all APIs under the same parent package structure

Signed-off-by: Aslak Knutsen <aslak@4fs.no>
Copy link
Contributor

@bartoszmajsak bartoszmajsak left a comment

Choose a reason for hiding this comment

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

Thanks for fixing my mess :) I immediately had mixed feelings with this package after merging PR but somehow never thought about paying this debt back. I think it should be kept together with other structs which are exposed through CRD and processed by kubebuilder.

LGTM

Copy link

openshift-ci bot commented Mar 6, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bartoszmajsak, zdtsw

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@bartoszmajsak bartoszmajsak changed the title task(api): move infrastructure/v1 to apis folder chore(api): move infrastructure/v1 to apis folder Mar 6, 2024
@openshift-ci openshift-ci bot removed the lgtm label Mar 6, 2024
Copy link

openshift-ci bot commented Mar 6, 2024

New changes are detected. LGTM label has been removed.

@zdtsw
Copy link
Member

zdtsw commented Mar 6, 2024

FYI @israel-hdez ^ dont get surprised after rebase code

@aslakknutsen aslakknutsen mentioned this pull request Mar 6, 2024
3 tasks
@bartoszmajsak bartoszmajsak merged commit 927340a into opendatahub-io:incubation Mar 7, 2024
6 of 7 checks passed
zdtsw referenced this pull request in zdtsw-forking/rhods-operator Mar 12, 2024
…ces#894)

Collects all APIs under the same parent package structure.
zdtsw referenced this pull request in red-hat-data-services/rhods-operator Mar 15, 2024
* chore(api): move infrastructure/v1 to apis folder (#894)

Collects all APIs under the same parent package structure.

* fix: Rework operator precondition checks (#899)

* init commit

* tmp: switch to subsciption

* tmp

* fix up testing

* linter on import

* minor self nits

* add bracket, make

* use found,err for checking subscription

Co-authored-by: Bartosz Majsak <bartosz.majsak@gmail.com>

* fix import + test error expected outputs

* directly return errs rather than log and ret

Co-authored-by: Bartosz Majsak <bartosz.majsak@gmail.com>

* remove unused log var from condiitons

* move const fixtures to separate package

* move creating op subscription to function

* rename noop features in testing

* remove redundant comments

Co-authored-by: Bartosz Majsak <bartosz.majsak@gmail.com>

* move CreateSubscription to fixtures

---------

Co-authored-by: Bartosz Majsak <bartosz.majsak@gmail.com>

* chore(feature): passes component name instead of whole struct (#903)

Co-authored-by: Aslak Knutsen <aslak@4fs.no>

Simplify API as there is no need to pass the entire Component struct.

* kserve: add grpconly envoy filter (#888)

---------

Co-authored-by: Aslak Knutsen <aslak@4fs.no>
Co-authored-by: Cameron Garrison <cgarriso@redhat.com>
Co-authored-by: Bartosz Majsak <bartosz.majsak@gmail.com>
Co-authored-by: Daniele <d.trifiro@me.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants