Commit Graph

19 Commits

Author SHA1 Message Date
Pierangelo Di Pilato a6580e5e1b
[2.2] Bump version to 2.2.2-SNAPSHOT (#440)
Run:
```
./mvnw versions:set -DnewVersion=2.2.2-SNAPSHOT -DgenerateBackupPoms=false -B
```

Signed-off-by: Pierangelo Di Pilato <pdipilat@redhat.com>
2021-12-21 13:15:56 +01:00
Pierangelo Di Pilato 8587e8c4b0
[2.2] Bump version to 2.2.1 (#438)
Run:
```
./mvnw versions:set -DnewVersion=2.2.1 -DgenerateBackupPoms=false -B
find . -type f -name "*.md" -exec sed -i -e "s+<version>[a-zA-Z0-9.-]*<\/version>+<version>2.2.1</version>+g" {} +
```

Signed-off-by: Pierangelo Di Pilato <pdipilat@redhat.com>
2021-12-21 12:19:03 +01:00
Pierangelo Di Pilato 043d58a4a4
Close input stream on CloudEventHttpMessageReader (#421) (#434)
Signed-off-by: Joke de Buhr <joke.debuhr@eventim.de>
Signed-off-by: Pierangelo Di Pilato <pdipilat@redhat.com>

Co-authored-by: Joke de Buhr <joke@xckk.de>
2021-12-21 11:50:02 +01:00
Pierangelo Di Pilato 07c87598b3
Bump version to 2.2.1-SNAPSHOT (#431)
Run:
```shell
export NEW_VERSION=2.2.1-SNAPSHOT
./mvnw versions:set -DnewVersion=$NEW_VERSION -DgenerateBackupPoms=false -B
```

Signed-off-by: Pierangelo Di Pilato <pdipilat@redhat.com>
2021-12-21 10:05:55 +01:00
github-actions[bot] 8ad857d8c7
Bump to 2.2.0 (#399)
Signed-off-by: GitHub <noreply@github.com>

Co-authored-by: slinkydeveloper <slinkydeveloper@users.noreply.github.com>
2021-06-17 12:05:04 +02:00
github-actions[bot] c8f10e9215
Bump to 2.2.0-SNAPSHOT (#378)
Signed-off-by: GitHub <noreply@github.com>

Co-authored-by: slinkydeveloper <slinkydeveloper@users.noreply.github.com>
2021-04-28 15:50:41 +02:00
github-actions[bot] ba9ccad5d2
Bump to 2.1.0 (#377)
Signed-off-by: GitHub <noreply@github.com>

Co-authored-by: slinkydeveloper <slinkydeveloper@users.noreply.github.com>
2021-04-28 15:24:41 +02:00
Dave Syer baba37ccfd
Regularize copyright headers (#354)
Signed-off-by: Dave Syer <dsyer@vmware.com>
2021-03-05 10:19:47 +01:00
Dave Syer 8b382734d9
Add support for RSockets with Spring (#349)
* Add support for RSockets with Spring

Also generically can support structured events with any Spring
API that works with Encoder and Decoder. There's a sample for
the RSocket case with a simple request-response echo server.

Signed-off-by: Dave Syer <dsyer@vmware.com>

* Use supported mime types from format provider

Signed-off-by: Dave Syer <dsyer@vmware.com>
2021-03-05 09:18:19 +01:00
github-actions[bot] 70782da2c2
Bump to 2.1.0-SNAPSHOT (#346)
Signed-off-by: GitHub <noreply@github.com>

Co-authored-by: slinkydeveloper <slinkydeveloper@users.noreply.github.com>
2021-02-15 09:19:58 +01:00
github-actions[bot] 48fc69e058
Bump to 2.0.0 (#343)
Signed-off-by: GitHub <noreply@github.com>

Co-authored-by: slinkydeveloper <slinkydeveloper@users.noreply.github.com>
2021-02-15 09:09:09 +01:00
github-actions[bot] 611f2292a7
Bump to 2.0.0-SNAPSHOT (#329)
Signed-off-by: GitHub <noreply@github.com>

Co-authored-by: slinkydeveloper <slinkydeveloper@users.noreply.github.com>
2020-12-11 11:15:02 +01:00
github-actions[bot] 296230719b
Bump to 2.0.0.RC2 (#327)
Signed-off-by: GitHub <noreply@github.com>

Co-authored-by: slinkydeveloper <slinkydeveloper@users.noreply.github.com>
2020-12-11 11:04:09 +01:00
Francesco Guardiani 3a22557b83
Website docs (#324)
* Halfway through it

Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>

* That should be it

Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>

* Prettier run

Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>

* Removed code sample

Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>

* Suggestions + fixed up the mess made by prettier

Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>

* Suggestion

Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>
2020-12-11 10:38:04 +01:00
Francesco Guardiani 58570cf4d9
Spring Javadocs (#323)
* Spring Javadocs

Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>

* Rebase fix

Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>
2020-12-10 17:15:07 +01:00
Dave Syer 24d108fe5d
Improve CloudEventHeaderUtils with narrower scoped method (#318)
Signed-off-by: Dave Syer <dsyer@vmware.com>
2020-12-10 10:25:21 +01:00
Dave Syer 59643c3368
Add support for Message<CloudEvent> (#315)
* Add support for Message<CloudEvent>

Signed-off-by: Dave Syer <dsyer@vmware.com>

* Add support for structured messages with Spring Message<?>

Signed-off-by: Dave Syer <dsyer@vmware.com>

* Push private classes out to shared utilities

Signed-off-by: Dave Syer <dsyer@vmware.com>

* Resolve some more review comments

Signed-off-by: Dave Syer <dsyer@vmware.com>

* Restructure MessageReader and MessageWriter

Signed-off-by: Dave Syer <dsyer@vmware.com>

* Remove integration test (depends on snapshots still)

Signed-off-by: Dave Syer <dsyer@vmware.com>

* Simplify message converter but drop support for structured format

Signed-off-by: Dave Syer <dsyer@vmware.com>

* Make HTTP optional

Signed-off-by: Dave Syer <dsyer@vmware.com>

* Drop snapshot reporitory declarations

Signed-off-by: Dave Syer <dsyer@vmware.com>
2020-12-09 18:12:09 +01:00
Francesco Guardiani b89f45265b
Simplify the Reader/Writer implementations, reducing the knowledge of spec details (#309)
* Messing up stuff

Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>

* Collapse CloudEventAttributesWriter and CloudEventAttributesWriter into CloudEventContextWriter

Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>

* Rebase fix

Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>
2020-12-01 17:27:50 +01:00
Dave Syer 5099b31f6c
HTTP converters for CloudEvent in Spring (#312)
Supports MVC and WebFlux (blocking and non-blocking) HTTP.
User can work with `CloudEvent` as a `POJO` type and inject it
into `@ReqestMapping` methods.

Signed-off-by: Dave Syer <dsyer@vmware.com>

Co-authored-by: Oleg Zhurakousky <ozhurakousky@pivotal.io>
2020-11-30 11:27:44 +01:00