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

Source keys are incorrectly generated when the collect type is not defined in the Connector #131

Closed
NassimBtk opened this issue Mar 20, 2024 · 0 comments · Fixed by #132
Closed
Assignees
Labels
bug Something isn't working

Comments

@NassimBtk
Copy link
Member

Problem

When a collect type (monoInstance or multiInstance) is not specified in a job within the connector, the custom JsonDeserializer improperly computes the node key during its traversal from the source node to the root node. This leads to an incorrect node keys for the source objects, such as ${source::monitors.system.collect.mapping.sources.source_1}, instead of the expected ${source::monitors.system.collect.sources.source_1}.

@NassimBtk NassimBtk added the bug Something isn't working label Mar 20, 2024
@NassimBtk NassimBtk self-assigned this Mar 20, 2024
NassimBtk added a commit that referenced this issue Mar 21, 2024
* Source keys are now generated at the pre processing phase.
* Added unit tests.
* Fixed failed unit tests.
* Removed keys retrieval method from the AbstractMapDeserializer class.
NassimBtk added a commit that referenced this issue Mar 21, 2024
* Source keys are now generated at the pre processing phase.
* Added unit tests.
* Fixed failed unit tests.
* Removed keys retrieval method from the AbstractMapDeserializer class.
NassimBtk added a commit that referenced this issue Mar 21, 2024
* Source keys are now generated at the pre processing phase.
* Added unit tests.
* Fixed failed unit tests.
* Removed keys retrieval method from the AbstractMapDeserializer class.
NassimBtk added a commit that referenced this issue Mar 21, 2024
…keys-are-incorrectly-generated-when-the-collect-type-is-not-defined-in-the-connector

Issue #131: Fixed incorrect source keys when collect type is undefined
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant