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

PDI-1454: CLI v2 Command: Custom Request #135

Merged
merged 6 commits into from
Sep 20, 2024
Merged

Conversation

erikostien-pingidentity
Copy link
Contributor

  • Add Command Usage examples and Configuration format examples to cobra usage messages where applicable.
  • Unite all Pingone and Pingfederate configuration options under 'service' parent, now used by both 'platform export' and 'request' commands.
  • Add 'authentication' parent in service configuration to allow the user to directly specify which authentication method to use. This removes the flag exclusivity requirement on 'platform export' command, as well as removes authentication "heirarchy" in pingfederate go-client authentication logic.
  • Refactor MultiService custom map type to ExportServices []string type.
  • Add new command 'request' to send custom request to PingIdentity services. Currently, only PingOne is supported.
  • Add multiple additional custom types to support Ints, authentication types, http methods, and request services.
  • In the configuration file, support Yaml array lists for scopes, CA cert files, and Export services.
  • Use PingOne region codes instead of deprecated PingOne Regions.
  • Various testing fixes and additions.

- Add Command Usage examples and Configuration format examples to cobra
usage messages where applicable.
- Unite all Pingone and Pingfederate configuration options under 'service'
parent, now used by both 'platform export' and 'request' commands.
- Add 'authentication' parent in service configuration to allow the
user to directly specify which authentication method to use. This removes
the flag exclusivity requirement on 'platform export' command, as well as removes
authentication "heirarchy" in pingfederate go-client authentication logic.
- Refactor MultiService custom map type to ExportServices []string type.
- Add new command 'request' to send custom request to PingIdentity services. Currently,
only PingOne is supported.
- Add multiple additional custom types to support Ints, authentication types, http methods, and request
services.
- In the configuration file, support Yaml array lists for scopes, CA cert files, and Export services.
- Use PingOne region codes instead of deprecated PingOne Regions.
- Various testing fixes and additions.
cmd/request/request.go Show resolved Hide resolved
cmd/request/request_test.go Outdated Show resolved Hide resolved
internal/commands/request/request_internal.go Show resolved Hide resolved
internal/commands/request/request_internal.go Show resolved Hide resolved
@erikostien-pingidentity erikostien-pingidentity merged commit 1cc16e9 into go-cli Sep 20, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants