Skip to content

Configuring Service Catalog

Alexandr Krylovskiy edited this page Aug 20, 2014 · 7 revisions

Overview

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

Configuration File

{
  "name": <string>,
  "dnssdEnabled": <bool>,
  "endpoint": <string>,
  "staticDir": <string>,
  "storage": <string>
}

Where

  • name is a human-readable name for the SC
  • dnssdEnabled NOT IMPLEMENTED reserved to enable DNS-SD advertisement of the catalog on the network
  • endpoint is the bind address and port for the Service Catalog API in the format address:port
  • staticDir is the path to the directory with static files
  • storage is the storage backend. At the moment, only memory is supported

Example

The default configuration file (provided in the binary distribution) is the following:

{
  "name": "Service Catalog",
  "dnssdEnabled": false,
  "endpoint": "0.0.0.0:8002",
  "staticDir": "static",
  "storage": "memory"
}

Clone this wiki locally