X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=a1-go%2Fcmd%2Fa1.go;h=cdb44cb16cd3b801b75f2d0284579752bccdf1fc;hb=6579f78d0b544ffdf9cbf4049eb47a64758f5a71;hp=eaf8433bccbf902d0fdeef76d99c17ff5792c350;hpb=327d9dba437b30a06161d4f21cc2a33034d75bac;p=ric-plt%2Fa1.git diff --git a/a1-go/cmd/a1.go b/a1-go/cmd/a1.go index eaf8433..cdb44cb 100644 --- a/a1-go/cmd/a1.go +++ b/a1-go/cmd/a1.go @@ -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() }