Commit Graph
100 Commits
Author SHA1 Message Date
flecomte ab1422ec16 Escape SQL argument for sendQuery 2021-07-18 02:41:44 +02:00
flecomte a4a4ef5f6f Add more tests
remove "sendQuery" on function
sendQuery now return QueryResult
remove null on queryError message
2021-07-18 01:19:27 +02:00
flecomte 35d43abc4b Add documentation on methods 2021-07-17 23:42:55 +02:00
flecomte 71742c0c4f remove default parameter for sendQuery 2021-07-17 19:06:01 +02:00
flecomte 6e9175d84f create Exception QueryError
test select paginated without total
2021-07-17 18:55:39 +02:00
flecomte 7a0ef83211 test call request return nothing 2021-07-17 16:32:49 +02:00
flecomte 23b4a17505 Add arguments to gradle test 2021-07-17 16:32:18 +02:00
flecomte fa66114d01 test call request without args 2021-07-17 15:52:03 +02:00
flecomte a2f265d227 Test connexion update Entity 2021-07-17 15:18:12 +02:00
flecomte aa70ea9170 add extention "toTypeReference" 2021-07-17 15:17:49 +02:00
flecomte fdc6681f27 Add gradle argument to stay on the pg container 2021-07-17 15:15:59 +02:00
flecomte 95e7a32747 Extract Reified method of connection to Extension
Add update method
2021-07-17 14:05:50 +02:00
flecomte 69f85b5bf5 Extract Reified method to Extension
Add update method
2021-07-16 04:32:08 +02:00
flecomte eb3a732440 Rename select to selectOne 2021-07-15 03:10:18 +02:00
flecomte 8a5697cd31 Add tests 2021-07-14 23:51:42 +02:00
flecomte b70230fd4c remove useless Migration.status() 2021-07-14 23:45:10 +02:00
flecomte 682fd5caba clean Requester 2021-07-14 23:30:29 +02:00
flecomte 486b038ad2 remove RequesterFactory 2021-07-14 22:51:31 +02:00
flecomte 4ad69238c7 Add tests 2021-07-14 21:31:47 +02:00
flecomte 4ff30e1201 Remove update object by deserialize 2021-07-14 20:18:45 +02:00
flecomte 8a848fd3dc Add documentation for paginated and multi level request 2021-07-14 03:32:46 +02:00
flecomte 414dec1f98 Create documentation 2021-07-11 19:07:29 +02:00
flecomte b8331e7420 increase gradle memory 2021-07-01 01:44:02 +02:00
flecomte 6957a325fe Add Readme 2021-07-01 01:18:50 +02:00
flecomteandGitHub 9804bf5246 Merge pull request #27 from flecomte/update-project
Update project
2021-07-01 01:11:11 +02:00
flecomte 58bb85ff1a update kotlin 2021-07-01 01:06:57 +02:00
flecomte f98b26b22c remove useless default argument in RequesterFactory 2021-07-01 01:01:18 +02:00
flecomte b06a92209c update postgresql version 2021-07-01 01:01:18 +02:00
flecomte 6aa7f5568b update gradle 2021-07-01 01:01:18 +02:00
flecomte a839370b27 Send analysis to sonarqube 2021-07-01 01:01:17 +02:00
flecomte 6b5323f70d Publish on CI 2021-06-30 23:57:59 +02:00
flecomte 0de6f13eee change domain 2021-06-30 23:57:30 +02:00
flecomteandGitHub c6da94a6e5 Merge pull request #26
action
2021-03-20 15:01:30 +01:00
flecomte 93ce3831f4 init github action 2021-03-20 14:42:38 +01:00
flecomte 4b28f64c43 Sort sql files on walk 2021-03-20 14:33:18 +01:00
flecomte 35a8712eef fix select on query with no result 2021-02-27 01:29:21 +01:00
flecomte b200b3579a Improve gradle tasks 2021-02-27 00:19:30 +01:00
flecomte a13ca2d954 update dependencies 2021-02-26 23:00:41 +01:00
flecomte 36ed678c5a Add disconnect method 2021-02-26 23:00:29 +01:00
flecomte c2c8b91dc5 Remove Mutable entities 2020-12-15 14:21:07 +01:00
flecomte 9d208292a5 fix immutable entities 2020-11-26 09:29:13 +01:00
flecomte 8bb3b61f2d Fix Generate UUID if null is defined as ID 2020-07-10 22:43:58 +02:00
flecomte 5023f229ca Generate UUID if null is defined as ID 2020-07-10 17:24:35 +02:00
flecomte 55b547db75 Fix migrations of Functions 2020-05-11 01:39:36 +02:00
flecomte 377459f430 Add ShadowJar compatibility and Query file can be define name with comment
Add Migration and Query definition class
Add Docker DB for tests
2020-05-10 23:07:47 +02:00
flecomte df99bf4743 set JVM to 11 2020-05-10 22:05:55 +02:00
flecomte fc4fde490f config package 2020-03-25 15:26:19 +01:00
flecomte a6d2a4d34f add method function.perform 2020-03-25 00:30:54 +01:00
flecomte 232158f85d Add serialise list 2020-03-15 20:18:55 +01:00
flecomte 3c998edb3c add methode$ "isLastPage" to pagination 2020-02-24 20:41:29 +01:00
flecomte 92722b0fef Improve SQL log message 2020-02-19 16:46:20 +01:00
flecomte 265c586198 change Idea config 2020-02-19 12:46:04 +01:00
flecomte 440ecc8193 RepositoryI::requester is now readonly 2020-02-11 20:39:43 +01:00
flecomte 1bae960139 Improve UuidEntityVersioning 2020-01-29 17:03:22 +01:00
flecomte 1dec96551d Add Immutable Entities 2020-01-23 00:40:47 +01:00
flecomte dbf5fbcfc5 Add Serializable Parameter 2019-10-22 11:10:02 +02:00
flecomte 8eeb1e9e9d update jasync 2019-10-11 22:05:15 +02:00
flecomte c4125f1429 Lint 2019-10-10 21:44:56 +02:00
flecomte 21c05f72f5 remove EntityI.className && RepositoryI.entityName 2019-10-09 22:50:04 +02:00
flecomte 2a738e0595 remove id in EntityI interface & remove usless EntitiesCollections 2019-10-02 11:16:28 +02:00
flecomte 6641ed78e7 remove returns in function definition 2019-09-20 02:36:21 +02:00
flecomte 8810c1f08d Drop function if already exists and conflict 2019-09-20 02:27:15 +02:00
flecomte 88c45aaf77 fix return function definition 2019-09-16 23:12:28 +02:00
flecomte 2f9f397f50 add EntityDeletedBy & EntityDeletedAt 2019-08-30 15:14:54 +02:00
flecomte 215c054f27 rename interface UpdatedBy to EntityUpdatedBy 2019-08-27 22:57:49 +02:00
flecomte 65d8e00902 add sendQuery(vararg) 2019-08-24 23:42:08 +02:00
flecomte 2922c9309c set UuidEntity open 2019-08-24 23:41:45 +02:00
flecomte ae96bfd737 replace params begin by _ 2019-08-24 23:39:23 +02:00
flecomte e42f3b07cb clean entities 2019-08-07 22:45:40 +02:00
flecomte 19e98250b7 change UuidEntityVersioning 2019-08-05 20:29:15 +02:00
flecomte f56c84c675 Fix function replaceArgsIntoSql 2019-08-04 22:24:24 +02:00
flecomte 13f0f12c1b Fix migration if executed two or more times 2019-08-04 22:23:57 +02:00
flecomte 01a0000b15 clean code 2019-08-04 22:23:12 +02:00
flecomte 24349fc71f use sendQuery if no return is expected 2019-08-04 21:09:24 +02:00
flecomte cbb86dacc5 fix: deserializer test 2019-08-04 18:04:13 +02:00
flecomte a20682b406 feature: add log into migrations 2019-08-03 20:26:50 +02:00
flecomte 15c347e3fd feature: add pretty option for serializer and extention String.deserialize<Entity>() 2019-08-03 20:26:20 +02:00
flecomte ae184cd52c feature: add name into Query object 2019-08-03 20:25:01 +02:00
flecomte 24aa3cf632 feature: add selectOne with inique entity parameter 2019-08-03 00:54:45 +02:00
flecomte 4fa8abea30 fix: pagination 2019-08-03 00:54:10 +02:00
flecomte 881a335c90 fix: migrations 2019-08-03 00:53:44 +02:00
flecomte 88d581c529 fix: functions migrations 2019-08-02 20:39:30 +02:00
flecomte 56a141a34c fix: resource dir 2019-08-02 19:32:12 +02:00
flecomte cddb4c352b refactoring: RequesterFactory 2019-08-01 01:37:21 +02:00
flecomte 63a22ef46a feature: add forceAllDown to migration 2019-08-01 01:36:59 +02:00
flecomte 528f2b6daa feature: remove User interface 2019-08-01 01:36:08 +02:00
flecomte bb3b0d7e34 feature: update input with response if input and output is the same object 2019-07-31 12:59:48 +02:00
flecomte 6f73b6683e feature: add vararg of Pair for function 2019-07-30 23:10:09 +02:00
flecomte 1f9636960d fix: Entity CreatedBy 2019-07-30 23:09:36 +02:00
flecomte 7346c85f95 fix: DateTime serializer 2019-07-30 23:01:58 +02:00
flecomte ecd130198c fix: Requester.addFunction() 2019-07-30 23:01:09 +02:00
flecomte e819e1d027 clean repository 2019-07-30 17:06:19 +02:00
flecomte 2e65045f21 refactoring: change gradle file to kts 2019-07-19 09:39:03 +02:00
flecomte ade162451c refactoring: cleanup and reformat 2019-07-18 18:50:02 +02:00
flecomte 5949bc5d7b refactoring: Moves class into separated files 2019-07-18 18:34:03 +02:00
flecomte 1a70f3f03b feature #11: select with extra parameters 2019-07-18 18:18:47 +02:00
flecomte a32b70c316 feature #10: log Query 2019-07-18 00:04:12 +02:00
flecomte 32127b7e19 feature #10: first implementation of logger 2019-07-18 00:04:11 +02:00
flecomte 09c20fc385 feature #8: Pagination for Query & Function 2019-07-18 00:03:50 +02:00
flecomte 362a2a6617 fix: parse function parameters if quoted 2019-07-18 00:03:14 +02:00