Skip to content

Commit

Permalink
chore: Stop entity-scoped nerdstorage writes (#1550)
Browse files Browse the repository at this point in the history
  • Loading branch information
amolero-nr authored and sanderblue committed Jan 25, 2024
1 parent 75b4826 commit 5bee66a
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 519 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import (
"github.com/newrelic/newrelic-cli/internal/install/types"
"github.com/newrelic/newrelic-client-go/v2/newrelic"
"github.com/newrelic/newrelic-client-go/v2/pkg/config"
"github.com/newrelic/newrelic-client-go/v2/pkg/workloads"
)

func TestInstallEventsReporter_Basic(t *testing.T) {
Expand Down Expand Up @@ -52,3 +53,13 @@ func TestInstallEventsReporter_Basic(t *testing.T) {
err = r.RecipeInstalled(status, evt)
require.NoError(t, err)
}

func createEntity(t *testing.T, accountID int, c *newrelic.NewRelic) string {
i := workloads.WorkloadCreateInput{
Name: "testEntity",
}
e, err := c.Workloads.WorkloadCreate(accountID, i)
require.NoError(t, err)

return string(e.GUID)
}
39 changes: 0 additions & 39 deletions internal/install/execution/mock_nerdstorage_client.go

This file was deleted.

11 changes: 0 additions & 11 deletions internal/install/execution/nerdstorage_client.go

This file was deleted.

116 changes: 0 additions & 116 deletions internal/install/execution/nerdstorage_status_reporter.go

This file was deleted.

This file was deleted.

Loading

0 comments on commit 5bee66a

Please sign in to comment.