152 Commits

Author SHA1 Message Date
murgatroid99
2d0d256bf4 Node: fix handling/propagation of server-side serialization errors 2017-02-02 13:37:36 -08:00
murgatroid99
0162490a67 Node: Validate arguments to addService, fix a couple of minor issues 2017-01-30 16:52:17 -08:00
Nathaniel Manista
b74d3422b1 v1.0.x → master upmerge
Manual changes:

 - Fixed use of Exception.message in _invalid_metadata_test.py

 - Fixed merge of one_failed_as_unavailable in rpc_server_spec.rb

 - Added "set -e" to generate_build_additions.sh
2016-12-16 23:48:52 +00:00
murgatroid99
6962aed6fa Make event order consistent, and make 'end' and 'error' mutually exclusive 2016-12-13 18:05:33 -08:00
murgatroid99
5c8df435fa Add missing return 2016-12-01 10:59:52 -08:00
murgatroid99
15d4875138 Also propagate serialization errors in unary server responses 2016-12-01 10:30:35 -08:00
murgatroid99
d0402e0093 Node: correctly bubble up errors caused by non-serializable writes 2016-11-29 18:16:57 -08:00
murgatroid99
9579512d35 Make Node library compatible with lodash 3 2016-11-14 10:43:26 -08:00
murgatroid99
22b2e81604 Merge remote-tracking branch 'upstream/v1.0.x' into v1.0.1_upmerge 2016-10-28 11:48:22 -07:00
murgatroid99
4159622a60 Add a libuv endpoint to the C core, for use in the Node library 2016-09-16 13:25:08 -07:00
murgatroid99
5ebba7b69a Update Node library dependencies and change deprecated function calls 2016-08-15 13:14:16 -07:00
murgatroid99
7ca38bd5b8 Fix error handling authentication errors with non-numeric error codes 2016-08-02 13:07:35 -07:00
murgatroid99
5fcc18197b Fix a memory leak in Node call credentials 2016-07-14 13:22:22 -07:00
murgatroid99
3a4027745f Direct additional log statement through custom logger 2016-06-20 11:03:15 -07:00
murgatroid99
7cb9ec1092 Minor change to common.js 2016-06-01 16:05:48 -07:00
murgatroid99
227e336e63 Allow Node users to set a custom logger and log verbosity. Defaults to existing core logger 2016-06-01 11:42:20 -07:00
Jan Tattermusch
fe44f92c7c Merge pull request #6322 from murgatroid99/node_service_default_method
Make Node servers warn instead of fail when a method is missing a handler
2016-04-28 18:34:40 -07:00
murgatroid99
6ad92b2399 Make Node servers warn instead of fail when a method is missing a handler 2016-04-27 14:55:13 -07:00
Dmitry Kovalev
849fcbadcd Fixing invalid usage of getProtobufServiceAttrs() function.
getProtobufServiceAttrs(service, options) must be called with 2 arguments.
2016-04-21 23:32:30 -07:00
Craig Tiller
789bed102e Update copyrights 2016-03-31 07:46:18 -07:00
Nicolas Noble
4b24af0d66 Merge pull request #5900 from murgatroid99/node_callback_convention
Follow Node's callback-last convention for client calls
2016-03-28 22:25:25 -07:00
murgatroid99
9f7a63ca21 Make option passing down to the client constructor more consistent 2016-03-28 12:46:42 -07:00
murgatroid99
a1c6f889b7 Fix Node status code usage to match spec 2016-03-23 15:36:51 -07:00
murgatroid99
2c2940227f Add option to use old client method argument order for now 2016-03-22 14:46:37 -07:00
murgatroid99
3b20f2f89b Follow Node's callback-last convention for client calls 2016-03-21 15:50:39 -07:00
murgatroid99
930da42c3a Node: made call credentials properly use UV async events. Also deleted some log lines 2016-03-16 11:39:15 -07:00
murgatroid99
9d4a5684e1 Merge branch 'master' into node_bad_message_handling 2016-03-10 17:52:19 -08:00
Craig Tiller
9d87453432 Merge pull request #5540 from soltanmm/upmerge
Merge release-0_13 into master
2016-03-09 20:02:08 -08:00
murgatroid99
cb72b166fd Node: propagate read errors back down to core 2016-03-07 17:49:37 -08:00
murgatroid99
c85428c74b Fix race between parsing messages and receiving status in Node client 2016-03-04 14:54:10 -08:00
murgatroid99
b3d98685ab Make client properly report when message deserialization fails 2016-02-26 13:25:49 -08:00
Jan Tattermusch
2ac2642dd4 Merge pull request #5331 from murgatroid99/node_message_reflection_info
Add more reflection information to Node client classes
2016-02-22 12:48:18 -08:00
murgatroid99
287f60af57 Add more reflection information to Node client classes 2016-02-19 15:52:14 -08:00
murgatroid99
0dd0bda233 Node: fix metadata validation bug, improve error reporting 2016-02-19 11:32:31 -08:00
murgatroid99
c18334aa30 Add tests and documentation for new options 2016-02-17 15:36:28 -08:00
murgatroid99
0fbb313c3b Node: add options to modify ProtoBuf behavior 2016-02-17 12:59:26 -08:00
Alistair Veitch
0285389dad post merge 2016-02-02 09:43:02 -08:00
Michael Lumish
b850e155ff Merge pull request #4709 from murgatroid99/node_method_names_no_capitalize
Don't modify proto method names in service paths in Node library
2016-01-14 18:29:56 -08:00
murgatroid99
4008482e65 Updated copyright in node/common.js 2016-01-14 11:09:08 -08:00
murgatroid99
e6690d6ee5 Don't modify proto method names in service paths in Node library 2016-01-13 10:05:00 -08:00
murgatroid99
10b3ca0118 Make Node library use core metadata validation instead of duplicating it 2016-01-07 10:03:18 -08:00
Jan Tattermusch
25c56f2413 Merge pull request #4306 from jcanizales/merge-release
Merge release-0.12 into master
2015-12-07 17:57:19 -08:00
murgatroid99
12aafc237f Refactored server.js and added a test to increase coverage 2015-12-07 10:52:25 -08:00
murgatroid99
09b021ae6d Generalize metadata plugin arguments to future-proof it 2015-12-04 15:15:41 -08:00
murgatroid99
e9af128a7c Ensure application and Node library user agent strings are together at the beginning 2015-11-06 10:25:06 -08:00
Tim Emiola
799aec2d80 Merge pull request #3886 from murgatroid99/node_file_comments
Added some file-level comments to Node source files
2015-10-30 11:24:45 +09:00
murgatroid99
0217e535d8 Added some file-level comments to Node source files 2015-10-19 16:35:34 -07:00
murgatroid99
c03d669fea This is a library. It should not output logs to STDOUT by default 2015-10-19 11:00:14 -07:00
murgatroid99
a485422787 Added more tests, removed some unused code, fixed a bug 2015-10-13 13:49:55 -07:00
murgatroid99
be6598082f Add some tests to increase coverage, fix some failures 2015-10-12 13:18:06 -07:00