Skip to content
Snippets Groups Projects

Add basic application framework and example application to show interaction between events an NBI

Merged Ghost User requested to merge istaester/init-application-framework into develop
4 files
+ 77
3
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -12,6 +12,7 @@ import (
ppb "code.fbi.h-da.de/danet/gosdn/api/go/gosdn/pnd"
apb "code.fbi.h-da.de/danet/gosdn/api/go/gosdn/rbac"
tpb "code.fbi.h-da.de/danet/gosdn/api/go/gosdn/transport"
"code.fbi.h-da.de/danet/gosdn/controller/app"
"code.fbi.h-da.de/danet/gosdn/controller/config"
eventservice "code.fbi.h-da.de/danet/gosdn/controller/eventService"
"code.fbi.h-da.de/danet/gosdn/controller/interfaces/device"
@@ -144,8 +145,9 @@ func bootstrapUnitTest() {
}
jwtManager := rbacImpl.NewJWTManager("", (10000 * time.Hour))
appService := app.NewMockAppService()
northbound := nbi.NewNBI(pndStore, userService, roleService, *jwtManager)
northbound := nbi.NewNBI(pndStore, userService, roleService, *jwtManager, appService)
cpb.RegisterCoreServiceServer(s, northbound.Core)
ppb.RegisterPndServiceServer(s, northbound.Pnd)
Loading