Add device capability and get authenticated device list
[platform/core/system/edge-orchestration.git] / patches / configuremgr.patch
1 diff --git a/src/controller/configuremgr/configuremgr.go b/src/controller/configuremgr/configuremgr.go
2 index a70ce04..9094442 100644
3 --- a/src/controller/configuremgr/configuremgr.go
4 +++ b/src/controller/configuremgr/configuremgr.go
5 @@ -29,3 +29,9 @@ type Notifier interface {
6  type Watcher interface {
7         Watch(notifier Notifier)
8  }
9 +
10 +//CapabilityImpl defines interface for read and write of capability DB
11 +type CapabilityImpl interface {
12 +       ReadCapability(deviceIP string) (string, error)
13 +       WriteCapability(capabilityJson string) error
14 +}
15 \ No newline at end of file