Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(overrides): add ability to define extra overrides
- Loading branch information
Raphaël Benitte
committed
Sep 14, 2017
1 parent
f67e248
commit ed1f0d5
Showing
9 changed files
with
353 additions
and
109 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 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 |
---|---|---|
@@ -1,4 +1,12 @@ | ||
port: 8080 | ||
# | ||
# This is the base config file, loaded for all tests | ||
# | ||
port: 8080 | ||
version: 0.0.0 | ||
name: test-app0 | ||
uuid: 01A0 | ||
name: test-app0 | ||
uuid: 01A0 | ||
api: | ||
credentials: | ||
id: base-api-id | ||
key: base-api-key | ||
retries: 3 |
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 |
---|---|---|
@@ -1,16 +1,27 @@ | ||
# | ||
# Defines environment mapping, loaded for all tests | ||
# | ||
PORT: | ||
key: port | ||
key: port | ||
type: number | ||
|
||
NAME: | ||
key: name | ||
|
||
VERSION: version | ||
|
||
ID: | ||
key: id | ||
key: id | ||
type: number | ||
|
||
USE_SSL: | ||
key: useSsl | ||
key: useSsl | ||
type: boolean | ||
|
||
USE_MOCKS: | ||
key: useMocks | ||
key: useMocks | ||
type: boolean | ||
|
||
|
||
API_RETRIES: | ||
key: api.retries | ||
type: number |
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,6 @@ | ||
port: 8082 | ||
version: 0.0.2 | ||
api: | ||
credentials: | ||
key: override-a-api-key | ||
|
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,4 @@ | ||
version: 0.0.3 | ||
api: | ||
credentials: | ||
key: override-b-api-key |
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 |
---|---|---|
@@ -1,3 +1,6 @@ | ||
port: 8081 | ||
port: 8081 | ||
version: 0.0.1 | ||
env: prod | ||
env: prod | ||
api: | ||
credentials: | ||
key: prod-api-key |
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.