Skip to content

Commit 2d438cf

Browse files
committed
## 2.3.32
* Issue #317 switch Context is broken * Issue #318 Broken: http://localhost:8080/taskstate/task/1153/changeorderto/1051 * fixed #319 groovy-all Warning during startup * fixed #320 warning: SLF4J: Class path contains multiple SLF4J bindings. * fixed #321 jar is too fat for deployment on heroku
1 parent 2817b14 commit 2d438cf

File tree

2 files changed

+11
-144
lines changed

2 files changed

+11
-144
lines changed

src/main/java/org/woehlke/simpleworklist/domain/task/Task.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,9 @@ public class Task extends AuditModel implements Serializable, ComparableById<Tas
104104
)
105105
private Long id;
106106

107+
@Version
108+
private Long version;
109+
107110
@ManyToOne(
108111
fetch = FetchType.LAZY,
109112
optional = true,

src/main/resources/application.yml

Lines changed: 8 additions & 144 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ spring:
1212
password: simpleworklistpwd
1313
driverClassName: org.postgresql.Driver
1414
platform: postgresql
15+
continue-on-error: true
1516
jpa:
1617
show-sql: true
1718
open-in-view: true
@@ -23,6 +24,9 @@ spring:
2324
dialect: org.hibernate.dialect.PostgreSQL95Dialect
2425
temp:
2526
use_jdbc_metadata_defaults: false
27+
search:
28+
default:
29+
indexBase: /tmp/simpleworklistsearch
2630
session:
2731
store-type: jdbc
2832
jdbc:
@@ -46,7 +50,7 @@ org:
4650
registration:
4751
maxRetries: 5
4852
ttlEmailVerificationRequest: 86400000
49-
urlHost: ${MAIL_URL_APP_HOST}
53+
urlHost: ${URL_APP_HOST}
5054
mailFrom: ${MAIL_FROM}
5155
webMvc:
5256
controllerPageSize: 10
@@ -86,149 +90,9 @@ org:
8690
spring:
8791
datasource:
8892
url: jdbc:postgresql://localdbhost:5432/simpleworklist
89-
profiles:
90-
active: default
91-
---
92-
spring:
93-
datasource:
94-
url: jdbc:postgresql://localdbhost:5432/simpleworklist_developing
95-
jpa:
96-
hibernate:
97-
ddl-auto: update
98-
#ddl-auto: create-drop
99-
profiles:
100-
active: developing
101-
---
102-
spring:
103-
datasource:
104-
url: jdbc:postgresql://localdbhost:5432/simpleworklist_travis
105-
continue-on-error: true
106-
jpa:
107-
show-sql: false
108-
hibernate:
109-
ddl-auto: update
110-
#ddl-auto: create-drop
111-
profiles:
112-
active: travis
113-
server:
114-
compression:
115-
enabled: false
116-
---
117-
spring:
118-
datasource:
119-
url: jdbc:postgresql://localdbhost:5432/simpleworklist_testing
120-
jpa:
121-
show-sql: false
122-
hibernate:
123-
ddl-auto: update
124-
#ddl-auto: create-drop
125-
profiles:
126-
active: testing
127-
server:
128-
compression:
129-
enabled: false
130-
logging:
131-
config: classpath:logback.xml
132-
level:
133-
org:
134-
woehlke:
135-
simpleworklist: DEBUG
136-
application: DEBUG
137-
config: DEBUG
138-
control:
139-
admin: DEBUG
140-
anonymous: DEBUG
141-
common: DEBUG
142-
user: DEBUG
143-
model:
144-
beans: DEBUG
145-
dao: DEBUG
146-
services: DEBUG
147-
oodm:
148-
entities: DEBUG
149-
repository: DEBUG
150-
services:
151-
impl: DEBUG
152-
---
153-
spring:
154-
datasource:
155-
url: jdbc:postgresql://localdbhost:5432/simpleworklist_qa
156-
continue-on-error: true
157-
jpa:
158-
show-sql: false
159-
hibernate:
160-
ddl-auto: update
161-
#ddl-auto: create-drop
162-
profiles:
163-
active: qa
164-
server:
165-
compression:
166-
enabled: false
167-
logging:
168-
config: classpath:logback.xml
169-
level:
170-
org:
171-
woehlke:
172-
simpleworklist: DEBUG
173-
application: DEBUG
174-
config: DEBUG
175-
control:
176-
admin: DEBUG
177-
anonymous: DEBUG
178-
common: DEBUG
179-
user: DEBUG
180-
model:
181-
beans: DEBUG
182-
dao: DEBUG
183-
services: DEBUG
184-
oodm:
185-
entities: DEBUG
186-
repository: DEBUG
187-
services:
188-
impl: DEBUG
189-
---
190-
spring:
191-
datasource:
192-
url: jdbc:postgresql://localdbhost:5432/simpleworklist_heroku
193-
continue-on-error: true
19493
jpa:
195-
show-sql: false
19694
hibernate:
197-
ddl-auto: update
198-
#ddl-auto: create-drop
199-
properties:
200-
hibernate:
201-
search:
202-
default:
203-
indexBase : /tmp/simpleworklistsearch
204-
thymeleaf:
205-
cache: true
206-
devtools:
207-
livereload:
208-
enabled: false
209-
application:
210-
admin:
211-
enabled: false
95+
#ddl-auto: update
96+
ddl-auto: create-drop
21297
profiles:
213-
active: heroku
214-
server:
215-
compression:
216-
enabled: true
217-
org:
218-
woehlke:
219-
simpleworklist:
220-
registration:
221-
urlHost: simpleworklist.herokuapp.com
222-
logging:
223-
config: classpath:logback.xml
224-
level:
225-
org:
226-
woehlke:
227-
simpleworklist: WARN
228-
apache: WARN
229-
springframework: WARN
230-
thymeleaf: WARN
231-
hibernate: WARN
232-
hibernate.SQL: WARN
233-
ch:
234-
qos: WARN
98+
active: default

0 commit comments

Comments
 (0)