Skip to content

Commit

Permalink
Revert "New Particle Plugin"
Browse files Browse the repository at this point in the history
This reverts commit ba462f5.
  • Loading branch information
davidgs committed Nov 3, 2017
1 parent 871fae6 commit 7db06d2
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 203 deletions.
Empty file removed .txt
Empty file.
26 changes: 0 additions & 26 deletions plugins/inputs/webhooks/particle/README.md

This file was deleted.

48 changes: 0 additions & 48 deletions plugins/inputs/webhooks/particle/particle_webhooks.go

This file was deleted.

22 changes: 0 additions & 22 deletions plugins/inputs/webhooks/particle/particle_webhooks_events.go

This file was deleted.

This file was deleted.

57 changes: 0 additions & 57 deletions plugins/inputs/webhooks/particle/particle_webhooks_test.go

This file was deleted.

5 changes: 0 additions & 5 deletions plugins/inputs/webhooks/webhooks.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import (
"github.com/influxdata/telegraf/plugins/inputs/webhooks/github"
"github.com/influxdata/telegraf/plugins/inputs/webhooks/mandrill"
"github.com/influxdata/telegraf/plugins/inputs/webhooks/papertrail"
"github.com/influxdata/telegraf/plugins/inputs/webhooks/particle"
"github.com/influxdata/telegraf/plugins/inputs/webhooks/rollbar"
)

Expand All @@ -35,7 +34,6 @@ type Webhooks struct {
Mandrill *mandrill.MandrillWebhook
Rollbar *rollbar.RollbarWebhook
Papertrail *papertrail.PapertrailWebhook
Particle *particle.ParticleWebhook

srv *http.Server
}
Expand Down Expand Up @@ -64,9 +62,6 @@ func (wb *Webhooks) SampleConfig() string {
[inputs.webhooks.papertrail]
path = "/papertrail"
[inputs.webhooks.particle]
path = "/particle"
`
}

Expand Down
6 changes: 0 additions & 6 deletions plugins/inputs/webhooks/webhooks_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import (

"github.com/influxdata/telegraf/plugins/inputs/webhooks/github"
"github.com/influxdata/telegraf/plugins/inputs/webhooks/papertrail"
"github.com/influxdata/telegraf/plugins/inputs/webhooks/particle"
"github.com/influxdata/telegraf/plugins/inputs/webhooks/rollbar"
)

Expand Down Expand Up @@ -34,9 +33,4 @@ func TestAvailableWebhooks(t *testing.T) {
if !reflect.DeepEqual(wb.AvailableWebhooks(), expected) {
t.Errorf("expected to be %v.\nGot %v", expected, wb.AvailableWebhooks())
}
wb.Particle = &particle.ParticleWebhook{Path: "/particle"}
expected = append(expected, wb.Particle)
if !reflect.DeepEqual(wb.AvailableWebhooks(), expected) {
t.Errorf("expected to be %v.\nGot %v", expected, wb.AvailableWebhooks())
}
}

0 comments on commit 7db06d2

Please sign in to comment.