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
Johnson C
3e0411a3f6
fixing mem.pprof issue: ( #2198 )
...
parsing profile: concatenated profiles detected
fixing web service not start profile issue
fixing no default profile options issue
2021-08-04 09:39:01 +01:00
Asim Aslam
1c482e8922
add web package
2021-07-06 11:12:19 +01:00
Asim Aslam
206bf8cd0a
remove web
2020-12-12 20:15:59 +00:00
Ben Toogood
d6c1fbf841
Fix web service auth name
2020-05-26 17:43:45 +01:00
Asim Aslam
a29676b86a
Registration Retry / Interval ( #1651 )
...
* Change the default ttl to 90 seconds
* add retries to registration
* Add retry to web register
2020-05-20 11:49:09 +01:00
Patrik Lindahl
f0c0f3d4c4
Fixes for #1560 ( #1644 )
...
close #1560
This fixes one of the reported data races and also allows for
having a different name on the micro.Service and web.Service.
This makes it possible to discover the two service variants separately.
Co-authored-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-05-19 14:11:26 +03:00
Ben Toogood
6b451a2197
Refactor auth setup to util/auth
2020-05-14 16:10:14 +01:00
gggwvg
d61df6363b
web: fix advertise address ( #1608 )
...
* web: fix advertise address
* web: fix test
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
Co-authored-by: Asim Aslam <asim@aslam.me>
Co-authored-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-05-08 12:31:03 +03:00
Vasiliy Tolstov
414b2ec5f8
web: fix deadlock ( #1585 )
...
* web: fix deadlock
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* add web tests
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-04-28 12:23:52 +01:00
Vasiliy Tolstov
e0c9234c0e
web: use default logger ( #1577 )
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-04-27 00:03:05 +03:00
Vasiliy Tolstov
980b772801
fix races in web and logger ( #1576 )
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-04-26 17:41:36 +03:00
Janos Dobronszki
075d7d4fef
Renaming ShutdownSignals -> Shutdown ( #1553 )
2020-04-21 14:14:20 +02:00
Janos Dobronszki
e5c215556e
Add SIGKILL to shutdown signals ( #1552 )
...
* Add SIGKILL to shutdown signals
* go mod tidy
* Add missing file
2020-04-21 14:00:12 +02:00
Asim Aslam
c4acf3c2cb
Static serving disabled
2020-04-19 20:30:38 +01:00
Asim Aslam
a08ff90976
fix this bs logging issue
2020-04-18 23:36:00 +01:00
Asim Aslam
ae8404d760
Log listening port
2020-04-18 23:32:20 +01: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
Asim Aslam
c1ad6d6c7c
set service name in web
2020-04-09 09:41:50 +01:00
Edward
31a1ea6fae
fix: use registry from opts not use default directly:( #1436 ) ( #1468 )
...
web: use passed user registry, or default
2020-04-05 13:15:38 +03: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
a864f812f1
web: fix ipv6 address issue ( #1308 )
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-03-06 18:44:56 +03:00
Eric
1034837f69
Adjusting the BeforeStart () position ( #1263 )
...
Co-authored-by: Asim Aslam <asim@aslam.me>
2020-02-26 11:44:10 +03: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
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
shikbupt
32a2005f6d
add option for web service signal handler ( #1091 )
2020-01-10 14:25:28 +00:00
Vasiliy Tolstov
a957e90ca8
add RegisterCheck web server option for internal health checks
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2019-12-05 17:28:11 +03:00
Thomas Boerger
30aec5b872
No newlines at end of log messages
...
Log messages should not end with a new line, this should be entirely
handled by the underlying log library.
Signed-off-by: Thomas Boerger <thomas@webhippie.de>
2019-12-05 10:56:45 +01:00
Astone
29fb58db39
improve code quality
2019-12-03 20:59:02 +08:00
Hobo86
e8d2f207d8
fix-907
...
web service need modify registry service nodes while register interval
2019-11-02 16:39:56 +08:00
tegk
f88518d994
used gofmt with -s flag on whole project
2019-11-01 15:07:53 +00:00
Asim Aslam
e0bf1c2283
Remove Port from registry
2019-07-08 08:01:42 +01:00
Asim Aslam
d2857a7b16
Add web and update deps
2019-06-03 19:30:43 +01:00