grpc-kv-examples 2025-01-25
Add C# client with certificate helper and reorganize Python into package structure
17 files · 780+ · 22-

Add C# gRPC client implementation

4 files changed
  • Program.cs C# client entry point with Serilog logging setup
  • GrpcClientHelper.cs gRPC channel creation with custom certificate validation and HttpClientHandler
  • CertificateHelper.cs X509 certificate loading from PEM environment variables
  • CSharpGrpcClient.csproj Added Serilog.Extensions.Logging package reference
  • Added C# gRPC client with custom server certificate thumbprint validation instantiate behavioral
    2 files
    • GrpcClientHelper.cs
    • CertificateHelper.cs
  • Integrated Serilog for structured logging with debug-level TLS handshake tracing instantiate internal
    1 file
    • Program.cs

Add PHP gRPC client with generated proto files

3 files changed
  • simple-php-client.php PHP gRPC client with certificate loading
  • composer.json PHP package config with grpc and protobuf dependencies
  • GetRequest.php Generated PHP protobuf message class
  • Added PHP gRPC client with generated protobuf classes and composer dependencies instantiate behavioral
    2 files
    • simple-php-client.php
    • composer.json

Reorganize Python into package structure

3 files changed
  • certificate_helper.py Certificate loading and inspection utility module
  • logging_helper.py Structured logging with emoji domain prefixes
  • __init__.py Python package init
  • Extracted Python certificate and logging utilities into reusable utils/ package decouple internal
    2 files
    • certificate_helper.py
    • logging_helper.py

Environment and endpoint improvements

1 file changed
  • env.sh Added per-language server endpoints and key size detection
  • Added separate PLUGIN_PYTHON_SERVER_ENDPOINT and PLUGIN_CS_SERVER_ENDPOINT variables harden internal
    1 file
    • env.sh