aboutsummaryrefslogtreecommitdiffstats
path: root/src/k8splugin/api
diff options
context:
space:
mode:
authorKiran Kamineni <kiran.k.kamineni@intel.com>2019-06-24 17:01:24 -0700
committerKiran Kamineni <kiran.k.kamineni@intel.com>2019-06-24 17:31:47 -0700
commitf6219a54a7acaac83f129aa837fa81b494ac3c9a (patch)
tree66c44a4afcfe24b5c6f66036030df114a1aa7cbb /src/k8splugin/api
parent46c5d310b24563ba9de00d0583e76742efc2cc0d (diff)
Change the import paths for go get access
This allows other projects to do a go get and use this repo. go get github.com/multicloud-k8s/src/k8splugin will do the job. import github.com/multicloud-k8s/src/k8splugin will import the root package Issue-ID: MULTICLOUD-666 Change-Id: I2f41c88c5a7fb3305b78cce8a83a0e102baa444c Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Diffstat (limited to 'src/k8splugin/api')
-rw-r--r--src/k8splugin/api/api.go6
-rw-r--r--src/k8splugin/api/brokerhandler.go4
-rw-r--r--src/k8splugin/api/brokerhandler_test.go4
-rw-r--r--src/k8splugin/api/confighandler.go2
-rw-r--r--src/k8splugin/api/configtemplatehandler.go2
-rw-r--r--src/k8splugin/api/defhandler.go2
-rw-r--r--src/k8splugin/api/defhandler_test.go2
-rw-r--r--src/k8splugin/api/healthcheckhandler.go2
-rw-r--r--src/k8splugin/api/healthcheckhandler_test.go2
-rw-r--r--src/k8splugin/api/instancehandler.go2
-rw-r--r--src/k8splugin/api/instancehandler_test.go4
-rw-r--r--src/k8splugin/api/profilehandler.go2
-rw-r--r--src/k8splugin/api/profilehandler_test.go2
13 files changed, 18 insertions, 18 deletions
diff --git a/src/k8splugin/api/api.go b/src/k8splugin/api/api.go
index 808d6f5b..636b80b4 100644
--- a/src/k8splugin/api/api.go
+++ b/src/k8splugin/api/api.go
@@ -14,9 +14,9 @@ limitations under the License.
package api
import (
- "k8splugin/internal/app"
- "k8splugin/internal/connection"
- "k8splugin/internal/rb"
+ "github.com/onap/multicloud-k8s/src/k8splugin/internal/app"
+ "github.com/onap/multicloud-k8s/src/k8splugin/internal/connection"
+ "github.com/onap/multicloud-k8s/src/k8splugin/internal/rb"
"github.com/gorilla/mux"
)
diff --git a/src/k8splugin/api/brokerhandler.go b/src/k8splugin/api/brokerhandler.go
index c0564ee4..669b539f 100644
--- a/src/k8splugin/api/brokerhandler.go
+++ b/src/k8splugin/api/brokerhandler.go
@@ -19,8 +19,8 @@ import (
"log"
"net/http"
- "k8splugin/internal/app"
- "k8splugin/internal/helm"
+ "github.com/onap/multicloud-k8s/src/k8splugin/internal/app"
+ "github.com/onap/multicloud-k8s/src/k8splugin/internal/helm"
"github.com/gorilla/mux"
)
diff --git a/src/k8splugin/api/brokerhandler_test.go b/src/k8splugin/api/brokerhandler_test.go
index 15b7bd73..f93ce5ff 100644
--- a/src/k8splugin/api/brokerhandler_test.go
+++ b/src/k8splugin/api/brokerhandler_test.go
@@ -23,8 +23,8 @@ import (
"reflect"
"testing"
- "k8splugin/internal/app"
- "k8splugin/internal/helm"
+ "github.com/onap/multicloud-k8s/src/k8splugin/internal/app"
+ "github.com/onap/multicloud-k8s/src/k8splugin/internal/helm"
pkgerrors "github.com/pkg/errors"
"k8s.io/apimachinery/pkg/runtime/schema"
diff --git a/src/k8splugin/api/confighandler.go b/src/k8splugin/api/confighandler.go
index 9bd9db83..c9af2893 100644
--- a/src/k8splugin/api/confighandler.go
+++ b/src/k8splugin/api/confighandler.go
@@ -20,7 +20,7 @@ import (
"encoding/json"
"net/http"
- "k8splugin/internal/app"
+ "github.com/onap/multicloud-k8s/src/k8splugin/internal/app"
"github.com/gorilla/mux"
)
diff --git a/src/k8splugin/api/configtemplatehandler.go b/src/k8splugin/api/configtemplatehandler.go
index a91165cb..641e4206 100644
--- a/src/k8splugin/api/configtemplatehandler.go
+++ b/src/k8splugin/api/configtemplatehandler.go
@@ -20,7 +20,7 @@ import (
"encoding/json"
"io"
"io/ioutil"
- "k8splugin/internal/rb"
+ "github.com/onap/multicloud-k8s/src/k8splugin/internal/rb"
"net/http"
"github.com/gorilla/mux"
diff --git a/src/k8splugin/api/defhandler.go b/src/k8splugin/api/defhandler.go
index 1aa00413..c1110a97 100644
--- a/src/k8splugin/api/defhandler.go
+++ b/src/k8splugin/api/defhandler.go
@@ -20,7 +20,7 @@ import (
"encoding/json"
"io"
"io/ioutil"
- "k8splugin/internal/rb"
+ "github.com/onap/multicloud-k8s/src/k8splugin/internal/rb"
"net/http"
"github.com/gorilla/mux"
diff --git a/src/k8splugin/api/defhandler_test.go b/src/k8splugin/api/defhandler_test.go
index 321eb460..912f96dd 100644
--- a/src/k8splugin/api/defhandler_test.go
+++ b/src/k8splugin/api/defhandler_test.go
@@ -20,7 +20,7 @@ import (
"bytes"
"encoding/json"
"io"
- "k8splugin/internal/rb"
+ "github.com/onap/multicloud-k8s/src/k8splugin/internal/rb"
"net/http"
"net/http/httptest"
"reflect"
diff --git a/src/k8splugin/api/healthcheckhandler.go b/src/k8splugin/api/healthcheckhandler.go
index 79b7b7ef..896c6df0 100644
--- a/src/k8splugin/api/healthcheckhandler.go
+++ b/src/k8splugin/api/healthcheckhandler.go
@@ -19,7 +19,7 @@ package api
import (
"net/http"
- "k8splugin/internal/db"
+ "github.com/onap/multicloud-k8s/src/k8splugin/internal/db"
)
// healthCheckHandler executes a db read to return health of k8splugin
diff --git a/src/k8splugin/api/healthcheckhandler_test.go b/src/k8splugin/api/healthcheckhandler_test.go
index c2e1888e..d96bb3cd 100644
--- a/src/k8splugin/api/healthcheckhandler_test.go
+++ b/src/k8splugin/api/healthcheckhandler_test.go
@@ -21,7 +21,7 @@ import (
"net/http/httptest"
"testing"
- "k8splugin/internal/db"
+ "github.com/onap/multicloud-k8s/src/k8splugin/internal/db"
pkgerrors "github.com/pkg/errors"
)
diff --git a/src/k8splugin/api/instancehandler.go b/src/k8splugin/api/instancehandler.go
index 4fc3cfc8..42f3b212 100644
--- a/src/k8splugin/api/instancehandler.go
+++ b/src/k8splugin/api/instancehandler.go
@@ -19,7 +19,7 @@ import (
"io"
"net/http"
- "k8splugin/internal/app"
+ "github.com/onap/multicloud-k8s/src/k8splugin/internal/app"
"github.com/gorilla/mux"
pkgerrors "github.com/pkg/errors"
diff --git a/src/k8splugin/api/instancehandler_test.go b/src/k8splugin/api/instancehandler_test.go
index dac7db00..3fc0202d 100644
--- a/src/k8splugin/api/instancehandler_test.go
+++ b/src/k8splugin/api/instancehandler_test.go
@@ -23,8 +23,8 @@ import (
"reflect"
"testing"
- "k8splugin/internal/app"
- "k8splugin/internal/helm"
+ "github.com/onap/multicloud-k8s/src/k8splugin/internal/app"
+ "github.com/onap/multicloud-k8s/src/k8splugin/internal/helm"
"github.com/gorilla/mux"
pkgerrors "github.com/pkg/errors"
diff --git a/src/k8splugin/api/profilehandler.go b/src/k8splugin/api/profilehandler.go
index 362289ff..adb9249b 100644
--- a/src/k8splugin/api/profilehandler.go
+++ b/src/k8splugin/api/profilehandler.go
@@ -20,7 +20,7 @@ import (
"encoding/json"
"io"
"io/ioutil"
- "k8splugin/internal/rb"
+ "github.com/onap/multicloud-k8s/src/k8splugin/internal/rb"
"net/http"
"github.com/gorilla/mux"
diff --git a/src/k8splugin/api/profilehandler_test.go b/src/k8splugin/api/profilehandler_test.go
index 2473fea5..eb65827a 100644
--- a/src/k8splugin/api/profilehandler_test.go
+++ b/src/k8splugin/api/profilehandler_test.go
@@ -20,7 +20,7 @@ import (
"bytes"
"encoding/json"
"io"
- "k8splugin/internal/rb"
+ "github.com/onap/multicloud-k8s/src/k8splugin/internal/rb"
"net/http"
"net/http/httptest"
"reflect"