aboutsummaryrefslogtreecommitdiff
path: root/jvm/src/main/resources/reference.conf
diff options
context:
space:
mode:
Diffstat (limited to 'jvm/src/main/resources/reference.conf')
-rw-r--r--jvm/src/main/resources/reference.conf67
1 files changed, 67 insertions, 0 deletions
diff --git a/jvm/src/main/resources/reference.conf b/jvm/src/main/resources/reference.conf
new file mode 100644
index 0000000..74ad206
--- /dev/null
+++ b/jvm/src/main/resources/reference.conf
@@ -0,0 +1,67 @@
+######################################################################
+# 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 {
+ allowedMethods: ["GET", "PUT", "POST", "PATCH", "DELETE", "OPTIONS"]
+ allowedOrigins: [
+ {
+ scheme: http
+ hostSuffix: localhost
+ },
+ {
+ scheme: https
+ hostSuffix: driver.xyz
+ },
+ {
+ scheme: https
+ hostSuffix: 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"
+ }
+}