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

feat: operator creates app and UI Ingresses #5264

Merged
merged 9 commits into from
Oct 3, 2024
Merged

Conversation

jsenko
Copy link
Member

@jsenko jsenko commented Sep 27, 2024

No description provided.

@jsenko jsenko requested a review from andreaTP September 27, 2024 10:25
@apicurio-bot
Copy link

apicurio-bot bot commented Sep 27, 2024

Thank you for creating a pull request!

Pinging @EricWittmann to respond or triage.

@apicurio-bot apicurio-bot bot added the area/ui label Sep 27, 2024
@@ -40,5 +44,16 @@ void demoDeployment() {
.getSpec().getClusterIP()).isNotBlank();
return true;
});

// Ingresses
await().ignoreExceptions().until(() -> {
Copy link
Member

Choose a reason for hiding this comment

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

Since now, we have access to both the API and the UI, can you please, add an integration test to access those?

@andreaTP
Copy link
Member

Forgot to mention, we also need a top level CR field to disable the default ingress creation for the case where someone wants a highly customized one.

It would be nice in this PR, but can also be done as a follow up. 👍

@jsenko
Copy link
Member Author

jsenko commented Sep 27, 2024

Forgot to mention, we also need a top level CR field to disable the default ingress creation for the case where someone wants a highly customized one.

It would be nice in this PR, but can also be done as a follow up. 👍

Agreed, I'll do it in the next PR.

private Util() {
}

public static boolean isBlank(String value) {
Copy link
Member

Choose a reason for hiding this comment

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

nitpick: this is used exclusively in IngressUtil, move this method to be private in the using class.

Copy link
Member

@andreaTP andreaTP left a comment

Choose a reason for hiding this comment

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

This is almost ready, just missing a few tests accessing the instances through the Ingresses.

Good job! 👍

@jsenko
Copy link
Member Author

jsenko commented Sep 30, 2024

This is almost ready, just missing a few tests accessing the instances through the Ingresses.

Good job! 👍

Thank you! I'm working on the tests ATM.

@jsenko

This comment was marked as outdated.

@jsenko
Copy link
Member Author

jsenko commented Oct 3, 2024

@andreaTP review please

andreaTP
andreaTP previously approved these changes Oct 3, 2024
Copy link
Member

@andreaTP andreaTP left a comment

Choose a reason for hiding this comment

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

A couple of nitpicks but LGTM 👍

@jsenko jsenko enabled auto-merge (rebase) October 3, 2024 15:28
@jsenko jsenko disabled auto-merge October 3, 2024 16:02
@jsenko jsenko merged commit dd705c4 into Apicurio:main Oct 3, 2024
19 checks passed
@jsenko jsenko deleted the operator-3 branch October 3, 2024 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants