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
9 files
+ 25
23
Compare changes
  • Side-by-side
  • Inline
Files
9
@@ -26,6 +26,7 @@ import (
"code.fbi.h-da.de/danet/gosdn/controller/topology/links"
"code.fbi.h-da.de/danet/gosdn/controller/topology/nodes"
"code.fbi.h-da.de/danet/gosdn/controller/topology/ports"
"code.fbi.h-da.de/danet/gosdn/controller/topology/store"
"code.fbi.h-da.de/danet/gosdn/models/generated/openconfig"
"github.com/google/uuid"
log "github.com/sirupsen/logrus"
@@ -146,14 +147,14 @@ func bootstrapUnitTest() {
jwtManager := rbacImpl.NewJWTManager("", (10000 * time.Hour))
topoloyStore := topology.NewGenericStore[links.Link]()
topologyService := topology.NewTopologyService(&topoloyStore)
topoloyStore := store.NewGenericStore[links.Link]()
topologyService := topology.NewTopologyService(topoloyStore)
nodeStore := topology.NewGenericStore[nodes.Node]()
nodeService := nodes.NewNodeService(&nodeStore)
nodeStore := store.NewGenericStore[nodes.Node]()
nodeService := nodes.NewNodeService(nodeStore)
portStore := topology.NewGenericStore[ports.Port]()
portService := ports.NewPortService(&portStore)
portStore := store.NewGenericStore[ports.Port]()
portService := ports.NewPortService(portStore)
northbound := nbi.NewNBI(pndStore, userService, roleService, *jwtManager, topologyService, nodeService, portService)
Loading