edgexfoundry / edgex-go

EdgeX Golang Services Monorepo | Owner: Core/Support WG
Apache License 2.0
1.33k stars 483 forks source link

[V2 meta] Refactor update operation to DBClient #3043

Closed weichou1229 closed 3 years ago

weichou1229 commented 3 years ago

🚀 Feature Request

Relevant Package

This feature request is for core-metadata ### Description Refactor update operation to DBClient because deleting and adding to update a record only used for RedisDB. For example, we should refactor the following code snippets to infrastructure layer. https://github.com/edgexfoundry/edgex-go/blob/master/internal/core/metadata/v2/application/device.go#L141-L150
weichou1229 commented 3 years ago

Closed by PR https://github.com/edgexfoundry/edgex-go/pull/3059, https://github.com/edgexfoundry/edgex-go/pull/3065, https://github.com/edgexfoundry/edgex-go/pull/3066, https://github.com/edgexfoundry/edgex-go/pull/3067