Mohamed MHAMDI
1db36357d5
feat(logger): add logger option to all micro components (override DefaultLogger) closes #2556 ( #2559 )
...
* feat(logger): add logger option to all components
* fix: refactor api/rpc.go
* fix: refactor api/stream.go
* fix: api/options.go comment
* fix(logger): do not use logger.Helper internally
* fix(logger): fix comments
* fix(logger): use level.Enabled method
* fix: rename mlogger to log
* fix: run go fmt
* fix: log level
* fix: factories
Co-authored-by: Mohamed MHAMDI <mmhamdi@hubside.com>
Co-authored-by: Davincible <david.brouwer.99@gmail.com>
2022-09-29 16:44:53 +02:00
Asim Aslam
1cd7cfaa6c
go-micro.dev/v4 ( #2305 )
2021-10-12 12:55:53 +01:00
Asim Aslam
d94936f6c9
v3 ( #2104 )
...
* v3
* revert plugins
* fixup some issues
2021-01-20 13:54:31 +00:00
Dominic Wong
0ce132eb8f
Fix race condition when updating process being waited on ( #1694 )
2020-06-12 10:42:52 +01:00
Dominic Wong
86dfcb819b
Ignore "no such process" error ( #1686 )
...
* Cleanup how status is updated for service. Ignore "no such process" error as it could be that the pid died
* add nice error log to record process error exit
2020-06-12 10:42:52 +01:00
Janos Dobronszki
7c31edd5f8
Enabling default runtime to run multiple versions ( #1545 )
...
* Enabling default runtime to run multiple versions
* Trigger build
* Fix
* Sprintf
2020-04-20 15:54:29 +02:00
Janos Dobronszki
ac5822f1ee
Fix local runtime updates ( #1543 )
2020-04-16 17:50:24 +02:00
Janos Dobronszki
77f0abb0ba
Enabling micro run for subfolders ( #1510 )
...
* Enabling micro run for subfolders
* Use source instead of os.Args[2]
* Works now
* PR comments
* WorkDir -> Dir
2020-04-09 15:44:39 +01:00
Asim Aslam
d2f153d795
Add type of service ( #1385 )
2020-03-20 12:48:12 +00:00
Asim Aslam
e49be1da42
fix local runtime ( #1383 )
2020-03-19 22:38:37 +00:00
Asim Aslam
e803fb0855
Runtime hacks ( #1344 )
...
* Add Args/Image to runtime
* remove the hacks
2020-03-13 18:39:59 +00:00
Vasiliy Tolstov
7b385bf163
minimize allocations in logger and tunnel code ( #1323 )
...
* logs alloc
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* fix allocs
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* fix allocs
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* tunnel allocs
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* try to fix tunnel
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* cache cipher for send
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* more logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* more logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* more logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* more logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* more logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* more logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* more logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-03-11 17:55:39 +00:00
Vasiliy Tolstov
117f56ebf7
prune util/log and user logger ( #1237 )
...
* prune util/log and user logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* plaintext logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* add newline
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-02-23 13:45:20 +00:00
Asim Aslam
812ea78604
Fix runtime deadlock
2020-02-07 14:00:09 +00:00
Asim Aslam
0755084a59
fix deadlock
2020-02-07 13:55:55 +00:00
ben-toogood
fe7f5a4134
Runtime Retries Limit ( #1163 )
...
* Implement Runtime Retries
* Remove Debug
* Action Feedback
* Refactor Retries
* Fix WithRetires Typo
2020-02-07 12:02:41 +00:00
ben-toogood
19c454ec4b
Fix Local Runtime Default Command ( #1173 )
...
* Auth API Proto
* Fix local runtime bug
* Add Platform Proto
* Restructuring
2020-02-07 11:39:26 +00:00
Ben Toogood
a1d5d6831f
Add String to Runtime interface
2020-02-03 15:56:16 +00:00
Vasiliy Tolstov
f23638c036
fix import paths for v2 release
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-01-30 14:44:40 +03:00
Asim Aslam
d918694346
reorganise runtime
2020-01-19 17:47:27 +00:00
Asim Aslam
e1e6199743
normalise runtime service status
2020-01-10 21:54:28 +00:00
Asim Aslam
c3ed83dfba
Support service types in runtime
2019-11-29 11:35:00 +00:00
Asim Aslam
6475c1f3ad
Patch spec template annotations and use event timestmap
2019-11-26 17:33:41 +00:00
Milos Gajdos
d6e97c5970
Service.Exec is a slice of strings ( #960 )
2019-11-19 19:36:29 +00:00
Milos Gajdos
6a0082741c
Packager is now builder ( #958 )
2019-11-19 16:09:43 +00:00
Asim Aslam
383658edf2
Fix a runtime deadlock as well as fixing some graceful exiting issues ( #945 )
2019-11-14 14:26:21 +00:00
Milos Gajdos
6f7702a093
[WIP] K8s update and runtime package changes ( #895 )
...
* First commit: outline of K8s runtime package
* Added poller. Added auto-updater into default runtime
* Added build and updated Poller interface
* Added comments and NewRuntime that accepts Options
* DefaultPoller; Runtime options
* First commit to add Kubernetes cruft
* Add comments
* Add micro- prefix to K8s runtime service names
* Get rid of import cycles. Move K8s runtime into main runtime package
* Major refactoring: Poller replaced by Notifier
POller has been replaced by Notifier which returns a channel of events
that can be consumed and acted upon.
* Added runtime configuration options
* K8s runtime is now Kubernetes runtime in dedicated pkg. Naming kung-fu.
* Fix typo in command.
* Fixed typo
* Dont Delete service when runtime stops.
runtime.Stop stops services; no need to double-stop
* Track runtime services
* Parse Unix timestamps properly
* Added deployments into K8s client. Debug logging
2019-11-02 13:25:10 +00:00