Kitura / Kitura/CloudEnvironment

Support finding configuration information from other platforms or config structures

Open
#3 1 comment 0 reactions 1 assignee Claimed by @youming-lin View on GitHub
Dominant language
Swift
Stars
14
Forks
16
PR merge metrics
No merged PRs in 30d

Description

Right now, CloudConfiguration relies very heavily on the conventions of `VCAP_SERVICES`. We should allow the configuration information to come from not only a path inside `VCAP_SERVICES`, and instead multiple paths that could be compatible with other platforms like Heroku, Amazon AWS, and our Docker deployment.

In other words, we should should support loading files with data that has been the result of something like this:

```
cf env MyApp > config.json
```

But often times, the user will want something even easier, especially the Docker case:

**Some examples:**

I think that a typical config.yml used for a Docker deployment could look like:

```yml
- port: 8080
- services:
- postgresql
- username: robert
- password: pa55w0rd
- hostname: postgresql.bluemix.net
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.