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
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
ben-toogood
bf747a86f4
Runtime ( #1160 )
...
* Add String to Runtime interface
* Setup Dynamic Runtime Configuration
2020-02-05 13:59:35 +00:00
ben-toogood
d621548120
Auth ( #1147 )
...
Implement the Auth interface, with JWT and service implementations.
* Update Auth Interface
* Define Auth Service Implementation
* Support Service Auth
* Add Auth Service Proto
* Remove erronious files
* Implement Auth Service Package
* Update Auth Interface
* Update Auth Interface. Add Validate, remove Add/Remove roles
* Make Revoke interface more explicit
* Refactor serializing and deserializing service accounts
* Fix srv name & update interface to be more explicit
* Require jwt public key for auth
* Rename Variables (Resource.ID => Resource.Name & ServiceAccount => Account)
* Implement JWT Auth Package
* Remove parent, add ID
* Update auth imports to v2. Add String() to auth interface
2020-02-03 08:16:02 +00:00
Asim Aslam
0be22c98c6
add tracing
2020-01-30 23:24:46 +00:00
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
a291af59c4
Merge pull request #1142 from micro/tracing
...
Fix null tracer bug
2020-01-30 07:55:58 +00:00
Ben Toogood
d9f12731e1
Fix null tracer bug
2020-01-30 07:53:31 +00:00
Asim Aslam
4a838a8210
Merge branch 'master' of ssh://github.com/micro/go-micro
2020-01-29 23:14:16 +00:00
Asim Aslam
5969cc358e
nats-e => eats
2020-01-29 23:14:05 +00:00
Asim Aslam
9f1a7e1139
Merge pull request #1127 from Allenxuxu/master
...
handle Loader.Load return value error
2020-01-29 22:44:29 +00:00
Asim Aslam
49b86c56e3
go fmt
2020-01-29 22:40:43 +00:00
Asim Aslam
de3c3b27b2
Merge pull request #1140 from micro/tracing
...
Tracing by Ben Toogood
2020-01-29 22:28:49 +00:00
Micro
62c067adcd
Refactor debug/trace ready for Jaeger
2020-01-29 15:45:11 +00:00
Lars Lehtonen
895aa896bc
config/reader/json: remove unused newValue()
2020-01-28 11:38:55 -08:00
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
2b1844971c
go fmt
2020-01-24 21:31:57 +00:00
Asim Aslam
1c19678d04
Update proto Service => Config
2020-01-23 11:37:54 +00:00
Shu xian
8e1ff80b9e
Merge pull request #1 from micro/master
...
merge
2020-01-20 20:08:21 +08:00
shu xian
94bb0f4c08
watch supports path
2020-01-20 18:31:18 +08:00
Allenxuxu
dbe209ebe4
Merge branch 'master' of https://github.com/micro/go-micro
2020-01-20 08:37:34 +08:00
Asim Aslam
3f3c1919f4
strip certain plugins
2020-01-19 17:56:59 +00:00
Asim Aslam
e75b99f89c
go fmt
2020-01-19 13:32:24 +00:00
Allenxuxu
ee7304a795
NewConfig return value error
2020-01-19 16:42:05 +08:00
Allenxuxu
a82fd19209
handle Loader.Load return value error
2020-01-19 16:31:02 +08:00
Asim Aslam
1983d607f3
set nats-e
2020-01-19 01:47:30 +00:00
Asim Aslam
11b104677a
Shift embedded nats to the default
2020-01-19 00:55:01 +00: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
1d311ab457
Embedded NATS Broker ( #1110 )
...
* if the address is produced by a default route don't hash it
* embedded nats
* fix url parsing
* don't override help
* add ready flag
2020-01-14 13:23:16 +00:00
Shu xian
fa5b3ee9d9
config/reader.Values add Set for specific path merge ( #1099 )
...
* add Set for specific path merge
* add Set
* add Del
2020-01-11 20:50:09 +00:00
Asim Aslam
f50a50eeb3
go fmt
2020-01-10 21:54:36 +00:00
Asim Aslam
6ca298c61d
set default store, fix store options bug, add String method
2020-01-10 19:13:55 +00:00
Asim Aslam
048065fe96
support ability to set store, address and namespace via flags and env vars ( #1092 )
2020-01-08 12:11:31 +00:00
Asim Aslam
be6e8a7c78
add store to defaults ( #1086 )
2020-01-06 17:44:32 +00:00
Asim Aslam
f40d4578d5
go fmt
2019-12-30 17:29:45 +00:00
Asim Aslam
c145f355dd
Moving to gRPC by default ( #1069 )
...
* Step 1
* Fix the test panics
2019-12-29 21:07:55 +00:00
Asim Aslam
61cde4a9f4
Kubernetes Registry ( #1064 )
...
* add teh k8s registry
* add k8s reg config/cmd
* go mod update
2019-12-27 20:08:46 +00: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
Asim Aslam
ff69d46c98
strip some cruft from config/cmd
2019-12-10 18:12:29 +00:00
Allenxuxu
b55b7d6b20
replace map with list
2019-12-05 19:29:48 +08:00
a1eaf9cc20
linting fixes
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2019-12-04 00:22:02 +03:00
Till Knuesting
5ae3e179b9
preallocated slices ( #934 )
2019-11-11 00:03:51 +00:00
Asim Aslam
ce080d76c6
add debug/profile package ( #920 )
...
* add debug/profile package
* set service+version for profile
2019-11-06 19:36:04 +00:00
Till Knuesting
f67c5e779f
preallocated slices ( #917 )
2019-11-05 17:43:12 +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