ericisme 6 jaren geleden
bovenliggende
commit
71dca7a358
1 gewijzigde bestanden met toevoegingen van 145 en 0 verwijderingen
  1. 145 0
      ms1.yml

+ 145 - 0
ms1.yml

@@ -0,0 +1,145 @@
1
+# ===================================================================
2
+# Spring Boot configuration.
3
+#
4
+# This configuration will be overridden by the Spring profile you use,
5
+# for example application-dev.yml if you use the "dev" profile.
6
+#
7
+# More information on profiles: http://www.jhipster.tech/profiles/
8
+# More information on configuration properties: http://www.jhipster.tech/common-application-properties/
9
+# ===================================================================
10
+
11
+# ===================================================================
12
+# Standard Spring Boot properties.
13
+# Full reference is available at:
14
+# http://docs.spring.io/spring-boot/docs/current/reference/html/common-application-properties.html
15
+# ===================================================================
16
+
17
+eureka:
18
+    client:
19
+        enabled: true
20
+        healthcheck:
21
+            enabled: true
22
+        fetch-registry: true
23
+        register-with-eureka: true
24
+        instance-info-replication-interval-seconds: 10
25
+        registry-fetch-interval-seconds: 10
26
+    instance:
27
+        appname: ms1
28
+        instanceId: ms1:${spring.application.instance-id:${random.value}}
29
+        lease-renewal-interval-in-seconds: 5
30
+        lease-expiration-duration-in-seconds: 10
31
+        status-page-url-path: ${management.context-path}/info
32
+        health-check-url-path: ${management.context-path}/health
33
+        metadata-map:
34
+            zone: primary # This is needed for the load balancer
35
+            profile: ${spring.profiles.active}
36
+            version: ${info.project.version}
37
+ribbon:
38
+    eureka:
39
+        enabled: true
40
+# See https://github.com/Netflix/Hystrix/wiki/Configuration
41
+#hystrix:
42
+#    command:
43
+#        default:
44
+#            execution:
45
+#                isolation:
46
+#                    thread:
47
+#                        timeoutInMilliseconds: 10000
48
+# See https://github.com/spring-cloud/spring-cloud-netflix/issues/1330
49
+feign:
50
+    hystrix:
51
+        enabled: true
52
+
53
+hystrix:
54
+    share-security-context: true
55
+
56
+management:
57
+    security:
58
+        roles: ADMIN
59
+    context-path: /management
60
+    info:
61
+        git:
62
+            mode: full
63
+    health:
64
+        mail:
65
+            enabled: false # When using the MailService, configure an SMTP server and set this to true
66
+spring:
67
+    application:
68
+        name: ms1
69
+    jackson:
70
+        serialization.write_dates_as_timestamps: false
71
+    jpa:
72
+        open-in-view: false
73
+        hibernate:
74
+            ddl-auto: none
75
+            naming:
76
+                physical-strategy: org.springframework.boot.orm.jpa.hibernate.SpringPhysicalNamingStrategy
77
+                implicit-strategy: org.springframework.boot.orm.jpa.hibernate.SpringImplicitNamingStrategy
78
+    messages:
79
+        basename: i18n/messages
80
+    mvc:
81
+        favicon:
82
+            enabled: false
83
+    thymeleaf:
84
+        mode: XHTML
85
+security:
86
+    basic:
87
+        enabled: false
88
+    oauth2:
89
+        resource:
90
+            filter-order: 3
91
+
92
+server:
93
+    session:
94
+        cookie:
95
+            http-only: true
96
+
97
+info:
98
+    project:
99
+        version: #project.version#
100
+
101
+# ===================================================================
102
+# JHipster specific properties
103
+#
104
+# Full reference is available at: http://www.jhipster.tech/common-application-properties/
105
+# ===================================================================
106
+
107
+jhipster:
108
+    async:
109
+        core-pool-size: 2
110
+        max-pool-size: 50
111
+        queue-capacity: 10000
112
+    # By default CORS is disabled. Uncomment to enable.
113
+    #cors:
114
+        #allowed-origins: "*"
115
+        #allowed-methods: "*"
116
+        #allowed-headers: "*"
117
+        #exposed-headers: "Authorization,Link,X-Total-Count"
118
+        #allow-credentials: true
119
+        #max-age: 1800
120
+    mail:
121
+        from: ms1@localhost
122
+    swagger:
123
+        default-include-pattern: /api/.*
124
+        title: ms1 API
125
+        description: ms1 API documentation
126
+        version: 0.0.1
127
+        terms-of-service-url:
128
+        contact-name:
129
+        contact-url:
130
+        contact-email:
131
+        license:
132
+        license-url:
133
+    ribbon:
134
+        display-on-active-profiles: dev
135
+
136
+# ===================================================================
137
+# Application specific properties
138
+# Add your own application properties here, see the ApplicationProperties class
139
+# to have type-safe configuration, like in the JHipsterProperties above
140
+#
141
+# More documentation is available at:
142
+# http://www.jhipster.tech/common-application-properties/
143
+# ===================================================================
144
+
145
+application: