Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#350: Shifted Things service to new configuration style. Had to refac…
…tor Policies service as well to reduce redundancy and fix MongoDB-related config files. Signed-off-by: Juergen Fickel <juergen.fickel@bosch-si.com>
- Loading branch information
Juergen Fickel
committed
Mar 8, 2019
1 parent
dcb4198
commit 3916e5c
Showing
45 changed files
with
919 additions
and
650 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
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
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
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
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
7 changes: 3 additions & 4 deletions
7
services/policies/starter/src/main/resources/policies-docker.conf
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,15 @@ | ||
ditto { | ||
policies { | ||
mongo { | ||
mongodb { | ||
hostname = "mongodb" | ||
hostname = ${?MONGO_DB_HOSTNAME} | ||
port = 27017 | ||
port = ${?MONGO_DB_PORT} | ||
authentication = ${?MONGO_DB_AUTHENTICATION} | ||
database = "policies" | ||
database = ${?MONGO_DB_DATABASE} | ||
uri = "mongodbdb://"${?ditto.policies.mongodb.authentication}${ditto.policies.mongodb.hostname}":"${ditto.policies.mongodb.port}"/"${ditto.policies.mongodb.database} | ||
uri = ${?MONGO_DB_URI} | ||
} | ||
} | ||
|
||
services-utils-config.mongodb.uri = "mongodb://"${?ditto.policies.mongo.authentication}${ditto.policies.mongo.hostname}":"${ditto.policies.mongo.port}"/"${ditto.policies.mongo.database} | ||
services-utils-config.mongodb.uri = ${?MONGO_DB_URI} | ||
} |
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.