· 6 years ago · May 23, 2019, 03:10 PM
1---
2grails:
3 cors:
4 enabled: true
5 profile: rest-api
6 codegen:
7 defaultPackage: radios.backend
8 spring:
9 transactionManagement:
10 proxies: false
11 gorm:
12 reactor:
13 # Whether to translate GORM events into Reactor events
14 # Disabled by default for performance reasons
15 events: false
16info:
17 app:
18 name: '@info.app.name@'
19 version: '@info.app.version@'
20 grailsVersion: '@info.app.grailsVersion@'
21spring:
22 main:
23 banner-mode: "off"
24 groovy:
25 template:
26 check-template-location: false
27
28# Spring Actuator Endpoints are Disabled by Default
29endpoints:
30 enabled: false
31 jmx:
32 enabled: true
33
34---
35grails:
36 mime:
37 disable:
38 accept:
39 header:
40 userAgents:
41 - Gecko
42 - WebKit
43 - Presto
44 - Trident
45 types:
46 json:
47 - application/json
48 - text/json
49 hal:
50 - application/hal+json
51 - application/hal+xml
52 xml:
53 - text/xml
54 - application/xml
55 atom: application/atom+xml
56 css: text/css
57 csv: text/csv
58 js: text/javascript
59 rss: application/rss+xml
60 text: text/plain
61 all: '*/*'
62 urlmapping:
63 cache:
64 maxsize: 1000
65 controllers:
66 upload:
67 maxFileSize: 10000000
68 maxRequestSize: 10000000
69 defaultScope: singleton
70 converters:
71 encoding: UTF-8
72 plugin:
73 awssdk:
74 accessKey: AKIAJLPZJTGPZSMQWFNQ
75 secretKey: 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
76---
77hibernate:
78 cache:
79 queries: false
80 use_second_level_cache: false
81 use_query_cache: false
82dataSource:
83 pooled: true
84 jmxExport: true
85 driverClassName: com.mysql.cj.jdbc.Driver
86 dialect: org.hibernate.dialect.MySQL5InnoDBDialect
87 username: root
88 password: psys1234!
89 properties:
90 jmxEnabled: true
91 initialSize: 5
92 maxActive: 50
93 minIdle: 5
94 maxIdle: 25
95 maxWait: 10000
96 maxAge: 10 * 60000
97 timeBetweenEvictionRunsMillis: 5000
98 minEvictableIdleTimeMillis: 60000
99 validationQuery: "SELECT 1"
100 validationQueryTimeout: 3
101 validationInterval: 15000
102 testOnBorrow: true
103 testWhileIdle: true
104 testOnReturn: false
105 jdbcInterceptors: "ConnectionState;StatementCache(max=200)"
106 defaultTransactionIsolation: java.sql.Connection.TRANSACTION_READ_COMMITTED
107
108environments:
109 development:
110 aws:
111 s3:
112 baseUrl: https://s3.amazonaws.com
113 bucket:
114 name: radiosneuquenasia
115 dataSource:
116 username: root
117 password: root
118 dbCreate: update
119 url: jdbc:mysql://localhost:3306/RADIOS_ASIA?useUnicode=yes&characterEncoding=UTF-8&useSSL=false
120 test:
121 dataSource:
122 dbCreate: update
123 url: jdbc:h2:mem:testDb;MVCC=TRUE;LOCK_TIMEOUT=10000;DB_CLOSE_ON_EXIT=FALSE
124 production:
125 grails:
126 plugin:
127 awssdk:
128 accessKey: AKIAIH4QOVIEOR3J5XXQ
129 secretKey: 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
130 aws:
131 s3:
132 baseUrl: https://s3.amazonaws.com
133 bucket:
134 name: radioneuquenasia
135 dataSource:
136 username: root
137 password: 344dWCbgDxAyQxAPAHpkwP6fyf
138 dbCreate: update
139 url: "jdbc:mysql://aa1d336rmvxx48f.c0ass9yq5syo.us-east-1.rds.amazonaws.com:3306/ebdb"