-
Notifications
You must be signed in to change notification settings - Fork 5
Configuring Service Catalog
Alexandr Krylovskiy edited this page Nov 7, 2014
·
7 revisions
Service Catalog is configured using a JSON configuration file, path to which is provided to the SC via -conf flag.
The default configuration file (provided in the binary distribution) is located at
conf/service-catalog.json
{
"description": <string>,
"dnssdEnabled": <bool>,
"bindAddr": <int>,
"bindPort": <int>,
"apiLocation": <string>,
"staticDir": <string>,
"storage": {
"type": <string>
}
}Where
-
descriptionis a human-readable description for the SC -
dnssdEnabledis a flag enabling DNS-SD advertisement of the catalog on the network -
bindAddris the bind address for the Service Catalog API -
bondPortis the bind port for the API -
apiLocationis the API location (path in the endpoint URL) -
staticDiris the path to the directory with static files -
storageis the configuration of the storage backend -
typeis the type of the backend (onlymemoryis currenlty supported)
The default configuration file (provided in the binary distribution) is the following:
{
"description": "Standalone Service Catalog",
"dnssdEnabled": true,
"bindAddr": "0.0.0.0",
"bindPort": 8082,
"apiLocation": "/sc",
"staticDir": "./static",
"storage": {
"type": "memory"
}
}About Patchwork Toolkit
Configuration
- Configuring Device Gateway
- Configuring Devices
- Configuring Device Catalog
- Configuring Service Catalog
- Configuring Services
Deployment examples
- Singleall-in-on-box
- Multiple Device Gateways with optional central Device Catalog
- Using central Service Catalog
API for Application developers
Integrating devices
- TBD...
Third-party integrations