FailedChanges

Summary

  1. [#889]: Implement cloud events HTTP endpoint (details)
  2. [#889] review: (details)
  3. [#889] fixed that protocol headers was not merged with calculated headers e.g. containing authentication information (details)
Commit bba19d5d996297982b82ca56872acf8d21029130 by jreimann
[#889]: Implement cloud events HTTP endpoint

This change adds support for receiving cloud events through the HTTP
binding.

The event's payload must be in the Ditto Protocol JSON.

Co-authored-by: Thomas Jaeckle <thomas.jaeckle@bosch.io>
Signed-off-by: Jens Reimann <jreimann@redhat.com>
The file was modifieddocumentation/src/main/resources/pages/ditto/connectivity-overview.md (diff)
The file was modifiedservices/gateway/endpoints/pom.xml (diff)
The file was addedservices/gateway/endpoints/src/main/java/org/eclipse/ditto/services/gateway/endpoints/routes/cloudevents/CloudEventsRoute.java
The file was modifiedjson/src/main/java/org/eclipse/ditto/json/JsonFactory.java (diff)
The file was modifiedjson/src/main/java/org/eclipse/ditto/json/JsonObject.java (diff)
The file was modifiedservices/gateway/endpoints/src/main/java/org/eclipse/ditto/services/gateway/endpoints/routes/RootRoute.java (diff)
The file was addedmodel/base/src/main/java/org/eclipse/ditto/model/base/exceptions/CloudEventUnsupportedDataSchemaException.java
The file was addedservices/gateway/endpoints/src/main/java/org/eclipse/ditto/services/gateway/endpoints/routes/cloudevents/package-info.java
The file was modifiedservices/gateway/endpoints/src/test/java/org/eclipse/ditto/services/gateway/endpoints/routes/RootRouteTest.java (diff)
The file was addedmodel/base/src/main/java/org/eclipse/ditto/model/base/exceptions/CloudEventNotParsableException.java
The file was modifiedservices/gateway/endpoints/src/main/java/org/eclipse/ditto/services/gateway/endpoints/routes/RootRouteBuilder.java (diff)
The file was modifiedservices/gateway/starter/src/test/java/org/eclipse/ditto/services/gateway/starter/GatewayServiceGlobalErrorRegistryTest.java (diff)
The file was modifieddocumentation/src/main/resources/_data/sidebars/ditto_sidebar.yml (diff)
The file was modifieddocumentation/src/main/resources/pages/ditto/architecture-services-gateway.md (diff)
The file was addedmodel/base/src/main/java/org/eclipse/ditto/model/base/exceptions/CloudEventMissingPayloadException.java
The file was modifiedservices/gateway/endpoints/src/main/java/org/eclipse/ditto/services/gateway/endpoints/routes/AbstractRoute.java (diff)
The file was modifiedlegal/NOTICE.md (diff)
The file was modifiedbom/pom.xml (diff)
The file was addeddocumentation/src/main/resources/pages/ditto/httpapi-protocol-bindings-cloudevents.md
The file was modifiedservices/gateway/starter/src/main/java/org/eclipse/ditto/services/gateway/starter/GatewayRootActor.java (diff)
Commit dc4dc6c32e558ef6896f06fc3eb6a4538602fc5c by Thomas Jaeckle
[#889] review:
* set response-required=false and requested-acks=twin-persisted via DittoHeadersBuilder (accept cloudevent requests with a 202 once persisted)
* undid initializing DittoProtocolAdapter in a special way as this is not required
* fixed that AbstractShardedPersistenceActor did not send back errors when response-required=false and requested-acks=twin-persisted was set in combination
* applied codeformatter / organized imports
* adjusted log statements to contain "CloudEvent"
* adjusted some javadocs

Signed-off-by: Thomas Jaeckle <thomas.jaeckle@bosch.io>
The file was modifiedmodel/base/src/main/java/org/eclipse/ditto/model/base/exceptions/CloudEventNotParsableException.java (diff)
The file was modifiedservices/gateway/endpoints/src/main/java/org/eclipse/ditto/services/gateway/endpoints/routes/cloudevents/CloudEventsRoute.java (diff)
The file was modifiedservices/utils/persistent-actors/src/main/java/org/eclipse/ditto/services/utils/persistentactors/AbstractShardedPersistenceActor.java (diff)
The file was modifiedmodel/base/src/main/java/org/eclipse/ditto/model/base/exceptions/CloudEventMissingPayloadException.java (diff)
The file was modifiedmodel/base/src/main/java/org/eclipse/ditto/model/base/exceptions/CloudEventUnsupportedDataSchemaException.java (diff)
Commit d0ee654d25abcd4e710fe6587b0b5878a1684478 by Thomas Jaeckle
[#889] fixed that protocol headers was not merged with calculated headers e.g. containing authentication information

Signed-off-by: Thomas Jaeckle <thomas.jaeckle@bosch.io>
The file was modifiedservices/gateway/endpoints/src/main/java/org/eclipse/ditto/services/gateway/endpoints/routes/cloudevents/CloudEventsRoute.java (diff)