3
0

17 Commits

Author SHA1 Message Date
Denis Arh
f4e6d2ae5a Refactor bootstraping procedure 2020-08-24 15:38:42 +02:00
Denis Arh
e1a91ee09e Optimize misc route binding
No need to use auth & log middleware in front of misc (debug, healthcheck) routes
2020-07-12 20:04:59 +02:00
Denis Arh
290315b746 Add healtcheck endpoint 2020-07-11 13:26:41 +02:00
Denis Arh
9e0883c937 Add origin (for action log) info to context 2020-05-22 07:16:14 +02:00
Denis Arh
db789e10fd Add debug routes for eventbus & corredor service 2020-03-26 19:07:13 +01:00
Denis Arh
29902db2b1 Refactor & improve application initialization 2020-01-18 07:05:10 +01:00
Denis Arh
62aa794b84 Move internal/auth to pkg/auth 2019-10-01 17:47:43 +02:00
Denis Arh
77ce40cf1a Move version, rand and organisation pkgs (internal=>pkg) 2019-10-01 17:42:26 +02:00
Denis Arh
5bfafd4adc Support run-as for automation scripts
Add grpc-server capabilities for system service (make jwt, find user by id)
Add jwt generation (via grpc) to compose for run-as automation-scripts
Add SuperUser for system-level tasks and operations that are ran in the background w/o initiator
and require permision checking
2019-08-23 13:49:36 +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
ab4b74620f Improve settings auto-discovery, make it provisionable 2019-07-14 11:24:43 +02:00
Denis Arh
60ad32e440 Add support for error (panic) reporting through Sentry 2019-07-03 16:35:06 +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
5a9bce44e8 Cleanup internal, vendors, cleanup cmd/*
Introduces /pkg for non-intenral packages
2019-05-24 12:44:56 +02:00