From cab94c0edd7b7107e996f37e41c3a91fc905fa08 Mon Sep 17 00:00:00 2001 From: Dan Engelbrecht Date: Wed, 14 May 2025 22:42:39 +0200 Subject: `zen oplog-import` and `zen oplog-export` now supports `--oidctoken-exe-path` option (#395) --- CHANGELOG.md | 1 + src/zen/cmds/projectstore_cmd.cpp | 12 ++++++++++++ 2 files changed, 13 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5e7b0d68b..c6c70e55c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,7 @@ }, }, } +- Feature: `zen oplog-import` and `zen oplog-export` now supports `--oidctoken-exe-path` option - Bugfix: Handle invalid plugin config file without terminating - Bugfix: Gracefully handle errors while running `oplog-mirror` - Improvement: `--cache-memlayer-sizethreshold` is now deprecated and has a new name: `--cache-bucket-memlayer-sizethreshold` to line up with per cache bucket configuration diff --git a/src/zen/cmds/projectstore_cmd.cpp b/src/zen/cmds/projectstore_cmd.cpp index 066dac781..a26687147 100644 --- a/src/zen/cmds/projectstore_cmd.cpp +++ b/src/zen/cmds/projectstore_cmd.cpp @@ -930,6 +930,12 @@ ExportOplogCommand::ExportOplogCommand() "Path to json file that holds the cloud/builds Storage access token", cxxopts::value(m_JupiterAccessTokenPath), ""); + m_Options.add_option("", + "", + "oidctoken-exe-path", + "Path to OidcToken executable", + cxxopts::value(m_OidcTokenAuthExecutablePath)->default_value(""), + ""); m_Options.add_option("", "", "assume-http2", @@ -1404,6 +1410,12 @@ ImportOplogCommand::ImportOplogCommand() "Path to json file that holds the cloud/builds Storage access token", cxxopts::value(m_JupiterAccessTokenPath), ""); + m_Options.add_option("", + "", + "oidctoken-exe-path", + "Path to OidcToken executable", + cxxopts::value(m_OidcTokenAuthExecutablePath)->default_value(""), + ""); m_Options.add_option("", "", "assume-http2", -- cgit v1.2.3