-
Notifications
You must be signed in to change notification settings - Fork 484
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor!: Change configuration file format to YAML
BREAKING CHANGE: Configuration files are now in YAML format, Defualt file name is now configuration.yaml closes # 4452 Signed-off-by: Leonard Goodell <leonard.goodell@intel.com>
- Loading branch information
Leonard Goodell
committed
Mar 20, 2023
1 parent
d06f110
commit 3efd87f
Showing
59 changed files
with
510 additions
and
537 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
Writable: | ||
LogLevel: INFO | ||
InsecureSecrets: | ||
mqtt: | ||
SecretName: mqtt | ||
SecretData: | ||
username: "" | ||
password: "" | ||
cacert: "" | ||
clientcert: "" | ||
clientkey: "" | ||
Service: | ||
Host: localhost | ||
Port: 59882 | ||
StartupMsg: "This is the Core Command Microservice" | ||
Clients: | ||
core-metadata: | ||
Protocol: http | ||
Host: localhost | ||
Port: 59881 | ||
ExternalMQTT: | ||
Enabled: false | ||
Url: "tcp://localhost:1883" | ||
ClientId: core-command | ||
ConnectTimeout: 5s | ||
AutoReconnect: true | ||
KeepAlive: 10 | ||
QoS: 0 | ||
Retain: true | ||
SkipCertVerify: false | ||
SecretName: mqtt | ||
AuthMode: none | ||
Topics: | ||
CommandRequestTopic: edgex/command/request/# # for subscribing to 3rd party command requests | ||
CommandResponseTopicPrefix: edgex/command/response # for publishing responses back to 3rd party systems /<device-name>/<command-name>/<method> will be added to this publish topic prefix | ||
CommandQueryRequestTopic: edgex/commandquery/request/# # for subscribing to 3rd party command query request | ||
CommandQueryResponseTopic: edgex/commandquery/response # for publishing responses back to 3rd party systems | ||
|
||
# uncomment when running from command-line in hybrid mode with -cp -o flags | ||
#Registry: | ||
# Host: "localhost" | ||
|
||
MessageBus: | ||
# Host: localhost # uncomment when running from command-line in hybrid mode | ||
Optional: | ||
ClientId: core-command | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
MaxEventSize: 25000 # Defines the maximum event size in kilobytes | ||
Writable: | ||
LogLevel: "INFO" | ||
PersistData: true | ||
Telemetry: | ||
Metrics: # All service's metric names must be present in this list. | ||
EventsPersisted: false | ||
ReadingsPersisted: false | ||
# Tags: # Contains the service level tags to be attached to all the service's metrics | ||
## Gateway="my-iot-gateway" # Tag must be added here or via Consul Env Override can only change existing value, not added new ones. | ||
Service: | ||
Port: 59880 | ||
Host: "localhost" | ||
StartupMsg: "This is the Core Data Microservice" | ||
|
||
# uncomment when running from command-line in hybrid mode with -cp -o flags | ||
#Registry: | ||
# Host: "localhost" | ||
|
||
MessageBus: | ||
# Host: localhost # uncomment when running from command-line in hybrid mode | ||
Optional: | ||
ClientId: "core-data" | ||
|
||
Database: | ||
# Host: "localhost" # uncomment when running from command-line in hybrid mode | ||
Name: "coredata" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
Writable: | ||
LogLevel: INFO | ||
ProfileChange: | ||
StrictDeviceProfileChanges: false | ||
StrictDeviceProfileDeletes: false | ||
UoM: | ||
Validation: false | ||
Service: | ||
Host: localhost | ||
Port: 59881 | ||
StartupMsg: "This is the EdgeX Core Metadata Microservice" | ||
UoM: | ||
UoMFile: ./res/uom.yaml | ||
|
||
# uncomment when running from command-line in hybrid mode with -cp -o flags | ||
#Registry: | ||
# Host: "localhost" | ||
|
||
MessageBus: | ||
# Host: "localhost" # uncomment when running from command-line in hybrid mode | ||
Optional: | ||
ClientId: core-metadata | ||
|
||
Database: | ||
# Host: "localhost" # uncomment when running from command-line in hybrid mode | ||
Name: metadata | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# | ||
# Copyright (c) 2023 Intel Corporation | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
|
||
LogLevel: DEBUG | ||
SecretStore: | ||
Type: vault | ||
Protocol: http | ||
Host: localhost | ||
Port: 8200 | ||
CertPath: "" | ||
CaFilePath: "" | ||
CertFilePath: "" | ||
KeyFilePath: "" | ||
# for root token use: /vault/config/assets | ||
# for service token use: /tmp/edgex/secrets/security-proxy-setup | ||
TokenFolderPath: /vault/config/assets | ||
# for root token use: resp-init.json | ||
# for service token use: secrets-token.json | ||
TokenFile: resp-init.json | ||
|
||
# FIXME whittle this down more |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.