Skip to content

Changes

Summary

  1. fixed some module/dependency mess by e.g: (details)
  2. apply naming of Thing.getPolicyEntityId() to getPolicyId() (details)
  3. moved GatewayException and its (rightful) implementations to new module "gateway-api" (details)
  4. enhanced Ditto client by adding the option to configure a "default-namespace" (details)
  5. aligned Jenkinsfile_multibranch_pipeline (details)
  6. futher consolidate Jenkins_multibranch_pipeline (details)
  7. Remove default namespace configuration (details)
  8. fixed nullable expectations if live.commands.modify package (details)
  9. made MessageMapper aware of additional inbound headers to pass additional headers (details)
  10. excluded ThingSearchPublisher method from japicmp-check (details)
  11. Ditto 3.0 preparation: removed deprecated marked code and adjusted japicmp excludes accordingly (details)
  12. added japicmd exclusion (details)
  13. Revert "added japicmd exclusion" (details)
  14. Revert "Ditto 3.0 preparation: removed deprecated marked code and adjusted japicmp excludes accordingly" (details)
Commit de77e323a5550ef9ec621b9200c34941ecbde4de by Thomas Jaeckle
fixed some module/dependency mess by e.g:
* removing SignalInformationPoint from ditto-interna-models-signal (as it pulled in several entity modules); moved funtionality of that interface to Command, Signal, etc. interfaces
* moving HeaderTranslator from ditto-protocol to ditto-base-model
* moving LikeHelper from ditto-rql-query to ditto-base-model
* moved ConciergeForwarderActor and ShardRegions to ditto-edge-api
* moved PolicyEnforcer from ditto-internal-utils-cache-loaders to ditto-policies-enforcement
* created DittoSystemProperties inn ditto-base-model for commonly used system properties in order to avoid dependencies to models where not necessary
* moved ThingCommandEnforcement, LiveSignalEnforcement, etc. from ditto-policies-enforcement to ditto-things-service where they should be located in the end

Signed-off-by: Thomas Jaeckle <thomas.jaeckle@bosch.io>
The file was modified java/src/test/java/org/eclipse/ditto/client/live/TestConstants.java (diff)
The file was modified java/src/test/java/org/eclipse/ditto/client/streaming/ThingSearchPublisherVerificationTest.java (diff)
The file was modified java/src/main/java/org/eclipse/ditto/client/internal/AbstractHandle.java (diff)
The file was modified java/src/test/java/org/eclipse/ditto/client/messaging/internal/MockMessagingProvider.java (diff)
Commit c3c3e381c00791ceb8746456655be0d60b7d9bca by Thomas Jaeckle
apply naming of Thing.getPolicyEntityId() to getPolicyId()

Signed-off-by: Thomas Jaeckle <thomas.jaeckle@bosch.io>
The file was modified java/src/test/java/org/eclipse/ditto/client/DittoClientUsageExamples.java (diff)
Commit 93023fbf71ea18ffcf1e69cd94df169b224158f4 by Thomas Jaeckle
moved GatewayException and its (rightful) implementations to new module "gateway-api"
* added first "pass through" implementation of ConnectionEnforcerActor and ConnectivityCommandEnforcement
* made CleanupCommand a SudoCommand
* moved Signal.hasTypePrefix to WithType.hasTypePrefix and added constants for commonly known commands in WithType
* moved exceptions around and fixed DittoRuntimeExceptions with missing prefixes, e.g. added ProtocolAdapterException for ditto-protocol-adapter

Signed-off-by: Thomas Jaeckle <thomas.jaeckle@bosch.io>
The file was modified java/src/test/java/org/eclipse/ditto/client/DittoClientTwinSearchTest.java (diff)
Commit 2fa3bf0ce1340d88302a18525fe6693008b393b3 by Thomas Jaeckle
enhanced Ditto client by adding the option to configure a "default-namespace"
* to use when creating new things/policies without specifying an ID

Signed-off-by: Thomas Jaeckle <thomas.jaeckle@bosch.io>
The file was modified java/src/main/java/org/eclipse/ditto/client/configuration/WebSocketMessagingConfiguration.java (diff)
The file was modified java/pom.xml (diff)
The file was modified java/src/main/java/org/eclipse/ditto/client/messaging/MessagingProvider.java (diff)
The file was modified java/src/main/java/org/eclipse/ditto/client/management/CommonManagement.java (diff)
The file was modified java/src/main/java/org/eclipse/ditto/client/configuration/MessagingConfiguration.java (diff)
The file was modified java/src/main/java/org/eclipse/ditto/client/internal/DefaultDittoClient.java (diff)
Commit 5a8b68f328c7dfc7dcf52ac26d391997755fafd6 by Thomas Jaeckle
aligned Jenkinsfile_multibranch_pipeline

Signed-off-by: Thomas Jaeckle <thomas.jaeckle@bosch.io>
The file was modified java/Jenkinsfile_multibranch_pipeline (diff)
Commit 6e36b4c95e5f80876bc46dbb46f6932f212a29b7 by Thomas Jaeckle
futher consolidate Jenkins_multibranch_pipeline

Signed-off-by: Thomas Jaeckle <thomas.jaeckle@bosch.io>
The file was modified java/Jenkinsfile_multibranch_pipeline (diff)
Commit 262a8fe3ebf574b3340edba3a9ebc2be8143a367 by Yannic Klem
Remove default namespace configuration

* This adds unnecessary complexity/dependency.
  It's required that client and ditto instance have same config, otherwise
  things went strange. Leave responsibility for resolving the default
  namespace to the service.

Signed-off-by: Yannic Klem <Yannic.Klem@bosch.io>
The file was modified java/src/main/java/org/eclipse/ditto/client/internal/DefaultDittoClient.java (diff)
The file was modified java/src/main/java/org/eclipse/ditto/client/configuration/MessagingConfiguration.java (diff)
The file was modified java/src/main/java/org/eclipse/ditto/client/configuration/WebSocketMessagingConfiguration.java (diff)
Commit d32b40e83db451790e1434b04064419f64da764d by Thomas Jaeckle
fixed nullable expectations if live.commands.modify package

Signed-off-by: Thomas Jaeckle <thomas.jaeckle@bosch.io>
The file was modified java/src/main/java/org/eclipse/ditto/client/live/commands/modify/package-info.java (diff)
The file was modified java/src/main/java/org/eclipse/ditto/client/live/commands/modify/CreateThingLiveCommandImpl.java (diff)
Commit b039f6f42044f94f3415bd2622d80c61146cb19b by Thomas Jaeckle
made MessageMapper aware of additional inbound headers to pass additional headers
* fixed ExecutePiggybackCommand serialization / deserialization at DevOpsRoute by including the sent "headers"
* made AddConnectionLogEntry a SudoCommand and moved it accordingly
* pulled out SudoAddConnectionLogEntryStrategy as separate strategy
* got rid of explicit knowledge of "connectivityShardRegionProxy" in gateway, instead delegate connectivity commands via edge command forwarder
* moved "ThingsOutOfSync" event to search api module
* made "StreamThings" search command a SudoCommand

Signed-off-by: Thomas Jaeckle <thomas.jaeckle@bosch.io>
The file was modified java/src/main/java/org/eclipse/ditto/client/streaming/ThingSearchPublisher.java (diff)
Commit aaf24c5b7e756fb7b08f4fa211a17000e3e5adff by Thomas Jaeckle
excluded ThingSearchPublisher method from japicmp-check

Signed-off-by: Thomas Jaeckle <thomas.jaeckle@bosch.io>
The file was modified java/pom.xml (diff)
Commit 25fbb83cda80b2ff707b4f5cd66316d72fa889e2 by Thomas Jaeckle
Ditto 3.0 preparation: removed deprecated marked code and adjusted japicmp excludes accordingly

Signed-off-by: Thomas Jaeckle <thomas.jaeckle@bosch.io>
The file was modified java/src/main/java/org/eclipse/ditto/client/live/commands/query/RetrieveThingsLiveCommand.java (diff)
Commit cc23bdb45b5133db1c43e064f9a51b474fb4f837 by Thomas Jaeckle
added japicmd exclusion

Signed-off-by: Thomas Jaeckle <thomas.jaeckle@bosch.io>
The file was modified java/pom.xml (diff)
Commit 0dda4ea22dd143531362a7d4c30a15b357a5f3ce by Thomas Jaeckle
Revert "added japicmd exclusion"

This reverts commit cc23bdb45b5133db1c43e064f9a51b474fb4f837.
The file was modified java/pom.xml (diff)
Commit a37db9cddcde94eb301528b8fcf74594ca988a96 by Thomas Jaeckle
Revert "Ditto 3.0 preparation: removed deprecated marked code and adjusted japicmp excludes accordingly"

This reverts commit 25fbb83cda80b2ff707b4f5cd66316d72fa889e2.
The file was modified java/src/main/java/org/eclipse/ditto/client/live/commands/query/RetrieveThingsLiveCommand.java (diff)