Rename GraphQL APIs to compliance portal

Update console, visitor, MCP, and Slack API
surfaces so schemas and resolvers use the
Compliance Portal naming consistently.

Signed-off-by: Bryan Frimin <bryan@probo.com>
This commit is contained in:
Bryan Frimin
2026-07-20 18:08:21 +02:00
parent 0f0f6643ad
commit 8773a54396
57 changed files with 1830 additions and 1833 deletions

View File

@@ -68,7 +68,7 @@ type (
ResourceAlias *resourcealias.Service
File *filemanager.Service
IAM *iam.Service
Trust *visitor.Service
Visitor *visitor.Service
ESign *esign.Service
Management *management.Service
CertManager *certmanager.Service
@@ -242,12 +242,12 @@ func NewServer(cfg Config) (*Server, error) {
slackHandler: slack_v1.NewMux(
cfg.Logger.Named("slack.v1"),
cfg.Slack,
cfg.Trust,
cfg.Visitor,
),
connectHandler: connect_v1.NewMux(
cfg.Logger.Named("connect.v1"),
cfg.IAM,
cfg.Trust,
cfg.Visitor,
cfg.Cookie,
cfg.TokenSecret,
cfg.File,
@@ -257,7 +257,7 @@ func NewServer(cfg Config) (*Server, error) {
return true
}
_, err := cfg.Trust.GetPortalByDomainName(ctx, host)
_, err := cfg.Visitor.GetPortalByDomainName(ctx, host)
return err == nil
},