bcgov / bcgov/gwa-cli

Add `gwa routes` or similar to retrieve helpful links

Open
#100 1 comment 0 reactions 0 assignees View on GitHub
enhancement jira
Dominant language
Go
Stars
8
Forks
1
PR merge metrics
No merged PRs in 30d

Description

As an API provider, I need to get the URLs for my routes so that I can validate my configuration and set up my apps. Especially important for users of the test/training instance since the routes are extended.

Add a new option to `gwa status` (or a new command entirely) which returns a neat table including links to the following:
- Active Gateway/Namespace (this requires adding routing for manager/namespace/[name])
- Your Products page (/devportal/api-directory/your-products)
- Routes (for gateway services)

Definition of Done:
- New option available for gwa status as per above

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the `gwa status` implementation and the existing route handling for `manager/namespace/[name]`. Trace how gateway services and the `/devportal/api-directory/your-products` URL are determined. Done means a status option or command prints a neat table containing the active Gateway/Namespace, Products page, and gateway-service routes.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api, cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.