vectorgrp / sil-kit

Vector SIL Kit – Open-Source Library for Connecting Software-in-the-Loop Environments
https://vectorgrp.github.io/sil-kit-docs
MIT License
107 stars 32 forks source link

config: allow overriding rpc and pub/sub labels #87

Closed VDanielEdwards closed 3 weeks ago

VDanielEdwards commented 3 months ago

Subject

This PR implements an extension to the participant configuration that allows to override the labels of DataPublisher, DataSubscriber, RpcClient, and RpcServer controllers in the participant configuration.

The format (all other controllers analogous) is like this:

RpcClients:
  - Name: MyRpcController
    Labels:
      - Key: SomeKey
        Value: SomeValue
        Kind: Mandatory
      - Key: AnotherKey
        Value: AnotherValue
        Kind: Optional

The labels completely replace what is specified in the code.

This is just a proposal to play around with, it is not neccessarily the final form.

JIRA Issue SILKIT-1636

Instructions for review / testing

Developer checklist (address before review)