Initialize maps saving service information in orchestration main
authorjw_wonny.cha <jw_wonny.cha@samsung.com>
Thu, 14 Mar 2019 05:29:54 +0000 (14:29 +0900)
committerjw_wonny.cha <jw_wonny.cha@samsung.com>
Thu, 14 Mar 2019 05:29:54 +0000 (14:29 +0900)
src/orchestration/main.go

index 050b4e546fe29fde6e8f5ee3aa16916b59d9921f..9b3446c9ef7dd1e45284e20f18e12bba043b20cd 100644 (file)
@@ -14,14 +14,17 @@ import (
        "log"
        "net/http"
        restapi "restapi/v1"
+       "servicemgr"
 )
 
 func main() {
        log.Printf("[%s] Server started", logPrefix)
 
        devicemgr.InitDeviceMgr()
+       servicemgr.InitServiceMap()
 
        router := restapi.NewRouter()
 
        log.Fatal(http.ListenAndServe(":9090", router))
+
 }