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. increase binary compatibility check version to 2.4.0 (details)
  9. fixed nullable expectations if live.commands.modify package (details)
  10. made MessageMapper aware of additional inbound headers to pass additional headers (details)
  11. excluded ThingSearchPublisher method from japicmp-check (details)
  12. Ditto 3.0 preparation: removed deprecated marked code and adjusted japicmp excludes accordingly (details)
  13. added japicmd exclusion (details)
  14. Revert "added japicmd exclusion" (details)
  15. Revert "Ditto 3.0 preparation: removed deprecated marked code and adjusted japicmp excludes accordingly" (details)
  16. Manually shutdown the executor of ThingSearchSubscription. (details)
  17. Transfer ownership of the executor of ThingSearchSubscription to its subscriber to be spec-conform. (details)
  18. Move creation of single threaded executor back into ThingSearchSubscription for spec conformance (Rule 1.03) (details)
  19. Ditto 3.0 preparation: removed deprecated marked code and adjusted japicmp excludes accordingly (details)
  20. updated used dependencies to latest bugfix versions (details)
  21. updated readme.md with new website location (details)
  22. [#181] fix DITTO_DUMMY_AUTH_USER config resolving in DittoClientUsageExamples (details)
  23. [#193] fixed responding to messages in JS client did not preserve the message "headers" (details)
  24. [#169] added `ErrorResponse` type used as "reject" reason in order to access status code together with body (details)
  25. update node versions to test with (details)
  26. add workflow_dispatch to nodejs action (details)
  27. update lerna and node versions to test against to 14, 16, 18 (details)
  28. undid domain change for Ditto website (details)
  29. removed copyright holders from NOTICE.md as they are not required to be listed (details)
  30. updated JS client CHANGELOG.md for upcoming Ditto 3.0.0 release (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/main/java/org/eclipse/ditto/client/internal/AbstractHandle.java (diff)
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/messaging/internal/MockMessagingProvider.java (diff)
The file was modified java/src/test/java/org/eclipse/ditto/client/streaming/ThingSearchPublisherVerificationTest.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/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)
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/configuration/WebSocketMessagingConfiguration.java (diff)
The file was modified java/pom.xml (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 fe24e7952f56d9726542cd7afe522488f45c1626 by noreply
increase binary compatibility check version to 2.4.0
The file was modified java/pom.xml (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/CreateThingLiveCommandImpl.java (diff)
The file was modified java/src/main/java/org/eclipse/ditto/client/live/commands/modify/package-info.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)
Commit 5bcb8ffea715892a93c1b71122a10026491d8411 by Yufei Cai
Manually shutdown the executor of ThingSearchSubscription.

Some JVMs do not shutdown single threaded executors when they
are garbage collected.

Signed-off-by: Yufei Cai <yufei.cai@bosch.io>
The file was modified java/src/main/java/org/eclipse/ditto/client/streaming/ThingSearchSubscription.java (diff)
The file was modified java/src/main/java/org/eclipse/ditto/client/streaming/SpliteratorSubscriber.java (diff)
The file was modified java/src/test/java/org/eclipse/ditto/client/streaming/ThingSearchPublisherTest.java (diff)
Commit 00fb138cd7e6bef924547f5a825c85a042aa392e by Yufei Cai
Transfer ownership of the executor of ThingSearchSubscription to its subscriber to be spec-conform.

Signed-off-by: Yufei Cai <yufei.cai@bosch.io>
The file was modified java/src/main/java/org/eclipse/ditto/client/streaming/ThingSearchSubscription.java (diff)
The file was modified java/src/test/java/org/eclipse/ditto/client/streaming/ThingSearchPublisherTest.java (diff)
The file was modified java/src/main/java/org/eclipse/ditto/client/streaming/SpliteratorSubscriber.java (diff)
Commit 103ed265ae4301d1440dda5879b4ee11384e4f99 by Yufei Cai
Move creation of single threaded executor back into ThingSearchSubscription for spec conformance (Rule 1.03)

Signed-off-by: Yufei Cai <yufei.cai@bosch.io>
The file was modified java/src/main/java/org/eclipse/ditto/client/streaming/ThingSearchSubscription.java (diff)
The file was modified java/src/main/java/org/eclipse/ditto/client/streaming/SpliteratorSubscriber.java (diff)
Commit b40d3ad89d982ba3d4922872ec24d7552422ce25 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/pom.xml (diff)
The file was modified java/src/main/java/org/eclipse/ditto/client/live/commands/query/RetrieveThingsLiveCommand.java (diff)
Commit 14892271d167d3ca2b07030fb65fa7bda7c0343e by Thomas Jaeckle
updated used dependencies to latest bugfix versions
* and updated NOTICE-THIRD-PARTY and other dependency files

Signed-off-by: Thomas Jaeckle <thomas.jaeckle@bosch.io>
The file was modified legal/NOTICE-THIRD-PARTY.md (diff)
The file was modified legal/3rd-party-dependencies/compile.txt (diff)
The file was modified java/pom.xml (diff)
The file was modified legal/3rd-party-dependencies/test.txt (diff)
Commit d19015170991ad20439360b815b1b4bd577e66bd by noreply
updated readme.md with new website location
The file was modified README.md (diff)
Commit 0316286dacd0a93fb92c3838102a5646c059af15 by Thomas Jaeckle
[#181] fix DITTO_DUMMY_AUTH_USER config resolving in DittoClientUsageExamples

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 5eb16b7961fc7f3b338436aed26c8082363ed4e0 by Thomas Jaeckle
[#193] fixed responding to messages in JS client did not preserve the message "headers"

Signed-off-by: Thomas Jaeckle <thomas.jaeckle@bosch.io>
The file was modified javascript/lib/api/src/client/handles/events.ts (diff)
The file was modified javascript/lib/api/tests/client/websocket/commands.websocket.spec.ts (diff)
The file was modified javascript/lib/api/src/model/ditto-protocol.ts (diff)
The file was modified javascript/lib/api/tests/client/websocket/messages.websocket.spec.ts (diff)
The file was modified javascript/lib/api/src/client/request-factory/websocket-request-handler.ts (diff)
The file was modified javascript/lib/api/tests/client/websocket/events.websocket.spec.ts (diff)
The file was modified javascript/package-lock.json (diff)
Commit 72b44b31390c599e3e70c11d7043a41fdbff7833 by Thomas Jaeckle
[#169] added `ErrorResponse` type used as "reject" reason in order to access status code together with body
* fixed that only JSON was assumed as body - fall back to any value if error response was not JSON
* updated dependencies to its minor version updates
* update to upcoming Ditto JS client version 3.0.0

Signed-off-by: Thomas Jaeckle <thomas.jaeckle@bosch.io>
The file was modified javascript/package.json (diff)
The file was modified javascript/CHANGELOG.md (diff)
The file was modified javascript/lib/node/src/node-http.ts (diff)
The file was modified javascript/lerna.json (diff)
The file was modified javascript/lib/node/package-lock.json (diff)
The file was modified javascript/lib/api/package-lock.json (diff)
The file was modified javascript/lib/dom/package.json (diff)
The file was modified javascript/lib/api/package.json (diff)
The file was modified javascript/lib/api/src/model/response.ts (diff)
The file was modified javascript/lib/dom/package-lock.json (diff)
The file was modified javascript/lib/node/package.json (diff)
The file was modified javascript/package-lock.json (diff)
Commit 0113d32a45b39e8d7b4617dcce31174634cd3cb6 by noreply
update node versions to test with

to '14', '16', '18'
The file was modified .github/workflows/nodejs.yml (diff)
Commit 9536ec13839c5e0b0508f247ce277a2052e63d62 by noreply
add workflow_dispatch to nodejs action
The file was modified .github/workflows/nodejs.yml (diff)
Commit bbaef29b656f6bfe074682b22c7e06e8eba509ce by Thomas Jaeckle
update lerna and node versions to test against to 14, 16, 18

Signed-off-by: Thomas Jaeckle <thomas.jaeckle@bosch.io>
The file was modified javascript/lib/api/package-lock.json (diff)
The file was modified javascript/lib/api/tests/client/websocket/bufferless.websocket.spec.ts (diff)
The file was modified javascript/lib/dom/package.json (diff)
The file was modified javascript/package-lock.json (diff)
The file was modified javascript/lib/api/package.json (diff)
The file was modified javascript/lib/node/package.json (diff)
The file was modified javascript/lib/api/tests/client/websocket/buffer.websocket.spec.ts (diff)
The file was modified javascript/lib/node/package-lock.json (diff)
The file was modified javascript/lib/dom/package-lock.json (diff)
Commit 361a967f4ac5103505bbd35037611239278f3b32 by Thomas Jaeckle
undid domain change for Ditto website

Signed-off-by: Thomas Jaeckle <thomas.jaeckle@bosch.io>
The file was modified README.md (diff)
Commit 38c77fd154bc644959a4ba6961f6167d9c743031 by Thomas Jaeckle
removed copyright holders from NOTICE.md as they are not required to be listed
* see: https://gitlab.eclipse.org/eclipse/technology/dash/org.eclipse.dash.handbook/-/issues/96

Signed-off-by: Thomas Jaeckle <thomas.jaeckle@bosch.io>
The file was modified NOTICE.md (diff)
The file was modified legal/NOTICE.md (diff)
Commit 5955dc2990c19c440d507a598f79ca887a9a1180 by Thomas Jaeckle
updated JS client CHANGELOG.md for upcoming Ditto 3.0.0 release

Signed-off-by: Thomas Jaeckle <thomas.jaeckle@bosch.io>
The file was modified javascript/lib/node/package.json (diff)
The file was modified javascript/CHANGELOG.md (diff)