From dc66e4516e6e18a46a8c1d1414186b32699c3770 Mon Sep 17 00:00:00 2001 From: Erik Jaegervall Date: Wed, 7 Feb 2024 16:38:08 +0100 Subject: [PATCH] Give warning if using CSV or SOMEIP Provider --- csv_provider/provider.py | 4 ++++ someip2val/src/someip_feeder/main.cc | 3 +++ 2 files changed, 7 insertions(+) diff --git a/csv_provider/provider.py b/csv_provider/provider.py index 6437eb1a..9536d12d 100755 --- a/csv_provider/provider.py +++ b/csv_provider/provider.py @@ -75,6 +75,10 @@ async def main(): root_path = None if isinstance(numeric_value, int): logging.basicConfig(encoding='utf-8', level=numeric_value) + + logging.warning("CSV Provider has migrated to a new repository") + logging.info("Consider using CSV provider in https://github.com/eclipse-kuksa/kuksa-csv-provider instead") + try: async with VSSClient(args.address, args.port, root_certificates=root_path, tls_server_name=args.tls_server_name) as client: diff --git a/someip2val/src/someip_feeder/main.cc b/someip2val/src/someip_feeder/main.cc index fa23dbbe..21d72af1 100644 --- a/someip2val/src/someip_feeder/main.cc +++ b/someip2val/src/someip_feeder/main.cc @@ -173,6 +173,9 @@ int main(int argc, char** argv) { std::string arg_token("--token"); std::string arg_help("--help"); + std::cout << "WARNING: SOMEIP Provider has migrated to a new repository" << std::endl; + std::cout << "INFO: Consider using SOMEIP provider in https://github.com/eclipse-kuksa/kuksa-someip-provider instead" << std::endl; + // FIXME: update someip settings from command line! for (int i = 1; i < argc; i++) { std::string arg_val = argv[i];