Code Review
/
ealt-edge.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Uniform formatting and volume as hostpath
[ealt-edge.git]
/
mecm
/
mepm
/
applcm
/
broker
/
pkg
/
handlers
/
handlersImpl.go
diff --git
a/mecm/mepm/applcm/broker/pkg/handlers/handlersImpl.go
b/mecm/mepm/applcm/broker/pkg/handlers/handlersImpl.go
index
243bfab
..
6867b2c
100644
(file)
--- a/
mecm/mepm/applcm/broker/pkg/handlers/handlersImpl.go
+++ b/
mecm/mepm/applcm/broker/pkg/handlers/handlersImpl.go
@@
-23,6
+23,13
@@
import (
"bytes"
"encoding/json"
"fmt"
"bytes"
"encoding/json"
"fmt"
+ "io"
+ "io/ioutil"
+ "net/http"
+ "os"
+ "path/filepath"
+ "strings"
+
"github.com/buger/jsonparser"
"github.com/ghodss/yaml"
"github.com/google/uuid"
"github.com/buger/jsonparser"
"github.com/ghodss/yaml"
"github.com/google/uuid"
@@
-30,18
+37,12
@@
import (
"github.com/sirupsen/logrus"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
"github.com/sirupsen/logrus"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
- "io"
- "io/ioutil"
- "net/http"
- "os"
- "path/filepath"
- "strings"
)
// Handler of REST APIs
type HandlerImpl struct {
)
// Handler of REST APIs
type HandlerImpl struct {
- logger
*logrus.Logger
- dbAdapter
*dbAdapter.DbAdapter
+ logger *logrus.Logger
+ dbAdapter *dbAdapter.DbAdapter
}
// Creates handler implementation
}
// Creates handler implementation