chore(deps): update dependency io.github.wldt:wldt-core to v0.6.0#148
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
chore(deps): update dependency io.github.wldt:wldt-core to v0.6.0#148renovate[bot] wants to merge 1 commit intomainfrom
renovate[bot] wants to merge 1 commit intomainfrom
Conversation
e70474f to
2834bf9
Compare
ec08d69 to
3c5a372
Compare
1dc58aa to
6d019d8
Compare
db43b32 to
a9616a3
Compare
a9616a3 to
aebb79c
Compare
0a929e2 to
ca88354
Compare
ca88354 to
0c469af
Compare
3d8f467 to
d46b2fd
Compare
21b2c0b to
fc9c843
Compare
fc9c843 to
9e23693
Compare
2f71132 to
6e5b88a
Compare
550c0ed to
8048e98
Compare
54afa89 to
bbded38
Compare
bbded38 to
1089643
Compare
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



This PR contains the following updates:
0.3.0→0.6.0Release Notes
wldt/wldt-core-java (io.github.wldt:wldt-core)
v0.6.0WLDT - 0.6.0
Version 0.6.0 introduces a major architectural refactoring of the WLDT core framework alongside critical bug fixes and functional enhancements. This release focuses on improving semantic clarity, fixing data accessibility issues, and enhancing adapter capabilities.
Core Architecture Refactoring
Comprehensive reorganization of Digital Twin components with clearer naming (
DigitalTwinKernelandDigitalTwinModel) that accurately distinguishes orchestration from behavioral logic.The key architectural changes are:
DigitalTwinModel→DigitalTwinKernel: The core orchestrator has been renamed to accurately reflect its role as the fundamental nucleus coordinating all DT componentsShadowingFunction→DigitalTwinModel: The behavioral definition component now properly claims the "Model" terminology, representing the actual logic that defines how the Digital Twin behavesBug Fixes & Enhancements
This release focuses on stability improvements and expanded extensibility for multi-adapter
configurations. Key highlights include the resolution of known storage query limitations,
the introduction of Physical Adapter lifecycle callbacks, automatic source identification
in multi-adapter setups, and richer metadata support in
PhysicalAssetEvent.In particular we have in the release:
correctly, ensuring reliable access to persisted Digital Twin state, events, and lifecycle data.
This removes the need for manual tagging at the application level and improves traceability in complex, multi-source Digital Twin architectures.
PhysicalAssetEvent: A newcontentTypefield (String) has been added to thePhysicalAssetEventclass. This field allows Physical Adapters to communicate the content type of the event body (e.g.application/json,application/cbor) to the Shadowing Function and downstream consumers. The field can be set directly by the developer and is accessible via standard getter and setter methods.v0.5.0WLDT v0.5.0
WLDT v0.5.0 introduces significant enhancements to the Digital Twin framework, emphasizing flexible resource management and a modular logging system. This release enables runtime-configurable resources that can be managed internally by Digital Twin logic and accessed externally via a customizable Management Interface. The new logging layer has been designed to make the library independent from external logging frameworks while allowing developers to fully customize how logs are generated and which logging libraries to use.
Resource Management
New classes introduce a unified, runtime-configurable resource model for Digital Twins (DTs). Resources can be managed internally by DT logic and accessed or updated externally through an abstract Management Interface. The system supports CRUD operations, observers for change notifications, and flexible integration with protocols like REST, MQTT, or gRPC. Key classes include ManagedResource, ResourceManager, ResourceRequest, ResourceResponse, and ManagementInterface. Resources can be dynamically configured at startup or during runtime, enabling adaptable DT behavior and external interaction.
Logging
WLDT now provides a modular logging layer designed for flexibility and easy integration. Developers can use the default console-based logger or implement custom loggers through the WldtLogger, WldtLoggerFactory, and WldtLoggerProvider interfaces. This layer supports multiple log levels, timestamped output, and can be seamlessly replaced or extended to integrate with frameworks like SLF4J, Log4j, or Logback without changing core DT code.
v0.4.0New Features
WldtEventObserver
A new class called
WldtEventObserverhas been introduced to allow a simplified observation of target specific events generated by the Digital Twin and its components such as adapters and the model. Main mapped events and filters are:For each event type dedicated observation and un-observation methods (e.g.,
observePhysicalAssetEvents()andunObservePhysicalAssetEvents()) are available in order to create an instance of the observer and decide which events to receive.To build a
WldtEventObservera dedicated listenerIWldtEventObserverListenershould be implemented by the developer to receive the callbacks related to the incoming events. All the events are of the generic typeWldtEventand it is up to the developer the validate and check the received object and if it match with the expected one.The
WldtEventObserverhas been currently used internally within the library to simplify the implementation and usage of the Storage Layer and the associated Storage Query System as described in the dedicated sections.Storage Layer
A new storage layer has been integrated into the core WLDT library, enabling Digital Twins (DTs) to store data related to the evolution of their state, generated events, and any variations involving properties, events, actions, relationships, and life cycle. The Storage Layer consists of two main components:
The storage layer is designed for easy extension, allowing developers to create and share new storage layers (e.g., using Redis, MySQL, or MongoDB). The provided in-memory implementation serves only for basic development and testing purposes. Similarly, the Query Manager can be extended and customized by developers to implement additional query management features or to enhance the default functionalities provided by the library.
Migration Info: 0.3.0 - 0.4.0
PhysicalAssetRelationshipconstructor has also thetypein order to match theDigitalTwinStateRelationshipand simplify its managementnotifyDigitalTwinStateEventthrows only the ExceptionWldtDigitalTwinStateEventNotificationExceptionwhileEventBusExceptionhas been removedAdditional Improvements & Fixed Bugs
WldtEventBusnow supports the use of topics Wildcard (at the moment only multi-level with the character*). For example with this approach is possible to subscribe to all the events associated to property variations (topic:dt.physical.event.property.*). New methods added toWldtEventBusare:matchWildCardType(String eventType, String filterType): Check if the provided event type match the WildCard TypeisWildCardType(String filterEventType): Check if the provided event type is a WildCard TypeWldtEventTypeshas been introduced to contain all the event types in the WLDT Framework and support internal message exchange. Includes types for events associated and adopted by: i) Physical Adapters; ii) Model and Shadowing Function; and iii) Digital Adapters.EventManagerclass has been added to centralize and simplify the event management in the WLDT Framework providing a set of static methods to publish events associated to a target digital twin and publisher (e.g., the physical adapter of the twin).PhysicalAssetRelationshipclass has also thetypein order to match theDigitalTwinStateRelationshipand simplify its managementModelEnginehas been renamed intoDigitalTwinModelas an initial update for further development of the next version 0.5.0 where the structure of the DT's Model and the associated classes will be improvedConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.