aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/reference.conf
diff options
context:
space:
mode:
authorJakob Odersky <jakob@driver.xyz>2018-10-05 11:43:02 -0700
committerJakob Odersky <jakob@odersky.com>2018-10-09 16:19:39 -0700
commitd858e1ca733407aeeb39d9d85edb26373443a9b9 (patch)
tree28cfd4075c785eea9c2c2588c742d127d483c754 /src/main/resources/reference.conf
parent59007a478595cb0876a65cd603f36d4b870c5c3d (diff)
downloaddriver-core-d858e1ca733407aeeb39d9d85edb26373443a9b9.tar.gz
driver-core-d858e1ca733407aeeb39d9d85edb26373443a9b9.tar.bz2
driver-core-d858e1ca733407aeeb39d9d85edb26373443a9b9.zip
Move resources to corresponding subprojects
Diffstat (limited to 'src/main/resources/reference.conf')
-rw-r--r--src/main/resources/reference.conf81
1 files changed, 0 insertions, 81 deletions
diff --git a/src/main/resources/reference.conf b/src/main/resources/reference.conf
deleted file mode 100644
index 0c3b4e2..0000000
--- a/src/main/resources/reference.conf
+++ /dev/null
@@ -1,81 +0,0 @@
-######################################################################
-# Default settings for driver core. Any settings defined by users of #
-# this library will take precedence. See the documentation of the #
-# Typesafe Config Library (https://github.com/lightbend/config) for #
-# more information. #
-######################################################################
-
-# 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"
- }
-}
-
-# Kamon provides monitoring capabilities
-kamon {
- system-metrics {
- # sigar reports host-specific metrics. Kubernetes takes care of
- # that for Driver services.
- host.enabled = false
-
- # JVM-related metrics
- jmx.enabled = true
- }
-
- statsd {
- hostname = localhost
- port = 8125
- simple-metric-key-generator {
- include-hostname = false
- }
- }
-}