Urban Klinc
0d632dfdae
Add code generated files, removed obsolete files
2020-11-26 11:11:08 +01:00
Urban Klinc
f7a4890998
Add .yaml files to be used in code-generation in pkg/options
2020-11-26 11:09:49 +01:00
Denis Arh
b6eb143c38
Pagination fixes
2020-11-26 06:23:24 +01:00
Denis Arh
fedbbc637b
Allow JSON encoded labels when quering resources
2020-11-19 11:29:17 +01:00
Denis Arh
770a0053e0
Bespoke paging (non-cursor) for actionlog
2020-11-16 19:01:09 +01:00
Denis Arh
11ea5df303
Pagination/sorting fixes & improvements
2020-11-16 14:20:43 +01:00
Denis Arh
fc0ed924de
Make sure cursor to next page is not returned if there are no resources
2020-11-13 13:01:34 +01:00
Denis Arh
b7de337db9
Fix sorting&paging on RDBMS store
2020-11-13 08:10:09 +01:00
Denis Arh
979acf0a84
Make store sorting more robust
2020-11-10 16:04:41 +01:00
Denis Arh
724976271a
Corteza no longer defaults to MySQL db
...
Default DB_DSN changed from
mysql://corteza:corteza@tcp(db:3306)/corteza?collation=utf8mb4_general_ci
to
sqlite3://file::memory:?cache=shared&mode=memory
2020-11-10 14:48:42 +01:00
Denis Arh
9b0308f36c
Simplify test/demo webapp installation
2020-11-10 14:46:41 +01:00
Denis Arh
65bc428406
Stabilise API docs serving, move it under API root
2020-11-09 07:08:46 +01:00
Denis Arh
873fc46556
Include wrapped error in JSON error payload
2020-11-06 11:51:04 +01:00
Denis Arh
8189f40fc0
Add support for type label codegen
2020-11-06 07:47:53 +01:00
Denis Arh
ae4a07a3f7
Implement labels through pkg/label
2020-11-06 07:47:53 +01:00
Denis Arh
fc74d44563
go vet fixes
2020-11-05 19:57:47 +01:00
Tomaž Jerman
7ba1959641
Fix env tls certificate lapsus
2020-11-05 19:17:41 +01:00
Denis Arh
f731791cb2
Improve healtcheck for mail
2020-11-05 19:15:01 +01:00
Denis Arh
bfdb1d8426
OpenAPI docs
2020-11-05 19:13:26 +01:00
Denis Arh
93db1279d6
Implement transfer of Corredor stack to int. errors
2020-11-05 10:34:23 +01:00
Denis Arh
92ca66cade
Improve corredor auto. server error handling
...
Errors are now typified, node.js stack from error is accepted and converted
2020-11-05 07:57:27 +01:00
Denis Arh
111beae959
Safe errors
2020-11-04 15:13:53 +01:00
Denis Arh
ed8fc547f7
Config. environment (throughenv var 'ENVIRONMENT')
2020-11-04 15:13:27 +01:00
Denis Arh
ecb7f52c31
Improve error creation & handling by API
2020-11-04 14:18:33 +01:00
Denis Arh
02d18175f9
Fix codegen when search cfg is sorting&&!paging
2020-10-29 08:23:04 +01:00
Denis Arh
24285e8d32
Support custom parsers for REST params
2020-10-26 19:16:47 +01:00
Denis Arh
369e9d91f7
Improve cli error handler
2020-10-26 08:12:09 +01:00
Denis Arh
8cee9740ae
Improve paging cursor enc/dec
2020-10-20 10:34:44 +02:00
Denis Arh
9a21226163
Fix Delete/delete store config inconsistency
2020-10-18 16:13:36 +02:00
Denis Arh
754ebbde95
Refactor value preprocessing out of RDBMS to store
2020-10-18 16:13:36 +02:00
Denis Arh
b534308143
Fix pagination cursor dec/enc + finish impl
2020-10-12 15:20:55 +02:00
Denis Arh
56422397cc
Fix types.yaml search path for codegen
2020-10-06 21:11:38 +02:00
Denis Arh
09820edc2a
Upgrade protobufs & grpc for corredor
2020-10-01 19:02:22 +02:00
Denis Arh
1b1f71dc37
Rework mail sending flow & error creating/handling
2020-09-30 17:34:39 +02:00
Denis Arh
e1cf327227
Add SMTP_TSL_INSECURE and SMTP_TSL_SERVER_NAME for better SMTP TSL control
2020-09-30 17:14:16 +02:00
Denis Arh
a0036bdecf
Fix default-addr and test-email sending
2020-09-30 17:12:28 +02:00
Denis Arh
4c45aa6d1a
Replace nodemon with fswatch, improve test tasks
2020-09-30 12:29:44 +02:00
Denis Arh
02f70476b1
Fix codegen templates to gen. list of PKs
...
check*Constraints fn now generates list of PKs when ensuring constraints
2020-09-30 12:29:44 +02:00
Denis Arh
7508659165
RBAC refactored (pkg renamed, init improved)
2020-09-18 07:56:58 +02:00
Denis Arh
848e6be30b
Fix actionlog type codegen
2020-09-16 19:34:00 +02:00
Denis Arh
1c2f4de28c
Optimize RBAC service loading
2020-09-16 07:37:06 +02:00
Denis Arh
5e55340759
Renamed pkg/store to pkg/objstore (Object Store)
2020-09-16 07:37:06 +02:00
Denis Arh
5eba380f19
Cleanup, instrumentation
2020-09-15 07:24:28 +02:00
Denis Arh
464a8ecd93
Unexport partial...update() store functions, fix messaging
2020-09-09 13:27:27 +02:00
Denis Arh
24f8457d71
Rename Storable interface to Storer
...
See https://golang.org/doc/effective_go.html#interface-names
2020-09-09 08:40:50 +02:00
Denis Arh
024e6ce890
Rewired db connection to store/rdbms
2020-09-08 07:54:23 +02:00
Denis Arh
75d0853c8d
Remove deprecated pkg/automation
2020-09-08 07:54:23 +02:00
Denis Arh
6206aacdca
Simplify RDBMS codegen templates
2020-09-07 10:29:36 +02:00
Denis Arh
62cae2c3c1
Simplifty lookup field/column handling in codegen templates
2020-09-07 10:22:03 +02:00
Denis Arh
758aaa2374
Move field-to-column mapping under RDBMS
2020-09-07 08:39:35 +02:00