commit f12455dfa29f1233f8c826cc604ed23d8b6db098 Author: LarryFinn Date: Tue Jul 27 15:55:51 2021 -0400 read only db read only db src/scala/co/actioniq/luna/dao/DAO.scala | 36 +++++++++++++++++++++++--------- 1 file changed, 26 insertions(+), 10 deletions(-) commit fd5acf97f0fb603874fad72aa68bdc1ace9ad9bc Author: LarryFinn Date: Thu Apr 2 14:04:27 2020 -0400 Ability to parse longs or hexs as trace ids for slick mysql zipkin (#14) .../actioniq/luna/logging/ZipkinLogbackAppender.scala | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) commit 40008b2e510d8f1b0034c2c03134d0b234aa1762 Author: LarryFinn Date: Thu Mar 14 22:49:44 2019 -0400 position issues (#13) .../actioniq/luna/dao/IgnoreUpdateCompiler.scala | 26 +++++++++++++--------- 1 file changed, 15 insertions(+), 11 deletions(-) commit 5845d54a706057c67ae7d60e4d87c09f1d18f889 Author: LarryFinn Date: Thu Mar 14 10:17:20 2019 -0400 a few components were using the old profile (#12) src/scala/co/actioniq/luna/dao/JdbcTypeImplicits.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e26853a39145691cbe7cc2ebc28576a428fd786a Author: LarryFinn Date: Wed Mar 6 17:18:33 2019 -0500 ability to ignore fields on update (#11) option to ignore field for updates Often we will just use the update function with a case class. The goal is to NOT update fields that are keys (like an id) because these shouldn't change and can cause deadlocks. I added a compile step that will remove fields from update statements that are annotated to not update. Created wrapper profiles for mysql and h2 that include the compile step. src/scala/co/actioniq/luna/dao/DAO.scala | 6 +- src/scala/co/actioniq/luna/dao/DAOH2Profile.scala | 11 ++ .../co/actioniq/luna/dao/DAOMySQLProfile.scala | 25 +++++ src/scala/co/actioniq/luna/dao/DAOTable.scala | 12 ++- .../actioniq/luna/dao/IgnoreUpdateCompiler.scala | 119 +++++++++++++++++++++ .../co/actioniq/luna/dao/JdbcTypeImplicits.scala | 2 +- 6 files changed, 166 insertions(+), 9 deletions(-) commit 11e80005f52129a94a11cc3b0fe9ebd1d4034295 Author: Adisa Narula Date: Tue Feb 26 14:37:48 2019 -0500 Fix spelling error in exception message (#10) src/scala/co/actioniq/luna/dao/DAOAction.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit daa3e9c641617904ec0e59c2c9ad56f1d18e0c91 Author: LarryFinn Date: Wed Nov 7 18:22:35 2018 -0500 update single fields (#9) * Adding ability to just update columns without replacing the rest of the columns src/scala/co/actioniq/luna/dao/DAO.scala | 68 ++++++++++++++- src/scala/co/actioniq/luna/dao/DAOAction.scala | 113 ++++++++++++++++++++++++- src/scala/co/actioniq/luna/dao/DAOQuery.scala | 69 ++++++++++++++- 3 files changed, 247 insertions(+), 3 deletions(-) commit c3b9527fbd1e455a0fe3fb51c52c61302739bfc1 Author: LarryFinn Date: Fri Nov 2 16:14:57 2018 -0400 handle soft delete (#8) a new trait to mix in that has a soft delete field. you can make the field act however you want can be boolean, timestamp, etc.. .../co/actioniq/luna/dao/SoftDeleteFilter.scala | 49 ++++++++++++++++++++++ 1 file changed, 49 insertions(+) commit 71208bd5f8c0ed7832d85d4df13ad57a73c2492d Author: LarryFinn Date: Tue Jun 26 14:45:38 2018 -0400 making read ids functions (#7) src/scala/co/actioniq/luna/dao/DAO.scala | 9 +++++++++ src/scala/co/actioniq/luna/dao/DAOAction.scala | 13 +++++++++++++ src/scala/co/actioniq/luna/dao/DAOQuery.scala | 8 ++++---- 3 files changed, 26 insertions(+), 4 deletions(-) commit daadbd754225e3fbc9db3c2eee1ddc2f577a6bd7 Author: LarryFinn Date: Tue Jun 26 13:43:28 2018 -0400 expose proper size even if paused (#6) .../co/actioniq/luna/context/SlickManagedArrayBlockingQueue.scala | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 1d400ce9f90e65603c4b843e02c3d6e85ac0feb8 Author: LarryFinn Date: Thu Jun 21 12:56:37 2018 -0400 Removing old twitter finagle dep and just using guava (#5) src/scala/co/actioniq/luna/dao/DAO.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 37e2664fd8549265bee57890ed97caea2bc49f92 Author: ebaronov Date: Tue Jun 5 14:22:17 2018 -0400 Actually log the missing ID in DAOAction (#4) src/scala/co/actioniq/luna/dao/DAOAction.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 173ab42a9217ebe31d70b7080e6fdc2b285a3e8e Author: Larry Finn Date: Fri Jun 1 11:44:39 2018 -0400 first commit src/scala/co/actioniq/luna/DBWithLogging.scala | 30 + .../co/actioniq/luna/OptionCompareOption.scala | 110 +++ .../co/actioniq/luna/compiled/BoundedSeq.scala | 44 ++ .../luna/compiled/InSeqDbUUIDImplicits.scala | 182 +++++ .../co/actioniq/luna/compiled/Placeholder.scala | 8 + .../luna/compiled/PlaceholderJdbcType.scala | 30 + .../actioniq/luna/compiled/SeqDbUUIDJdbcType.scala | 56 ++ .../luna/compiled/SeqLongOptJdbcType.scala | 56 ++ .../compiled/SlickCompiledFunctionSingleton.scala | 62 ++ .../co/actioniq/luna/context/ContextCopier.scala | 33 + .../co/actioniq/luna/context/SlickMDCContext.scala | 84 +++ .../actioniq/luna/context/SlickMDCExecutor.scala | 158 ++++ .../context/SlickManagedArrayBlockingQueue.scala | 233 ++++++ src/scala/co/actioniq/luna/dao/DAO.scala | 346 +++++++++ src/scala/co/actioniq/luna/dao/DAOAction.scala | 583 +++++++++++++++ src/scala/co/actioniq/luna/dao/DAOException.scala | 9 + .../co/actioniq/luna/dao/DAOFormValidator.scala | 158 ++++ src/scala/co/actioniq/luna/dao/DAOHook.scala | 15 + src/scala/co/actioniq/luna/dao/DAOModel.scala | 28 + src/scala/co/actioniq/luna/dao/DAOQuery.scala | 794 +++++++++++++++++++++ src/scala/co/actioniq/luna/dao/DAOTable.scala | 62 ++ src/scala/co/actioniq/luna/dao/DbUUID.scala | 152 ++++ src/scala/co/actioniq/luna/dao/DefaultFilter.scala | 93 +++ .../co/actioniq/luna/dao/JdbcTypeImplicits.scala | 57 ++ .../co/actioniq/luna/dao/NoopFormValidator.scala | 20 + src/scala/co/actioniq/luna/logging/LogEntry.scala | 8 + .../co/actioniq/luna/logging/LoggingFile.scala | 37 + .../actioniq/luna/logging/TransactionAction.scala | 8 + .../actioniq/luna/logging/TransactionLogger.scala | 16 + .../luna/logging/ZipkinLogbackAppender.scala | 145 ++++ 30 files changed, 3617 insertions(+)