ooici/coi-services — pull request #372 by lukecampbell (2012-11-21 20:28:27+00:00)
Title: Separates PyDAP from registration configuration

This should make load balancing easier to configure.

Adds separate config for pydap gateway

The registration process will use the entry under server for pointing external clients to the the URL
where the datasets can be accessed via DAP. The lightweight dap server (gateway) will use the container
configuration: `container.pydap_gateway.web_server` for the host and port to launch on.

This should make load balancing easier to configure.

Example:
The registration process will have the following config:
```yaml
server:
pydap:
host: pydap.oceanobservatories.org
port: 5000
```

One pydap gateway will have:
```yaml
container:
pydap_gateway:
web_server:
host: pydap-slave1.oceanobservatories.org
port: 9001
```

Another will be
```yaml
container:
pydap_gateway:
web_server:
host: pydap-slave2.oceanobservatories.org
port: 9002
```