Skip to content

Commit

Permalink
refactor: Update to use new Port assignments
Browse files Browse the repository at this point in the history
closes #847

Signed-off-by: lenny <[email protected]>
  • Loading branch information
lenny committed May 19, 2021
1 parent 1540700 commit 261639c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions app-service-template/res/configuration.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ ClientMonitor = '15s'
CheckInterval = '10s'
Host = 'localhost'
ServerBindAddr = '' # Leave blank so default to Host value unless different value is needed.
Port = 49600 # TODO: set this port appropriately
Port = 59750 # TODO: set this port appropriately, App service use port assigments 597xx with lower range 00-20 reserved for app-service-configurable profiles/instances
Protocol = 'http'
ReadMaxLimit = 100
StartupMsg = 'new-app-service Application Service has started'
Expand Down Expand Up @@ -61,7 +61,7 @@ RetryWaitPeriod = "1s"
[Clients.core-data]
Protocol = 'http'
Host = 'localhost'
Port = 48080
Port = 58880

[Trigger]
Type="edgex-messagebus"
Expand Down
6 changes: 3 additions & 3 deletions internal/bootstrap/handlers/clients_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,19 +54,19 @@ func TestClientsBootstrapHandler(t *testing.T) {

coreDataClientInfo := config.ClientInfo{
Host: "localhost",
Port: 48080,
Port: 58880,
Protocol: "http",
}

commandClientInfo := config.ClientInfo{
Host: "localhost",
Port: 48081,
Port: 58882,
Protocol: "http",
}

notificationsClientInfo := config.ClientInfo{
Host: "localhost",
Port: 48082,
Port: 58860,
Protocol: "http",
}

Expand Down

0 comments on commit 261639c

Please sign in to comment.