Revert "New features (#67)"

This reverts commit 88909d0627.
This commit is contained in:
Nutcase
2026-05-03 13:44:09 +03:00
committed by GitHub
parent 104fff31ac
commit 261b44e172
123 changed files with 569 additions and 16694 deletions
@@ -10,7 +10,6 @@ import (
"github.com/nutcas3/telecom-platform/apps/carrier-connector/internal/repository"
"github.com/nutcas3/telecom-platform/apps/carrier-connector/internal/services"
"github.com/nutcas3/telecom-platform/apps/carrier-connector/internal/smdp"
"github.com/sirupsen/logrus"
)
type SelectionIntegration struct {
@@ -34,8 +33,7 @@ func NewSelectionIntegration(repo *repository.PostgresProfileStore) *SelectionIn
manager := smdp.NewSMDPManager(repo, config)
// Create selection service
logger := logrus.New()
selectionService := services.NewSelectionService(manager, logger)
selectionService := services.NewSelectionService(manager)
// Create SMDP service
smdpService := services.NewSMDPService(repo)
@@ -43,7 +41,7 @@ func NewSelectionIntegration(repo *repository.PostgresProfileStore) *SelectionIn
return &SelectionIntegration{
manager: manager,
selectionService: selectionService,
selectionHandler: handlers.NewSelectionHandler(manager),
selectionHandler: selectionService.GetHandler(),
smdpService: smdpService,
}
}