ON-PREM CHOREO CLOUD BOTH

What it is

agent-manager-provisioner is a stateless Go service that sets up Agent Manager for a customer organization on Choreo Cloud. It creates the organization's component types and the AI gateway for each environment, and registers that gateway with AMS.

Why it exists

Each organization and environment needs its own gateway and templates. Doing it automatically makes sign-up self-service.

How it works

  • API on port 8900, health on 8901, with create, ready, delete and upgrade routes under /api/v1/cp/agent-manager.
  • Triggered by the orchestrator recipe, by a first-sign-in event on NATS (subscription.activated), or by an operator calling upgrade.
  • Create runs 11 steps, including registering the gateway in AMS, storing its token in the secret store, and applying the amp-gateway resource type.
  • Replicas default to 0 and are set to 1 only where it is enabled.

Identity and access

It registers gateways in AMS using the client AGENT_MANAGER_GATEWAY_REG, and calls the orchestrator as AGENT_MANAGER_PROVISIONER.

Key facts

Ports
8900 (API), 8901 (health)
Cluster
cloud-cp
Replicas
0 by default
Edition
Choreo Cloud
Namespace
cloud-cp

Talks to (5)

  • calls agent-manager-service (AMS)
    Register gateway, thunder-url, identity provider
    HTTPS org APIs
  • deploys to API Platform Gateway runtime (APG)
    Per org-env gateway provisioning
    OC ResourceReleaseBinding amp-gateway ResourceType
  • calls orchestrator-api
    First sign-in starts the agent-manager recipe for each configured environment
    HTTP POST /provisioning/environments/{env}/provisions
  • calls platform-api (PAS)
    The provisioner writes the amp-gateway ResourceType, Resource and binding, and reads the environment, through platform-api
    HTTPS platform-api CP API proxy /wso2cloud-dp
  • calls secret-manager-api
    The provisioner stores the gateway token and encryption key in the secret store through secret-manager-api
    HTTPS /secrets

Used by (3)

Inside and around

Part of: cloud-cp (cloud control plane)