3
0

16 Commits

Author SHA1 Message Date
Denis Arh
aabff3df6e Add sentry wrapper, improve recover() logic 2019-08-14 17:07:56 +02:00
Tit Petric
cc3c100c62 replace profiler with logger, update logger option to bool 2019-08-06 20:27:35 +00:00
Denis Arh
3164883736 Remove wait-for-it test service 2019-07-31 16:07:08 +02:00
Denis Arh
f75861c917 Add internal exec delay functionality for the API
Delay API startup options:
 - duration (WAIT_FOR)
 - service hosts (WAIT_FOR_SERVICES=host1:80 host2:3306)
 - service URL (WAIT_FOR_SERVICES=https://cortezaproject.org)
2019-07-17 10:23:30 +02:00
Denis Arh
9f19a49317 Improve DB conn. code, make retry/timeout configurable 2019-07-17 10:20:41 +02:00
Denis Arh
09aeaac5d7 Refactor app bootstraping, improve ext provider autodiscovery 2019-07-14 13:58:27 +02:00
Denis Arh
acffdc1c65 Simplify/improve logging configuration 2019-07-09 17:47:58 +02:00
Denis Arh
60ad32e440 Add support for error (panic) reporting through Sentry 2019-07-03 16:35:06 +02:00
Denis Arh
431bafd44a Fix SMTP_USER env variable 2019-06-20 09:41:06 +02:00
Denis Arh
837ce2514f Generate JWT secret when env var is empty 2019-06-19 17:53:20 +02:00
Denis Arh
a8ae581e8f Cleaner CLI options definition (env keys as tags) 2019-05-30 02:08:01 +02:00
Denis Arh
8592aa8d35 Remove flags, improve ENV handling
Following https://12factor.net/config, Corteza internals are now configurable
ONLT via environmental variables.

See .env.example for details
2019-05-30 01:04:07 +02:00
Denis Arh
ba1118eb4f Update documentation 2019-05-29 22:42:42 +02:00
Denis Arh
22476933f4 Improve cli env setup & running 2019-05-26 08:41:20 +02:00
Denis Arh
36b32fa2fe Move logger package from internal to pkg 2019-05-24 13:30:48 +02:00
Denis Arh
5a9bce44e8 Cleanup internal, vendors, cleanup cmd/*
Introduces /pkg for non-intenral packages
2019-05-24 12:44:56 +02:00