3
0

288 Commits

Author SHA1 Message Date
Denis Arh
5d172c9268 Remove suspended_at from connection unique index for handle 2022-05-23 20:33:17 +02:00
Denis Arh
b6adec8a9c Fix Role filter, add mising name attribute 2022-05-23 20:33:17 +02:00
Denis Arh
040ad02e75 Refactor and fix DAL tests
DAL tests are now moved to /tests/dal
2022-05-22 19:07:44 +02:00
Denis Arh
53b8c4951d Siletly ignore missing deleted-at state constraint.
A workaround until we can construct filter to dinamicaly
handle deleted-at state constrants (if attribute is present or not).
2022-05-22 17:39:32 +02:00
Tomaž Jerman
b85f16a368 Add slight structure rename, add supporting services
* Add system connection CRUD & service
* Simplify compose type definitions
2022-05-20 15:37:33 +02:00
Tomaž Jerman
cda3c80c74 Connect the remaining record svc CRUD operations to DAL 2022-05-20 15:37:33 +02:00
Tomaž Jerman
81dda274eb DAL service refactor & RDBMS interface tweak
* Remove Compose service related bits out of the DAL service
* Minor DB connectivity tweaks and include capabilities
* Add values column to the compose_record table
* Compose types tweaks
2022-05-20 15:37:33 +02:00
Tomaž Jerman
cb37b7beb7 Add values JSON column to compose_record table def 2022-05-20 15:37:33 +02:00
Tomaž Jerman
d255d77e54 Add missing rel_module to module field filter proc 2022-05-20 15:37:33 +02:00
Denis Arh
671a51f9f7 Refactor and renamed CRS implementation to DAL 2022-05-20 15:37:33 +02:00
Denis Arh
876e254f5f Refactor filters, add filtrable flag on data.Attribute 2022-05-20 15:37:33 +02:00
Denis Arh
c1796529eb Refactor types, add support for sortable 2022-05-20 15:37:33 +02:00
Denis Arh
31f21dace0 CRS Sorting, pagination & cleanup 2022-05-20 15:37:33 +02:00
Tomaž Jerman
1d2e928fae Connect external and internal CRS commponents 2022-05-20 15:37:33 +02:00
Denis Arh
91fc2101e1 Replace pkg/ql with pkg/qlng 2022-05-20 15:37:33 +02:00
Denis Arh
a109335c08 Searching & filtering support in CRS 2022-05-20 15:37:33 +02:00
Denis Arh
2d06cf1cf9 Initial CRS implementation for RDBMS 2022-05-20 15:37:33 +02:00
Peter Grlica
919532b820 Fixed queue and route search in admin 2022-05-19 11:19:18 +02:00
Denis Arh
47cdee0125 Refactor store migration/upgrade proc 2022-04-26 03:03:47 +02:00
Denis Arh
1c319b7891 Cleanup RDBMS code, fix metrics queries 2022-04-24 09:51:15 +02:00
Denis Arh
3e3c4560fb Pass *Store to custom RDBMS filters for more flexibility 2022-04-24 09:18:35 +02:00
Denis Arh
0dc3248f74 Make all (goqu) sql statements prepared 2022-04-24 09:17:35 +02:00
Denis Arh
ac35d569a3 Regenerated code after resource def. fix 2022-04-24 07:36:17 +02:00
Denis Arh
fc8589efaa Store config cleanup 2022-04-23 16:34:07 +02:00
Denis Arh
8f1a953697 Fix api-gw store tests, scanners & filters 2022-04-23 16:34:07 +02:00
Denis Arh
20ba475b2d Refactored base test functions for store 2022-04-23 16:34:06 +02:00
Denis Arh
a12ddd3a21 Ported remaining filters & funcs for apps, pags & res-tr 2022-04-23 16:34:06 +02:00
Denis Arh
dc325b97e1 Fix paging on store search 2022-04-23 16:34:06 +02:00
Denis Arh
773d64636f Refactored store codegen, replace squirrel with goqu 2022-04-23 16:34:04 +02:00
Peter Grlica
f41513a956 Apigw store tests 2022-03-30 12:17:30 +02:00
Tomaž Jerman
c64a98e36c Fix SQLite date formatting
* Add missing mappings,
* add validation for supported substitutions.
2022-03-22 14:47:26 +01:00
Denis Arh
0534096ad2 Fix date formatting in query 2022-03-22 14:47:12 +01:00
Peter Grlica
6e2e5506eb Removed debugging info from sql functions 2022-03-21 15:28:01 +01:00
Denis Arh
046855cb30 Fix date/time functions in record queries 2022-03-18 20:38:34 +01:00
Vivek Patel
b6ff0f9210 Fix discovery feed routes for deleted resources
Also adds lock discovery service to prevent race condition in InitResourceActivityLog
2022-03-16 15:17:46 +05:30
Denis Arh
640a90c20c Improve temporal value filtering 2022-03-15 06:43:54 +01:00
Vivek Patel
84f918a1d7 Add meta column to resource_activity_log table
Also adds resourceID filter in discovery resource routes
2022-03-07 19:26:47 +05:30
Tomaž Jerman
cd15f3eafd Fix field name casing error when building PgSQL reports 2022-03-03 14:21:24 +01:00
Tomaž Jerman
ab86689559 Fix report DB builder name conflicts 2022-03-02 12:40:06 +01:00
Vivek Patel
d384db951a Fix column index for resource_activity_log table 2022-02-23 18:44:53 +05:30
Denis Arh
7bde98697a Corteza discovery
- It provides mappings of corteza resources(Namespaces, Modules, Records, Users) along with values to corteza discovery indexer.
- It also save recordLogs for create, update, deletion of resources.
- Extend settings to hold discovery enabled/disabled flag
- Adds URL of compose resources for namespace and record and for module still pending, added todo with notes to code
2022-02-22 17:13:59 +05:30
Peter Grlica
e822ad7c06 Fixed read request body, added read request body wf function, added more tests 2022-02-17 15:00:16 +01:00
Denis Arh
23c7f357fb Fix "disconnect" on SQLite (data lose) 2022-02-16 20:34:36 +01:00
Denis Arh
1949782ccd Remove unused CustomRowScanner & RowScanners features from store 2022-02-12 09:00:13 +01:00
Denis Arh
b478b37775 Add support for page config 2022-02-10 13:55:54 +01:00
Tomaž Jerman
440354e431 Fix merge lapsus on order by construction 2022-02-07 09:21:31 +01:00
Tomaž Jerman
38a32ddeb3 Fix inconsistent NULL ordering with PGSQL <-> MySQL 2022-02-07 09:21:31 +01:00
Denis Arh
43de7ebba7 Add uncommited codegen changes 2022-01-26 15:41:13 +01:00
Denis Arh
59ec77e204 Refactor JWT implementation 2022-01-18 21:50:18 +01:00
Vivek Patel
c3516dd184 Allow version in DB_DSN for dev mode
If server is executed through Makefile we set BUILD_VERSION in .env and use it to replace {version} in DB_DSN.

This would help developers to automatically use different db when switching between versions.
2022-01-07 13:04:17 +05:30