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

Feature/new s7 #607

Open
wants to merge 36 commits into
base: master
Choose a base branch
from
Open

Feature/new s7 #607

wants to merge 36 commits into from

Conversation

codepitbull
Copy link
Contributor

Motivation

Resolves #27308

The current PLC4X based implementation has several issues so we decided to switch to a different, easier debuggable library.

Changes

Introduce iot-communication library as part of a new s7-adapter.

@cla-bot cla-bot bot added the cla-signed label Oct 24, 2024
@codepitbull codepitbull marked this pull request as ready for review October 25, 2024 12:24
@codepitbull codepitbull added the do not merge Do not merge until this label is removed. label Oct 25, 2024
sfrehse and others added 20 commits October 28, 2024 14:05
fix(): Fixes the form ordering and captions for file input adapter
…ssword is now cleared or kept. (#609)

* dependent on simple authentication and internal config, the client password is now cleared or kept.

* add conditional import for hivemq-extension-sdk

* corrected path for extension sdk

---------

Co-authored-by: Daniel Krueger <[email protected]>
Epic(23777) : bi-directional-frontend

* feat(23777): init epic

* refactor(25055): refactor route name for workspace

* refactor(25055): refactor edge node to handle user interactions

* chore(25055): add dependencies

* feat(25055): add types for topic tree

* feat(25055): add side panel for the Edge node

* feat(25055): update translations

* feat(25055): add wrapper for the topic tree renderer

* feat(25055): add Nivo sunburst chart

* feat(25055): add treeview chart

* refactor(25055): add option for topics' source in payload

* fix(25055): fix props

* refactor(25055): refactor loader and options

* refactor(25055): refactor component

* refactor(25055): add dummy react query hook for topic metadata

* feat(25055): add JSonSchema browser component

* feat(25055): add JSonSchema browser component

* feat(25055): add support for selected topic

* refactor(25055): move hook to proper location

* feat(25055): add react query hook for topic sampling

* refactor(25055): add topic samples to the explorer

* feat(25055): add a metadata browser to the component

* feat(25055): add a topic sampler to the component

* fix(25055): fix the color scheme

* fix(25055): fix translation

* fix(25055): fix accessibility

* refactor(25055): add central metric

* chore(25055): bit of cleanup

* fix(25055): remove deprecated components

* refactor(25055): add mocks

* fix(25055): fix mutation

* fix(25055): fix type

* refactor(25055): add data type to item

* refactor(25055): rename components

* refactor(25055): refactor stratification

* test(25055): add tests

* test(25055): add tests

* test(25055): add tests

* fix(25055): fix disabled state

* test(25055): fix test

* test(25055): add tests

* test(25055): add tests

* test(25055): add tests

* chore(25055): linting

* test(25055): fix translations

* refactor(25055): refactor the theme constant and updated TODOs

* refactor(25055): updated mocks

* Merge pull request #526

* Merge pull request #527

* Merge pull request #531

* Merge pull request #533

* fix(23777): fix routing

* Merge pull request #539

* Merge pull request #549

* Merge pull request #556

* Merge pull request #559

* chore(23777): fix rebase

* Merge pull request #566

* Merge pull request #579

* refactor(26909): refactor the node toolbar to make right-hand side CT…

* refactor(26909): refactor the device toolbar to move tags on left-han…

* refactor(26909): refactor the translations for consistency

* test(26909): fix tests

* Revert "test(26909): fix tests"

* Revert "refactor(26909): refactor the translations for consistency"

* Revert "refactor(26909): refactor the device toolbar to move tags on …

* Revert "refactor(26909): refactor the node toolbar to make right-hand…

* Merge pull request #590

* Merge pull request #586

* Merge pull request #600

* Merge pull request #619
* deactivate automatic discovery of getters for the ObjectMapper

* fix typo
feature (27489): Add editor for the topic filters

* chore(27489): update OpenAPI stubs

* fix(27489): fix icon of the tag context bar

* chore(27489): fix bug in generated stubs

* feat(27489): add react query hooks for the topic filter API

* test(27489): add tests

* feat(27489): update react query keys

* feat(27489): add component for expandable drawer

* feat(27489): add routing to topic filter management

* feat(27489): add topic filter main drawer

* test(27489): add msw handler

* test(27489): fix basic test wrapper

* feat(27489): add topic filter operation manager

* test(27489): add tests

* test(27489): add tests

* feat(27489): add translations

* refactor(27489): refactor split list editor for generalisation and reuse

* chore(27489): fix bug in generated stubs

* feat(27489): add collection update

* refactor(27489): add collection update

* refactor(27489): add context to the operation hook

* refactor(27489): refactor the array drawer to allow reuse

* refactor(27489): refactor the array drawer to allow reuse

* refactor(27489): update translations

* refactor(27489): update the topic filter editor

* test(27489): fix test

* feat(27489): add schema manager

* feat(27489): add schema validation marker

* feat(27489): add side panel for schema manager

* chore(27489): update openAPI specs

* chore(27489): update openAPI specs

* chore(27489): update openAPI specs

* fix(27489): fix schema and uiSchema for the topic filter form

* fix(27489): fix react query hook

* fix(27489): fix type

* feat(27489): add schema status to the list

* feat(27489): add submit

* feat(27489): add schema viewer to the list

* feat(27489): update translations

* test(27489): add tests

* fix(27489): fix translations

* test(27489): fix tests
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Nicolas Van Labeke <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Nicolas Van Labeke <[email protected]>
fix(27781): Fix extraction of mapping schema

* fix(27781): fix potential bug with missing definitions

* fix(27781): refactor the mocks to utilise definitions

* refactor(27781): add mqtt-topic-filter

* refactor(27781): refactor topic extraction to support topic filters

* fix(27781): fix bug with status update on device links

* refactor(27781): add topics visualisation on outward mappings
* started to add API for sampling payloads

* started to add API for sampling payloads

* add library for json schema inferrence

* fix third-party-license resolution

* refactor queue logic

* cleanup

* add unit test

* add unit test

* Changes from CR
* Started to implement field mapping

* Started to implement field mapping

* add license header

* fix unit tests

* rename getAllUsedTags() to avoid Jackson generation of field

* update constructors
add constructor resolution strategy

* update constructors
add constructor resolution strategy

* fix parameters

* update unit tests

* fix unit tests

* fix unit tests

* migrate file adapter to new tag schema

* start to migrate http to using tags

* start to migrate http to using tags

* migrate opcua protocoladapter to using tags

* migrate opcua protocoladapter to using tags

* migrate plc4x protocol adapter to using tags

* update AbstractOpcUaPayloadConverterTest

* update ads protocol adapter to use tags

* rename tagAddress to tagDefinition
adapt bacnet to tag usage

* rename tagAddress to tagDefinition

* rename tagAddress to tagDefinition

* cleanup

* migrate modbus to tag usage

* revert unintended legacy config changes

* fix TagResourceExamples

* update hivemq-edge-openapi-2024.8-SNAPSHOT.yaml

* add error handling for tags

* Changes from CR

* rework the constructor args for ProtocolAdapterFactory
add some events

* add license headers

* fix unit tests
* start to add persistence for tags

* add default tag.xml
add XSD for tag.xml
add integration tests

* fix DomainTagPersistenceImplTest, cleanup

* code review
* add topic filter persistence and API

* add license headers

* update openapi

* add logic to not allow duplicate topic strings

* change name to description for topic filters
remove name as unique identifier and use filter instead

* update OpenApi
* ignore getter for JsonGenerator

* add API to expose the writing schema

* fix openApi, add IT

* fix ProtocolAdapterManagerTest

* refactor api

* cleanup

* change status code

* add license headers

* fix after rebase
* fix encoding and open api of topixc filters

* fix encoding and open api of topixc filters
add bulk update
codepitbull and others added 9 commits November 11, 2024 22:54
* Starting tags rework

* Everything is building again

* eip-tests working

* file adapter tests working

* http adapter working

* modbus adapter working

* opcua adapter working

* plc4x adapter working

* Move it

* All tests are working

* eip working with new persistence

* Reworked tag config structure

* Remaining tests fixed

* Getting rid of the explicit persistence and moving it into the adaptermanager

* Fixing compile issues

* Added logs

* Applying debugging results

* A last typing change

* Reverting the last typing change because of generics-shenanigans

* npe ...

* Fixed a broken config mapping

* Fixed a mapping problem

* Prevent empty rewrite

* protecting underlying map

* Removed FIXME

* Post rebase cleanup

* Review comments

* Review comments

* add license headers

* Cleaning up mess caused by rebase ...

* update OpenAPI

---------

Co-authored-by: Daniel Krueger <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed do not merge Do not merge until this label is removed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants