Skip to content

Commit

Permalink
Add Gherkin feature tests for API Key support
Browse files Browse the repository at this point in the history
  • Loading branch information
axw committed Jan 6, 2020
1 parent 4948a81 commit 952f0bf
Show file tree
Hide file tree
Showing 36 changed files with 296 additions and 0 deletions.
18 changes: 18 additions & 0 deletions features/api_key.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Feature: Api Key

Scenario: A configured api key is sent in the Authorization header
Given an agent
When an api key is set to 'RTNxMjlXNEJt' in the config
Then the Authorization header is 'ApiKey RTNxMjlXNEJt'

Scenario: A configured api key takes precedence over a secret token
Given an agent
When an api key is set in the config
And a secret_token is set in the config
Then the api key is sent in the Authorization header

Scenario: A configured secret token is sent if no api key is configured
Given an agent
When a secret_token is set in the config
And an api key is not set in the config
Then the secret token is sent in the Authorization header
1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module go.elastic.co/apm

require (
github.com/DATA-DOG/godog v0.7.13
github.com/armon/go-radix v1.0.0
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/elastic/go-sysinfo v1.1.1
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
github.com/DATA-DOG/godog v0.7.13 h1:JmgpKcra7Vf3yzI9vPsWyoQRx13tyKziHtXWDCUUgok=
github.com/DATA-DOG/godog v0.7.13/go.mod h1:z2OZ6a3X0/YAKVqLfVzYBwFt3j6uSt3Xrqa7XTtcQE0=
github.com/armon/go-radix v1.0.0 h1:F4z6KzEeeQIMeLFa97iZU6vupzoecKdU5TX24SNppXI=
github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
Expand Down
118 changes: 118 additions & 0 deletions internal/apmgodog/formatter.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
// Licensed to Elasticsearch B.V. under one or more contributor
// license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright
// ownership. Elasticsearch B.V. licenses this file to you under
// the Apache License, Version 2.0 (the "License"); you may
// not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing,
// software distributed under the License is distributed on an
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
// KIND, either express or implied. See the License for the
// specific language governing permissions and limitations
// under the License.

package apmgodog

import (
"fmt"
"io/ioutil"
"testing"

"github.com/DATA-DOG/godog"
"github.com/DATA-DOG/godog/colors"
"github.com/DATA-DOG/godog/gherkin"
)

// Run runs the Gherkin feature files specified in paths as Go subtests.
func Run(t *testing.T, paths []string) {
initContext := func(s *godog.Suite) {
var commands chan command
var scenarioFailed bool
s.BeforeFeature(func(f *gherkin.Feature) {
commands = make(chan command)
go runCommands(t, commands)
startTest(commands, f.Name)
})
s.AfterFeature(func(f *gherkin.Feature) {
endTest(commands, nil)
close(commands)
})
s.BeforeScenario(func(s interface{}) {
scenarioFailed = false
switch s := s.(type) {
case *gherkin.Scenario:
startTest(commands, s.Name)
case *gherkin.ScenarioOutline:
startTest(commands, s.Name)
}
})
s.AfterScenario(func(_ interface{}, err error) {
endTest(commands, err)
})
s.BeforeStep(func(step *gherkin.Step) {
if scenarioFailed {
fmt.Printf(colors.Yellow(" %s%s\n"), step.Keyword, step.Text)
}
})
s.AfterStep(func(step *gherkin.Step, err error) {
if err != nil {
scenarioFailed = true
fmt.Printf(colors.Red(" %s%s (%s)\n"), step.Keyword, step.Text, err)
} else {
fmt.Printf(colors.Cyan(" %s%s\n"), step.Keyword, step.Text)
}
})
InitContext(s)
}

godog.RunWithOptions("godog", initContext, godog.Options{
Format: "events", // must pick one, this will do
Paths: []string{"."},
Output: ioutil.Discard,
})
}

func startTest(commands chan command, name string) {
commands <- func(t *testing.T) error {
t.Run(name, func(t *testing.T) {
runCommands(t, commands)
})
return nil
}
}

func endTest(commands chan command, err error) {
commands <- func(t *testing.T) error {
if err != nil {
return err
}
return done{}
}
}

func runCommands(t *testing.T, commands chan command) {
for {
cmd, ok := <-commands
if !ok {
return
}
err := cmd(t)
switch err.(type) {
case nil:
case done:
return
default:
t.Fatal(err)
}
}
}

type command func(t *testing.T) error

type done struct{}

func (done) Error() string { return "done" }
122 changes: 122 additions & 0 deletions internal/apmgodog/suitecontext.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
// Licensed to Elasticsearch B.V. under one or more contributor
// license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright
// ownership. Elasticsearch B.V. licenses this file to you under
// the Apache License, Version 2.0 (the "License"); you may
// not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing,
// software distributed under the License is distributed on an
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
// KIND, either express or implied. See the License for the
// specific language governing permissions and limitations
// under the License.

package apmgodog

import (
"fmt"
"net/http"
"net/http/httptest"
"os"
"strings"

"github.com/DATA-DOG/godog"

"go.elastic.co/apm"
"go.elastic.co/apm/transport"
)

const (
aSecretToken = "a_secret_token"
anAPIKey = "an_api_key"
)

type featureContext struct {
apiKey string
secretToken string
}

// InitContext initialises a godoc.Suite with step definitions.
func InitContext(s *godog.Suite) {
c := &featureContext{}
s.BeforeScenario(func(interface{}) { c.reset() })

s.Step("^an agent$", c.anAgent)
s.Step("^an api key is not set in the config$", func() error { return nil })
s.Step("^an api key is set in the config$", func() error { return c.setAPIKey(anAPIKey) })
s.Step("^an api key is set to '(.*)' in the config$", c.setAPIKey)
s.Step("^a secret_token is set in the config$", func() error { return c.setSecretToken(aSecretToken) })
s.Step("^the Authorization header is '(.*)'$", c.checkAuthorizationHeader)
s.Step("^the secret token is sent in the Authorization header$", c.secretTokenSentInAuthorizationHeader)
s.Step("^the api key is sent in the Authorization header$", c.apiKeySentInAuthorizationHeader)
}

func (c *featureContext) reset() {
c.apiKey = ""
c.secretToken = ""
for _, k := range os.Environ() {
if strings.HasPrefix(k, "ELASTIC_APM") {
os.Unsetenv(k)
}
}
}

func (c *featureContext) anAgent() error {
// No-op; we create the tracer as needed to test steps.
return nil
}

func (c *featureContext) setAPIKey(v string) error {
c.apiKey = v
return nil
}

func (c *featureContext) setSecretToken(v string) error {
c.secretToken = v
return nil
}

func (c *featureContext) secretTokenSentInAuthorizationHeader() error {
return c.checkAuthorizationHeader("Bearer " + c.secretToken)
}

func (c *featureContext) apiKeySentInAuthorizationHeader() error {
return c.checkAuthorizationHeader("ApiKey " + c.apiKey)
}

func (c *featureContext) checkAuthorizationHeader(expected string) error {
var authHeader []string
var h http.HandlerFunc = func(w http.ResponseWriter, r *http.Request) {
authHeader = r.Header["Authorization"]
}
server := httptest.NewServer(h)
defer server.Close()

os.Setenv("ELASTIC_APM_SECRET_TOKEN", c.secretToken)
os.Setenv("ELASTIC_APM_API_KEY", c.apiKey)
os.Setenv("ELASTIC_APM_SERVER_URL", server.URL)
if _, err := transport.InitDefault(); err != nil {
return err
}

tracer, err := apm.NewTracer("godog", "")
if err != nil {
return err
}
defer tracer.Close()

tracer.StartTransaction("name", "type").End()
tracer.Flush(nil)

if n := len(authHeader); n != 1 {
return fmt.Errorf("got %d Authorization headers, expected 1", n)
}
if authHeader[0] != expected {
return fmt.Errorf("got Authorization header value %q, expected %q", authHeader, expected)
}
return nil
}
1 change: 1 addition & 0 deletions internal/tracecontexttest/go.sum
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
github.com/DATA-DOG/godog v0.7.13/go.mod h1:z2OZ6a3X0/YAKVqLfVzYBwFt3j6uSt3Xrqa7XTtcQE0=
github.com/armon/go-radix v1.0.0 h1:F4z6KzEeeQIMeLFa97iZU6vupzoecKdU5TX24SNppXI=
github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
Expand Down
1 change: 1 addition & 0 deletions module/apmbeego/go.sum
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
github.com/DATA-DOG/godog v0.7.13/go.mod h1:z2OZ6a3X0/YAKVqLfVzYBwFt3j6uSt3Xrqa7XTtcQE0=
github.com/Knetic/govaluate v3.0.0+incompatible/go.mod h1:r7JcOSlj0wfOMncg0iLm8Leh48TZaKVeNIfJntJ2wa0=
github.com/armon/go-radix v1.0.0 h1:F4z6KzEeeQIMeLFa97iZU6vupzoecKdU5TX24SNppXI=
github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8=
Expand Down
1 change: 1 addition & 0 deletions module/apmchi/go.sum
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
github.com/DATA-DOG/godog v0.7.13/go.mod h1:z2OZ6a3X0/YAKVqLfVzYBwFt3j6uSt3Xrqa7XTtcQE0=
github.com/armon/go-radix v1.0.0 h1:F4z6KzEeeQIMeLFa97iZU6vupzoecKdU5TX24SNppXI=
github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
Expand Down
1 change: 1 addition & 0 deletions module/apmecho/go.sum
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
github.com/DATA-DOG/godog v0.7.13/go.mod h1:z2OZ6a3X0/YAKVqLfVzYBwFt3j6uSt3Xrqa7XTtcQE0=
github.com/armon/go-radix v1.0.0 h1:F4z6KzEeeQIMeLFa97iZU6vupzoecKdU5TX24SNppXI=
github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
Expand Down
1 change: 1 addition & 0 deletions module/apmechov4/go.sum
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
github.com/DATA-DOG/godog v0.7.13/go.mod h1:z2OZ6a3X0/YAKVqLfVzYBwFt3j6uSt3Xrqa7XTtcQE0=
github.com/armon/go-radix v1.0.0 h1:F4z6KzEeeQIMeLFa97iZU6vupzoecKdU5TX24SNppXI=
github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
Expand Down
1 change: 1 addition & 0 deletions module/apmelasticsearch/go.sum
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
github.com/DATA-DOG/godog v0.7.13/go.mod h1:z2OZ6a3X0/YAKVqLfVzYBwFt3j6uSt3Xrqa7XTtcQE0=
github.com/armon/go-radix v1.0.0 h1:F4z6KzEeeQIMeLFa97iZU6vupzoecKdU5TX24SNppXI=
github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
Expand Down
1 change: 1 addition & 0 deletions module/apmelasticsearch/internal/integration/go.sum
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
github.com/DATA-DOG/godog v0.7.13/go.mod h1:z2OZ6a3X0/YAKVqLfVzYBwFt3j6uSt3Xrqa7XTtcQE0=
github.com/armon/go-radix v1.0.0 h1:F4z6KzEeeQIMeLFa97iZU6vupzoecKdU5TX24SNppXI=
github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
Expand Down
1 change: 1 addition & 0 deletions module/apmgin/go.sum
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
github.com/DATA-DOG/godog v0.7.13/go.mod h1:z2OZ6a3X0/YAKVqLfVzYBwFt3j6uSt3Xrqa7XTtcQE0=
github.com/armon/go-radix v1.0.0 h1:F4z6KzEeeQIMeLFa97iZU6vupzoecKdU5TX24SNppXI=
github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
Expand Down
1 change: 1 addition & 0 deletions module/apmgocql/go.sum
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
github.com/DATA-DOG/godog v0.7.13/go.mod h1:z2OZ6a3X0/YAKVqLfVzYBwFt3j6uSt3Xrqa7XTtcQE0=
github.com/armon/go-radix v1.0.0 h1:F4z6KzEeeQIMeLFa97iZU6vupzoecKdU5TX24SNppXI=
github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8=
github.com/bitly/go-hostpool v0.0.0-20171023180738-a3a6125de932 h1:mXoPYz/Ul5HYEDvkta6I8/rnYM5gSdSV2tJ6XbZuEtY=
Expand Down
1 change: 1 addition & 0 deletions module/apmgokit/go.sum
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
github.com/DATA-DOG/godog v0.7.13/go.mod h1:z2OZ6a3X0/YAKVqLfVzYBwFt3j6uSt3Xrqa7XTtcQE0=
github.com/armon/go-radix v1.0.0 h1:F4z6KzEeeQIMeLFa97iZU6vupzoecKdU5TX24SNppXI=
github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8=
github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
Expand Down
1 change: 1 addition & 0 deletions module/apmgometrics/go.sum
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
github.com/DATA-DOG/godog v0.7.13/go.mod h1:z2OZ6a3X0/YAKVqLfVzYBwFt3j6uSt3Xrqa7XTtcQE0=
github.com/armon/go-radix v1.0.0 h1:F4z6KzEeeQIMeLFa97iZU6vupzoecKdU5TX24SNppXI=
github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
Expand Down
1 change: 1 addition & 0 deletions module/apmgopg/go.sum
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
github.com/DATA-DOG/godog v0.7.13/go.mod h1:z2OZ6a3X0/YAKVqLfVzYBwFt3j6uSt3Xrqa7XTtcQE0=
github.com/armon/go-radix v1.0.0 h1:F4z6KzEeeQIMeLFa97iZU6vupzoecKdU5TX24SNppXI=
github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
Expand Down
1 change: 1 addition & 0 deletions module/apmgoredis/go.sum
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
github.com/DATA-DOG/godog v0.7.13/go.mod h1:z2OZ6a3X0/YAKVqLfVzYBwFt3j6uSt3Xrqa7XTtcQE0=
github.com/armon/go-radix v1.0.0 h1:F4z6KzEeeQIMeLFa97iZU6vupzoecKdU5TX24SNppXI=
github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
Expand Down
1 change: 1 addition & 0 deletions module/apmgorilla/go.sum
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
github.com/DATA-DOG/godog v0.7.13/go.mod h1:z2OZ6a3X0/YAKVqLfVzYBwFt3j6uSt3Xrqa7XTtcQE0=
github.com/armon/go-radix v1.0.0 h1:F4z6KzEeeQIMeLFa97iZU6vupzoecKdU5TX24SNppXI=
github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
Expand Down
1 change: 1 addition & 0 deletions module/apmgorm/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSR
cloud.google.com/go v0.40.0 h1:FjSY7bOj+WzJe6TZRVtXI2b9kAYvtNg4lMbcH2+MUkk=
cloud.google.com/go v0.40.0/go.mod h1:Tk58MuI9rbLMKlAjeO/bDnteAx7tX2gJIXw4T5Jwlro=
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
github.com/DATA-DOG/godog v0.7.13/go.mod h1:z2OZ6a3X0/YAKVqLfVzYBwFt3j6uSt3Xrqa7XTtcQE0=
github.com/Shopify/sarama v1.19.0/go.mod h1:FVkBWblsNy7DGZRfXLU0O9RCGt5g3g3yEuWXgklEdEo=
github.com/Shopify/toxiproxy v2.1.4+incompatible/go.mod h1:OXgGpZ6Cli1/URJOF1DMxUHB2q5Ap20/P/eIdh4G0pI=
github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
Expand Down
1 change: 1 addition & 0 deletions module/apmgrpc/go.sum
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
github.com/DATA-DOG/godog v0.7.13/go.mod h1:z2OZ6a3X0/YAKVqLfVzYBwFt3j6uSt3Xrqa7XTtcQE0=
github.com/armon/go-radix v1.0.0 h1:F4z6KzEeeQIMeLFa97iZU6vupzoecKdU5TX24SNppXI=
github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8=
github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
Expand Down
1 change: 1 addition & 0 deletions module/apmhttp/go.sum
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
github.com/DATA-DOG/godog v0.7.13/go.mod h1:z2OZ6a3X0/YAKVqLfVzYBwFt3j6uSt3Xrqa7XTtcQE0=
github.com/armon/go-radix v1.0.0 h1:F4z6KzEeeQIMeLFa97iZU6vupzoecKdU5TX24SNppXI=
github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
Expand Down
1 change: 1 addition & 0 deletions module/apmhttprouter/go.sum
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
github.com/DATA-DOG/godog v0.7.13/go.mod h1:z2OZ6a3X0/YAKVqLfVzYBwFt3j6uSt3Xrqa7XTtcQE0=
github.com/armon/go-radix v1.0.0 h1:F4z6KzEeeQIMeLFa97iZU6vupzoecKdU5TX24SNppXI=
github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
Expand Down
1 change: 1 addition & 0 deletions module/apmlambda/go.sum
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
github.com/DATA-DOG/godog v0.7.13/go.mod h1:z2OZ6a3X0/YAKVqLfVzYBwFt3j6uSt3Xrqa7XTtcQE0=
github.com/armon/go-radix v1.0.0 h1:F4z6KzEeeQIMeLFa97iZU6vupzoecKdU5TX24SNppXI=
github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8=
github.com/aws/aws-lambda-go v1.8.0 h1:YMCzi9FP7MNVVj9AkGpYyaqh/mvFOjhqiDtnNlWtKTg=
Expand Down
1 change: 1 addition & 0 deletions module/apmlogrus/go.sum
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
github.com/DATA-DOG/godog v0.7.13/go.mod h1:z2OZ6a3X0/YAKVqLfVzYBwFt3j6uSt3Xrqa7XTtcQE0=
github.com/armon/go-radix v1.0.0 h1:F4z6KzEeeQIMeLFa97iZU6vupzoecKdU5TX24SNppXI=
github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
Expand Down
1 change: 1 addition & 0 deletions module/apmmongo/go.sum
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
github.com/DATA-DOG/godog v0.7.13/go.mod h1:z2OZ6a3X0/YAKVqLfVzYBwFt3j6uSt3Xrqa7XTtcQE0=
github.com/armon/go-radix v1.0.0 h1:F4z6KzEeeQIMeLFa97iZU6vupzoecKdU5TX24SNppXI=
github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
Expand Down
1 change: 1 addition & 0 deletions module/apmnegroni/go.sum
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
github.com/DATA-DOG/godog v0.7.13/go.mod h1:z2OZ6a3X0/YAKVqLfVzYBwFt3j6uSt3Xrqa7XTtcQE0=
github.com/armon/go-radix v1.0.0 h1:F4z6KzEeeQIMeLFa97iZU6vupzoecKdU5TX24SNppXI=
github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
Expand Down
1 change: 1 addition & 0 deletions module/apmot/go.sum
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
github.com/DATA-DOG/godog v0.7.13/go.mod h1:z2OZ6a3X0/YAKVqLfVzYBwFt3j6uSt3Xrqa7XTtcQE0=
github.com/armon/go-radix v1.0.0 h1:F4z6KzEeeQIMeLFa97iZU6vupzoecKdU5TX24SNppXI=
github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
Expand Down
1 change: 1 addition & 0 deletions module/apmprometheus/go.sum
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
github.com/DATA-DOG/godog v0.7.13/go.mod h1:z2OZ6a3X0/YAKVqLfVzYBwFt3j6uSt3Xrqa7XTtcQE0=
github.com/armon/go-radix v1.0.0 h1:F4z6KzEeeQIMeLFa97iZU6vupzoecKdU5TX24SNppXI=
github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8=
github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973 h1:xJ4a3vCFaGF/jqvzLMYoU8P317H5OQ+Via4RmuPwCS0=
Expand Down

0 comments on commit 952f0bf

Please sign in to comment.