Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HMS-5292: Add list subs-as-features #942

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

rverdile
Copy link
Contributor

Summary

Adds GET /admin/features, which lists the features from the subs-as-features API.

Returns { features: ["feature1", "feature2", ...] }

Testing steps

  1. Grab the certs you need
  2. Make a GET request to /admin/features and you should see the features listed

Comment on lines +12 to +19
type CertUser interface {
ClientCert() string
ClientKey() string
CACert() string
ClientCertPath() string
ClientKeyPath() string
CACertPath() string
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I pushed this as a second commit because it over-complicate things a little, but I was trying to make using certs a little more streamlined in the future. Open to thoughts

@jlsherrill
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants