Code Review
/
ric-plt
/
appmgr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Swagger-baser server REST API interface
[ric-plt/appmgr.git]
/
cmd
/
appmgr.go
diff --git
a/cmd/appmgr/main.go
b/cmd/appmgr.go
similarity index 83%
rename from
cmd/appmgr/main.go
rename to
cmd/appmgr.go
index
8788405
..
b658367
100755
(executable)
--- a/
cmd/appmgr/main.go
+++ b/
cmd/appmgr.go
@@
-19,15
+19,12
@@
package main
package main
-var Logger *Log
+import (
+ "gerrit.oran-osc.org/r/ric-plt/appmgr/pkg/appmgr"
+ "gerrit.oran-osc.org/r/ric-plt/appmgr/pkg/restful"
+)
func main() {
func main() {
- Logger = NewLogger("xapp-manager")
- Logger.SetMdc("appmgr", "0.1.9")
- loadConfig()
-
- m := XappManager{}
- m.Initialize(&Helm{}, &ConfigMap{})
-
- m.Run()
+ appmgr.Init()
+ restful.NewRestful().Run()
}
}