-
Notifications
You must be signed in to change notification settings - Fork 215
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
[KOGITO-4457] Removing knative-eventing-addon #1199
Conversation
@fjtirado FYI |
Examples updated: https://github.com/kiegroup/kogito-examples/pull/643 |
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.
couple of minor changes
...addon/src/main/java/org/kie/kogito/addon/cloudevents/quarkus/QuarkusCloudEventPublisher.java
Outdated
Show resolved
Hide resolved
...addon/src/main/java/org/kie/kogito/addon/cloudevents/quarkus/QuarkusCloudEventPublisher.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.
@ricardozanini thanks for sharing.
Just minor comestic issues
Although not part of this JIRA, since we are chaning kogitoProcessExtension, can we replace current getExtension implementation by
private String getExtension(CloudEventExtensions extensions, String key) {
return Objects.toString(extensions.getExtension(key));
};
?
...addon/src/main/java/org/kie/kogito/addon/cloudevents/quarkus/QuarkusCloudEventPublisher.java
Outdated
Show resolved
Hide resolved
...addon/src/main/java/org/kie/kogito/addon/cloudevents/quarkus/QuarkusCloudEventPublisher.java
Outdated
Show resolved
Hide resolved
...addon/src/main/java/org/kie/kogito/addon/cloudevents/quarkus/QuarkusCloudEventPublisher.java
Outdated
Show resolved
Hide resolved
I think it's better to leave as it's. If |
Ok, you can use |
LOL |
Jenkins retest this |
...s-addon-it/src/test/java/org/kie/kogito/integrationtests/CloudEventListenerResourceTest.java
Outdated
Show resolved
Hide resolved
...ses/src/main/resources/class-templates/events/CloudEventListenerResourceQuarkusTemplate.java
Outdated
Show resolved
Hide resolved
The Linux check has failed. Please check the logs. |
The Linux check has failed. Please check the logs. |
@ricardozanini |
5ffbc10
to
05cc4f7
Compare
The Linux check has failed. Please check the logs. |
05cc4f7
to
320c67f
Compare
The Linux check has failed. Please check the logs. |
Jenkins retest this |
The Linux check is successful. |
@ricardozanini needs rebase |
Signed-off-by: Ricardo Zanini <[email protected]>
Signed-off-by: Ricardo Zanini <[email protected]>
320c67f
to
b6d44db
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
The Linux check is successful. |
Signed-off-by: Ricardo Zanini [email protected]
See: https://issues.redhat.com/browse/KOGITO-4457
In this PR we completely remove
knative-eventing-addon
, a module added in the Dark Ages to give support to CloudEvents over HTTP.Now, the Quarkus CloudEvents Addon automatically adds the possibility to consume CE in the application's root path. It also plays nicely with any Smallrye Connector. Meaning that the service can consume from any Smallrye implementation/connector and also from HTTP CE.
Requires https://github.com/kiegroup/kogito-runtimes/pull/1124
Once CI gets back, we merge #1124, I rebase and we will have a more stable code base regarding CE handling.
Many thanks for submitting your Pull Request ❤️!
Please make sure that your PR meets the following requirements:
KOGITO-XYZ Subject
[0.9.x] KOGITO-XYZ Subject
How to retest this PR or trigger a specific build:
Pull Request
Please add comment: Jenkins retest this
Quarkus LTS checks
Please add comment: Jenkins run LTS
Native checks
Please add comment: Jenkins run native
Full Kogito testing (with cloud images and operator BDD testing)
Please add comment: Jenkins run BDD
This check should be used only if a big change is done as it takes time to run, need resources and one full BDD tests check can be done at a time ...