Commit Graph

44 Commits

Author SHA1 Message Date
Renovate Bot
7de462c1c7 Update module github.com/unistack-org/micro/v3 to v3.3.7 2021-03-28 19:50:14 +00:00
Renovate Bot
c6f9d9fde7 Update module github.com/unistack-org/micro/v3 to v3.3.4 2021-03-26 17:39:24 +00:00
Renovate Bot
7e97c73a33 Update module github.com/unistack-org/micro/v3 to v3.3.2 2021-03-25 12:50:22 +00:00
Renovate Bot
bb364e5a7e Update module github.com/unistack-org/micro/v3 to v3.3.1 2021-03-25 00:09:45 +00:00
Renovate Bot
8e8dc545c1 Update module github.com/unistack-org/micro/v3 to v3.3.0 2021-03-24 14:28:26 +00:00
Renovate Bot
752e4366b8 Update module github.com/unistack-org/micro/v3 to v3.2.26 2021-03-23 17:43:53 +00:00
Renovate Bot
946ddc8d4f Update module github.com/unistack-org/micro/v3 to v3.2.24 2021-03-21 17:24:46 +00:00
Renovate Bot
cf5025fc28 Update module github.com/unistack-org/micro/v3 to v3.2.23 2021-03-16 18:36:50 +00:00
Renovate Bot
295d5ab91c Update module github.com/unistack-org/micro/v3 to v3.2.22 2021-03-15 01:21:33 +00:00
Renovate Bot
899f8b07be Update module github.com/unistack-org/micro/v3 to v3.2.20 2021-03-06 23:13:09 +00:00
Renovate Bot
494ce930dc Update module github.com/unistack-org/micro/v3 to v3.2.17 2021-03-05 17:11:33 +00:00
Renovate Bot
7398b28759 Update module github.com/unistack-org/micro/v3 to v3.2.16 2021-03-04 12:25:00 +00:00
Renovate Bot
7c380c8b71 Update module unistack-org/micro/v3 to v3.2.14 2021-02-18 19:18:08 +00:00
36a501418a update workflows
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-18 18:43:46 +03:00
Renovate Bot
18e4c9a507 Update module unistack-org/micro/v3 to v3.2.11 2021-02-12 15:55:48 +00:00
Renovate Bot
0daa8b3609 Update module unistack-org/micro/v3 to v3.2.9 2021-02-12 13:23:22 +00:00
3b17f89403 update renovate.json
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-12 12:38:04 +03:00
d9980df3f3
Merge pull request #4 from unistack-org/renovate/all
Update module unistack-org/micro/v3 to v3.2.8
2021-02-10 20:27:55 +03:00
b8a11c9d06
Merge pull request #5 from unistack-org/renovate/major-all
Update all deps to v2 (major)
2021-02-10 20:27:45 +03:00
Renovate Bot
9547fa47aa
Update all deps to v2 2021-02-10 11:06:17 +00:00
Renovate Bot
0b0bbce44c
Update module unistack-org/micro/v3 to v3.2.8 2021-02-10 11:06:10 +00:00
444bff06a4 move renovate.json
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-10 14:05:14 +03:00
2dac9c47f9
Merge pull request #1 from unistack-org/renovate/configure
Configure Renovate
2021-02-10 13:52:00 +03:00
Renovate Bot
c1a79922f7
Add renovate.json 2021-02-08 23:28:55 +00:00
167c276bca update for latest micro
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-29 15:46:17 +03:00
e8b9086eb8 update for latest micro
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-29 14:56:39 +03:00
637dcb5cc1 update micro to v3.1.1
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-16 01:24:38 +03:00
b9ccb43243 use own fork
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-10 14:30:04 +03:00
Asim Aslam
cf3186c481 Move api/router/util to util/router (#1909) 2021-01-10 14:28:08 +03:00
Asim Aslam
ac0f3bcbd5 dont process endpoint unless absolutely necessary 2021-01-10 14:28:08 +03:00
Asim Aslam
a4a73bac67 v3 refactor (#1868)
* Move to v3

Co-authored-by: Ben Toogood <bentoogood@gmail.com>
2021-01-10 14:28:08 +03:00
Asim Aslam
cf117e2b46 fix typo (#1789) 2021-01-10 14:28:08 +03:00
ben-toogood
9a13b816be api/router/registry: use resolved domain (#1774) 2021-01-10 14:28:08 +03:00
ben-toogood
7c4047a900 api/resolver: update resolver to enable subdomain routing (#1747)
* api/resolver: update domain / service prefix usage

* api/resolver/subdomain: implement subdomain resolver for domain resolution

* api/handler: fix tests
2021-01-10 14:28:08 +03:00
Dominic Wong
a1d60688e1 Fix regex detection. Fixes #1663 (#1696) 2021-01-10 14:28:08 +03:00
750283cefd 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:28:08 +03:00
930b329310 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:28:08 +03:00
2f5eaa0127 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:28:08 +03:00
Asim Aslam
f34a4d29de Strip namespace from registry router 2021-01-10 14:28:08 +03:00
7970ee41af 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:28:08 +03:00
Asim Aslam
d5927581d2 Move error for api validation to trace level (#1432)
* remove error on endpoint validation

* trace level
2021-01-10 14:28:08 +03:00
c580879955 api/router/registry: use logger (#1402)
* api/router/registry: use logger

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

* api/server/acme: use logger

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-10 14:28:08 +03:00
e15ad46e01 fix import paths for v2 release
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-10 14:28:08 +03:00
Asim Aslam
e43ffb92a3 Further consolidate the libraries 2021-01-10 14:28:08 +03:00