Skip to content

Cumulocity Mapper should be able to not overwrite values in inventory if already existing #3666

@TyrManuZ

Description

@TyrManuZ

Currently the mapper will write the inventory.json always to the cloud and with that overwrite the cloud values. Even without the JSON the name and type are always overwritten.

For technical properties that is ok, but properties like the name shouldn't overwrite cloud values.
If a cloud user changes the name after a restart of the tedge it will overwrite these values again.

There should be a way (at least a configuration option) the the mapper is not overwriting.
Maybe we can have two inventory.json. One carrying values that are written with every restart and one with values that are only written if the device does not exist yet.

That was just an idea, maybe there is a better solution

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions