Skip to content

Bug: inconsistent args #23

@joewxboy

Description

@joewxboy

CLI Improvements

The command line interfaces for each script are inconsistent and/or incomplete.

  • Minor: list-users.sh does not have a help page, while list-orgs.sh does.
  • Moderate: list-orgs.sh does not have a complete CLI.
    • It always prompts on terminal for the organization to view users of.

It's important that the scripts can be 100% headless if we want to integrate these into
other scripting.

Functionality

  • Major: You need to use a user within an organization to list services, nodes, etc within the org
    • Can't use hubadmin or root to list resources related to non-root org
      • Note: You are able to do this with the Horizon CLI using the --org flag
    • Much of this is related to the CLI improvements above

The test script picks up on the wrong container when checking the health of the mgmt hub:

ℹ Checking for Horizon container...
✓ Horizon container is running
  open_horizon_proxy: Up 8 days

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions