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

Adjustments to Ditto java client after elimination of concierge service in Ditto #190

Merged
merged 14 commits into from
Aug 4, 2022

Conversation

thjaeckle
Copy link
Member

Necessary changes following up Ditto PR eclipse-ditto/ditto#1416

thjaeckle and others added 10 commits April 26, 2022 16:51
* 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>
Signed-off-by: Thomas Jaeckle <thomas.jaeckle@bosch.io>
…le "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>
…mespace"

* to use when creating new things/policies without specifying an ID

Signed-off-by: Thomas Jaeckle <thomas.jaeckle@bosch.io>
Signed-off-by: Thomas Jaeckle <thomas.jaeckle@bosch.io>
Signed-off-by: Thomas Jaeckle <thomas.jaeckle@bosch.io>
* 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>
Signed-off-by: Thomas Jaeckle <thomas.jaeckle@bosch.io>
…onal 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>
Signed-off-by: Thomas Jaeckle <thomas.jaeckle@bosch.io>
@thjaeckle thjaeckle added this to the 3.0.0 milestone Jul 28, 2022
…picmp excludes accordingly

Signed-off-by: Thomas Jaeckle <thomas.jaeckle@bosch.io>
Signed-off-by: Thomas Jaeckle <thomas.jaeckle@bosch.io>
…usted japicmp excludes accordingly"

This reverts commit 25fbb83.
@Yannic92 Yannic92 merged commit 35d06f1 into eclipse-ditto:master Aug 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants