diff options
author | Kseniya Tomskikh <ktomskikh@driver.xyz> | 2018-10-17 17:02:58 +0800 |
---|---|---|
committer | Kseniya Tomskikh <ktomskikh@driver.xyz> | 2018-10-17 17:02:58 +0800 |
commit | 95c3aeecd7e6ad04ce8d216c09e779f5ca38aa6a (patch) | |
tree | dfc94f20d00c84f9dde120f065bfc9298bdff0dc /core-rest/src/main/resources/reference.conf | |
parent | f5d0b038457ed9d01687f0949e22e08a6b116066 (diff) | |
parent | a43556851bf986b81351fc9f1ae5ba51bf21dc47 (diff) | |
download | driver-core-95c3aeecd7e6ad04ce8d216c09e779f5ca38aa6a.tar.gz driver-core-95c3aeecd7e6ad04ce8d216c09e779f5ca38aa6a.tar.bz2 driver-core-95c3aeecd7e6ad04ce8d216c09e779f5ca38aa6a.zip |
Merge branch 'master' into kseniya/typized-idkseniya/typized-id
Diffstat (limited to 'core-rest/src/main/resources/reference.conf')
-rw-r--r-- | core-rest/src/main/resources/reference.conf | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/core-rest/src/main/resources/reference.conf b/core-rest/src/main/resources/reference.conf new file mode 100644 index 0000000..ea56cb5 --- /dev/null +++ b/core-rest/src/main/resources/reference.conf @@ -0,0 +1,54 @@ +# This scope is for general settings related to the execution of a +# specific service. +application { + baseUrl: "localhost:8080" + environment: "local_testing" + + cors.allowedOrigins: [ + "localhost", + "driver.xyz", + "driver.network", + "cndriver.xyz" + ] +} + +services.dev-overrides { + // {"service1": "http://localhost:8080"}, + // {"service2": "https://stable.sand.driver.network"} +} + +# Settings about the auto-generated REST API documentation. +swagger { + + # Version of the Swagger specification + # (https://swagger.io/specification/). Note that changing this will + # likely require changing the way Swagger is integrated into + # driver-core, involving upgrading libraries and web resources. + apiVersion = "2.0" + + basePath = "/" + + docsPath = "api-docs" + + # Description and usage of the specific API provided by the service + # using this library. + apiInfo { + + # Name of the service + title = "NEW SERVICE (change config swagger.apiInfo)" + + # Description of the service + description = "Please implement swagger info in your new service" + + # Contact for support about this service. + contact { + name = "Driver Inc." + url = "https://driver.xyz" + email = "info@driver.xyz" + } + + termsOfServiceUrl = "TOC Url" + license = "Apache V2" + licenseUrl = "http://www.apache.org/licenses/LICENSE-2.0" + } +} |