skepticoitusInteruptus
4ebeab0e0f
Refactor to Facilitate Decoupling from Concrete Implementations of EventFormat ( #539 )
...
- Introduce ContentType enum
- Resolve formats by using the ContentType enum
Signed-off-by: Randi Sheaffer-Klass <97033958+skepticoitusInteruptus@users.noreply.github.com>
2023-04-21 10:41:10 +02:00
Jem Day
4c81f3eacc
Make ProtoCloudEventData consistent ( #535 )
...
Modified ProtoCloudEventData to always return a
Protobuf Any object - this ensures it is coherent with
the Protobuf CloudEvent format specification.
It remains possible to wrap any Protobuf 'Message'
object directly (which includes an 'Any') as a
convienience to reduce application code.
Signed-off-by: Jem Day <Jem.Day@cliffhanger.com>
2023-03-10 09:35:24 +01:00
Pierangelo Di Pilato
569e025cf0
Fix javadoc build ( #529 ) ( #534 )
...
Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>
2023-03-06 18:25:53 +01:00
Jem Day
3614a4f5f4
Fixed Protobuf data corruption for CloudEvent serialized/deserialized several times ( #524 )
...
Fixed issue where mutiple serialize/de-serialize operations
would result in corrupted data if the data was a protobuf
message object.
- Introduced equality checks for ProtoDataWrapper.
- Refactored and cleaned up data-wrappers.
Fixes https://github.com/cloudevents/sdk-java/issues/523
Signed-off-by: Jem Day <Jem.Day@cliffhanger.com>
2023-02-27 11:48:07 +01:00
mxsm
d64aff7327
[ #521 ] Remove unused imports ( #522 )
...
Signed-off-by: mxsm <ljbmxsm@gmail.com>
2023-02-20 18:06:28 +01:00
dependabot[bot]
d1cff75230
Bump activesupport from 6.0.6 to 6.0.6.1 in /docs ( #517 )
...
Bumps [activesupport](https://github.com/rails/rails ) from 6.0.6 to 6.0.6.1.
- [Release notes](https://github.com/rails/rails/releases )
- [Changelog](https://github.com/rails/rails/blob/v7.0.4.2/activesupport/CHANGELOG.md )
- [Commits](https://github.com/rails/rails/compare/v6.0.6...v6.0.6.1 )
---
updated-dependencies:
- dependency-name: activesupport
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-20 08:42:50 +01:00
Ruben Romero Montes
1591cb337a
[ #465 ] Upgrade Quarkus examples with binary and structured events ( #515 )
...
Signed-off-by: ruromero <rromerom@redhat.com>
2023-01-24 16:54:22 +01:00
Pierangelo Di Pilato
f71303b7b7
Switch default branch to main ( #506 )
...
Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>
2023-01-12 19:03:51 +01:00
Pierangelo Di Pilato
d59b33307a
Run tests before deploy on Java 17 ( #504 )
...
Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>
2023-01-10 16:49:47 +01:00
dependabot[bot]
e0d1961f35
Bump nokogiri from 1.13.9 to 1.13.10 in /docs ( #496 )
...
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri ) from 1.13.9 to 1.13.10.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases )
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.13.9...v1.13.10 )
---
updated-dependencies:
- dependency-name: nokogiri
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-10 16:41:29 +01:00
dependabot[bot]
7c6b52ab30
Bump reactor-core from 3.4.21 to 3.5.1 ( #499 )
...
Bumps [reactor-core](https://github.com/reactor/reactor-core ) from 3.4.21 to 3.5.1.
- [Release notes](https://github.com/reactor/reactor-core/releases )
- [Commits](https://github.com/reactor/reactor-core/compare/v3.4.21...v3.5.1 )
---
updated-dependencies:
- dependency-name: io.projectreactor:reactor-core
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-10 16:10:42 +01:00
Jem Day
433ec5b274
Initial Implementation of XML Format ( #448 )
...
Signed-off-by: Day, Jeremy(jday) <jday@paypal.com>
Signed-off-by: Jem Day <Jem.Day@cliffhanger.com>
2023-01-10 09:48:36 +01:00
Doug Davis
40fe91a5e0
Use UTF-8 when using getBytes ( #491 )
...
Closes #488
Signed-off-by: Doug Davis <dug@microsoft.com>
2023-01-05 18:01:14 +01:00
Pierangelo Di Pilato
a43f90f4e2
Create dependabot.yml
2023-01-02 15:19:06 +01:00
dependabot[bot]
e488269510
Bump nokogiri from 1.13.6 to 1.13.9 in /docs ( #486 )
...
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri ) from 1.13.6 to 1.13.9.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases )
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.13.6...v1.13.9 )
---
updated-dependencies:
- dependency-name: nokogiri
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-02 15:11:24 +01:00
Fabio José
7d50c7fc7a
Bump Vertx to 4.3.7 ( #495 )
...
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JAVA-IONETTY-3167773
Co-authored-by: snyk-bot <snyk-bot@snyk.io>
2023-01-02 15:10:38 +01:00
Averi Kitsch
f1a86af656
Fix curl command for Spring example ( #478 )
...
Signed-off-by: Averi Kitsch <akitsch@google.com>
2023-01-02 13:36:30 +01:00
Doug Davis
354f7a16ef
Upgrade kafka, protobuf, and vert.x versions ( #492 )
...
Closes #489
Signed-off-by: Doug Davis <dug@microsoft.com>
2022-12-09 12:35:19 +01:00
Pierangelo Di Pilato
9132a13d81
Remove deprecated constructor usage for JsonCloudEventData ( #483 )
...
Fixes #482
Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>
2022-10-12 08:58:41 +02:00
dependabot[bot]
a491c85eb2
Bump tzinfo from 1.2.8 to 1.2.10 in /docs ( #467 )
...
Bumps [tzinfo](https://github.com/tzinfo/tzinfo ) from 1.2.8 to 1.2.10.
- [Release notes](https://github.com/tzinfo/tzinfo/releases )
- [Changelog](https://github.com/tzinfo/tzinfo/blob/master/CHANGES.md )
- [Commits](https://github.com/tzinfo/tzinfo/compare/v1.2.8...v1.2.10 )
---
updated-dependencies:
- dependency-name: tzinfo
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-12 08:56:14 +02:00
Frédéric Déléchamp
6362bfbcd6
Strip parameters from data content types to assess if it's JSON format ( #484 )
...
Signed-off-by: Frederic Delechamp <fdelechamp@guidewire.com>
2022-10-06 10:42:37 +02:00
Alex Butcher
f08a099ed9
Restful-ws jakarta ee9 namespace support ( #469 )
...
* Replace javax restful-ws namespace usage with jakarata in own module
* Add microprofile with openliberty example using new jar
* Update gitignore to cover all copied directories
* Update Jersey Version to support jakarta.* namespace packages
* Port jersey integration tests from javax.* to jakarta.*
* Undo changes to existing integration test package names
* Add Integration test for Microprofile/Liberty for Jee9 package
* Add documentation for new Jakarta package
Signed-off-by: alex-butcher <21243172+abutch3r@users.noreply.github.com>
2022-09-27 09:16:03 +02:00
Vikram Vuppla
4139fb7e57
Fix typo in word Covert ( #480 )
...
Signed-off-by: Vikram Vuppla <naga.vicky@gmail.com>
2022-09-19 17:31:31 +02:00
Gerard Klijs
adde53c817
Correct URL to naming-conventions ( #477 )
...
Signed-off-by: Gerard Klijs <gerard.klijs@axoniq.io>
2022-09-14 15:46:09 +02:00
Jorge Oliva
0dc10251ff
Fix example in "Materialize an Extension" ( #475 )
...
Was using `ExtensionParser` instead `ExtensionProvider`
Signed-off-by: Jorge Oliva <Jorge.OlivaFernandez@santander.co.uk>
2022-09-14 11:39:25 +02:00
github-actions[bot]
b9eaa2fcaa
Bump to 2.5.0-SNAPSHOT ( #474 )
...
Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: pierDipi <pierdipi@redhat.com>
2022-09-06 15:52:34 +02:00
Isaac Aymerich
f8d27b08bf
Support dynamic JSON data content type ( #471 )
...
Now checks if `datacontenttype` matches the regex:
`^(application|text)\/([a-zA-Z]+\+)?json$")`
This regex support
`application/foobar+json`
or standard
```
application/json
text/json
```
Signed-off-by: Isaac Aymerich <isaac.aymerich@roche.com>
2022-09-05 13:14:38 +02:00
Matej Vasek
9125136530
chore: update Quarkus example ( #466 )
...
* Server accepts both: binary and structured encoded events.
* Emitter contains comment describing how to switch between binary and
structured encoding for emitted events.
Signed-off-by: Matej Vasek <mvasek@redhat.com>
2022-07-19 12:27:44 +02:00
Gustavo Tedesco
f35e6e610a
CVE-2020-36518 - bump jackson from 2.11.2 to 2.13.3 ( #464 )
...
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-36518
Signed-off-by: Gustavo Tedesco <gustavo.tedesco@unico.io>
2022-07-13 17:16:38 +02:00
Pierangelo Di Pilato
45ec85f8c1
Optimize `isCloudEventsHeader` check ( #445 )
...
Instead of using:
```java
key.substring(0, CE_PREFIX.length()).toLowerCase().startsWith(CE_PREFIX);
```
we can just use:
```java
key.regionMatches(true /* ignoreCase */, 0, CE_PREFIX, 0, CE_PREFIX.length());
```
Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>
2022-07-13 10:18:17 +02:00
dependabot[bot]
1d87fb7191
Bump nokogiri from 1.13.3 to 1.13.6 in /docs ( #457 )
...
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri ) from 1.13.3 to 1.13.6.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases )
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.13.3...v1.13.6 )
---
updated-dependencies:
- dependency-name: nokogiri
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-25 16:06:16 +02:00
Snyk bot
8f9b741306
[Snyk] Security upgrade io.vertx:vertx-core from 4.0.0 to 4.2.5 ( #455 )
...
* fix: http/vertx/pom.xml to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JAVA-IONETTY-1020439
- https://snyk.io/vuln/SNYK-JAVA-IONETTY-1070799
- https://snyk.io/vuln/SNYK-JAVA-IONETTY-1082234
- https://snyk.io/vuln/SNYK-JAVA-IONETTY-1082235
- https://snyk.io/vuln/SNYK-JAVA-IONETTY-1082236
- https://snyk.io/vuln/SNYK-JAVA-IONETTY-1083991
- https://snyk.io/vuln/SNYK-JAVA-IONETTY-1089809
- https://snyk.io/vuln/SNYK-JAVA-IONETTY-1317097
- https://snyk.io/vuln/SNYK-JAVA-IONETTY-1584063
- https://snyk.io/vuln/SNYK-JAVA-IONETTY-1584064
- https://snyk.io/vuln/SNYK-JAVA-IONETTY-2314893
* Bump Vert.x to 4.2.5
Co-authored-by: Pierangelo Di Pilato <pierdipi@redhat.com>
2022-04-08 11:13:07 +02:00
dependabot[bot]
2dd8ba95dd
Bump nokogiri from 1.12.5 to 1.13.3 in /docs ( #447 )
...
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri ) from 1.12.5 to 1.13.3.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases )
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.12.5...v1.13.3 )
---
updated-dependencies:
- dependency-name: nokogiri
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-01 19:01:24 +02:00
Pierangelo Di Pilato
1c29726e8c
Add `CONTRIBUTING.md` and `MAINTAINERS.md` files ( #454 )
...
These 2 new files are based on the existing `pr_guidelines.md`
and `maintainers_guide.md`
Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>
2022-04-01 19:00:37 +02:00
mEstrazulas
6681205733
Fix Spring structured example ( #451 )
...
Signed-off-by: Micael Vianna <estrazulas@gmail.com>
Signed-off-by: Micael Estrazulas Vianna <m.vianna@kigroup.de>
2022-03-18 23:24:37 +01:00
Jem Day
a4bc7a8368
Protobuf: Enhance textual content-types detection ( #444 )
...
- Move content-type introspection in a separate support class.
- Add unit tests to ensure introspection is correct.
Signed-off-by: Day, Jeremy(jday) <jday@paypal.com>
2022-01-31 10:18:22 +01:00
github-actions[bot]
4784f03e8c
Bump to 2.4.0-SNAPSHOT ( #439 )
...
Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: pierDipi <pierdipi@redhat.com>
2021-12-21 12:18:07 +01:00
Pierangelo Di Pilato
ace6859ae0
Bump version to 2.3.0 ( #437 )
...
Signed-off-by: Pierangelo Di Pilato <pdipilat@redhat.com>
2021-12-21 12:06:57 +01:00
Pierangelo Di Pilato
cc786251d5
Handle NullNode for optional attributes in Jackson CloudEventDeserializer ( #432 )
...
In `getOptionalStringNode` we should handle `JsonNode`s that are
instances of `NullNode`.
Signed-off-by: Pierangelo Di Pilato <pdipilat@redhat.com>
2021-12-21 11:22:02 +01:00
Myeonghyeon-Lee
ceb06757a3
Ignore invalid extension names in jackson CloudEventDeserializer ( #429 )
...
Signed-off-by: mhyeon-lee <mhyeon.lee@navercorp.com>
2021-12-10 10:26:47 +01:00
Pierangelo Di Pilato
8d91cdaee6
Run tests with Java 17 ( #426 )
...
Signed-off-by: Pierangelo Di Pilato <pdipilat@redhat.com>
2021-12-01 09:05:02 +01:00
Pierangelo Di Pilato
d00ad967c0
Fix the Java Doc build ( #424 )
...
- https://vertx.io/docs/apidocs/ returns 404, so removing it
- Fix Java Doc error for missing `@param`
Signed-off-by: Pierangelo Di Pilato <pdipilat@redhat.com>
2021-11-17 16:55:27 +01:00
Dave Syer
9231e6d230
Add example of Spring WebClient usage ( #418 )
...
- Add example of WebClient usage
- Add additional test case with WebClient usage
Signed-off-by: Dave Syer <dsyer@vmware.com>
2021-11-17 16:25:59 +01:00
Joke de Buhr
a94bc5c81c
Close input stream on CloudEventHttpMessageReader ( #421 )
...
Signed-off-by: Joke de Buhr <joke.debuhr@eventim.de>
2021-11-03 09:54:38 +01:00
Dmitrii Bocharov
32adfe9123
Fix NPE in CloudEventDeserializer when deserializing header with null value ( #415 )
...
Signed-off-by: Dmitrii Bocharov <dmitrii.bocharov@embedit.cz>
2021-11-03 08:28:54 +01:00
dependabot[bot]
0277ee4ae4
Bump spring-framework-bom in /examples/restful-ws-spring-boot ( #423 )
...
Bumps [spring-framework-bom](https://github.com/spring-projects/spring-framework ) from 5.2.8.RELEASE to 5.2.9.RELEASE.
- [Release notes](https://github.com/spring-projects/spring-framework/releases )
- [Commits](https://github.com/spring-projects/spring-framework/compare/v5.2.8.RELEASE...v5.2.9.RELEASE )
---
updated-dependencies:
- dependency-name: org.springframework:spring-framework-bom
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-03 08:26:35 +01:00
dependabot[bot]
202849307c
Bump addressable from 2.7.0 to 2.8.0 in /docs ( #406 )
...
Bumps [addressable](https://github.com/sporkmonger/addressable ) from 2.7.0 to 2.8.0.
- [Release notes](https://github.com/sporkmonger/addressable/releases )
- [Changelog](https://github.com/sporkmonger/addressable/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sporkmonger/addressable/compare/addressable-2.7.0...addressable-2.8.0 )
---
updated-dependencies:
- dependency-name: addressable
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-03 08:07:20 +01:00
dependabot[bot]
624ac693d8
Bump nokogiri from 1.11.5 to 1.12.5 in /docs ( #419 )
...
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri ) from 1.11.5 to 1.12.5.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases )
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.11.5...v1.12.5 )
---
updated-dependencies:
- dependency-name: nokogiri
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-03 08:06:43 +01:00
dependabot[bot]
5a323942d3
Bump jetty-server in /examples/basic-http ( #403 )
...
Bumps [jetty-server](https://github.com/eclipse/jetty.project ) from 9.4.38.v20210224 to 9.4.41.v20210516.
- [Release notes](https://github.com/eclipse/jetty.project/releases )
- [Commits](https://github.com/eclipse/jetty.project/compare/jetty-9.4.38.v20210224...jetty-9.4.41.v20210516 )
---
updated-dependencies:
- dependency-name: org.eclipse.jetty:jetty-server
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-05 12:22:52 +02:00
dependabot[bot]
1587708805
Bump spring-framework-bom ( #382 )
...
Bumps [spring-framework-bom](https://github.com/spring-projects/spring-framework ) from 5.2.8.RELEASE to 5.2.9.RELEASE.
- [Release notes](https://github.com/spring-projects/spring-framework/releases )
- [Commits](https://github.com/spring-projects/spring-framework/compare/v5.2.8.RELEASE...v5.2.9.RELEASE )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-05 12:22:46 +02:00