edgexfoundry/go-mod-core-contracts

[EdgeX 3.0] Provision Watcher model improvement

Closed this issue ยท 2 comments

๐Ÿš€ Feature Request

Relevant Package [REQUIRED]

This feature request is for core-metadata

Description [REQUIRED]

This is issue is opened for discussing the Provision Watcher model improvment in v3.0.

Describe the solution you'd like

The first suggestion is to modify type of the Identifiers to map[string][]string, which is the same as the BlockingIdentifiers

Another suggestion is to add an extendable field in this object:
Properties map[string]interface
For example, the Device Service can support DeviceNameTemplate to allow users to define the generated device name.

Describe the solution you'd like

The first suggestion is to modify type of the Identifiers to map[string][]string, which is the same as the BlockingIdentifiers

For the type change on PW's Identifiers, we will address it in #592. For this #772, we will simply add an extendable field Properties map[string]any into ProvisionWatcher dto/model.