Skip to content

Commit

Permalink
[DataStorage] BugFix for Device not found in cache(Issue lf-edge#312)
Browse files Browse the repository at this point in the history
Signed-off-by: Nitu Gupta <nitu.gupta@samsung.com>
  • Loading branch information
nitu-s-gupta committed Aug 25, 2021
1 parent 715ee12 commit e449a30
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions configs/datastorage/configuration.toml
Expand Up @@ -2,7 +2,7 @@
LogLevel = 'DEBUG'

[Service]
Host = 'localhost'
Host = '172.17.0.1'
Port = 49986
ConnectRetries = 20
Labels = []
Expand All @@ -22,13 +22,13 @@ FailWaitTime = 10
[Clients]
[Clients.Data]
Protocol = "http"
Host = "localhost"
Host = "172.17.0.1"
Port = 48080
Timeout = 5000

[Clients.Metadata]
Protocol = "http"
Host = "localhost"
Host = "172.17.0.1"
Port = 48081
Timeout = 5000

Expand Down
2 changes: 2 additions & 0 deletions docs/datastorage.md
Expand Up @@ -34,6 +34,8 @@ The following architecture assumes that data stored at data controller would be
### 4.1 Configuration

- Placement the [`test/container/datastorage/`](../test/container/datastorage/) folder into `/var/edge-orchestration/apps/` in your **Home Edge** with Data Storage (**Device A**).

- For running service in dockers, replace the Host IP of metadata, coredata, service to docker0 IP. For example here it is 172.17.0.1
```sh
$ sudo cp -rf test/container/datastorage/ /var/edge-orchestration/apps/
```
Expand Down

0 comments on commit e449a30

Please sign in to comment.