Commit Graph

719 Commits

Author SHA1 Message Date
Stanley Cheung c6af7c6130 Bump to version 1.0.7 2019-09-24 16:37:54 -07:00
Stanley Cheung 2fa4270334 Fix generated code return type, and remove unused var 2019-09-18 13:10:53 -07:00
vnorigoog 192fef8909
Update README.md 2019-09-10 15:48:03 -07:00
Stanley Cheung f16acc0a0d Add src/ connector 2019-09-10 14:47:36 -07:00
Stanley Cheung 8113edeeff Use nullptr instead 2019-09-09 15:34:04 -07:00
Alexey Smirnov 5ee2126d85 Fix output directory name when using import_style=typescript 2019-09-09 13:37:31 -07:00
Stanley Cheung ea4f1aa637 Added API for simple unary call 2019-09-09 13:19:11 -07:00
Harman Gakhal 1711674d66 Return specific grpc status code on http error 2019-08-23 16:10:03 -07:00
Stanley Cheung 9365fd62fc WIP: Generate method descriptors into multiple files 2019-08-22 10:49:30 -07:00
Geoffrey Salisi fd8ee6b8bf Remove `enabled` deprecated field 2019-08-21 12:57:06 -07:00
Stanley Cheung 5df306a8d6 Add maintainers list 2019-08-20 15:14:41 -07:00
Stanley Cheung ab906036ea Add support in code generator for printing only method descriptors 2019-08-20 12:58:50 -07:00
Stanley Cheung 6a3b282fb0 Remove internal frameworks mode 2019-08-17 00:19:50 -07:00
Stanley Cheung e2f999a0df Some linter formatting changes 2019-08-05 14:39:48 -07:00
Stanley Cheung d69f188c9e Fix constructor 2019-08-05 13:47:06 -07:00
Stanley Cheung 36598a2ab1 Fixed semicolons 2019-08-03 00:09:53 -07:00
Stanley Cheung 3b76ca5810 Fix status and error callbacks 2019-08-03 00:09:53 -07:00
Stanley Cheung 513a578f7f Update docs to 1.0.6 2019-08-01 23:45:13 -07:00
Stanley Cheung 8b501a96f4 Remove trailing whitespace; 2019-07-31 17:42:43 -07:00
Stanley Cheung 365783307e Add option to set withCredentials to true 2019-07-31 16:53:50 -07:00
Stanley Cheung 2ae8118d78 Adding some groundwork for generic client 2019-07-31 16:22:41 -07:00
Stanley Cheung 86d67cf8e1 Update closure flag 2019-07-31 00:37:56 -07:00
Stanley Cheung 8a01f3022a Bump to version 1.0.6 2019-07-30 22:25:33 -07:00
Stanley Cheung a651f78e67 Update eval test 2019-07-30 21:44:32 -07:00
Stanley Cheung 8a13b6f7db Add generated code eval test 2019-07-30 21:44:32 -07:00
lqs ab242d2bb9 fix wrong package name of input type 2019-07-30 17:51:33 -07:00
Gary Lo 66cab4cd35 HelloWorld: Bind ports to envoy admin
It was useful to be able to see the envoy admin to debug and understand how GRPC-Web works with Envoy
2019-07-21 22:00:13 -07:00
Gary Lo 952d0f5869 Fix: Helloworld Example - Enabled Deprecation
Fixes Envoy not starting up due to https://www.envoyproxy.io/docs/envoy/latest/intro/deprecated
```
[2019-07-18 01:48:05.301][7][critical][main] [source/server/server.cc:93] error initializing configuration '/etc/envoy/envoy.yaml': Proto constraint validation failed (Using deprecated option 'envoy.api.v2.route.CorsPolicy.enabled' from file route.proto. This configuration will be removed from Envoy soon. Please see https://www.envoyproxy.io/docs/envoy/latest/intro/deprecated for details. If continued use of this field is absolutely necessary, see https://www.envoyproxy.io/docs/envoy/latest/configuration/runtime#using-runtime-overrides-for-deprecated-features for how to apply a temporary and highly discouraged override.): allow_origin: "*"
allow_methods: "GET, PUT, DELETE, POST, OPTIONS"
allow_headers: "keep-alive,user-agent,cache-control,content-type,content-transfer-encoding,custom-header-1,x-accept-content-transfer-encoding,x-accept-response-streaming,x-user-agent,x-grpc-web,grpc-timeout"
expose_headers: "custom-header-1,grpc-status,grpc-message"
max_age: "1728000"
enabled {
  value: true
}

[2019-07-18 01:48:05.301][7][info][main] [source/server/server.cc:560] exiting
Proto constraint validation failed (Using deprecated option 'envoy.api.v2.route.CorsPolicy.enabled' from file route.proto. This configuration will be removed from Envoy soon. Please see https://www.envoyproxy.io/docs/envoy/latest/intro/deprecated for details. If continued use of this field is absolutely necessary, see https://www.envoyproxy.io/docs/envoy/latest/configuration/runtime#using-runtime-overrides-for-deprecated-features for how to apply a temporary and highly discouraged override.): allow_origin: "*"
allow_methods: "GET, PUT, DELETE, POST, OPTIONS"
allow_headers: "keep-alive,user-agent,cache-control,content-type,content-transfer-encoding,custom-header-1,x-accept-content-transfer-encoding,x-accept-response-streaming,x-user-agent,x-grpc-web,grpc-timeout"
expose_headers: "custom-header-1,grpc-status,grpc-message"
max_age: "1728000"
enabled {
  value: true
}
```
2019-07-19 23:22:07 -07:00
Mitar 3568cde5e9 Updating for new Envoy versions. 2019-07-19 23:04:42 -07:00
vnorigoog dad250d37e
Update IN-PROCESS-PROXY.md 2019-07-12 15:29:32 -07:00
Stanley Cheung e24206f1fb Update docs to point to 1.0.5 2019-07-09 17:36:18 -07:00
Stanley Cheung 6c6f7748a1 remove whitespace 2019-07-09 14:20:42 -07:00
Daniel Bader a3174cb1d0 Update Bazel to 0.27.1 2019-07-02 13:32:32 -07:00
Daniel Bader 885dfbc546 Let _proto_include_paths return list instead of depset. 2019-07-02 13:32:32 -07:00
Daniel Bader 04f78beb36 Update Bazel version to 0.27.0 2019-07-02 13:32:32 -07:00
Daniel Bader d74c3f0abf As of Bazel 0.27.0, depset is no longer iterable. 2019-07-02 13:32:32 -07:00
Daniel Bader ed2c747a34 Update rules_closure version. 2019-07-02 13:32:32 -07:00
Oleg Vodolazsky 3e92de6ef0 Update Envoy configuration in helloworld example README.md 2019-07-01 11:17:34 -07:00
Markus Padourek db6cd68df9 Add missing newline 2019-07-01 11:16:08 -07:00
Markus Padourek 10828d7ccc Ensure credentials are not undefined in typescript
Fixes #581
2019-07-01 11:16:08 -07:00
Ben Foxall 0c24e95a38 Uppercase enum keys
To match the generated JS
2019-07-01 10:38:09 -07:00
Stanley Cheung d16364954a Make MethodType a separate class 2019-06-06 15:39:50 -07:00
Stanley Cheung cee964f746 Fix missing bazel def 2019-06-06 15:39:50 -07:00
Stanley Cheung a8e54b3885 Introducing MethodDescriptor 2019-06-06 15:39:50 -07:00
Stanley Cheung b8bbb459d7 Bump to version 1.0.5 2019-05-20 11:20:35 -07:00
Henke Adolfsson 968b3d2bb2 Default to no grpc-timeout header when timeout is Infinity 2019-05-19 23:09:38 -07:00
Henke Adolfsson 9e666831d1 Use precalculated number for Infinity 2019-05-19 23:09:38 -07:00
Henke Adolfsson 81426015b3 Remove a isFinite that was already checked for 2019-05-19 23:09:38 -07:00
Henke Adolfsson d7fac321b6 Add fix for timeout of strings, NaN, Infinity and -Infinity 2019-05-19 23:09:38 -07:00
Stanley Cheung 671255e706 Adding new fields to MethodInfo 2019-05-13 11:22:06 -07:00