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

prepare v1.1 tag #37

Merged
merged 1 commit into from
Jan 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ work well and send valid CloudEvents.
By default the application will start using a loopback endpoint

```{bash}
./target/cloudevent-player-1.1-SNAPSHOT-runner
./target/cloudevent-player-1.1-runner
```

You can send a message from inside the application by filling in the form and the activity will show the sent
Expand Down Expand Up @@ -77,7 +77,7 @@ $ java -Dplayer.mode=LOCAL -jar target/quarkus-app/quarkus-run.jar
...
2022-06-24 18:39:07,794 INFO [io.und.websockets] (main) UT026003: Adding annotated server endpoint class com.redhat.syseng.tools.cloudevents.resources.MessagesSocket for path /socket
2022-06-24 18:39:08,130 INFO [io.qua.sma.ope.run.OpenApiRecorder] (main) Default CORS properties will be used, please use 'quarkus.http.cors' properties instead
2022-06-24 18:39:08,216 INFO [io.quarkus] (main) cloudevent-player 1.1-SNAPSHOT on JVM (powered by Quarkus 2.15.0.Final) started in 0.879s. Listening on: http://0.0.0.0:8080
2022-06-24 18:39:08,216 INFO [io.quarkus] (main) cloudevent-player 1.1 on JVM (powered by Quarkus 2.15.0.Final) started in 0.879s. Listening on: http://0.0.0.0:8080
2022-06-24 18:39:08,217 INFO [io.quarkus] (main) Profile prod activated.
2022-06-24 18:39:08,217 INFO [io.quarkus] (main) Installed features: [cdi, hibernate-validator, kubernetes-client, rest-client, resteasy-reactive, resteasy-reactive-jackson, smallrye-context-propagation, smallrye-openapi, vertx, websockets, websockets-client]
```
Expand All @@ -94,7 +94,7 @@ Listening for transport dt_socket at address: 5005
2022-06-24 18:51:43,172 INFO [io.und.websockets] (Quarkus Main Thread) UT026003: Adding annotated server endpoint class com.redhat.syseng.tools.cloudevents.resources.MessagesSocket for path /socket

2022-06-24 18:51:43,229 WARN [org.jbo.res.res.i18n] (Quarkus Main Thread) RESTEASY002155: Provider class io.cloudevents.http.restful.ws.CloudEventsProvider is already registered. 2nd registration is being ignored.
2022-06-24 18:51:43,513 INFO [io.quarkus] (Quarkus Main Thread) cloudevent-player 1.1-SNAPSHOT on JVM (powered by Quarkus 2.15.0.Final) started in 2.543s. Listening on: http://localhost:8080
2022-06-24 18:51:43,513 INFO [io.quarkus] (Quarkus Main Thread) cloudevent-player 1.1 on JVM (powered by Quarkus 2.15.0.Final) started in 2.543s. Listening on: http://localhost:8080
2022-06-24 18:51:43,514 INFO [io.quarkus] (Quarkus Main Thread) Profile dev activated. Live Coding activated.
2022-06-24 18:51:43,515 INFO [io.quarkus] (Quarkus Main Thread) Installed features: [cdi, hibernate-validator, kubernetes-client, rest-client, resteasy-reactive, resteasy-reactive-jackson, smallrye-context-propagation, smallrye-openapi, swagger-ui, vertx, websockets, websockets-client]

Expand All @@ -112,9 +112,9 @@ mvn clean install -Pnative
Run

```shell script
$ ./target/cloudevent-player-1.1-SNAPSHOT-runner -Dplayer.mode=LOCAL
$ ./target/cloudevent-player-1.1-runner -Dplayer.mode=LOCAL
...
2022-06-24 18:48:11,565 INFO [io.quarkus] (main) cloudevent-player 1.1-SNAPSHOT native (powered by Quarkus 2.15.0.Final) started in 0.022s. Listening on: http://0.0.0.0:8080
2022-06-24 18:48:11,565 INFO [io.quarkus] (main) cloudevent-player 1.1 native (powered by Quarkus 2.15.0.Final) started in 0.022s. Listening on: http://0.0.0.0:8080
2022-06-24 18:48:11,565 INFO [io.quarkus] (main) Profile prod activated.
2022-06-24 18:48:11,565 INFO [io.quarkus] (main) Installed features: [cdi, hibernate-validator, kubernetes-client, rest-client, resteasy-reactive, resteasy-reactive-jackson, smallrye-context-propagation, smallrye-openapi, vertx, websockets, websockets-client]
2022-06-24 18:48:17,028 INFO [com.red.sys.too.clo.ser.MessageService] (ForkJoinPool.commonPool-worker-3) Player mode LOCAL - broker: http://localhost:8080/
Expand Down Expand Up @@ -168,10 +168,10 @@ Cloudevents-player comes with 2 modes defined in the PLAYER_MODE environment var

```bash
# Local Mode
./target/cloudevent-player-1.1-SNAPSHOT-runner -Dplayer.mode=LOCAL
./target/cloudevent-player-1.1-runner -Dplayer.mode=LOCAL

# Knative Mode
./target/cloudevent-player-1.1-SNAPSHOT-runner -Dplayer.mode=KNATIVE
./target/cloudevent-player-1.1-runner -Dplayer.mode=KNATIVE
```

### Broker URI
Expand All @@ -180,7 +180,7 @@ Sets the broker URI where the messages will be sent to. It will always be `local
Overrides the name and namespace properties.

```bash
./target/cloudevent-player-1.1-SNAPSHOT-runner -Dplayer.mode=KNATIVE -Dbroker.uri=http://some-broker:1234
./target/cloudevent-player-1.1-runner -Dplayer.mode=KNATIVE -Dbroker.uri=http://some-broker:1234
```

### Broker Name and Namespace
Expand All @@ -190,7 +190,7 @@ namespace will be the current namespace.

```bash
# The broker URL
./target/cloudevent-player-1.1-SNAPSHOT-runner -Dplayer.mode=KNATIVE -Dbroker.name=example -Dbroker.namespace=other
./target/cloudevent-player-1.1-runner -Dplayer.mode=KNATIVE -Dbroker.name=example -Dbroker.namespace=other
...
2022-06-24 19:08:53,681 INFO [com.red.sys.too.clo.ser.MessageService] (ForkJoinPool.commonPool-worker-3) Player mode KNATIVE - broker: http://broker-ingress.knative-eventing.svc.cluster.local/other/example
```
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.redhat.syseng.tools</groupId>
<artifactId>cloudevent-player</artifactId>
<version>1.1-SNAPSHOT</version>
<version>1.1</version>
<scm>
<connection>scm:git:https://github.com/ruromero/cloudevents-player.git</connection>
<developerConnection>scm:git:git@github.com:ruromero/cloudevents-player.git</developerConnection>
Expand Down