application.yml 8.14 KB
Newer Older
dietricf's avatar
dietricf committed
1
2
3
4
5
6
7
8
9
10
11
12
#  *******************************************************************************
#  Copyright (c) 2019 Contributors to the Eclipse Foundation
#
#  See the NOTICE file(s) distributed with this work for additional
#  information regarding copyright ownership.
#
#  This program and the accompanying materials are made available under the
#  terms of the Eclipse Public License v. 2.0 which is available at
#  http://www.eclipse.org/legal/epl-2.0.
#
#  SPDX-License-Identifier: EPL-2.0
#  *******************************************************************************
13
backend-version: 0.0.1
dietricf's avatar
dietricf committed
14
15
16
17
18
19
20
spring:
  datasource:
    url: jdbc:postgresql://entopticadirx:5432/GridFailureInfoDevServer
    username: gfi_service
    password: gfi_service
  flyway:
    enabled: false
21
22
23
24
25
  rabbitmq:
    host: entdockergss
    port: 5672
    username: guest
    password: guest
26
27
28
    queuename: failureImportQueue
    routingkey: failureImportChannel.failureImportKey
    exchangename: failureImportChannel
29

dietricf's avatar
dietricf committed
30
31
32
33
34
35
36
37
38

server:
  max-http-header-size: 262144

jwt:
  tokenHeader: Authorization
  useStaticJwt: false
  staticJwt: x

39
40
41
gridFailureInformation:
  maxListSize: 2000

dietricf's avatar
dietricf committed
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
services:
  authNAuth:
    name: authNAuthService

authNAuthService:
  ribbon:
    listOfServers: http://entopkon:8880

feign:
  client:
    config:
      default:
        connectTimeout: 60000
        readTimeout: 60000
cors:
  corsEnabled: false

dietricf's avatar
dietricf committed
59
60
61
process:
  definitions:
    classification:
62
      plannedMeasureDbid: 2
dietricf's avatar
dietricf committed
63

64
65
66
67
email:
  sender: sender@olaf.senderson
  smtpHost: entdockergss
  port: 1025
dietricf's avatar
dietricf committed
68
69
70
71
72
73
---

spring:
  profiles: test
  datasource:
    url: jdbc:h2:mem:test;DB_CLOSE_DELAY=-1
74
75
76
77
78

rabbitmq:
  listener:
    simple:
      auto-startup: false
dietricf's avatar
dietricf committed
79
80
81
82
83
84
85
86
87
88
jpa:
  hibernate:
    ddl-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f8ujSI_6LVYuHx8FTt6g9tinyVcx5gQKfrooRW28Cdq1EVuexNtTtZ7ciKk4iEo_kgqUgRvHCwO7HQl2igpoGErheYD0kj3-u4Te6NPHKtXWIEfGyl0ZQBD2c4vtaCTQAy5Ilb146G7p_IcLYaZgpJPlGG0Bf2oZ0UqTQsrXxRJkXWARDz8D4lIrN84lAbqNlPlSZDN-8xp_z6mXgWpvgeZuFoYHItJMg2cjR0SXH-ycbWVXctRNQJfTWR0acIhp_nB_Xe6JlUx2vls99EVw-WUrd0hc8Y9658HdeyktvpQLDxP2g
dietricf's avatar
dietricf committed
90

91
92
93
94
email:
  sender: sender@olaf.senderson
  smtpHost: localhost
  port: 3025
dietricf's avatar
dietricf committed
95
96
---

97
98
99
100
101
102
103
104
105
106
107
108
109
spring:
  profiles: testCors

datasource:
  url: jdbc:h2:mem:test;DB_CLOSE_DELAY=-1
flyway:
  enabled: false

cors:
  corsEnabled: true

---

dietricf's avatar
dietricf committed
110
111
112
113
114
115
spring:
  profiles: devserver

jwt:
  tokenHeader: Authorization
  useStaticJwt: false
116
  staticJwt: eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJIYlI3Z2pobmE2eXJRZnZJTWhUSV9tY2g3ZmtTQWVFX3hLTjBhZVl0bjdjIn0.eyJqdGkiOiJlMmQ2YjE3Zi1iMWUyLTQxMzUtOTM1YS0zOWRiMmFkMzE5MjYiLCJleHAiOjE1ODYwMTI1MzUsIm5iZiI6MCwiaWF0IjoxNTg2MDEyMjM1LCJpc3MiOiJodHRwOi8vbG9jYWxob3N0OjgwODAvYXV0aC9yZWFsbXMvRWxvZ2Jvb2siLCJhdWQiOiJlbG9nYm9vay1iYWNrZW5kIiwic3ViIjoiMzMzMmRmOWItYmYyMy00Nzg5LThmMmQtM2JhZTM2MzA4YzNkIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZWxvZ2Jvb2stYmFja2VuZCIsImF1dGhfdGltZSI6MCwic2Vzc2lvbl9zdGF0ZSI6IjYxMzRmN2RhLTdlNjQtNDJjNy05NjYyLTY0ZGNhZTk1MjQ5YSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZ3JpZC1mYWlsdXJlLXF1YWxpZmllciIsImdyaWQtZmFpbHVyZS1jcmVhdG9yIiwiZ3JpZC1mYWlsdXJlLWFjY2VzcyIsImdyaWQtZmFpbHVyZS1hZG1pbiIsImdyaWQtZmFpbHVyZS1wdWJsaXNoZXIiXX0sInJlc291cmNlX2FjY2VzcyI6e30sIm5hbWUiOiJTdGF0aWMgSldUIiwicHJlZmVycmVkX3VzZXJuYW1lIjoidGVzdHVzZXJfZ2ZpX3N0YXRpY2p3dCIsImdpdmVuX25hbWUiOiJTdGF0aWMiLCJmYW1pbHlfbmFtZSI6IkpXVCJ9.SWpekZHxlDNWbaaZ2fHlts00c1Xi6yIb0ZMr9f8ujSI_6LVYuHx8FTt6g9tinyVcx5gQKfrooRW28Cdq1EVuexNtTtZ7ciKk4iEo_kgqUgRvHCwO7HQl2igpoGErheYD0kj3-u4Te6NPHKtXWIEfGyl0ZQBD2c4vtaCTQAy5Ilb146G7p_IcLYaZgpJPlGG0Bf2oZ0UqTQsrXxRJkXWARDz8D4lIrN84lAbqNlPlSZDN-8xp_z6mXgWpvgeZuFoYHItJMg2cjR0SXH-ycbWVXctRNQJfTWR0acIhp_nB_Xe6JlUx2vls99EVw-WUrd0hc8Y9658HdeyktvpQLDxP2g
dietricf's avatar
dietricf committed
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132

server:
  port: 9165

cors:
  corsEnabled: true


---

spring:
  profiles: devserver-unsecure

jwt:
  tokenHeader: Authorization
  useStaticJwt: true
133
  staticJwt: eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJIYlI3Z2pobmE2eXJRZnZJTWhUSV9tY2g3ZmtTQWVFX3hLTjBhZV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srXxRJkXWARDz8D4lIrN84lAbqNlPlSZDN-8xp_z6mXgWpvgeZuFoYHItJMg2cjR0SXH-ycbWVXctRNQJfTWR0acIhp_nB_Xe6JlUx2vls99EVw-WUrd0hc8Y9658HdeyktvpQLDxP2g
dietricf's avatar
dietricf committed
134
135
136
137
138
139
140
141
142
143
144
145

server:
  port: 9166

cors:
  corsEnabled: true

---

spring:
  profiles: qserver
  datasource:
146
    url: jdbc:postgresql://localhost:5432/GridFailureInfoQaServer
dietricf's avatar
dietricf committed
147
148
149
150
    username: gfi_service
    password: gfi_service
  flyway:
    enabled: false
151
152
153
154
155
156
157
158
  rabbitmq:
    host: localhost
    port: 5672
    username: guest
    password: guest
    queuename: failureImportQueue
    routingkey: failureImportChannel.failureImportKey
    exchangename: failureImportChannel
dietricf's avatar
dietricf committed
159
160
161
162
163
164
165
166
167
168
169

server:
  port: 9165
  max-http-header-size: 262144
  servlet:
    session:
      tracking-modes: cookie

jwt:
  tokenHeader: Authorization
  useStaticJwt: false
170
  staticJwt: eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJIYlI3Z2pobmE2eXJRZnZJTWhUSV9tY2g3ZmtTQWVFX3hLTjBhZVl0bjdjIn0.eyJqdGkiOiJlMmQ2YjE3Zi1iMWUyLTQxMzUtOTM1YS0zOWRiMmFkMzE5MjYiLCJleHAiOjE1ODYwMTI1MzUsIm5iZiI6MCwiaWF0IjoxNTg2MDEyMjM1LCJpc3MiOiJodHRwOi8vbG9jYWxob3N0OjgwODAvYXV0aC9yZWFsbXMvRWxvZ2Jvb2siLCJhdWQiOiJlbG9nYm9vay1iYWNrZW5kIiwic3ViIjoiMzMzMmRmOWItYmYyMy00Nzg5LThmMmQtM2JhZTM2MzA4YzNkIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZWxvZ2Jvb2stYmFja2VuZCIsImF1dGhfdGltZSI6MCwic2Vzc2lvbl9zdGF0ZSI6IjYxMzRmN2RhLTdlNjQtNDJjNy05NjYyLTY0ZGNhZTk1MjQ5YSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZ3JpZC1mYWlsdXJlLXF1YWxpZmllciIsImdyaWQtZmFpbHVyZS1jcmVhdG9yIiwiZ3JpZC1mYWlsdXJlLWFjY2VzcyIsImdyaWQtZmFpbHVyZS1hZG1pbiIsImdyaWQtZmFpbHVyZS1wdWJsaXNoZXIiXX0sInJlc291cmNlX2FjY2VzcyI6e30sIm5hbWUiOiJTdGF0aWMgSldUIiwicHJlZmVycmVkX3VzZXJuYW1lIjoidGVzdHVzZXJfZ2ZpX3N0YXRpY2p3dCIsImdpdmVuX25hbWUiOiJTdGF0aWMiLCJmYW1pbHlfbmFtZSI6IkpXVCJ9.SWpekZHxlDNWbaaZ2fHlts00c1Xi6yIb0ZMr9f8ujSI_6LVYuHx8FTt6g9tinyVcx5gQKfrooRW28Cdq1EVuexNtTtZ7ciKk4iEo_kgqUgRvHCwO7HQl2igpoGErheYD0kj3-u4Te6NPHKtXWIEfGyl0ZQBD2c4vtaCTQAy5Ilb146G7p_IcLYaZgpJPlGG0Bf2oZ0UqTQsrXxRJkXWARDz8D4lIrN84lAbqNlPlSZDN-8xp_z6mXgWpvgeZuFoYHItJMg2cjR0SXH-ycbWVXctRNQJfTWR0acIhp_nB_Xe6JlUx2vls99EVw-WUrd0hc8Y9658HdeyktvpQLDxP2g
dietricf's avatar
dietricf committed
171
172
173
174
175
176
177
178
179
180

services:
  authNAuth:
    name: authNAuthService

authNAuthService:
  ribbon:
    listOfServers: http://localhost:8080

cors:
181
182
183
184
185
186
  corsEnabled: true

email:
  sender: sender@olaf.senderson
  smtpHost: localhost
  port: 1025