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
8 files
+ 57
36
Compare changes
  • Side-by-side
  • Inline
Files
8
@@ -142,9 +142,7 @@ func bootstrapUnitTest() {
@@ -142,9 +142,7 @@ func bootstrapUnitTest() {
jwtManager := rbacImpl.NewJWTManager("", (10000 * time.Hour))
jwtManager := rbacImpl.NewJWTManager("", (10000 * time.Hour))
northbound := nbi.NewNBI(pndStore, userService, roleService)
northbound := nbi.NewNBI(pndStore, userService, roleService, *jwtManager)
northbound.Auth = nbi.NewAuthServer(jwtManager)
northbound.User = nbi.NewUserServer(jwtManager)
cpb.RegisterCoreServiceServer(s, northbound.Core)
cpb.RegisterCoreServiceServer(s, northbound.Core)
ppb.RegisterPndServiceServer(s, northbound.Pnd)
ppb.RegisterPndServiceServer(s, northbound.Pnd)
Loading