diff --git a/amqp/pom.xml b/amqp/pom.xml index 6f89ba53..ca6e93dd 100644 --- a/amqp/pom.xml +++ b/amqp/pom.xml @@ -6,7 +6,7 @@ io.cloudevents cloudevents-parent - 4.0.0-SNAPSHOT + 4.0.2-SNAPSHOT cloudevents-amqp-proton diff --git a/api/pom.xml b/api/pom.xml index eb55bf37..26307918 100644 --- a/api/pom.xml +++ b/api/pom.xml @@ -24,7 +24,7 @@ io.cloudevents cloudevents-parent - 4.0.0-SNAPSHOT + 4.0.2-SNAPSHOT cloudevents-api diff --git a/benchmarks/pom.xml b/benchmarks/pom.xml index 78268808..9ae431f9 100644 --- a/benchmarks/pom.xml +++ b/benchmarks/pom.xml @@ -21,7 +21,7 @@ io.cloudevents cloudevents-parent - 4.0.0-SNAPSHOT + 4.0.2-SNAPSHOT cloudevents-benchmarks diff --git a/bom/pom.xml b/bom/pom.xml index e285e343..71925fe1 100644 --- a/bom/pom.xml +++ b/bom/pom.xml @@ -22,7 +22,7 @@ io.cloudevents cloudevents-parent - 4.0.0-SNAPSHOT + 4.0.2-SNAPSHOT cloudevents-bom diff --git a/core/pom.xml b/core/pom.xml index 32ebe3ab..ca29f7f4 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -22,7 +22,7 @@ io.cloudevents cloudevents-parent - 4.0.0-SNAPSHOT + 4.0.2-SNAPSHOT cloudevents-core diff --git a/core/src/main/java/io/cloudevents/core/provider/CloudEventValidatorProvider.java b/core/src/main/java/io/cloudevents/core/provider/CloudEventValidatorProvider.java index 2f6afd61..0945d0b7 100644 --- a/core/src/main/java/io/cloudevents/core/provider/CloudEventValidatorProvider.java +++ b/core/src/main/java/io/cloudevents/core/provider/CloudEventValidatorProvider.java @@ -19,8 +19,8 @@ import io.cloudevents.CloudEvent; import io.cloudevents.core.validator.CloudEventValidator; -import java.util.Iterator; -import java.util.ServiceConfigurationError; +import java.util.ArrayList; +import java.util.Collection; import java.util.ServiceLoader; /** @@ -30,10 +30,14 @@ public class CloudEventValidatorProvider { private static final CloudEventValidatorProvider cloudEventValidatorProvider = new CloudEventValidatorProvider(); - private final ServiceLoader loader; + private final Collection validators; - private CloudEventValidatorProvider(){ - loader = ServiceLoader.load(CloudEventValidator.class); + private CloudEventValidatorProvider() { + final ServiceLoader loader = ServiceLoader.load(CloudEventValidator.class); + this.validators = new ArrayList<>(2); + for (CloudEventValidator cloudEventValidator : loader) { + validators.add(cloudEventValidator); + } } public static CloudEventValidatorProvider getInstance() { @@ -42,10 +46,11 @@ public static CloudEventValidatorProvider getInstance() { /** * iterates through available Cloudevent validators. - * @param cloudEvent + * + * @param cloudEvent event to validate. */ - public void validate(CloudEvent cloudEvent){ - for (final CloudEventValidator validator : loader) { + public void validate(CloudEvent cloudEvent) { + for (final CloudEventValidator validator : validators) { validator.validate(cloudEvent); } } diff --git a/docs/amqp-proton.md b/docs/amqp-proton.md index 86350e8f..986d2ac2 100644 --- a/docs/amqp-proton.md +++ b/docs/amqp-proton.md @@ -18,7 +18,7 @@ binding for CloudEvents: io.cloudevents cloudevents-amqp-proton - 3.0.0 + 4.0.1 ``` diff --git a/docs/api.md b/docs/api.md index a824a1c7..0722d0fa 100644 --- a/docs/api.md +++ b/docs/api.md @@ -17,7 +17,7 @@ For Maven based projects, use the following dependency: io.cloudevents cloudevents-api - 3.0.0 + 4.0.1 ``` diff --git a/docs/avro.md b/docs/avro.md index e7f459fd..31fa3e71 100644 --- a/docs/avro.md +++ b/docs/avro.md @@ -16,7 +16,7 @@ For Maven based projects, use the following dependency: io.cloudevents cloudevents-avro-compact - 3.0.0 + 4.0.1 ``` diff --git a/docs/core.md b/docs/core.md index 7bb28565..b269d0f1 100644 --- a/docs/core.md +++ b/docs/core.md @@ -16,7 +16,7 @@ For Maven based projects, use the following dependency: io.cloudevents cloudevents-core - 3.0.0 + 4.0.1 ``` diff --git a/docs/http-basic.md b/docs/http-basic.md index 984e7b21..29b5c3a7 100644 --- a/docs/http-basic.md +++ b/docs/http-basic.md @@ -27,7 +27,7 @@ HTTP Transport: io.cloudevents cloudevents-http-basic - 3.0.0 + 4.0.1 ``` diff --git a/docs/http-jakarta-restful-ws-jakarta.md b/docs/http-jakarta-restful-ws-jakarta.md index 3fc29864..a2051321 100644 --- a/docs/http-jakarta-restful-ws-jakarta.md +++ b/docs/http-jakarta-restful-ws-jakarta.md @@ -14,7 +14,7 @@ RESTful Web Services Binding for Jakarta EE 9+: io.cloudevents cloudevents-http-restful-ws-jakarta - 3.0.0 + 4.0.1 ``` diff --git a/docs/http-jakarta-restful-ws.md b/docs/http-jakarta-restful-ws.md index 464774ed..fdcdf804 100644 --- a/docs/http-jakarta-restful-ws.md +++ b/docs/http-jakarta-restful-ws.md @@ -14,7 +14,7 @@ RESTful Web Services Binding for Jakarta EE 8: io.cloudevents cloudevents-http-restful-ws - 3.0.0 + 4.0.1 ``` diff --git a/docs/http-vertx.md b/docs/http-vertx.md index e5aaf202..6d0787aa 100644 --- a/docs/http-vertx.md +++ b/docs/http-vertx.md @@ -14,7 +14,7 @@ HTTP Transport: io.cloudevents cloudevents-http-vertx - 3.0.0 + 4.0.1 ``` diff --git a/docs/json-jackson.md b/docs/json-jackson.md index d44e0572..7fe61b6f 100644 --- a/docs/json-jackson.md +++ b/docs/json-jackson.md @@ -17,7 +17,7 @@ For Maven based projects, use the following dependency: io.cloudevents cloudevents-json-jackson - 3.0.0 + 4.0.1 ``` diff --git a/docs/kafka.md b/docs/kafka.md index 91bbdcc3..dd2f6148 100644 --- a/docs/kafka.md +++ b/docs/kafka.md @@ -17,7 +17,7 @@ For Maven based projects, use the following to configure the io.cloudevents cloudevents-kafka - 3.0.0 + 4.0.1 ``` diff --git a/docs/protobuf.md b/docs/protobuf.md index 69c3541e..b25ffde6 100644 --- a/docs/protobuf.md +++ b/docs/protobuf.md @@ -18,7 +18,7 @@ For Maven based projects, use the following dependency: io.cloudevents cloudevents-protobuf - 3.0.0 + 4.0.1 ``` diff --git a/docs/spring.md b/docs/spring.md index 572d25cf..c12ec6a8 100644 --- a/docs/spring.md +++ b/docs/spring.md @@ -17,7 +17,7 @@ For Maven based projects, use the following dependency: io.cloudevents cloudevents-spring - 3.0.0 + 4.0.1 ``` diff --git a/docs/xml.md b/docs/xml.md index 9b415043..dcb889ab 100644 --- a/docs/xml.md +++ b/docs/xml.md @@ -18,7 +18,7 @@ For Maven based projects, use the following dependency: io.cloudevents cloudevents-xml - 3.0.0 + 4.0.1 ``` diff --git a/examples/amqp-proton/pom.xml b/examples/amqp-proton/pom.xml index 15926660..9289ed83 100644 --- a/examples/amqp-proton/pom.xml +++ b/examples/amqp-proton/pom.xml @@ -3,7 +3,7 @@ cloudevents-examples io.cloudevents - 4.0.0-SNAPSHOT + 4.0.2-SNAPSHOT 4.0.0 diff --git a/examples/basic-http/pom.xml b/examples/basic-http/pom.xml index a5ddd367..6a6f0e6d 100644 --- a/examples/basic-http/pom.xml +++ b/examples/basic-http/pom.xml @@ -21,7 +21,7 @@ cloudevents-examples io.cloudevents - 4.0.0-SNAPSHOT + 4.0.2-SNAPSHOT 4.0.0 diff --git a/examples/kafka/pom.xml b/examples/kafka/pom.xml index c4a593b1..3ca9f507 100644 --- a/examples/kafka/pom.xml +++ b/examples/kafka/pom.xml @@ -5,7 +5,7 @@ cloudevents-examples io.cloudevents - 4.0.0-SNAPSHOT + 4.0.2-SNAPSHOT 4.0.0 diff --git a/examples/pom.xml b/examples/pom.xml index 3f675f5a..57d39966 100644 --- a/examples/pom.xml +++ b/examples/pom.xml @@ -5,7 +5,7 @@ cloudevents-parent io.cloudevents - 4.0.0-SNAPSHOT + 4.0.2-SNAPSHOT 4.0.0 diff --git a/examples/restful-ws-microprofile-liberty/pom.xml b/examples/restful-ws-microprofile-liberty/pom.xml index 2d3d7ba9..504ecf45 100644 --- a/examples/restful-ws-microprofile-liberty/pom.xml +++ b/examples/restful-ws-microprofile-liberty/pom.xml @@ -3,7 +3,7 @@ cloudevents-examples io.cloudevents - 4.0.0-SNAPSHOT + 4.0.2-SNAPSHOT ../ 4.0.0 diff --git a/examples/restful-ws-quarkus/pom.xml b/examples/restful-ws-quarkus/pom.xml index 1b46d5b9..48ba59b6 100644 --- a/examples/restful-ws-quarkus/pom.xml +++ b/examples/restful-ws-quarkus/pom.xml @@ -5,7 +5,7 @@ cloudevents-examples io.cloudevents - 4.0.0-SNAPSHOT + 4.0.2-SNAPSHOT 4.0.0 cloudevents-restful-ws-quarkus-example diff --git a/examples/restful-ws-spring-boot/pom.xml b/examples/restful-ws-spring-boot/pom.xml index 1b7e8b7c..e13509a1 100644 --- a/examples/restful-ws-spring-boot/pom.xml +++ b/examples/restful-ws-spring-boot/pom.xml @@ -5,7 +5,7 @@ cloudevents-examples io.cloudevents - 4.0.0-SNAPSHOT + 4.0.2-SNAPSHOT 4.0.0 diff --git a/examples/rocketmq/pom.xml b/examples/rocketmq/pom.xml index ad65809d..1aa3d0f9 100644 --- a/examples/rocketmq/pom.xml +++ b/examples/rocketmq/pom.xml @@ -5,7 +5,7 @@ cloudevents-examples io.cloudevents - 4.0.0-SNAPSHOT + 4.0.2-SNAPSHOT 4.0.0 diff --git a/examples/spring-function/pom.xml b/examples/spring-function/pom.xml index 4bf89d95..8a5ea21a 100644 --- a/examples/spring-function/pom.xml +++ b/examples/spring-function/pom.xml @@ -5,7 +5,7 @@ cloudevents-examples io.cloudevents - 4.0.0-SNAPSHOT + 4.0.2-SNAPSHOT 4.0.0 diff --git a/examples/spring-reactive/pom.xml b/examples/spring-reactive/pom.xml index 9cbbe740..e2ab1d14 100644 --- a/examples/spring-reactive/pom.xml +++ b/examples/spring-reactive/pom.xml @@ -5,7 +5,7 @@ cloudevents-examples io.cloudevents - 4.0.0-SNAPSHOT + 4.0.2-SNAPSHOT 4.0.0 diff --git a/examples/spring-rsocket/pom.xml b/examples/spring-rsocket/pom.xml index a4e5ae50..2633713c 100644 --- a/examples/spring-rsocket/pom.xml +++ b/examples/spring-rsocket/pom.xml @@ -5,7 +5,7 @@ cloudevents-examples io.cloudevents - 4.0.0-SNAPSHOT + 4.0.2-SNAPSHOT 4.0.0 diff --git a/examples/vertx/pom.xml b/examples/vertx/pom.xml index 51a118d2..fe569f3a 100644 --- a/examples/vertx/pom.xml +++ b/examples/vertx/pom.xml @@ -5,7 +5,7 @@ cloudevents-examples io.cloudevents - 4.0.0-SNAPSHOT + 4.0.2-SNAPSHOT 4.0.0 diff --git a/formats/avro-compact/pom.xml b/formats/avro-compact/pom.xml index 91758532..dc780143 100644 --- a/formats/avro-compact/pom.xml +++ b/formats/avro-compact/pom.xml @@ -23,7 +23,7 @@ io.cloudevents cloudevents-parent - 4.0.0-SNAPSHOT + 4.0.2-SNAPSHOT ../../pom.xml diff --git a/formats/json-jackson/pom.xml b/formats/json-jackson/pom.xml index 41feac03..5a116bcc 100644 --- a/formats/json-jackson/pom.xml +++ b/formats/json-jackson/pom.xml @@ -22,7 +22,7 @@ io.cloudevents cloudevents-parent - 4.0.0-SNAPSHOT + 4.0.2-SNAPSHOT ../../pom.xml diff --git a/formats/protobuf/pom.xml b/formats/protobuf/pom.xml index 441019cd..779629e6 100644 --- a/formats/protobuf/pom.xml +++ b/formats/protobuf/pom.xml @@ -23,7 +23,7 @@ io.cloudevents cloudevents-parent - 4.0.0-SNAPSHOT + 4.0.2-SNAPSHOT ../../pom.xml diff --git a/formats/xml/pom.xml b/formats/xml/pom.xml index bcee0fd4..5a22ca95 100644 --- a/formats/xml/pom.xml +++ b/formats/xml/pom.xml @@ -23,7 +23,7 @@ io.cloudevents cloudevents-parent - 4.0.0-SNAPSHOT + 4.0.2-SNAPSHOT ../../pom.xml diff --git a/http/basic/pom.xml b/http/basic/pom.xml index 518a46dc..c5c6df29 100644 --- a/http/basic/pom.xml +++ b/http/basic/pom.xml @@ -21,7 +21,7 @@ io.cloudevents cloudevents-parent - 4.0.0-SNAPSHOT + 4.0.2-SNAPSHOT ../../pom.xml diff --git a/http/restful-ws-integration-tests/pom.xml b/http/restful-ws-integration-tests/pom.xml index e4957080..3ab75acc 100644 --- a/http/restful-ws-integration-tests/pom.xml +++ b/http/restful-ws-integration-tests/pom.xml @@ -22,7 +22,7 @@ cloudevents-parent io.cloudevents - 4.0.0-SNAPSHOT + 4.0.2-SNAPSHOT ../../pom.xml 4.0.0 diff --git a/http/restful-ws-integration-tests/restful-ws-common/pom.xml b/http/restful-ws-integration-tests/restful-ws-common/pom.xml index 07e2a549..8dd82619 100644 --- a/http/restful-ws-integration-tests/restful-ws-common/pom.xml +++ b/http/restful-ws-integration-tests/restful-ws-common/pom.xml @@ -22,7 +22,7 @@ cloudevents-http-restful-ws-integration-tests io.cloudevents - 4.0.0-SNAPSHOT + 4.0.2-SNAPSHOT ../ 4.0.0 diff --git a/http/restful-ws-integration-tests/restful-ws-jersey/pom.xml b/http/restful-ws-integration-tests/restful-ws-jersey/pom.xml index 8b26499f..434eba1b 100644 --- a/http/restful-ws-integration-tests/restful-ws-jersey/pom.xml +++ b/http/restful-ws-integration-tests/restful-ws-jersey/pom.xml @@ -22,7 +22,7 @@ cloudevents-http-restful-ws-integration-tests io.cloudevents - 4.0.0-SNAPSHOT + 4.0.2-SNAPSHOT ../ 4.0.0 diff --git a/http/restful-ws-integration-tests/restful-ws-resteasy/pom.xml b/http/restful-ws-integration-tests/restful-ws-resteasy/pom.xml index 73082ca0..5e81d9ac 100644 --- a/http/restful-ws-integration-tests/restful-ws-resteasy/pom.xml +++ b/http/restful-ws-integration-tests/restful-ws-resteasy/pom.xml @@ -22,7 +22,7 @@ cloudevents-http-restful-ws-integration-tests io.cloudevents - 4.0.0-SNAPSHOT + 4.0.2-SNAPSHOT ../ 4.0.0 diff --git a/http/restful-ws-integration-tests/restful-ws-spring/pom.xml b/http/restful-ws-integration-tests/restful-ws-spring/pom.xml index 636f5b34..d586dfa0 100644 --- a/http/restful-ws-integration-tests/restful-ws-spring/pom.xml +++ b/http/restful-ws-integration-tests/restful-ws-spring/pom.xml @@ -22,7 +22,7 @@ cloudevents-http-restful-ws-integration-tests io.cloudevents - 4.0.0-SNAPSHOT + 4.0.2-SNAPSHOT ../ 4.0.0 diff --git a/http/restful-ws-jakarta-integration-tests/pom.xml b/http/restful-ws-jakarta-integration-tests/pom.xml index b5cbcaaf..f3b8d698 100644 --- a/http/restful-ws-jakarta-integration-tests/pom.xml +++ b/http/restful-ws-jakarta-integration-tests/pom.xml @@ -5,7 +5,7 @@ cloudevents-parent io.cloudevents - 4.0.0-SNAPSHOT + 4.0.2-SNAPSHOT ../../pom.xml 4.0.0 diff --git a/http/restful-ws-jakarta-integration-tests/restful-ws-jakarta-common/pom.xml b/http/restful-ws-jakarta-integration-tests/restful-ws-jakarta-common/pom.xml index baf54b62..21977ec0 100644 --- a/http/restful-ws-jakarta-integration-tests/restful-ws-jakarta-common/pom.xml +++ b/http/restful-ws-jakarta-integration-tests/restful-ws-jakarta-common/pom.xml @@ -3,7 +3,7 @@ cloudevents-http-restful-ws-jakarta-integration-tests io.cloudevents - 4.0.0-SNAPSHOT + 4.0.2-SNAPSHOT ../ 4.0.0 diff --git a/http/restful-ws-jakarta-integration-tests/restful-ws-liberty/pom.xml b/http/restful-ws-jakarta-integration-tests/restful-ws-liberty/pom.xml index 0db39fc6..75e5369c 100644 --- a/http/restful-ws-jakarta-integration-tests/restful-ws-liberty/pom.xml +++ b/http/restful-ws-jakarta-integration-tests/restful-ws-liberty/pom.xml @@ -5,7 +5,7 @@ cloudevents-http-restful-ws-jakarta-integration-tests io.cloudevents - 4.0.0-SNAPSHOT + 4.0.2-SNAPSHOT ../ 4.0.0 diff --git a/http/restful-ws-jakarta-integration-tests/restful-ws-resteasy/pom.xml b/http/restful-ws-jakarta-integration-tests/restful-ws-resteasy/pom.xml index 718cca37..748f59ed 100644 --- a/http/restful-ws-jakarta-integration-tests/restful-ws-resteasy/pom.xml +++ b/http/restful-ws-jakarta-integration-tests/restful-ws-resteasy/pom.xml @@ -3,7 +3,7 @@ cloudevents-http-restful-ws-jakarta-integration-tests io.cloudevents - 4.0.0-SNAPSHOT + 4.0.2-SNAPSHOT ../ 4.0.0 diff --git a/http/restful-ws-jakarta/pom.xml b/http/restful-ws-jakarta/pom.xml index c4f9af22..5650962b 100644 --- a/http/restful-ws-jakarta/pom.xml +++ b/http/restful-ws-jakarta/pom.xml @@ -21,7 +21,7 @@ io.cloudevents cloudevents-parent - 4.0.0-SNAPSHOT + 4.0.2-SNAPSHOT ../../pom.xml diff --git a/http/restful-ws/pom.xml b/http/restful-ws/pom.xml index 49250974..8aa6c561 100644 --- a/http/restful-ws/pom.xml +++ b/http/restful-ws/pom.xml @@ -21,7 +21,7 @@ io.cloudevents cloudevents-parent - 4.0.0-SNAPSHOT + 4.0.2-SNAPSHOT ../../pom.xml diff --git a/http/vertx/pom.xml b/http/vertx/pom.xml index 10458fac..b52da855 100644 --- a/http/vertx/pom.xml +++ b/http/vertx/pom.xml @@ -22,7 +22,7 @@ io.cloudevents cloudevents-parent - 4.0.0-SNAPSHOT + 4.0.2-SNAPSHOT ../../pom.xml diff --git a/kafka/pom.xml b/kafka/pom.xml index 73d594c2..19297c8e 100644 --- a/kafka/pom.xml +++ b/kafka/pom.xml @@ -23,7 +23,7 @@ io.cloudevents cloudevents-parent - 4.0.0-SNAPSHOT + 4.0.2-SNAPSHOT cloudevents-kafka diff --git a/pom.xml b/pom.xml index af859ffe..2f6051ba 100644 --- a/pom.xml +++ b/pom.xml @@ -21,7 +21,7 @@ io.cloudevents cloudevents-parent - 4.0.0-SNAPSHOT + 4.0.2-SNAPSHOT pom CloudEvents diff --git a/rocketmq/pom.xml b/rocketmq/pom.xml index b130de69..ce9b34cd 100644 --- a/rocketmq/pom.xml +++ b/rocketmq/pom.xml @@ -23,7 +23,7 @@ cloudevents-parent io.cloudevents - 4.0.0-SNAPSHOT + 4.0.2-SNAPSHOT cloudevents-rocketmq diff --git a/spring/pom.xml b/spring/pom.xml index f37f51a6..66e36faa 100644 --- a/spring/pom.xml +++ b/spring/pom.xml @@ -23,7 +23,7 @@ io.cloudevents cloudevents-parent - 4.0.0-SNAPSHOT + 4.0.2-SNAPSHOT cloudevents-spring diff --git a/sql/pom.xml b/sql/pom.xml index 78c09e7f..c92f5086 100644 --- a/sql/pom.xml +++ b/sql/pom.xml @@ -5,7 +5,7 @@ cloudevents-parent io.cloudevents - 4.0.0-SNAPSHOT + 4.0.2-SNAPSHOT 4.0.0 pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy