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

feat(destinations): add custom header auth and secureUrl to destinations #1122

Merged

Conversation

nzur-newrelic
Copy link
Contributor

@nzur-newrelic nzur-newrelic commented Apr 4, 2024

For Maintainers

⚠️ Kindly hold on merging this PR until 18 April, 2024.

This PR adds 2 new changes to destinations schema:

  • new type of auth to destinations called custom headers
  • new field secureUrl. This struct holds a SecureValue, so only the prefix part which is a non-SecureValue will be shown upon querying the API.

Required by newrelic/terraform-provider-newrelic#2635

@pranav-new-relic pranav-new-relic changed the title Add custom header auth feat(destinations): add custom header auth Apr 8, 2024
@pranav-new-relic pranav-new-relic changed the title feat(destinations): add custom header auth feat(destinations): add custom header auth to destinations Apr 8, 2024
@nzur-newrelic nzur-newrelic changed the title feat(destinations): add custom header auth to destinations Add custom header auth and secureUrl to destinations Apr 8, 2024
@pranav-new-relic pranav-new-relic changed the title Add custom header auth and secureUrl to destinations feat(destinations): add custom header auth and secureUrl to destinations Apr 8, 2024
@pranav-new-relic
Copy link
Member

@nzur-newrelic these changes look good to me - I've just left a comment and a question. However, let us not merge this PR until the Terraform changes for this are drafted and everything looks good on the Terraform front as well - I mention this, since we've made a lot of pointer and omitempty changes, which are usually a bit fragile. Please let me know once you're done with these changes as well, after which we shall proceed with the remainder of this PR.

@pranav-new-relic pranav-new-relic force-pushed the add-custom-header-auth branch 4 times, most recently from 9fc45c5 to 124acb2 Compare April 11, 2024 09:48
@pranav-new-relic pranav-new-relic merged commit 7c6b35f into newrelic:main Apr 19, 2024
9 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.

3 participants