Commit Graph

75 Commits

Author SHA1 Message Date
Renovate Bot
8443475d71
fix(deps): update module github.com/unistack-org/micro/v3 to v3.3.15 2021-04-19 13:01:42 +00:00
Renovate Bot
71073b77ac fix(deps): update module github.com/unistack-org/micro/v3 to v3.3.14 2021-04-19 02:37:43 +00:00
39d17ab5ce fix for latest micro
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-04-10 01:28:34 +03:00
Renovate Bot
0d86de8e87 fix(deps): update module github.com/unistack-org/micro/v3 to v3.3.11 2021-04-03 11:28:06 +00:00
Renovate Bot
fede23f41e fix(deps): update module github.com/unistack-org/micro/v3 to v3.3.10 2021-04-01 01:25:23 +00:00
Renovate Bot
c963499f76 fix(deps): update module github.com/unistack-org/micro/v3 to v3.3.9 2021-03-30 04:10:58 +00:00
Renovate Bot
633df3de9b fix(deps): update module github.com/unistack-org/micro/v3 to v3.3.8 2021-03-29 01:56:26 +00:00
Renovate Bot
289261d557 fix(deps): update module github.com/unistack-org/micro/v3 to v3.3.7 2021-03-28 19:42:40 +00:00
Renovate Bot
b8ceef488d fix(deps): update module github.com/unistack-org/micro/v3 to v3.3.4 2021-03-26 18:17:19 +00:00
Renovate Bot
63e41699a0 fix(deps): update module github.com/unistack-org/micro/v3 to v3.3.2 2021-03-25 14:28:48 +00:00
Renovate Bot
d66e8bb594 fix(deps): update module github.com/unistack-org/micro/v3 to v3.3.1 2021-03-25 02:10:48 +00:00
Renovate Bot
6f693a2c1d fix(deps): update module github.com/unistack-org/micro/v3 to v3.3.0 2021-03-24 14:47:25 +00:00
Renovate Bot
9eb9adc97e fix(deps): update module github.com/unistack-org/micro/v3 to v3.2.26 2021-03-23 17:47:19 +00:00
Renovate Bot
93bd2c2579 fix(deps): update module github.com/unistack-org/micro/v3 to v3.2.24 2021-03-21 15:22:06 +00:00
Renovate Bot
7046f19fe2 fix(deps): update module github.com/unistack-org/micro/v3 to v3.2.23 2021-03-16 19:00:25 +00:00
Renovate Bot
a17bf063a6 fix(deps): update module github.com/unistack-org/micro/v3 to v3.2.22 2021-03-15 02:15:51 +00:00
Renovate Bot
1054c722b7 fix(deps): update module github.com/unistack-org/micro/v3 to v3.2.20 2021-03-06 23:59:58 +00:00
Renovate Bot
97948f4177 fix(deps): update module github.com/unistack-org/micro/v3 to v3.2.18 2021-03-06 20:00:54 +00:00
Renovate Bot
798cad129d fix(deps): update module github.com/unistack-org/micro/v3 to v3.2.17 2021-03-05 17:42:29 +00:00
Renovate Bot
c21f43c6da fix(deps): update module github.com/unistack-org/micro/v3 to v3.2.16 2021-03-04 12:55:16 +00:00
6debf95e34 fix content type for fatal error
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-03-03 16:53:42 +03:00
Renovate Bot
3ce74daa8e fix(deps): update module github.com/unistack-org/micro/v3 to v3.2.15 2021-03-01 12:57:17 +00:00
Renovate Bot
8eae96c272 fix(deps): update module unistack-org/micro/v3 to v3.2.14 2021-02-18 19:30:50 +00:00
4480627cf0 update workflows
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-18 18:45:28 +03:00
Renovate Bot
a151bed4ba chore(deps): update module unistack-org/micro/v3 to v3.2.11 2021-02-12 15:34:58 +00:00
4c8bc015c3 update renovate.json
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-12 12:40:02 +03:00
08ceb7b108 avoid creating new err variable
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-11 15:21:44 +03:00
d300f5cfe7
Merge pull request #5 from unistack-org/renovate/all
chore(deps): update module unistack-org/micro/v3 to v3.2.8
2021-02-10 20:06:38 +03:00
8b6e62db29
Merge pull request #6 from unistack-org/renovate/major-all
chore(deps): update actions/setup-go action to v2
2021-02-10 20:06:13 +03:00
Renovate Bot
9f2d486f24
chore(deps): update actions/setup-go action to v2 2021-02-10 10:19:36 +00:00
Renovate Bot
fa77cdc265
chore(deps): update module unistack-org/micro/v3 to v3.2.8 2021-02-10 10:19:29 +00:00
1a8404244b move renovate.json
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-10 13:18:27 +03:00
08865f11e8
Merge pull request #4 from unistack-org/renovate/golangci-golangci-lint-action-2.x
chore(deps): update golangci/golangci-lint-action action to v2
2021-02-10 09:20:12 +03:00
Renovate Bot
c989fceb4f
chore(deps): update golangci/golangci-lint-action action to v2 2021-02-09 21:24:10 +00:00
1d191243e9
Merge pull request #1 from unistack-org/renovate/configure
Configure Renovate
2021-02-10 00:23:04 +03:00
Renovate Bot
f053c1299b
Add renovate.json 2021-02-08 23:50:46 +00:00
a9abd60f7c use own fork
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-16 00:55:19 +03:00
ben-toogood
8672b45b3d api: fix request body re-sequencing bug (#1996)
* api: don't mutate request body on POST requests

* fix test suite

* Improve solution

Co-authored-by: Asim Aslam <asim@aslam.me>
2021-01-16 00:45:10 +03:00
dy1006
9c3198e5bd Update rpc.go (#1975)
Co-authored-by: Asim Aslam <asim@aslam.me>
2021-01-16 00:45:10 +03:00
Asim Aslam
3a422231f3 remove handler/util package in favour of util/router (#1908) 2021-01-16 00:45:10 +03:00
Asim Aslam
07a08b478f v3 refactor (#1868)
* Move to v3

Co-authored-by: Ben Toogood <bentoogood@gmail.com>
2021-01-16 00:45:10 +03:00
Di Wu
3905686726 fix typo in comments (#1840)
* remove global error tracking

* rpc_server: fix invalid register err

* fix typo

Co-authored-by: Asim Aslam <asim@aslam.me>
2021-01-16 00:45:10 +03:00
5d5644f878 pass request context from request rpc endpoints (#1799)
http middleware can add additional metadata to context,
for example tracing wrappers, pass down it to underlining
services

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-16 00:45:10 +03:00
ben-toogood
b8d2c5dd23 Deprecate client/selector (#1767)
* client/{grpc,rpc}: depricate selector (wip)

* {client,cmd}: remove client/selector

* deprecate client/selector

* router/static: fix lookup

* config/cmd: add support for legacy static selector flag

* config/cmd: add support for legacy dns selector flag
2021-01-16 00:45:10 +03:00
4d24368bf5 api/handler/rpc: dont log error on normal websocket error code (#1688)
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-16 00:45:10 +03:00
cedaae65b7 api/handler/rpc: fix encoding of inner message (#1601)
* api/handler/rpc: fix encoding of inner message

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-16 00:45:10 +03:00
0ccd618bb1 bundle qson lib in util (#1561)
* copy qson from https://github.com/joncalhoun/qson
  as author not want to maintain repo
* latest code contains our fix to proper decode strings
  with escaped & symbol
* replace package in api/handler/rpc

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-16 00:45:10 +03:00
0656f3b400 api/router/registry: extract path based parameters from url to req (#1530)
* api/router/registry: extract path based parameters from url to req
* api/handler/rpc: fix empty body request parsing
* bundle grpc-gateway util funcs

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-16 00:45:10 +03:00
026212486a api/handler/rpc: improvements and fixes (#1535)
* api/handler/rpc: fix empty body case
* api/handler/rpc: copy all request headers to metadata

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-16 00:45:10 +03:00
Asim Aslam
2fafc81af7 Remove only allowing certain methods 2021-01-16 00:45:10 +03:00