Closed
Description
Wavefront has integrated into VMware's CSP authentication system, and the wavefront-sdk-java
library has been updated to support that. We would like spring-boot to support this authentication method as well.
The release version of wavefront-sdk-java
with these changes is 3.4.0
.
There are two types of CSP authentication: server-to-server tokens and user-api-tokens. We envision the changes looking something like this:
-
CSP User API Token
management.wavefront.csp.api-token
- In WavefrontSenderConfiguration, something like
new Builder(properties.getEffectiveUri().toString(), properties.getCspApiTokenOrThrow()).useTokenForCSP()
-
CSP Server to Server OAuth
management.wavefront.csp.client-id
andmanagement.wavefront.csp.client-secret
(and an optionalmanagement.wavefront.csp.org-id
)- In WavefrontSenderConfiguration, something like
new Builder(properties.getEffectiveUri().toString(), properties.getCspClientIdOrThrow(), properties.getCspClientSecretOrThrow())
- If the optional OrgID is provided, calling
builder.cspOrgId(properties.getCspOrgIdOrThrow())
Thank you!