Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# WSO2 Agent Manager

[![Go Report Card](https://goreportcard.com/badge/github.com/wso2/ai-agent-management-platform/agent-manager-service)](https://goreportcard.com/report/github.com/wso2/ai-agent-management-platform/agent-manager-service)
[![Go Report Card](https://goreportcard.com/badge/github.com/wso2/agent-manager/agent-manager-service)](https://goreportcard.com/report/github.com/wso2/agent-manager/agent-manager-service)
[![Platform Release](https://img.shields.io/github/v/release/wso2/ai-agent-management-platform?filter=amp/*&label=platform&color=orange)](https://github.com/wso2/agent-manager/releases?q=amp)
[![Python Instrumentation](https://img.shields.io/github/v/release/wso2/ai-agent-management-platform?filter=amp-instrumentation/*&label=python-instrumentation&color=blue)](https://github.com/wso2/agent-manager/releases?q=amp-instrumentation)

Expand Down
2 changes: 1 addition & 1 deletion agent-manager-service/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ COPY . .
RUN CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build \
-a \
-installsuffix cgo \
-ldflags="-w -s -X github.com/wso2/ai-agent-management-platform/agent-manager-service/config.Version=${VERSION}" \
-ldflags="-w -s -X github.com/wso2/agent-manager/agent-manager-service/config.Version=${VERSION}" \
-o /go/bin/agent-manager-service \
-buildvcs=false

Expand Down
4 changes: 2 additions & 2 deletions agent-manager-service/api/agent_config_routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ package api
import (
"net/http"

"github.com/wso2/ai-agent-management-platform/agent-manager-service/controllers"
"github.com/wso2/ai-agent-management-platform/agent-manager-service/middleware"
"github.com/wso2/agent-manager/agent-manager-service/controllers"
"github.com/wso2/agent-manager/agent-manager-service/middleware"
)

// RegisterAgentConfigRoutes registers all agent configuration routes
Expand Down
4 changes: 2 additions & 2 deletions agent-manager-service/api/agent_routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ package api
import (
"net/http"

"github.com/wso2/ai-agent-management-platform/agent-manager-service/controllers"
"github.com/wso2/ai-agent-management-platform/agent-manager-service/middleware"
"github.com/wso2/agent-manager/agent-manager-service/controllers"
"github.com/wso2/agent-manager/agent-manager-service/middleware"
)

func registerAgentRoutes(mux *http.ServeMux, ctrl controllers.AgentController) {
Expand Down
4 changes: 2 additions & 2 deletions agent-manager-service/api/agent_token_routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ package api
import (
"net/http"

"github.com/wso2/ai-agent-management-platform/agent-manager-service/controllers"
"github.com/wso2/ai-agent-management-platform/agent-manager-service/middleware"
"github.com/wso2/agent-manager/agent-manager-service/controllers"
"github.com/wso2/agent-manager/agent-manager-service/middleware"
)

// registerAgentTokenRoutes registers the agent token API routes
Expand Down
8 changes: 4 additions & 4 deletions agent-manager-service/api/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ package api
import (
"net/http"

"github.com/wso2/ai-agent-management-platform/agent-manager-service/config"
"github.com/wso2/ai-agent-management-platform/agent-manager-service/middleware"
"github.com/wso2/ai-agent-management-platform/agent-manager-service/middleware/logger"
"github.com/wso2/ai-agent-management-platform/agent-manager-service/wiring"
"github.com/wso2/agent-manager/agent-manager-service/config"
"github.com/wso2/agent-manager/agent-manager-service/middleware"
"github.com/wso2/agent-manager/agent-manager-service/middleware/logger"
"github.com/wso2/agent-manager/agent-manager-service/wiring"
)

// MakeHTTPHandler creates a new HTTP handler with middleware and routes
Expand Down
4 changes: 2 additions & 2 deletions agent-manager-service/api/catalog_routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ package api
import (
"net/http"

"github.com/wso2/ai-agent-management-platform/agent-manager-service/controllers"
"github.com/wso2/ai-agent-management-platform/agent-manager-service/middleware"
"github.com/wso2/agent-manager/agent-manager-service/controllers"
"github.com/wso2/agent-manager/agent-manager-service/middleware"
)

func registerCatalogRoutes(mux *http.ServeMux, ctrl controllers.CatalogController) {
Expand Down
4 changes: 2 additions & 2 deletions agent-manager-service/api/environment_routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ package api
import (
"net/http"

"github.com/wso2/ai-agent-management-platform/agent-manager-service/controllers"
"github.com/wso2/ai-agent-management-platform/agent-manager-service/middleware"
"github.com/wso2/agent-manager/agent-manager-service/controllers"
"github.com/wso2/agent-manager/agent-manager-service/middleware"
)

func registerEnvironmentRoutes(mux *http.ServeMux, ctrl controllers.EnvironmentController) {
Expand Down
4 changes: 2 additions & 2 deletions agent-manager-service/api/evaluator_routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ package api
import (
"net/http"

"github.com/wso2/ai-agent-management-platform/agent-manager-service/controllers"
"github.com/wso2/ai-agent-management-platform/agent-manager-service/middleware"
"github.com/wso2/agent-manager/agent-manager-service/controllers"
"github.com/wso2/agent-manager/agent-manager-service/middleware"
)

func registerEvaluatorRoutes(mux *http.ServeMux, controller controllers.EvaluatorController) {
Expand Down
2 changes: 1 addition & 1 deletion agent-manager-service/api/gateway_internal_routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package api
import (
"net/http"

"github.com/wso2/ai-agent-management-platform/agent-manager-service/controllers"
"github.com/wso2/agent-manager/agent-manager-service/controllers"
)

// RegisterGatewayInternalRoutes registers all gateway internal API routes
Expand Down
4 changes: 2 additions & 2 deletions agent-manager-service/api/gateway_routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ package api
import (
"net/http"

"github.com/wso2/ai-agent-management-platform/agent-manager-service/controllers"
"github.com/wso2/ai-agent-management-platform/agent-manager-service/middleware"
"github.com/wso2/agent-manager/agent-manager-service/controllers"
"github.com/wso2/agent-manager/agent-manager-service/middleware"
)

func RegisterGatewayRoutes(mux *http.ServeMux, ctrl controllers.GatewayController) {
Expand Down
6 changes: 3 additions & 3 deletions agent-manager-service/api/health_check_routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ import (
"net/http"
"time"

"github.com/wso2/ai-agent-management-platform/agent-manager-service/config"
"github.com/wso2/ai-agent-management-platform/agent-manager-service/db"
"github.com/wso2/ai-agent-management-platform/agent-manager-service/utils"
"github.com/wso2/agent-manager/agent-manager-service/config"
"github.com/wso2/agent-manager/agent-manager-service/db"
"github.com/wso2/agent-manager/agent-manager-service/utils"
)

func registerHealthCheck(mux *http.ServeMux) {
Expand Down
4 changes: 2 additions & 2 deletions agent-manager-service/api/infra_resource_routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ package api
import (
"net/http"

"github.com/wso2/ai-agent-management-platform/agent-manager-service/controllers"
"github.com/wso2/ai-agent-management-platform/agent-manager-service/middleware"
"github.com/wso2/agent-manager/agent-manager-service/controllers"
"github.com/wso2/agent-manager/agent-manager-service/middleware"
)

func registerInfraRoutes(mux *http.ServeMux, ctrl controllers.InfraResourceController) {
Expand Down
4 changes: 2 additions & 2 deletions agent-manager-service/api/llm_deployment_routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ package api
import (
"net/http"

"github.com/wso2/ai-agent-management-platform/agent-manager-service/controllers"
"github.com/wso2/ai-agent-management-platform/agent-manager-service/middleware"
"github.com/wso2/agent-manager/agent-manager-service/controllers"
"github.com/wso2/agent-manager/agent-manager-service/middleware"
)

// RegisterLLMDeploymentRoutes registers all LLM deployment-related routes
Expand Down
4 changes: 2 additions & 2 deletions agent-manager-service/api/llm_provider_apikey_routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ package api
import (
"net/http"

"github.com/wso2/ai-agent-management-platform/agent-manager-service/controllers"
"github.com/wso2/ai-agent-management-platform/agent-manager-service/middleware"
"github.com/wso2/agent-manager/agent-manager-service/controllers"
"github.com/wso2/agent-manager/agent-manager-service/middleware"
)

// RegisterLLMProviderAPIKeyRoutes registers API key routes for LLM providers
Expand Down
4 changes: 2 additions & 2 deletions agent-manager-service/api/llm_proxy_apikey_routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ package api
import (
"net/http"

"github.com/wso2/ai-agent-management-platform/agent-manager-service/controllers"
"github.com/wso2/ai-agent-management-platform/agent-manager-service/middleware"
"github.com/wso2/agent-manager/agent-manager-service/controllers"
"github.com/wso2/agent-manager/agent-manager-service/middleware"
)

// RegisterLLMProxyAPIKeyRoutes registers API key routes for LLM proxies
Expand Down
4 changes: 2 additions & 2 deletions agent-manager-service/api/llm_proxy_deployment_routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ package api
import (
"net/http"

"github.com/wso2/ai-agent-management-platform/agent-manager-service/controllers"
"github.com/wso2/ai-agent-management-platform/agent-manager-service/middleware"
"github.com/wso2/agent-manager/agent-manager-service/controllers"
"github.com/wso2/agent-manager/agent-manager-service/middleware"
)

// RegisterLLMProxyDeploymentRoutes registers all LLM proxy deployment-related routes
Expand Down
4 changes: 2 additions & 2 deletions agent-manager-service/api/llm_routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ package api
import (
"net/http"

"github.com/wso2/ai-agent-management-platform/agent-manager-service/controllers"
"github.com/wso2/ai-agent-management-platform/agent-manager-service/middleware"
"github.com/wso2/agent-manager/agent-manager-service/controllers"
"github.com/wso2/agent-manager/agent-manager-service/middleware"
)

// RegisterLLMRoutes registers all LLM-related routes
Expand Down
4 changes: 2 additions & 2 deletions agent-manager-service/api/monitor_publisher_routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ package api
import (
"net/http"

"github.com/wso2/ai-agent-management-platform/agent-manager-service/controllers"
"github.com/wso2/ai-agent-management-platform/agent-manager-service/middleware"
"github.com/wso2/agent-manager/agent-manager-service/controllers"
"github.com/wso2/agent-manager/agent-manager-service/middleware"
)

// RegisterMonitorPublisherRoutes registers monitor score publishing routes
Expand Down
4 changes: 2 additions & 2 deletions agent-manager-service/api/monitor_routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ package api
import (
"net/http"

"github.com/wso2/ai-agent-management-platform/agent-manager-service/controllers"
"github.com/wso2/ai-agent-management-platform/agent-manager-service/middleware"
"github.com/wso2/agent-manager/agent-manager-service/controllers"
"github.com/wso2/agent-manager/agent-manager-service/middleware"
)

func route(method, path string) string {
Expand Down
4 changes: 2 additions & 2 deletions agent-manager-service/api/observability_routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ package api
import (
"net/http"

"github.com/wso2/ai-agent-management-platform/agent-manager-service/controllers"
"github.com/wso2/ai-agent-management-platform/agent-manager-service/middleware"
"github.com/wso2/agent-manager/agent-manager-service/controllers"
"github.com/wso2/agent-manager/agent-manager-service/middleware"
)

func registerObservabilityRoutes(mux *http.ServeMux, ctrl controllers.ObservabilityController) {
Expand Down
2 changes: 1 addition & 1 deletion agent-manager-service/api/repository_routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package api
import (
"net/http"

"github.com/wso2/ai-agent-management-platform/agent-manager-service/controllers"
"github.com/wso2/agent-manager/agent-manager-service/controllers"
)

func registerRepositoryRoutes(mux *http.ServeMux, ctrl controllers.RepositoryController) {
Expand Down
2 changes: 1 addition & 1 deletion agent-manager-service/api/websocket_routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package api
import (
"net/http"

"github.com/wso2/ai-agent-management-platform/agent-manager-service/controllers"
"github.com/wso2/agent-manager/agent-manager-service/controllers"
)

// RegisterWebSocketRoutes registers all WebSocket routes
Expand Down
2 changes: 1 addition & 1 deletion agent-manager-service/catalog/builtin_evaluators.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion agent-manager-service/catalog/catalog.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (

"github.com/google/uuid"

"github.com/wso2/ai-agent-management-platform/agent-manager-service/models"
"github.com/wso2/agent-manager/agent-manager-service/models"
)

// catalogNamespace is a fixed namespace UUID used to derive deterministic evaluator IDs from identifiers.
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"context"
"sync"

traceobserversvc "github.com/wso2/ai-agent-management-platform/agent-manager-service/clients/traceobserversvc"
traceobserversvc "github.com/wso2/agent-manager/agent-manager-service/clients/traceobserversvc"
)

// Ensure TraceObserverClientMock implements TraceObserverClient interface
Expand Down
2 changes: 1 addition & 1 deletion agent-manager-service/clients/gitprovider/github.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"strings"
"time"

"github.com/wso2/ai-agent-management-platform/agent-manager-service/clients/requests"
"github.com/wso2/agent-manager/agent-manager-service/clients/requests"
)

const (
Expand Down
12 changes: 6 additions & 6 deletions agent-manager-service/clients/observabilitysvc/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ import (
"strings"
"time"

"github.com/wso2/ai-agent-management-platform/agent-manager-service/clients/observabilitysvc/gen"
"github.com/wso2/ai-agent-management-platform/agent-manager-service/clients/openchoreosvc/client"
"github.com/wso2/ai-agent-management-platform/agent-manager-service/clients/requests"
"github.com/wso2/ai-agent-management-platform/agent-manager-service/models"
"github.com/wso2/ai-agent-management-platform/agent-manager-service/spec"
"github.com/wso2/ai-agent-management-platform/agent-manager-service/utils"
"github.com/wso2/agent-manager/agent-manager-service/clients/observabilitysvc/gen"
"github.com/wso2/agent-manager/agent-manager-service/clients/openchoreosvc/client"
"github.com/wso2/agent-manager/agent-manager-service/clients/requests"
"github.com/wso2/agent-manager/agent-manager-service/models"
"github.com/wso2/agent-manager/agent-manager-service/spec"
"github.com/wso2/agent-manager/agent-manager-service/utils"
)

// Build log constants
Expand Down
4 changes: 2 additions & 2 deletions agent-manager-service/clients/openchoreosvc/auth/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ import (
"sync"
"time"

"github.com/wso2/ai-agent-management-platform/agent-manager-service/clients/openchoreosvc/client"
"github.com/wso2/ai-agent-management-platform/agent-manager-service/clients/requests"
"github.com/wso2/agent-manager/agent-manager-service/clients/openchoreosvc/client"
"github.com/wso2/agent-manager/agent-manager-service/clients/requests"
)

// Compile-time check that AuthProvider implements client.AuthProvider
Expand Down
8 changes: 4 additions & 4 deletions agent-manager-service/clients/openchoreosvc/client/builds.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ import (
"sort"
"time"

"github.com/wso2/ai-agent-management-platform/agent-manager-service/clients/openchoreosvc/gen"
"github.com/wso2/ai-agent-management-platform/agent-manager-service/config"
"github.com/wso2/ai-agent-management-platform/agent-manager-service/models"
"github.com/wso2/ai-agent-management-platform/agent-manager-service/utils"
"github.com/wso2/agent-manager/agent-manager-service/clients/openchoreosvc/gen"
"github.com/wso2/agent-manager/agent-manager-service/config"
"github.com/wso2/agent-manager/agent-manager-service/models"
"github.com/wso2/agent-manager/agent-manager-service/utils"
)

func (c *openChoreoClient) TriggerBuild(ctx context.Context, orgName, projectName, componentName, commitID string) (*models.BuildResponse, error) {
Expand Down
6 changes: 3 additions & 3 deletions agent-manager-service/clients/openchoreosvc/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ import (
"net/http"
"slices"

"github.com/wso2/ai-agent-management-platform/agent-manager-service/clients/openchoreosvc/gen"
"github.com/wso2/ai-agent-management-platform/agent-manager-service/clients/requests"
"github.com/wso2/ai-agent-management-platform/agent-manager-service/models"
"github.com/wso2/agent-manager/agent-manager-service/clients/openchoreosvc/gen"
"github.com/wso2/agent-manager/agent-manager-service/clients/requests"
"github.com/wso2/agent-manager/agent-manager-service/models"
)

// Config contains configuration for the OpenChoreo client
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ import (
"strings"
"time"

"github.com/wso2/ai-agent-management-platform/agent-manager-service/clients/openchoreosvc/gen"
"github.com/wso2/ai-agent-management-platform/agent-manager-service/config"
"github.com/wso2/ai-agent-management-platform/agent-manager-service/models"
"github.com/wso2/ai-agent-management-platform/agent-manager-service/utils"
"github.com/wso2/agent-manager/agent-manager-service/clients/openchoreosvc/gen"
"github.com/wso2/agent-manager/agent-manager-service/config"
"github.com/wso2/agent-manager/agent-manager-service/models"
"github.com/wso2/agent-manager/agent-manager-service/utils"
)

func (c *openChoreoClient) CreateComponent(ctx context.Context, namespaceName, projectName string, req CreateComponentRequest) error {
Expand Down
Loading
Loading