rename repo to apidApiMetadata (#30)
* rename repo to apidApiMetadata
* Update Tavis build script to check for gofmt & vet go code; Include Build status, GoDoc and GoReport badges to README.md; Fixed go vet reported errors. (#29)
* rename repo to apidApiMetadata
* update readme
diff --git a/README.md b/README.md
index 492cca8..ddbe843 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
-# apidVerifyAPIKey
+# apidApiMetadata
-[](https://travis-ci.org/apid/apidVerifyApiKey) [](https://godoc.org/github.com/apid/apidVerifyApiKey) [](https://goreportcard.com/report/github.com/apid/apidVerifyApiKey)
+[](https://travis-ci.org/apid/apidApiMetadata) [](https://godoc.org/github.com/apid/apidApiMetadata) [](https://goreportcard.com/report/github.com/apid/apidApiMetadata)
This core plugin for [apid](http://github.com/apid/apid) responds to [apidApigeeSync](https://github.com/apid/apidApigeeSync)
events and publishes an API that allows clients to verify an API key against Apigee.
diff --git a/accessEntity/accessEntity_suite_test.go b/accessEntity/accessEntity_suite_test.go
index 7ffc503..b712b52 100644
--- a/accessEntity/accessEntity_suite_test.go
+++ b/accessEntity/accessEntity_suite_test.go
@@ -19,7 +19,7 @@
"github.com/apid/apid-core"
"github.com/apid/apid-core/factory"
- "github.com/apid/apidVerifyApiKey/common"
+ "github.com/apid/apidApiMetadata/common"
"io/ioutil"
"os"
"testing"
diff --git a/accessEntity/api.go b/accessEntity/api.go
index d70306d..b239409 100644
--- a/accessEntity/api.go
+++ b/accessEntity/api.go
@@ -17,7 +17,7 @@
import (
"encoding/json"
"fmt"
- "github.com/apid/apidVerifyApiKey/common"
+ "github.com/apid/apidApiMetadata/common"
"net/http"
"strconv"
"strings"
diff --git a/accessEntity/api_response.go b/accessEntity/api_response.go
index ea1e65c..f541cc3 100644
--- a/accessEntity/api_response.go
+++ b/accessEntity/api_response.go
@@ -14,7 +14,7 @@
package accessEntity
-import "github.com/apid/apidVerifyApiKey/common"
+import "github.com/apid/apidApiMetadata/common"
type ApiProductSuccessResponse struct {
// api product
diff --git a/accessEntity/api_test.go b/accessEntity/api_test.go
index 7f46f07..eeda673 100644
--- a/accessEntity/api_test.go
+++ b/accessEntity/api_test.go
@@ -15,7 +15,7 @@
import (
"encoding/json"
- "github.com/apid/apidVerifyApiKey/common"
+ "github.com/apid/apidApiMetadata/common"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"io/ioutil"
diff --git a/accessEntity/data.go b/accessEntity/data.go
index 50fcd93..3e808b0 100644
--- a/accessEntity/data.go
+++ b/accessEntity/data.go
@@ -16,7 +16,7 @@
import (
"database/sql"
"fmt"
- "github.com/apid/apidVerifyApiKey/common"
+ "github.com/apid/apidApiMetadata/common"
"strings"
)
diff --git a/accessEntity/data_test.go b/accessEntity/data_test.go
index e0e873f..9b9924d 100644
--- a/accessEntity/data_test.go
+++ b/accessEntity/data_test.go
@@ -15,7 +15,7 @@
import (
"github.com/apid/apid-core"
- "github.com/apid/apidVerifyApiKey/common"
+ "github.com/apid/apidApiMetadata/common"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"io/ioutil"
diff --git a/accessEntity/interfaces.go b/accessEntity/interfaces.go
index a580762..ff28bf2 100644
--- a/accessEntity/interfaces.go
+++ b/accessEntity/interfaces.go
@@ -14,7 +14,7 @@
package accessEntity
import (
- "github.com/apid/apidVerifyApiKey/common"
+ "github.com/apid/apidApiMetadata/common"
"net/http"
)
diff --git a/accessEntity/mock_test.go b/accessEntity/mock_test.go
index 18a9bbc..5a30e27 100644
--- a/accessEntity/mock_test.go
+++ b/accessEntity/mock_test.go
@@ -14,7 +14,7 @@
package accessEntity
import (
- "github.com/apid/apidVerifyApiKey/common"
+ "github.com/apid/apidApiMetadata/common"
)
type DummyDbMan struct {
diff --git a/apidApiMetadata_suite_test.go b/apidApiMetadata_suite_test.go
index a66271f..82834b8 100644
--- a/apidApiMetadata_suite_test.go
+++ b/apidApiMetadata_suite_test.go
@@ -11,7 +11,7 @@
// 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 apidVerifyApiKey
+package apidApiMetadata
import (
. "github.com/onsi/ginkgo"
diff --git a/glide.yaml b/glide.yaml
index da46400..abe2d4a 100644
--- a/glide.yaml
+++ b/glide.yaml
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-package: github.com/apid/apidVerifyApiKey
+package: github.com/apid/apidApiMetadata
import:
- package: github.com/apid/apid-core
version: master
diff --git a/init.go b/init.go
index b147a1a..158a948 100644
--- a/init.go
+++ b/init.go
@@ -12,13 +12,13 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-package apidVerifyApiKey
+package apidApiMetadata
import (
"github.com/apid/apid-core"
- "github.com/apid/apidVerifyApiKey/accessEntity"
- "github.com/apid/apidVerifyApiKey/common"
- "github.com/apid/apidVerifyApiKey/verifyApiKey"
+ "github.com/apid/apidApiMetadata/accessEntity"
+ "github.com/apid/apidApiMetadata/common"
+ "github.com/apid/apidApiMetadata/verifyApiKey"
"sync"
)
diff --git a/listener.go b/listener.go
index 7f2ec69..9aada4e 100644
--- a/listener.go
+++ b/listener.go
@@ -12,11 +12,11 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-package apidVerifyApiKey
+package apidApiMetadata
import (
"github.com/apid/apid-core"
- "github.com/apid/apidVerifyApiKey/common"
+ "github.com/apid/apidApiMetadata/common"
tran "github.com/apigee-labs/transicator/common"
)
diff --git a/listener_test.go b/listener_test.go
index c82b96a..3b2a77a 100644
--- a/listener_test.go
+++ b/listener_test.go
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-package apidVerifyApiKey
+package apidApiMetadata
import (
"github.com/apid/apid-core"
diff --git a/verifyApiKey/api.go b/verifyApiKey/api.go
index 18d6e51..e06c58c 100644
--- a/verifyApiKey/api.go
+++ b/verifyApiKey/api.go
@@ -16,7 +16,7 @@
import (
"encoding/json"
- "github.com/apid/apidVerifyApiKey/common"
+ "github.com/apid/apidApiMetadata/common"
"io"
"io/ioutil"
"net/http"
diff --git a/verifyApiKey/api_test.go b/verifyApiKey/api_test.go
index 97e226f..9e1795c 100644
--- a/verifyApiKey/api_test.go
+++ b/verifyApiKey/api_test.go
@@ -25,7 +25,7 @@
"errors"
"github.com/apid/apid-core"
"github.com/apid/apid-core/factory"
- "github.com/apid/apidVerifyApiKey/common"
+ "github.com/apid/apidApiMetadata/common"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"io/ioutil"
diff --git a/verifyApiKey/data.go b/verifyApiKey/data.go
index f0cb7d2..8e70faf 100644
--- a/verifyApiKey/data.go
+++ b/verifyApiKey/data.go
@@ -15,7 +15,7 @@
import (
"errors"
- "github.com/apid/apidVerifyApiKey/common"
+ "github.com/apid/apidApiMetadata/common"
)
type DbManagerInterface interface {
diff --git a/verifyApiKey/data_test.go b/verifyApiKey/data_test.go
index 9029f37..d81914a 100644
--- a/verifyApiKey/data_test.go
+++ b/verifyApiKey/data_test.go
@@ -16,7 +16,7 @@
import (
"github.com/apid/apid-core"
"github.com/apid/apid-core/factory"
- "github.com/apid/apidVerifyApiKey/common"
+ "github.com/apid/apidApiMetadata/common"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"io/ioutil"
diff --git a/verifyApiKey/verifyApiKeyStructs.go b/verifyApiKey/verifyApiKeyStructs.go
index b2a93e6..d934754 100644
--- a/verifyApiKey/verifyApiKeyStructs.go
+++ b/verifyApiKey/verifyApiKeyStructs.go
@@ -15,7 +15,7 @@
import (
"errors"
- "github.com/apid/apidVerifyApiKey/common"
+ "github.com/apid/apidApiMetadata/common"
)
type ClientIdDetails struct {
diff --git a/verifyApiKey/verifyApiKeyUtil_test.go b/verifyApiKey/verifyApiKeyUtil_test.go
index a62bbd2..1c26982 100644
--- a/verifyApiKey/verifyApiKeyUtil_test.go
+++ b/verifyApiKey/verifyApiKeyUtil_test.go
@@ -15,7 +15,7 @@
package verifyApiKey
import (
- "github.com/apid/apidVerifyApiKey/common"
+ "github.com/apid/apidApiMetadata/common"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"reflect"