Denis Arh
369e9d91f7
Improve cli error handler
2020-10-26 08:12:09 +01:00
Denis Arh
f4e6d2ae5a
Refactor bootstraping procedure
2020-08-24 15:38:42 +02:00
Denis Arh
fe0e35cb57
Disable initialization on some commands
2020-03-27 22:00:10 +01:00
Denis Arh
c0713893b6
Improve initial logger configuration
...
Default logging level is now WARN
If serve-api command is executed and log level is not explicitly specified
with LOG_LEVEL, log level is set to INFO
Root command now accepts -s/--silent and -d/--debug flags
for log level control
2020-03-27 21:48:04 +01:00
Denis Arh
47db9e7ab9
Add version cli command
2020-03-16 08:54:30 +01:00
Denis Arh
29902db2b1
Refactor & improve application initialization
2020-01-18 07:05:10 +01:00
Denis Arh
0a009e0a14
Enable corredor by default
2019-11-26 13:19:34 +01:00
Denis Arh
d23e421e20
Add minio store capabilities to messaging
2019-10-15 15:30:28 +02:00
Denis Arh
baeacfeafd
Remove uneeded meta-data when storing object to minio service
2019-10-15 15:03:56 +02:00
Denis Arh
aa469e53e9
Add MinIO support
2019-10-15 13:22:57 +02:00
Denis Arh
5e3f3f1342
Move internal/mail to pkg/mail
2019-10-01 17:51:06 +02:00
Denis Arh
52901a9385
Move internal/http to pkg/http
2019-10-01 17:49:59 +02:00
Denis Arh
9a51289d81
Move internal/db to pkg/db
2019-10-01 17:48:51 +02: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
c240bb6a20
Refactored configuration provisioning
2019-09-30 10:20:40 +02:00
Denis Arh
f3ee556b3f
Make corredor calls more configurable
...
JWT is now sent as part of the Config prop, along with msg/sys/cmp base api URLs
This still needs to be configured through env:
- CORREDOR_API_BASE_URL_SYSTEM
- CORREDOR_API_BASE_URL_MESSAGING
- CORREDOR_API_BASE_URL_COMPOSE
2019-08-24 12:21:42 +02:00
Denis Arh
2b3f196e60
refactored/renamed: ScriptRunner => Corredor
2019-08-24 12:14:41 +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
94e2acfc17
Add ability to disable script runner calls
...
With script runner disabled, all critical scripts would fail
2019-08-23 13:49:36 +02:00
Denis Arh
ecc73e10fc
Redirect grpclog to zap logger
2019-08-23 13:49:36 +02:00
Denis Arh
bb7dc471d7
Add script-runner configuration capabilities
2019-08-23 13:49:36 +02:00
Denis Arh
4bbc85e1b4
Migrate storage path to options.StorageOpt struct
2019-08-23 13:49:35 +02:00
Denis Arh
9f58f8e83e
Migrate storage path to options.StorageOpt struct
2019-08-14 17:09:43 +02:00
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