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: replace provider backend with newrelic-client-go #358

Merged
merged 5 commits into from
Jan 27, 2020

Conversation

ctrombley
Copy link
Contributor

@ctrombley ctrombley commented Jan 23, 2020

Resolves #354 .

This PR removes the reference to the go-newrelic module, and puts a single instance of the NewRelic client in place for the backend of the provider.

Copy link
Contributor

@sanderblue sanderblue left a comment

Choose a reason for hiding this comment

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

One question and one non-blocker comment.

@@ -173,12 +174,16 @@ func testAccCheckNewRelicAlertPolicyExists(n string) resource.TestCheckFunc {

func testAccDeleteAlertPolicy(name string) func() {
Copy link
Contributor

Choose a reason for hiding this comment

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

Not a blocker, but it looks like we have a duplicate of this function in helpers_test.go.

@ctrombley ctrombley force-pushed the feat/remove-go-newrelic branch from 8fa315d to f463af5 Compare January 25, 2020 00:36
@ctrombley ctrombley force-pushed the feat/remove-go-newrelic branch from f463af5 to da0cacb Compare January 25, 2020 00:37
@ctrombley ctrombley merged commit 8f63724 into master Jan 27, 2020
@ctrombley ctrombley deleted the feat/remove-go-newrelic branch January 27, 2020 09:15
kidk pushed a commit to aminoz007/terraform-provider-newrelic that referenced this pull request Oct 12, 2021
* feat: replace provider backend with newrelic-client-go

* chore: update to newrelic-client-go v0.7.0

* fix: make the newrelic_alert_condition resource's condition_scope field required

* fix: allow logging and TLS configuration for the new client

* refactor: incorporate code review feedback
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Changes to dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Migrate fully to newrelic-client-go
2 participants