Commit Graph

618 Commits

Author SHA1 Message Date
Youngchan Kim c4c112bc50 Update keepalive timeout: 10 -> 10000 2018-10-23 13:45:25 +09:00
Youngchan Kim f65615d4cd Update example description 2018-10-23 13:45:25 +09:00
Youngchan Kim 0a925095be Simplify example 2018-10-23 13:45:25 +09:00
Youngchan Kim cf09d16ca8 Add python example - channel options 2018-10-23 13:45:25 +09:00
kkm 6fcb5b29e1 Redo C# examples to use new Grpc.Tools
* No pre-compilation of proto files required;
* Tested under Windows and Linux dotnet and mono;
* But not tested on Mac/mono;
* README updated.
2018-10-14 02:24:12 -07:00
Mehrdad Afshari 3635a21b99
Merge pull request #16535 from eundoosong/remove_unused_import
Remove unused import
2018-09-27 10:41:20 -07:00
Muxi Yan 5e754a182c Add MacOS example 2018-09-18 11:46:07 -07:00
Eundoo Song 97264ea336 Remove unused import 2018-09-01 02:18:52 +09:00
Jan Tattermusch 8018b462b0 update C# examples to netcoreapp2.1 2018-08-30 20:39:52 +02:00
Jan Tattermusch a554a5cd70 regenerate protos for C# examples 2018-08-20 17:54:02 +02:00
Jan Tattermusch 5be1311472 upgrade HelloworldLegacyCsproj to grpc1.14.1 and protobuf 3.6.1 2018-08-20 17:50:30 +02:00
Jan Tattermusch c818320a3d upgrade dotnet examples to grpc1.14.1 and protobuf 3.6.1 2018-08-20 17:50:23 +02:00
Mehrdad Afshari 7793317aa7
Merge pull request #16252 from mehrdada/python_reflection_docs
Add server reflection guide for Python
2018-08-06 16:09:13 -07:00
Mehrdad Afshari 5ffb9bf8c4 Add server reflection guide for Python 2018-08-06 13:40:53 -07:00
Mehrdad Afshari 7b5e32a312 Refresh pb2 files in examples/python/multiplex 2018-08-06 10:17:05 -07:00
Jan Tattermusch 7c0cd2915e
HelloworldXamarin readme improvements 2018-08-03 13:07:27 +02:00
jzeferino 63ce61b4eb
Fixed typo. 2018-08-02 21:37:43 +01:00
jzeferino 1b36ca622c
Improved Xamarin example doc.
Xamarin Studio is no longer preferred for Xamarin development, we should use Visual Studio for Mac.
Also added more info on how to use the nuget package source.
2018-08-02 14:48:35 +01:00
apolcyn 708288ebc7
Merge pull request #16191 from hanmd82/add_multi_json_for_ruby_route_guide_example
Add 'multi_json' gem for Ruby tutorial route_guide_server to work
2018-08-01 22:24:22 -07:00
Jan Tattermusch 6975fe484c
Merge pull request #16194 from jtattermusch/add_xamarin_example
C#: Add Xamarin example
2018-08-01 12:15:16 +02:00
Jan Tattermusch 5e6af82241 add copyright notice for HelloworldXamarin 2018-08-01 10:27:33 +02:00
Michael Lumish b811b4e73d
Merge pull request #15239 from murgatroid99/node_example_proto_loader
Update Node examples to use new @grpc/proto-loader package
2018-07-31 14:40:43 -07:00
Jan Tattermusch 2180588e5c HelloworldXamarin readme 2018-07-31 12:42:47 +02:00
Jan Tattermusch ba6682a18c autogenerated changes in Resource.designer.cs 2018-07-31 12:42:47 +02:00
Jan Tattermusch 7ff80cfb5e use local server in XamarinHelloworld 2018-07-31 12:42:47 +02:00
Jan Tattermusch da5452578a experimental helloworld client for ios 2018-07-31 12:42:47 +02:00
Jan Tattermusch 705843c041 experimental helloworld client for android 2018-07-31 12:42:47 +02:00
Jan Tattermusch b335d58cb7 add generated protos 2018-07-31 12:42:47 +02:00
Jan Tattermusch ecaba8a8d3 HelloworldXamaring: add Google.Protobuf dependency 2018-07-31 12:42:47 +02:00
Jan Tattermusch fd91656429 HelloworldXamaring: add Grpc.Core dependency 2018-07-31 12:42:47 +02:00
Jan Tattermusch 3c497bf4c9 add HelloworldXamarin scaffolding 2018-07-31 12:42:47 +02:00
Mingding, Han 9d5b0cd871 Add 'multi_json' gem to gemspec so that route_guide_server can work 2018-07-31 12:18:36 +08:00
Jan Tattermusch 888d7da8de
address review comments 2018-07-27 09:53:18 +02:00
Jan Tattermusch e48fe72622 upgrade HelloworldLegacyCsproj to grpc1.13.1 2018-07-26 13:26:08 +02:00
Jan Tattermusch 1a70151ac7 update the README files 2018-07-26 13:18:21 +02:00
Jan Tattermusch 9f3e83e90a upgrade c# Helloworld and RouteGuide to v1.13.1 2018-07-26 12:59:07 +02:00
Jan Tattermusch b56747397b rename route_guide -> RouteGuide 2018-07-26 12:59:07 +02:00
Jan Tattermusch b8acb536e3 make new-style .csproj helloworld the default 2018-07-26 12:59:07 +02:00
Jan Tattermusch 760a492c53 move helloworld -> HelloworldLegacyCsproj 2018-07-26 12:59:07 +02:00
Jan Tattermusch 3443de4a65 convert route_guide to .NETcore project 2018-07-26 12:59:07 +02:00
Andres Medina 89642bb205 Corrected formatting of json files
examples/csharp/route_guide/RouteGuide/route_guide_db.json: Removed BOM
encoding. Some json parsers cannot natively open these files. There are
more portable ways to define Unicode encodings than embedded in files.

src/csharp/doc/docfx.json: Incorrect json format.
2018-06-22 10:09:18 -07:00
Jan Tattermusch f389e5267a overhaul of top-level .md files 2018-06-20 20:35:04 +02:00
Jan Tattermusch db53a61b8f deduplicate C++ routeguide 2018-06-20 15:06:51 +02:00
Nathaniel Manista 8234d14113 Close channels in examples 2018-06-14 17:16:04 +00:00
ganmacs 64ab89928c Put Gemfile for sub-directory of pubsub
examples/ruby/greeter*.rb and examples/ruby/route_guide/*.rb doesn't
need to depends on googleauth
2018-05-25 10:46:39 +09:00
ganmacs 61d9a42007 Moved pubsub demo_demo to examples directory of ruby
so that grpc does not depends on googleauth gem.

This project (pubsub demo) is introduced at [this
commit](d5d00d5c8f (diff-c495642bb64c09cae54f3ccff463bd51))
as demo project for grpc with ruby.
This demo is awesome. But the position of this project directory seems
to be not suitable for demo app. This project added unnecessary gem dependency about googleauth to grpc ruby gem.
2018-05-14 18:01:04 +09:00
murgatroid99 08ff4c1f69 Fix one partially changed line in route guide examples 2018-05-01 09:41:32 -07:00
murgatroid99 3a45e34028 Update Node examples to use new @grpc/proto-loader package 2018-04-30 17:53:35 -07:00
Jan Tattermusch 171044c4d4
Fix bad variable name in route_guide_server.js 2018-04-27 17:31:23 +02:00
Jan Tattermusch 85570890f8 remove C# global.json files 2018-04-20 12:53:19 +02:00
Eric Gribkoff 5a03bdb622
Merge pull request #14885 from ericgribkoff/android_cleanup
simplify CMake build
2018-04-03 15:09:59 -07:00
Eric Gribkoff 10ad26f917 refer to libprotobuf directly 2018-04-03 13:32:20 -07:00
Eric Gribkoff ffa10caf94 simplify CMake build 2018-03-30 11:10:44 -07:00
Jan Tattermusch 4a510960c6 add distribtest for grpc being added with cmake add_subdirectory 2018-03-29 14:12:10 +02:00
Jan Tattermusch 2286c633c2 cmake "superbuild" example using externalprojects 2018-03-28 19:30:44 +02:00
Eric Gribkoff 2d3d918db5 Fix Android build 2018-03-27 12:01:35 -07:00
Eric Gribkoff f54e4a35fa build protoc and grpc_cpp_plugin for android kokoro job 2018-03-23 17:04:25 -07:00
Jan Tattermusch a26aecc03b reimplement distance calculation in routeguide 2018-03-23 07:44:30 +01:00
Vijay Pai c90a85649b Change grpc++ references in names to grpcpp 2018-03-08 22:04:59 -08:00
Eric Gribkoff a32a4c51f8 C++ on Android example client and server 2018-03-02 08:42:46 -08:00
Muxi Yan 6ef0159e8e Make C++ cocoapods example work 2018-02-21 18:10:49 -08:00
Mehrdad Afshari 6d13712d07 Fix Python example unary/stream conflict 2018-02-05 15:06:26 -08:00
Muxi Yan bc4b7891c8 Merge remote-tracking branch 'upstream/master' into create-grpc-c++-podspec 2018-01-19 17:35:33 -08:00
Muxi Yan 61bb29f141 Clean up C++ tests and example 2018-01-19 17:32:27 -08:00
Muxi Yan 277e2e4f07 Clean up tests, examples, and podspecs 2018-01-18 17:01:08 -08:00
Jan Tattermusch dec076c4ab fix protobuf usage in the example 2018-01-18 19:34:20 +01:00
Muxi Yan 1164fd6fca Fix copyright information 2018-01-05 17:22:13 -08:00
Muxi Yan de9d44d339 Add example to use gRPC-C++ pod in an iOS application 2018-01-05 16:03:41 -08:00
Mehrdad Afshari 87cd994b04 Upgrade yapf to 0.20.0
Upgrade yapf version to 0.20.0 and reformat Python files.
2018-01-02 14:40:00 -08:00
Jan Tattermusch 63110654a1 regenerate routeguide protos 2017-12-13 23:56:59 +01:00
Jan Tattermusch 4dec552614 regenerate helloworld protos 2017-12-13 23:56:57 +01:00
Jan Tattermusch 990299b48d upgrade Grpc and Protobuf nugets in routeguide 2017-12-13 23:56:56 +01:00
Jan Tattermusch 2df1c24f1d upgrade Grpc and Protobuf nugets in helloworld 2017-12-13 23:56:52 +01:00
Jan Tattermusch a54c12d6cd regenerate helloworld-from-cli protos 2017-12-13 23:56:49 +01:00
Jan Tattermusch b12b8d0ddf cleanup helloworld for dotnet CLI 2017-12-13 23:56:46 +01:00
Mehrdad Afshari c5ba665b22 Merge remote-tracking branch 'origin/v1.8.x' 2017-12-11 11:32:11 -08:00
Mehrdad Afshari 6146151a4f Examples for gRPC Python interceptor facility 2017-12-12 12:01:07 -08:00
ncteisen 848a749f7a yapf examples/python 2017-12-12 10:59:01 -08:00
Jan Tattermusch f0620a37a5 fix linux distrib tests 2017-12-01 10:07:43 +01:00
Jan Tattermusch 06251f8cd6 make helloworld CMakeLists compile on windows 2017-12-01 10:07:43 +01:00
Vijay Pai dd0f006416 Fix examples build file 2017-11-28 11:53:55 -08:00
Mehrdad Afshari 36f60a9cc1 Kill off unnecessary sleep in route_guide example 2017-11-22 09:46:38 -08:00
Zhouyihai Ding 28783b9178
Merge pull request #13268 from ZhouyihaiDing/php_example
PHP: update helloworld and routeguide example
2017-11-06 16:06:19 -08:00
ZhouyihaiDing 5253720853 php example 2017-11-06 21:07:47 +00:00
Nathaniel Manista 4f22c919e1
Merge pull request #12498 from nathanielmanistaatgoogle/example_generated_code
Regenerate example Python generated code.
2017-11-06 11:30:23 -08:00
Florian Nagel a36b429ae8 Fix deprecation warning Server#addProtoService and use Server#addService instead 2017-10-03 15:21:14 +02:00
Vijay Pai 4b047a3bff Construction of streams shouldn't require triggering async ops 2017-09-14 17:55:13 -07:00
Nathaniel Manista 61efbcd27a Regenerate example Python generated code 2017-09-11 23:48:47 +00:00
Jan Tattermusch 4caadb9205 fix helloworld cmake build 2017-09-11 11:03:05 +02:00
Jan Tattermusch e9956df33d add global.json files for C# 2017-08-11 18:17:18 +02:00
Craig Tiller d996379030 Reset OWNERS state 2017-07-17 10:54:07 -07:00
Muxi Yan 75cb3c25d9 Add @muxi and @makdharma as owners of ObjC related files 2017-07-14 12:02:27 -07:00
Mehrdad Afshari 76a316cb1f Add `set noparent` to Python OWNER files 2017-07-13 16:19:17 -07:00
Mehrdad Afshari e6fb12fd96 Add additional OWNERS files for Python projects 2017-07-13 16:10:39 -07:00
murgatroid99 b5984601b8 Add myself as owner of files in several directories 2017-07-13 14:00:19 -07:00
Nicolas Noble 9877189e45 Merge pull request #11310 from nicolasnoble/import
Import mutations.
2017-07-13 13:39:58 -07:00
Mehrdad Afshari bb3d95b643 Use https://grpc.io consistently as the canonical URL 2017-07-10 22:24:28 +00:00
Mehrdad Afshari 976eb7c4b4 Fetch grpc.io/release over https 2017-07-10 15:07:33 -07:00
Nicolas "Pixel" Noble 5d80dc4985 Merge branch 'master' of https://github.com/grpc/grpc into import 2017-06-26 22:01:11 +02:00
Toshihito Kikuchi 351506688d Update compiler/linker options to use pkg-config in C++ examples 2017-06-13 16:15:04 -07:00
Jan Tattermusch 4d5c3102a1 fix remaining license notices 2017-06-08 11:22:41 +02:00
Jan Tattermusch 7897ae9308 auto-fix most of licenses 2017-06-08 11:22:41 +02:00
Nicolas "Pixel" Noble 7bc55fdaa3 Merge remote-tracking branch 'ctiller/build-wtf' into import 2017-05-26 00:32:47 +02:00
Stanley Cheung 6e589c6a15 PHP: stop requiring google/protobuf PHP implementation 2017-05-16 18:09:36 -07:00
Craig Tiller a753371f05 Rework well_known_protos attr, and some other fixes 2017-05-16 13:09:33 -07:00
Nicolas "Pixel" Noble d2ac59f1aa Merge failure: mangled the examples BUILD file. 2017-05-12 17:19:46 +02:00
Nicolas "Pixel" Noble eb36b8ac77 Merge branch 'master' of https://github.com/grpc/grpc into import 2017-05-11 23:24:37 +02:00
Makarand Dharmapurikar 2807951be5 Merge branch 'master' of https://github.com/grpc/grpc into fixbazel 2017-04-25 09:39:33 -07:00
Makarand Dharmapurikar be0fb725f6 fixed target name so bazel basic build passes 2017-04-24 16:22:49 -07:00
Jan Tattermusch f769150982 regenerate routeguide protos 2017-04-20 15:33:41 +02:00
Jan Tattermusch 808eb713f8 upgrade routeguide to Grpc 1.2.2 2017-04-20 15:33:40 +02:00
Jan Tattermusch 622d7d6d2d regenerate greeter protos 2017-04-20 15:33:40 +02:00
Jan Tattermusch 769df6fa45 upgrade net45 helloworld to Grpc 1.2.2 2017-04-20 15:33:39 +02:00
Jan Tattermusch 1ba7e5d898 regenerate 2017-04-20 15:33:38 +02:00
Jan Tattermusch 4842904408 add generate_protos file 2017-04-20 15:33:38 +02:00
Jan Tattermusch 923b1317d5 update .NET core example to .csproj projects 2017-04-20 15:33:31 +02:00
Makarand Dharmapurikar 4c0620b7df consolidated BUILD files from example into one
it is also a way to test that this change works as expected.
2017-04-18 09:48:08 -07:00
Jan Tattermusch a22a19fd64 fix markdown 2017-04-18 12:31:49 +02:00
Nicolas "Pixel" Noble 7c26eed838 Buildifier and wrapping test/cpp/* rules with our build system. 2017-04-13 02:03:22 +02:00
Jan Tattermusch 43713e6ae1 Merge remote-tracking branch 'upstream/v1.2.x' into HEAD 2017-04-12 09:20:29 +02:00
Jan Tattermusch 87b2112443 also fix global.json in helloworld 2017-04-07 10:18:12 +02:00
Jan Tattermusch d3a5635546 Add global.json file to pick dotnet core SDK version 2017-04-07 10:10:13 +02:00
Alexander Polcyn b98b3c260e add examples for ruby error throwing and handling 2017-03-28 13:49:58 -07:00
Michael Lumish bbc962230f Merge pull request #9864 from michielbdejong/patch-1
Use grpc-tools npm package in readme
2017-03-22 09:00:32 -07:00
Jan Tattermusch f5ac0b95f2 Add global.json file to pick dotnet core SDK version 2017-03-09 18:08:24 +01:00
Stanley Cheung 82c6d8d4fd PHP: prepare for 1.2 release 2017-03-01 12:43:25 -08:00
Michiel de Jong 10cea4b121 Use grpc-tools npm package in readme
* Make it clearer which directory to `cd` to
* Take advantage of the work done https://github.com/grpc/grpc/issues/5982
2017-02-24 10:21:14 +01:00
Nicolas "Pixel" Noble e00d63f3ea Merge remote-tracking branch 'google/v1.1.x' 2017-02-13 23:37:17 +01:00
Alexander Polcyn ccaec44d65 add ruby example that doesn't use protobuf 2017-02-08 11:38:30 -08:00
Jan Tattermusch 086fddd873 Merge pull request #9482 from gazialankus/patch-1
Corrected version number of Grpc.Tools in the bat file for the C# example
2017-02-02 08:23:19 -08:00
Stanley Cheung c290c115fa PHP: update examples 2017-01-31 20:29:17 -08:00
Gazihan Alankus 5c261b82e5 Corrected version number of Grpc.Tools in the bat file
As per the following line, it is 1.0.1 now: 6ff81e91c9/examples/csharp/helloworld/Greeter/packages.config (L7)
2017-01-27 13:51:18 +03:00
Nicolas "Pixel" Noble 24263c3f7a Fixing a few items with the new Bazel BUILD system:
-) Fixing Bazel 0.4.x breakage
-) Adding helloworld BUILD examples
-) Fixing grpc++ missing files.
-) Adding helloworld example as a test for Bazel basic.
2017-01-13 02:55:13 +01:00
Nathaniel Manista c15ee83882 Update Python examples with fresh generated code 2016-12-21 21:05:19 +00:00
David G. Quintas 7b1b2cc2aa Merge pull request #8831 from ryanvo/examples-typo-patch
Fix typo
2016-12-13 13:05:08 -08:00
Masood Malekghassemi fb261bf748 Un-namespace Python packages
Setuptools was updated and our hacky namespace-package-chickens came
back to roost. This removes the unsupported namespace package hacks.
2016-12-12 15:04:30 -08:00
Jan Tattermusch 8613e474cb Merge remote-tracking branch 'upstream/v1.0.x' into HEAD 2016-11-22 11:15:53 +01:00
Ryan 3fec5259f6 Fix typo 2016-11-21 21:37:39 -05:00
Alexander Polcyn 0350471b2e example changes to smoke test with 1.0.1 2016-11-03 13:15:40 -07:00
Michael Lumish 13905ee9bb Merge pull request #7967 from p16/node-example-add-return-after-callback-witih-error
Nodejs examples: add return after calling callback(err)
2016-10-20 16:40:59 -07:00
Mark Mandel 9929e6c85c Remove `run_codegen.py` from python helloworld example
Since we no longer reference `run_codegen.py` in the Quick Start for
Python, remove it from the repository to avoid confusion.
2016-10-17 17:53:15 -07:00
Stanley Cheung 619c034fef php: require grpc extension to be installed before composer package 2016-10-06 12:22:02 -07:00
Michael Lumish b9c77471f9 Merge pull request #8036 from tania-m/patch-1
Update greeter_client.js
2016-10-03 16:42:46 -07:00
Nicolas "Pixel" Noble 87a1081211 Merge remote-tracking branch 'google/v1.0.x' into master-upmerge-from-deep-under 2016-09-29 01:31:54 +02:00
Jan Tattermusch f6caaa76a6 add copyrights for AssemblyInfo.cs files 2016-09-21 22:40:11 +02:00
Alexander Polcyn b06d534121 make clear independence of bidi streams in route guide client 2016-09-20 12:30:55 -07:00
Alexander Polcyn 689e89c2e6 dont create extra thread on bidi call in benchmark, and change suggested
code for ruby bidi calls
2016-09-20 11:00:36 -07:00
thinkerou 88671a8ae8 update route_guide_db path in php example 2016-09-18 15:31:34 +08:00
Stanley Cheung c9b401e3fc cpp examples missing gpr asserts 2016-09-15 21:19:53 -07:00
Michael Lumish 1c8bbc4106 Merge pull request #7920 from tuoxiansp/patch-1
Update README.md
2016-09-09 10:58:25 -07:00