Commit Graph

50 Commits

Author SHA1 Message Date
Renovate Bot
c79c050124 Update module github.com/unistack-org/micro/v3 to v3.3.17 2021-04-27 08:21:29 +00:00
Renovate Bot
18ebf1b780 Update module github.com/unistack-org/micro/v3 to v3.3.16 2021-04-20 13:31:28 +00:00
Renovate Bot
c9e69957c7 Update module github.com/unistack-org/micro/v3 to v3.3.15 2021-04-19 16:04:30 +00:00
Renovate Bot
4a58ce50f3 Update module github.com/unistack-org/micro/v3 to v3.3.14 2021-04-19 02:20:28 +00:00
Renovate Bot
d616f8e35e Update module github.com/unistack-org/micro/v3 to v3.3.13 2021-04-10 01:49:22 +00:00
Renovate Bot
9d4066f3b3 Update module github.com/unistack-org/micro/v3 to v3.3.11 2021-04-03 10:41:04 +00:00
Renovate Bot
cc6fbc6d64 Update module github.com/unistack-org/micro/v3 to v3.3.10 2021-03-31 23:47:14 +00:00
Renovate Bot
14e58819ad Update module github.com/unistack-org/micro/v3 to v3.3.8 2021-03-28 23:28:19 +00:00
Renovate Bot
5e2fc90c0f Update module github.com/unistack-org/micro/v3 to v3.3.4 2021-03-26 18:16:21 +00:00
Renovate Bot
60bd1a03e6 Update module github.com/unistack-org/micro/v3 to v3.3.2 2021-03-25 13:27:22 +00:00
Renovate Bot
fe7249252c Update module github.com/unistack-org/micro/v3 to v3.3.1 2021-03-25 01:28:31 +00:00
Renovate Bot
ddd3c57676 Update module github.com/unistack-org/micro/v3 to v3.3.0 2021-03-24 14:30:53 +00:00
Renovate Bot
6152eb776d Update module github.com/unistack-org/micro/v3 to v3.2.26 2021-03-23 17:59:20 +00:00
Renovate Bot
e729a99ba6 Update module github.com/unistack-org/micro/v3 to v3.2.24 2021-03-21 15:48:15 +00:00
Renovate Bot
02a913cf7e Update module github.com/unistack-org/micro/v3 to v3.2.23 2021-03-16 19:33:59 +00:00
Renovate Bot
226d71ddbf Update module github.com/unistack-org/micro/v3 to v3.2.22 2021-03-15 01:58:17 +00:00
Renovate Bot
2f05416d41 Update module github.com/unistack-org/micro/v3 to v3.2.20 2021-03-07 00:00:31 +00:00
Renovate Bot
396349a280 Update module github.com/unistack-org/micro/v3 to v3.2.18 2021-03-06 19:36:58 +00:00
Renovate Bot
2bdb943a91 Update module github.com/unistack-org/micro/v3 to v3.2.17 2021-03-05 16:55:52 +00:00
Renovate Bot
a1decca7a1 Update module github.com/unistack-org/micro/v3 to v3.2.16 2021-03-04 12:11:09 +00:00
Renovate Bot
d7ee92c769 Update module github.com/unistack-org/micro/v3 to v3.2.15 2021-03-01 13:02:04 +00:00
Renovate Bot
8cf7ded490 Update module unistack-org/micro/v3 to v3.2.14 2021-02-18 17:47:07 +00:00
4eeeb35d88 update workflows
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-18 18:46:05 +03:00
Renovate Bot
09e9df9262 Update module unistack-org/micro/v3 to v3.2.11 2021-02-12 15:48:29 +00:00
Renovate Bot
7482530477 Update module unistack-org/micro/v3 to v3.2.9 2021-02-12 13:06:49 +00:00
352df246f9 update renovate.json
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-12 12:40:35 +03:00
6bfa9fa211
Merge pull request #5 from unistack-org/renovate/major-all
Update all deps to v2 (major)
2021-02-10 20:15:14 +03:00
1acc0f5447
Merge pull request #4 from unistack-org/renovate/all
Update module unistack-org/micro/v3 to v3.2.8
2021-02-10 20:14:23 +03:00
Renovate Bot
c2cbfb40fc
Update all deps to v2 2021-02-10 16:47:15 +00:00
Renovate Bot
5736b5c85b
Update module unistack-org/micro/v3 to v3.2.8 2021-02-10 16:47:08 +00:00
3042f91fd5 move renovate.json
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-10 19:46:10 +03:00
40ee78d63b
Merge pull request #1 from unistack-org/renovate/configure
Configure Renovate
2021-02-10 14:27:58 +03:00
Renovate Bot
eaea8506af
Add renovate.json 2021-02-08 23:13:36 +00:00
8a32e72e9e update for latest micro
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-29 14:54:40 +03:00
3dc53c0117 update micro to v3.1.1
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-16 01:20:09 +03:00
58f8ed2f73 use own fork
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-10 14:31:47 +03:00
Asim Aslam
5783598fa6 Move api/router/util to util/router (#1909) 2021-01-10 14:30:46 +03:00
Asim Aslam
03b5d4859a v3 refactor (#1868)
* Move to v3

Co-authored-by: Ben Toogood <bentoogood@gmail.com>
2021-01-10 14:30:46 +03:00
01c824bbfa api/router: avoid unneeded loops and fix path match (#1594)
* api/router: avoid unneeded loops and fix path match

* if match found in google api path syntax, not try pcre loop
* if path is not ending via $ sign, append it to pcre to avoid matching other strings like
  /api/account/register can be matched to /api/account
* api: add tests and validations

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-10 14:30:46 +03:00
5821c18193 api/router: support pcre and google.api pattern matching (#1549)
* api/router: support pcre and google.api pattern matching

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-10 14:30:46 +03:00
6db825838a 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-10 14:30:46 +03:00
Asim Aslam
f911bf794f fix import 2021-01-10 14:30:46 +03:00
Asim Aslam
e2c1df3de6 Strip MetadataKey global var 2021-01-10 14:30:46 +03:00
09caac9a80 api minor improvements (#1526)
* api/handler/rpc: unblock all http methods and set Host meta
* api/router/static: add debug log

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-10 14:30:46 +03:00
Asim Aslam
c13f8bd021 move reg util to own package (#1523)
* move reg util to own package

* fix test

* fix broken static router
2021-01-10 14:30:46 +03:00
e32ca852e0 api/router/static: allow to specify body dst (#1486)
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-10 14:30:46 +03:00
b7b731fc79 api/handler/rpc: binary streaming support (#1466)
* api/handler/rpc: binary streaming support

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>

* fixup

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>

* fix

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>

* fix sec webscoekt protol

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-10 14:30:46 +03:00
5e8581146a api: use http request Clone (#1458)
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-10 14:30:46 +03:00
77176ca068 fix api metadata extract from context (#1452)
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-10 14:30:46 +03:00
b53005c035 api: add static router and improve path parser in rpc handler (#1437)
* api: add static router and improve path parser in rpc handler

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>

* expose metadata context key to be able to get unmodified map keys

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>

* server/grpc: fix jsonpb codec for protobuf msg

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>

* api/handler/rpc: write 204 status code when rsp is nil

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>

* api/handler/rpc: add check for nil response for non javascript

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-10 14:30:46 +03:00