Here we add a client and server samples for the basic "hello" service. These samples are designed to be run by either Zephyr or the host machine, interchangeably. Additionally, there is a python version of the client to demonstrate Thrift's cross-language capabilities. This code was merged from the following repository at the commit specified below, with minor formatting and coding-style modifications. https://github.com/zephyrproject-rtos/gsoc-2022-thrift e12e014d295918cc5ba0b4c507d1bf595a2f539a Signed-off-by: Chris Friedt <cfriedt@meta.com>
17 lines
453 B
YAML
17 lines
453 B
YAML
sample:
|
|
description: Hello Thrift server sample
|
|
name: hello thrift server
|
|
common:
|
|
tags: thrift cpp sample
|
|
build_only: true
|
|
modules:
|
|
- thrift
|
|
platform_allow: mps2_an385 qemu_x86_64
|
|
tests:
|
|
sample.thrift.hello.server.binaryProtocol: {}
|
|
sample.thrift.hello.server.compactProtocol:
|
|
extra_configs:
|
|
- CONFIG_THRIFT_COMPACT_PROTOCOL=y
|
|
sample.thrift.hello.server.tlsTransport:
|
|
extra_args: OVERLAY_CONFIG="../overlay-tls.conf"
|