Get Policy Type Instance
[ric-plt/a1.git] / a1-go / cmd / a1.go
index eaf8433..cdb44cb 100644 (file)
@@ -21,7 +21,8 @@
 package main
 
 import (
-       "subh.com/a1-go/pkg/restful"
+       "gerrit.o-ran-sc.org/r/ric-plt/a1/pkg/a1"
+       "gerrit.o-ran-sc.org/r/ric-plt/a1/pkg/restful"
 )
 
 func main() {
@@ -31,7 +32,12 @@ func main() {
        // os.Setenv("DBAAS_SERVICE_HOST", "xxxxx")
        // os.Setenv("DBAAS_SERVICE_PORT", "xxxxx")
 
+       // initialize logger
+       a1.Init()
+
        // start restful service to handle a1 api's
        restful := restful.NewRestful()
+
+       a1.Logger.Info("Starting a1 mediator.")
        restful.Run()
 }