Commit Graph

184 Commits

Author SHA1 Message Date
Vijay Pai ce16365421
clang-format C++ examples (#25764) 2021-03-22 10:23:52 -07:00
Esun Kim 343eb56df0
Added CMakeLists.txt to cpp/examples (#25692) 2021-03-17 19:59:23 -07:00
Esun Kim b941a771e2
Merge pull request #25046 from veblush/route_guide_example
Added CMakeLists for route_guide example
2021-01-20 10:32:25 -08:00
Esun Kim e7afadc255 Refactor examples BUILD files 2020-12-23 09:23:32 -08:00
Esun Kim 69bb5e328e Added CMakeLists for route_guide example 2020-12-22 13:44:35 -08:00
Esun Kim 86050be0cf Clean up DEPLOYMENT_TARGET 2020-10-08 14:47:56 -07:00
Jan Tattermusch f444177a01
Merge pull request #23252 from tuttieee/fix/hello-world-example-cmake-message
Fix a message indicating the protobuf version CMakeLists.txt
2020-10-06 15:27:53 +02:00
Donna Dionne 8dd0cb4712 Add support for xDS regex matchers. 2020-07-07 13:17:25 -07:00
Esun Kim 165ee5007a Replaced grpc::string with std::string 2020-06-29 17:56:36 -07:00
tuttieee a61e02b90f Fix a message indicating the protobuf version in cpp hello_world example's CMakeLists.txt 2020-06-22 10:41:54 +09:00
Patrice Chalin 5ac3aa789f Docs: fix links to grpc.io tutorial pages 2020-06-16 08:47:24 -04:00
Patrice Chalin 4c4933e056 Docs: fix links to quick start pages 2020-06-16 08:40:59 -04:00
Tariq Ramlall 74a207509a
Merged master 2020-05-06 15:32:33 -04:00
Jan Tattermusch beee4cefa3
Merge pull request #22636 from chalin/patch-4
C++ Hello World: refer reader to Quick Start
2020-04-15 09:24:08 +02:00
Jan Tattermusch c923f95294
Merge pull request #22633 from chalin/patch-1
Removing obsolete C++ tutorial content
2020-04-14 10:23:52 +02:00
Patrice Chalin c95c2102c6
Delete cpptutorial.md 2020-04-13 15:04:23 -04:00
Patrice Chalin a3714f5b08
C++ Hello World: refer reader to Quick Start 2020-04-09 17:20:48 -04:00
Patrice Chalin 33082023e9
C++ examples README cleanup
Contributes to https://github.com/grpc/grpc.io/issues/180.

cc @ejona86 @jtattermusch @srini100
2020-04-09 17:00:33 -04:00
Patrice Chalin ebe94949ca
Removing obsolete C++ tutorial content
Contributes to https://github.com/grpc/grpc.io/issues/180
2020-04-09 16:22:37 -04:00
Muxi Yan a7995e4c4d Use a more compressable client message 2020-03-30 14:00:21 -07:00
Donna Dionne 48fa247304 Building C++ example with grpc++ instead of grpc++_unsecure
The example should be build with grpc++, not grpc++_unsecure.

For some reason in some branches like master, both versions are built in
so problem not detected.  This problem surfaced in 1.28x so needs to be
fixed to link with the correct grpc++.
2020-03-18 09:49:26 -07:00
Donna Dionne ca8ba90292 Adding Proto Reflection and Health Check to basic C++ example server
And ensuring the example can be built and ran via
bazel, make, and cmake.
2020-03-05 12:47:14 -08:00
Jan Tattermusch a28d67f0bf
Merge pull request #21891 from jtattermusch/remove_useless_release_links
get rid of the https://grpc.io/release plague
2020-02-13 17:43:41 +01:00
Donna Dionne 2bf8cbb424 Modify helloworld example to allow a target string 2020-02-06 15:39:48 -08:00
Jan Tattermusch 21512217f2 get rid of the https://grpc.io/release plague 2020-02-04 15:01:03 +01:00
Eduardo Broto 60953c511d Add missing greeter_async_client2 to c++ helloworld CMakeLists.txt 2020-01-22 13:15:45 +01:00
Esun Kim 5207eba9ff Add abseil 2020-01-03 19:29:55 -08:00
Tariq Ramlall 2f00d2b7ca
[Docs] Changed variable names to be more accurate in README for cpp helloworld example. 2019-12-20 18:32:08 -05:00
Tariq Ramlall efee7d4677
[Docs] Updated link to CPP example on grpc.io website. 2019-12-20 18:15:36 -05:00
Zack Galbreath 0be62b021a Add distrib test for CMake FetchContent build 2019-12-19 09:36:25 -05:00
Zack Galbreath ec239c48f7 Allow helloworld example to provide its own protoc and grpc_cpp_plugin 2019-12-18 10:04:39 -05:00
Zack Galbreath 17f95ab1f5 Simplify helloworld makefile
Use pkg-config to automatically find grpc as a dependency of grpc++.
2019-10-09 12:42:30 -04:00
Przemysław Sobala ac0aabdaca Add examples/cpp/helloworld/.gitignore 2019-09-11 10:50:10 +02:00
Christopher Warrington 4be4df3624 Bump min CMake to 3.5.1 to match Google benchmark
The Google Benchmark CMake build needs CMake 3.5.1 or newer. CMake 3.5.1
was released May 24, 2016 and is available in Debian stable and Ubuntu
16.04 and 18.04.
2019-07-02 23:02:47 +00:00
Hao Nguyen 7f787bd083 Link against pthread in examples 2019-06-11 12:12:33 -07:00
Juanli Shen 68a2277121
Merge pull request #18460 from AspirinSJL/fix_route_guide
Fix route guide example
2019-04-03 14:34:13 -07:00
Prashant Jaikumar 4f2d8a0014 Fix bazel build for examples
Fixed the bazel build for some code in the examples directory.
2019-03-28 18:59:14 -07:00
Juanli Shen 3f3f177222 Fix route guide example 2019-03-20 16:15:37 -07:00
Moses Koledoye 84cb531b72
Fix typo 2019-03-15 22:23:52 +00:00
Yash Tibrewal dde966f8c6 Reviewer comments 2019-01-17 12:03:14 -08:00
Yash Tibrewal 7dd938d5f4 Reviewer comments 2019-01-16 14:27:10 -08:00
Yash Tibrewal 817fb588af Adding a new line at the end of the file 2019-01-10 17:06:41 -08:00
Yash Tibrewal 6e94552a30 Add a caching interceptor to the keyvaluestore example 2019-01-10 17:00:49 -08:00
Yash Tibrewal b72bb30126 Clang format 2019-01-10 14:18:24 -08:00
Yash Tibrewal aa59509369 Reviewer comments 2019-01-10 14:13:43 -08:00
Yash Tibrewal c01e866a88 better documentation 2019-01-10 13:25:57 -08:00
Yash Tibrewal f1e9306c70 return empty string instead of nullptr 2019-01-10 13:22:37 -08:00
Yash Tibrewal 7a5a9544ef Add a naive client server implementation 2019-01-10 13:20:30 -08:00
Juanli Shen c771009320 Merge remote-tracking branch 'upstream/master' into lb_example 2018-12-19 10:43:18 -08:00
Juanli Shen 33a4b502c4 Add LB example 2018-12-19 10:40:13 -08:00
hcaseyal 93151145c2
Revert "Revert "Metadata tutorial"" 2018-12-17 12:09:11 -08:00
Juanli Shen 951254151b
Revert "Metadata tutorial" 2018-12-17 10:12:50 -08:00
hcaseyal 39bd784e36
Merge pull request #17504 from hcaseyal/metadata_example
Metadata tutorial
2018-12-14 15:11:36 -08:00
Hope Casey-Allen 580d43d03f Address reviewer comments and remove binary files 2018-12-14 14:19:40 -08:00
Hope Casey-Allen 63e73e428f Metadata tutorial 2018-12-13 16:51:58 -08:00
Juanli Shen a69fa16dfd Add compression example 2018-12-12 15:06:12 -08: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
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
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
Muxi Yan 6ef0159e8e Make C++ cocoapods example work 2018-02-21 18:10:49 -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
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 4b047a3bff Construction of streams shouldn't require triggering async ops 2017-09-14 17:55:13 -07:00
Jan Tattermusch 4caadb9205 fix helloworld cmake build 2017-09-11 11:03:05 +02:00
Mehrdad Afshari 976eb7c4b4 Fetch grpc.io/release over https 2017-07-10 15:07:33 -07: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 7897ae9308 auto-fix most of licenses 2017-06-08 11:22:41 +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 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 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
Ryan 3fec5259f6 Fix typo 2016-11-21 21:37:39 -05:00
Stanley Cheung c9b401e3fc cpp examples missing gpr asserts 2016-09-15 21:19:53 -07:00
Nicolas "Pixel" Noble e1ee20bde6 Merge branch 'v1.0.x' of https://github.com/grpc/grpc into manual-upmerge 2016-08-16 01:54:33 +02:00
David Garcia Quintas c61b1d3cd0 s/makefile/Makefile 2016-08-11 16:15:41 -07:00
David G. Quintas 5804745aed Merge pull request #7688 from dgquintas/cpp_readme
fix c++ readme and tutorial
2016-08-11 16:02:15 -07:00
David G. Quintas 93b599c8b0 Merge pull request #7688 from dgquintas/cpp_readme
fix c++ readme and tutorial
2016-08-11 15:40:56 -07:00
Nicolas "Pixel" Noble 7f074e0e20 Merge branch 'v1.0.x' into manual-upmerge 2016-08-11 21:00:08 +02:00
David Garcia Quintas 260a0025d2 fix c++ readme and tutorial 2016-08-09 16:57:32 -07:00
Jorge Canizales 7a2bc14fc0 Merge commit '5e623b8d8d8d106bd4ab9a6d77ef43b1a134d8ec' into p0-advance-protobuf-version 2016-07-29 15:45:02 -07:00
Jorge Canizales 4343c904e2 Update Protobuf submodule to v3.0.0 (GA) 2016-07-29 15:39:45 -07:00
Konstantin Podsvirov 13016cc40b CMake: project for HelloWorld cpp example 2016-07-28 00:46:11 +03:00
Muxi Yan cd0d8aed65 Identify system and remove --no-as-need if it is Mac OS 2016-07-26 14:13:46 -07:00
Muxi Yan 4e3df00f00 Removed --no-as-needed options from Makefile of HelloWorld and RouteGuide 2016-07-26 13:28:54 -07:00
Nicolas Noble 7645fdc4f0 Merge pull request #7393 from y-zeng/example_makefile
Enable server reflection in c++ examples
2016-07-21 14:28:55 -07:00
Jorge Canizales 9e6372380d Update protobuf submodule to 3.0.0-beta-4
Which has the fix for oneofs when using dynamic frameworks in ObjectiveC
2016-07-19 17:35:06 -07:00
Yuchen Zeng 1c58bd221d Enable server reflection in c++ examples 2016-07-07 14:19:04 -07:00
Jorge Canizales 60fec9e547 Merge master into merge-0.14-into-master
The protobuf commit conflicted. Resolved to the latest one.
2016-07-01 16:52:08 -07:00
Jorge Canizales f29e364168 Bump protobuf version to beta-3.3
It’s just the merge of beta-3.1 and beta-3.2, both of which we need.
2016-07-01 15:56:57 -07:00
Yuchen Zeng 753b45dcf8 Merge remote-tracking branch 'upstream/master' into handler_http_response 2016-06-30 19:16:59 -07:00
David Garcia Quintas 4281272389 Updated git clone URL 2016-06-29 17:39:07 -07:00