Add device enrollment API and agent protocol
Expose ITAM REST endpoints for agents, console GraphQL for device management, and wire probod bootstrap with enrollment e2e coverage. Signed-off-by: Ludovic Vielle <ludovic@probo.com>
This commit is contained in:
@@ -35,6 +35,7 @@ import (
|
||||
"go.probo.inc/probo/pkg/esign"
|
||||
"go.probo.inc/probo/pkg/filemanager"
|
||||
"go.probo.inc/probo/pkg/iam"
|
||||
"go.probo.inc/probo/pkg/itam"
|
||||
"go.probo.inc/probo/pkg/mailman"
|
||||
"go.probo.inc/probo/pkg/probo"
|
||||
"go.probo.inc/probo/pkg/resourcealias"
|
||||
@@ -67,6 +68,7 @@ func NewGraphQLHandler(
|
||||
fileManagerSvc *filemanager.Service,
|
||||
baseURL *baseurl.BaseURL,
|
||||
limits gqlutils.Limits,
|
||||
itamSvc *itam.Service,
|
||||
) http.Handler {
|
||||
config := schema.Config{
|
||||
Resolvers: &Resolver{
|
||||
@@ -90,6 +92,7 @@ func NewGraphQLHandler(
|
||||
tokenSecret: tokenSecret,
|
||||
fileManager: fileManagerSvc,
|
||||
baseURL: baseURL,
|
||||
itam: itamSvc,
|
||||
logger: logger,
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user