MSP-5186 Implement AppGroup CRUD endpoints

This commit is contained in:
Синельник Тимур Романович committed 2025-04-02 12:38:23 +03:00
1 parent 59f3dc0d2f
commit cb50a60156
10 files changed
+651 -27

No files matched your search

+3
View File
@@ -65,6 +65,8 @@ func (l Locator) Config(cfg conf.Remote) Config {
serviceController := controller.NewService(serviceService)
tokenController := controller.NewToken(tokenService)
appGroupService := service.NewAppGroup(appGroupRep)
appGroupController := controller.NewAppGroup(appGroupService)
c := routes.Controllers{
Secure: secureController,
AccessList: accessListController,
@@ -72,6 +74,7 @@ func (l Locator) Config(cfg conf.Remote) Config {
Service: serviceController,
Application: applicationController,
Token: tokenController,
AppGroup: appGroupController,
}
mapper := endpoint.DefaultWrapper(l.logger, grpclog.Log(l.logger, true))
server := routes.Handler(mapper, c)