mirror of
https://github.com/syntrex-lab/gomcp.git
synced 2026-05-05 01:02:37 +02:00
chore: migrate module path to syntrex-lab and prepare open source release
This commit is contained in:
parent
a54c892736
commit
5cbb3d89d3
107 changed files with 465 additions and 594 deletions
|
|
@ -6,7 +6,7 @@ import (
|
|||
"sort"
|
||||
"time"
|
||||
|
||||
domsoc "github.com/syntrex/gomcp/internal/domain/soc"
|
||||
domsoc "github.com/syntrex-lab/gomcp/internal/domain/soc"
|
||||
)
|
||||
|
||||
// ─── Analytics Types ──────────────────────────────────────
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import (
|
|||
"testing"
|
||||
"time"
|
||||
|
||||
domsoc "github.com/syntrex/gomcp/internal/domain/soc"
|
||||
domsoc "github.com/syntrex-lab/gomcp/internal/domain/soc"
|
||||
)
|
||||
|
||||
func TestGenerateReport_EmptyEvents(t *testing.T) {
|
||||
|
|
|
|||
|
|
@ -13,9 +13,9 @@ import (
|
|||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
domsoc "github.com/syntrex/gomcp/internal/domain/soc"
|
||||
"github.com/syntrex/gomcp/internal/infrastructure/audit"
|
||||
"github.com/syntrex/gomcp/internal/infrastructure/sqlite"
|
||||
domsoc "github.com/syntrex-lab/gomcp/internal/domain/soc"
|
||||
"github.com/syntrex-lab/gomcp/internal/infrastructure/audit"
|
||||
"github.com/syntrex-lab/gomcp/internal/infrastructure/sqlite"
|
||||
)
|
||||
|
||||
// newTestServiceWithLogger creates a SOC service backed by in-memory SQLite WITH a decision logger.
|
||||
|
|
|
|||
|
|
@ -8,9 +8,9 @@ import (
|
|||
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
domsoc "github.com/syntrex/gomcp/internal/domain/soc"
|
||||
"github.com/syntrex/gomcp/internal/infrastructure/audit"
|
||||
"github.com/syntrex/gomcp/internal/infrastructure/sqlite"
|
||||
domsoc "github.com/syntrex-lab/gomcp/internal/domain/soc"
|
||||
"github.com/syntrex-lab/gomcp/internal/infrastructure/audit"
|
||||
"github.com/syntrex-lab/gomcp/internal/infrastructure/sqlite"
|
||||
)
|
||||
|
||||
// newBenchService creates a minimal SOC service for benchmarking.
|
||||
|
|
|
|||
|
|
@ -10,9 +10,9 @@ import (
|
|||
"testing"
|
||||
"time"
|
||||
|
||||
domsoc "github.com/syntrex/gomcp/internal/domain/soc"
|
||||
"github.com/syntrex/gomcp/internal/infrastructure/audit"
|
||||
"github.com/syntrex/gomcp/internal/infrastructure/sqlite"
|
||||
domsoc "github.com/syntrex-lab/gomcp/internal/domain/soc"
|
||||
"github.com/syntrex-lab/gomcp/internal/infrastructure/audit"
|
||||
"github.com/syntrex-lab/gomcp/internal/infrastructure/sqlite"
|
||||
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -15,10 +15,10 @@ import (
|
|||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/syntrex/gomcp/internal/domain/oracle"
|
||||
"github.com/syntrex/gomcp/internal/domain/peer"
|
||||
domsoc "github.com/syntrex/gomcp/internal/domain/soc"
|
||||
"github.com/syntrex/gomcp/internal/infrastructure/audit"
|
||||
"github.com/syntrex-lab/gomcp/internal/domain/oracle"
|
||||
"github.com/syntrex-lab/gomcp/internal/domain/peer"
|
||||
domsoc "github.com/syntrex-lab/gomcp/internal/domain/soc"
|
||||
"github.com/syntrex-lab/gomcp/internal/infrastructure/audit"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@ import (
|
|||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
domsoc "github.com/syntrex/gomcp/internal/domain/soc"
|
||||
"github.com/syntrex/gomcp/internal/infrastructure/sqlite"
|
||||
domsoc "github.com/syntrex-lab/gomcp/internal/domain/soc"
|
||||
"github.com/syntrex-lab/gomcp/internal/infrastructure/sqlite"
|
||||
)
|
||||
|
||||
// newTestService creates a SOC service backed by in-memory SQLite, without a decision logger.
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ import (
|
|||
"sync"
|
||||
"time"
|
||||
|
||||
domsoc "github.com/syntrex/gomcp/internal/domain/soc"
|
||||
domsoc "github.com/syntrex-lab/gomcp/internal/domain/soc"
|
||||
)
|
||||
|
||||
// WebhookConfig holds SOAR webhook settings.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue