Code Review
/
ric-plt
/
rtmgr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Support for RIC_HEALTH_CHECK messages
[ric-plt/rtmgr.git]
/
pkg
/
nbi
/
httpgetter.go
diff --git
a/pkg/nbi/httpgetter.go
b/pkg/nbi/httpgetter.go
index
5d7b818
..
fca8367
100644
(file)
--- a/
pkg/nbi/httpgetter.go
+++ b/
pkg/nbi/httpgetter.go
@@
-37,8
+37,8
@@
import (
"routing-manager/pkg/rpe"
"routing-manager/pkg/rtmgr"
"routing-manager/pkg/sdl"
"routing-manager/pkg/rpe"
"routing-manager/pkg/rtmgr"
"routing-manager/pkg/sdl"
- "time"
"sync"
"sync"
+ "time"
)
type HttpGetter struct {
)
type HttpGetter struct {
@@
-52,7
+52,7
@@
func NewHttpGetter() *HttpGetter {
return instance
}
return instance
}
-var myClient = &http.Client{Timeout: 5 * time.Second}
+var myClient = &http.Client{Timeout:
1
5 * time.Second}
func fetchAllXApps(xmurl string) (*[]rtmgr.XApp, error) {
xapp.Logger.Info("Invoked httpGetter.fetchXappList: " + xmurl)
func fetchAllXApps(xmurl string) (*[]rtmgr.XApp, error) {
xapp.Logger.Info("Invoked httpGetter.fetchXappList: " + xmurl)
@@
-77,7
+77,7
@@
func fetchAllXApps(xmurl string) (*[]rtmgr.XApp, error) {
return nil, nil
}
return nil, nil
}
-func (g *HttpGetter) Initialize(xmurl string, nbiif string, fileName string, configfile string,
+func (g *HttpGetter) Initialize(xmurl string, nbiif string, fileName string, configfile string,
e2murl string,
sdlEngine sdl.Engine, rpeEngine rpe.Engine, triggerSBI chan<- bool, m *sync.Mutex) error {
return nil
}
sdlEngine sdl.Engine, rpeEngine rpe.Engine, triggerSBI chan<- bool, m *sync.Mutex) error {
return nil
}