Coder
1478a8e46d
fix(config/source/cli): mergo.Map error, src and dst must be of same … ( #2628 )
2023-04-26 02:21:08 +02:00
Mohamed MHAMDI
ad8fca255b
fix(config): fix file source watcher stop behavior when Stop is called ( #2630 )
...
Co-authored-by: Mohamed MHAMDI <mmhamdi@hubside.com>
2023-04-26 02:19:52 +02:00
Lukasz Raczylo
a7522e7d6c
fix: struct field alignment ( #2632 )
2023-04-26 02:16:34 +02:00
Rene Jochum
010b1d9f11
fix: linting issues ( #2566 )
2022-09-30 20:32:55 +02:00
David Brouwer
85c0b0b8eb
fix: some linting issues ( #2563 )
2022-09-30 16:27:07 +02:00
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
Mohamed MHAMDI
39e00f11a8
feat(config): add withFs option to file source ( #2557 )
...
Co-authored-by: Mohamed MHAMDI <mmhamdi@hubside.com>
2022-09-24 02:46:18 +02:00
Asim Aslam
6cf2b02f0f
move cmd to util ( #2527 )
...
* move cmd to util
* go fmt
2022-07-11 14:37:34 +01:00
Asim Aslam
0c2041e439
add events package ( #2341 )
...
* add events package
* update go version
2021-11-08 08:52:39 +00:00
Benjamin
5d5aee1f08
replace ioutil with io and os ( #2327 )
...
set the go version to 1.16 in pr.yml and tests.yml, so as to be consistent with the version in go.mod.
2021-10-30 19:24:40 +01:00
Asim Aslam
1cd7cfaa6c
go-micro.dev/v4 ( #2305 )
2021-10-12 12:55:53 +01:00
Niek den Breeje
9a77c06b44
Move from micro/cli/v2 to urfave/cli/v2 ( #2224 )
...
* Use urfave/cli/v2 instead of micro/cli/v2
Wherever possible we may want to eliminate the use of github.com/micro
imports.
* Fix broken cli test
2021-08-31 09:05:08 +01:00
Shubhendra Singh Chauhan
26b859c4f9
improve code quality ( #2128 )
...
* Fix inefficient string comparison
* Fix unnecessary calls to Printf
* Canonicalize header key
* Replace `t.Sub(time.Now())` with `time.Until`
* Remove unnecessary blank (_) identifier
* Remove unnecessary use of slice
* Remove unnecessary comparison with bool
2021-02-25 08:30:35 +00:00
Asim Aslam
d94936f6c9
v3 ( #2104 )
...
* v3
* revert plugins
* fixup some issues
2021-01-20 13:54:31 +00:00
Asim Aslam
a7c31a0d2b
refactor all the things
2020-12-29 15:49:26 +00:00
Asim Aslam
4977aca09c
move router
2020-12-12 19:04:19 +00:00
Asim Aslam
dbe8c93e20
remove service implementations ( #2094 )
2020-12-11 11:12:44 +00:00
Asim Aslam
e761aa1940
move cmd
2020-12-09 18:07:01 +00:00
sunfuze
81aa8e0231
Fix config watch ( #1670 )
...
* add dirty overrite test case
* need version to figure out if config need update or not
* using nanosecond as version for two goroutine can run in same second
* config should check snapshot version when update
* set checksum of ChangeSet
Co-authored-by: Asim Aslam <asim@aslam.me>
2020-07-03 11:30:59 +01:00
Ben Toogood
d85b4197b4
Return nil changeset and not blank
2020-05-27 12:20:31 +01:00
Ben Toogood
bb5f2e5525
Handle config service not found errors
2020-05-27 12:12:34 +01:00
Ben Toogood
efb64b7dbb
Pass client to more of the runtime
2020-05-11 17:57:39 +01:00
Vasiliy Tolstov
268651df18
regenerate all proto based files ( #1531 )
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-04-14 16:25:09 +03:00
Vasiliy Tolstov
1063b954de
dont display t.Log/t.Logf as errors in github actions ( #1508 )
...
* fix tests and github action annotations
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-04-09 14:05:46 +03:00
Vasiliy Tolstov
9e6db79860
regenerate all proto ( #1440 )
...
* regenerate all proto
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* regenerate from proto
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* regenerate from proto
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-03-30 21:58:32 +01:00
Vasiliy Tolstov
cbb958def5
config: fix panic on multiple Close() ( #1374 )
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-03-19 12:54:59 +03:00
Vasiliy Tolstov
60993e6275
config/source/service: base64 fix ( #1345 )
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-03-13 21:44:55 +00:00
ben-toogood
47f1203e97
Add Config to service options ( #1336 )
...
Co-authored-by: Ben Toogood <ben@micro.mu>
Co-authored-by: Asim Aslam <asim@aslam.me>
2020-03-12 18:13:03 +00:00
Asim Aslam
f55493993c
set namespace rather than key ( #1331 )
2020-03-11 22:31:24 +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
Vasiliy Tolstov
67acd9288b
config/source/cli: fix tests ( #1179 )
...
* config/source/cli: fix tests
* skip mdns test in travis
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-02-08 02:45:32 +03:00
Vasiliy Tolstov
0bf6c9fc08
config/source/cli: fix default flag value loading ( #1178 )
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-02-08 02:14:34 +03: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
49b86c56e3
go fmt
2020-01-29 22:40:43 +00:00
Vasiliy Tolstov
e6a34bcbe7
update micro/cli to urfave/cli/v2 and fix go-micro
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-01-25 15:57:08 +03:00
Asim Aslam
1c19678d04
Update proto Service => Config
2020-01-23 11:37:54 +00:00
shu xian
94bb0f4c08
watch supports path
2020-01-20 18:31:18 +08:00
shu xian
8d6f82707a
update to standard name convention
2020-01-18 23:16:23 +08:00
shu xian
9ea4919b9b
rename mucp source directory to service
2020-01-17 23:53:33 +08:00
shu xian
ad28b72dd3
rename mucpSource to service
2020-01-17 23:27:41 +08:00
shu xian
a03791c581
set DefaultClient
2020-01-17 21:32:00 +08:00
shu xian
071ab7aede
add mucp for config/source
2020-01-17 00:10:15 +08:00
Asim Aslam
81e20160f5
reorder
2019-12-23 08:49:53 +00:00
Asim Aslam
ef95b28e3d
add Write method to config source
2019-12-23 08:42:57 +00:00
Vasiliy Tolstov
a1eaf9cc20
linting fixes
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2019-12-04 00:22:02 +03:00
Till Knuesting
f67c5e779f
preallocated slices ( #917 )
2019-11-05 17:43:12 +00:00
Asim Aslam
af5d7a3420
Move the remaining consul cruft to go-plugins
2019-10-03 11:22:35 +01:00
Milos Gajdos
87a5e85062
Add 1.13 support. Fix tests to enable 1.13 support
2019-09-27 17:14:24 +01:00
Yumin Wu
5b991cd2c2
Update config source README file
2019-09-04 15:49:58 +08:00