Jonathan Cobb
e91152f296
set thread name for shutdown hook
4 vuotta sitten
Jonathan Cobb
cd9cf18c90
add baseline-only flag, use that when first-time initializing the database
4 vuotta sitten
Jonathan Cobb
443e62eee7
always disable migration when creating database for the first time
4 vuotta sitten
Jonathan Cobb
1c1b2a475c
disable migrations when creating schema for the first time
4 vuotta sitten
Jonathan Cobb
8c648735d9
disable migration when creating db for the first time
4 vuotta sitten
Jonathan Cobb
0003e387e8
revert flyway init db step
4 vuotta sitten
Jonathan Cobb
9c6caddb0e
add tableExists method, use it
4 vuotta sitten
Jonathan Cobb
7716949a32
check for schema before migrating
4 vuotta sitten
Kristijan Mitrovic
e2783ac80f
Refactor bulk delete method ( #12 )
Merge branch 'master' into kris/refactor_bulk_delete_methods
Allow null as parameters in bulk delete method
Use StringBuilder instead of appending Strings
Use strict types instead of var
Add new method for bulk delete with old signature
Do not use SingletonMap so it may appended
Set bulkDelete's parameters to be non null
Refactor bulkDelete methods
Co-authored-by: jonathan <jonathan@noreply.git.bubblev.org>
Co-authored-by: Kristijan Mitrovic <kmitrovic@itekako.com>
Reviewed-on: https://git.bubblev.org/bubblev/cobbzilla-wizard/pulls/12
4 vuotta sitten
Jonathan Cobb
872834434b
add sismember_plaintext
4 vuotta sitten
Jonathan Cobb
47b03e4b00
revert
4 vuotta sitten
Jonathan Cobb
f57899c202
use constants for common empty responses
4 vuotta sitten
Jonathan Cobb
416d45b5ba
name thread
4 vuotta sitten
Jonathan Cobb
f5acc5d1e9
set thread names in pools
4 vuotta sitten
Jonathan Cobb
7727825b5e
remove unneeded public modifier
4 vuotta sitten
Jonathan Cobb
13fd0bc476
add final
4 vuotta sitten
Jonathan Cobb
cd93673d17
use unique redis prefix for tests
4 vuotta sitten
Jonathan Cobb
9240375cb7
call System.exit when OOME encountered
4 vuotta sitten
Jonathan Cobb
19e7392b8d
add bulkDeleteWhere
4 vuotta sitten
Jonathan Cobb
37708799b3
add RedisService.keys_withPrefix and del_matching_withPrefix
4 vuotta sitten
Kristijan Mitrovic
5d199cbd98
Cleaning redis service and adding ttl getter method ( #11 )
Use strict types instead of var
Merge branch 'master' into kris/refactor_redis_service
Add method for getting TTL for redis entity
Refactor and fix RedisService
Co-authored-by: Kristijan Mitrovic <kmitrovic@itekako.com>
Co-authored-by: jonathan <jonathan@noreply.git.bubblev.org>
Reviewed-on: https://git.bubblev.org/bubblev/cobbzilla-wizard/pulls/11
4 vuotta sitten
Jonathan Cobb
7937eb3f39
pass cascade flag from fk to reference, respect cascade flag in deleteDependencies
4 vuotta sitten
Jonathan Cobb
360ea80674
return unauthorized instead of forbidden when session is required
4 vuotta sitten
Jonathan Cobb
5510f2d656
add flyway note
4 vuotta sitten
Jonathan Cobb
f040b9e909
add findAllByField
4 vuotta sitten
Jonathan Cobb
674a7bed66
allow override of getSessionTimeout(thing)
4 vuotta sitten
Jonathan Cobb
b0e7afe184
add ResourceHttpException.toString
4 vuotta sitten
Kristijan Mitrovic
6e127e3eef
Add findAll method with order ( #9 )
Add findAll method with order
Co-authored-by: Kristijan Mitrovic <kmitrovic@itekako.com>
Reviewed-on: https://git.bubblev.org/bubblev/cobbzilla-wizard/pulls/9
4 vuotta sitten
Jonathan Cobb
ac89c6341f
implement redis pexpire, use for confirmLock
4 vuotta sitten
Jonathan Cobb
8190b432ec
add redis expire command, use when confirming lock
4 vuotta sitten
Jonathan Cobb
773a75f6cc
avoid deleting self when deleting dependencies
4 vuotta sitten
Jonathan Cobb
1310753e0e
allow deleting dependencies with exclusions
4 vuotta sitten
Jonathan Cobb
dd6666e1f7
upgrade jedis, add support for touch command
4 vuotta sitten
Jonathan Cobb
9aa42648fc
add RedisService.del_matching
4 vuotta sitten
Jonathan Cobb
d450510d6f
add more set functions, add rename
4 vuotta sitten
Jonathan Cobb
17d93ddf2d
do not send all locales in json when default locale selected
4 vuotta sitten
Jonathan Cobb
9f74067d58
do not use defaultedmap, just check for null
4 vuotta sitten
Jonathan Cobb
c4f61d7bb6
add locale-specific support
4 vuotta sitten
Jonathan Cobb
c8c831c10c
add SupportInfo to RestServerConfiguration
4 vuotta sitten
Jonathan Cobb
fe002ec8a0
remove @Accessors(chain=true), breaks yaml parsing
4 vuotta sitten
Jonathan Cobb
17722c1eeb
add SupportInfo
4 vuotta sitten
Kristijan Mitrovic
2a086ae6d7
Fix flyway baseline setup ( #6 )
Fix flyway baseline setup
Co-authored-by: Kristijan Mitrovic <kmitrovic@itekako.com>
Reviewed-on: https://git.bubblev.org/bubblev/cobbzilla-wizard/pulls/6
4 vuotta sitten
Jonathan Cobb
5e9baa01f6
use lazy static for flyway table name
4 vuotta sitten
Kristijan Mitrovic
5bc15822bc
Add method for dumping single table's data ( #5 )
Merge branch 'master' into kris/pg_dump_table
Add missed change from previous merge
Merge branch 'master' into kris/pg_dump_table
# Conflicts:
# wizard-server/src/main/java/org/cobbzilla/wizard/server/listener/FlywayMigrationListener.java
Add method for pg dumbing a single table's data
Read flyway history table name dynamically
Co-authored-by: jonathan <jonathan@noreply.git.bubblev.org>
Co-authored-by: Kristijan Mitrovic <kmitrovic@itekako.com>
Reviewed-on: https://git.bubblev.org/bubblev/cobbzilla-wizard/pulls/5
4 vuotta sitten
Jonathan Cobb
8799914210
fix baseline version, allow subclass to override
4 vuotta sitten
Jonathan Cobb
4ff5174fe6
use constant for flyway table name
4 vuotta sitten
Jonathan Cobb
6bf15dc140
print proper name of flyway table
4 vuotta sitten
Jonathan Cobb
0c698babbb
return 401 instead of 403 for unauthenticated requests
4 vuotta sitten
Jonathan Cobb
1b2c4adef4
add unauthorized util methods
4 vuotta sitten
Jonathan Cobb
f12336af96
add debug logging for locks, only log ifDebugEnabled
4 vuotta sitten