Skip to content

As a Node Operator, I want to configure registry-manager with a single -c flag like harvestΒ #62

Description

@jordanpadams

Checked for duplicates

Yes - I've already checked

πŸ§‘β€πŸ”¬ User Persona(s)

Node Operator, Data Engineer

πŸ’ͺ Motivation

...so that I can use a consistent CLI interface across harvest and registry-manager without having to supply separate connection and auth flags, reducing configuration complexity and the chance of misconfiguration.

πŸ“– Additional Details

Currently the two tools have diverged in how configuration is supplied:

harvest (current):

harvest -c /path/to/registry-harvest-config.xml

Auth is parsed automatically from the XML config file.

registry-manager (current):

registry-manager <command> -registry file:///path/to/registry-harvest-config.xml -auth /path/to/auth.txt

Auth must be supplied separately via a dedicated -auth flag.

Requested changes to registry-manager:

  1. Add a -c flag that accepts the config XML path (matching harvest behavior)
  2. When -c is used, parse the auth file location from the XML (just as harvest already does)
  3. Deprecate -registry and -auth flags β€” keep them functional but print a deprecation warning when used
  4. Apply to all registry-manager sub-commands that currently accept -registry/-auth

This alignment will make both tools feel like a coherent suite and lower the learning curve for operators who use both.


For Internal Dev Team To Complete

Acceptance Criteria

Given a registry-manager command that currently requires -registry and -auth
When I perform the same command using -c /path/to/config.xml
Then I expect registry-manager to connect and authenticate using values parsed from the XML, identical to how harvest behaves

βš™οΈ Engineering Details

πŸŽ‰ I&T

Metadata

Metadata

Assignees

Type

No type

Projects

Status
ToDo
Status
Blocked

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions