naftiko: 1.0.0-alpha2 info: label: Consolidate Services — ClusterService description: 'Consolidate Services — ClusterService. 7 operations. Lead operation: List returns list of clusters. Self-contained Naftiko capability covering one Argocd business surface.' tags: - Argocd - ClusterService created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ARGOCD_API_KEY: ARGOCD_API_KEY capability: consumes: - type: http namespace: server-clusterservice baseUri: '' description: Consolidate Services — ClusterService business capability. Self-contained, no shared references. resources: - name: api-v1-clusters path: /api/v1/clusters operations: - name: clusterservicelist method: GET description: List returns list of clusters outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: server in: query type: string - name: name in: query type: string - name: id.type in: query type: string description: type is the type of the specified cluster identifier ( "server" - default, "name" ). - name: id.value in: query type: string description: value holds the cluster server URL or cluster name. - name: clusterservicecreate method: POST description: Create creates a cluster outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: string required: true - name: upsert in: query type: boolean - name: api-v1-clusters-id.value path: /api/v1/clusters/{id.value} operations: - name: clusterserviceget method: GET description: Get returns a cluster by server address outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id.value in: path type: string description: value holds the cluster server URL or cluster name required: true - name: server in: query type: string - name: name in: query type: string - name: id.type in: query type: string description: type is the type of the specified cluster identifier ( "server" - default, "name" ). - name: clusterserviceupdate method: PUT description: Update updates a cluster outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id.value in: path type: string description: value holds the cluster server URL or cluster name required: true - name: body in: body type: string required: true - name: updatedFields in: query type: array - name: id.type in: query type: string description: type is the type of the specified cluster identifier ( "server" - default, "name" ). - name: clusterservicedelete method: DELETE description: Delete deletes a cluster outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id.value in: path type: string description: value holds the cluster server URL or cluster name required: true - name: server in: query type: string - name: name in: query type: string - name: id.type in: query type: string description: type is the type of the specified cluster identifier ( "server" - default, "name" ). - name: api-v1-clusters-id.value-invalidate-cache path: /api/v1/clusters/{id.value}/invalidate-cache operations: - name: clusterserviceinvalidatecache method: POST description: InvalidateCache invalidates cluster cache outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id.value in: path type: string description: value holds the cluster server URL or cluster name required: true - name: api-v1-clusters-id.value-rotate-auth path: /api/v1/clusters/{id.value}/rotate-auth operations: - name: clusterservicerotateauth method: POST description: RotateAuth rotates the bearer token used for a cluster outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id.value in: path type: string description: value holds the cluster server URL or cluster name required: true exposes: - type: rest namespace: server-clusterservice-rest port: 8080 description: REST adapter for Consolidate Services — ClusterService. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/v1/clusters name: api-v1-clusters description: REST surface for api-v1-clusters. operations: - method: GET name: clusterservicelist description: List returns list of clusters call: server-clusterservice.clusterservicelist with: server: rest.server name: rest.name id.type: rest.id.type id.value: rest.id.value outputParameters: - type: object mapping: $. - method: POST name: clusterservicecreate description: Create creates a cluster call: server-clusterservice.clusterservicecreate with: body: rest.body upsert: rest.upsert outputParameters: - type: object mapping: $. - path: /v1/api/v1/clusters/{id-value} name: api-v1-clusters-id-value description: REST surface for api-v1-clusters-id.value. operations: - method: GET name: clusterserviceget description: Get returns a cluster by server address call: server-clusterservice.clusterserviceget with: id.value: rest.id.value server: rest.server name: rest.name id.type: rest.id.type outputParameters: - type: object mapping: $. - method: PUT name: clusterserviceupdate description: Update updates a cluster call: server-clusterservice.clusterserviceupdate with: id.value: rest.id.value body: rest.body updatedFields: rest.updatedFields id.type: rest.id.type outputParameters: - type: object mapping: $. - method: DELETE name: clusterservicedelete description: Delete deletes a cluster call: server-clusterservice.clusterservicedelete with: id.value: rest.id.value server: rest.server name: rest.name id.type: rest.id.type outputParameters: - type: object mapping: $. - path: /v1/api/v1/clusters/{id-value}/invalidate-cache name: api-v1-clusters-id-value-invalidate-cache description: REST surface for api-v1-clusters-id.value-invalidate-cache. operations: - method: POST name: clusterserviceinvalidatecache description: InvalidateCache invalidates cluster cache call: server-clusterservice.clusterserviceinvalidatecache with: id.value: rest.id.value outputParameters: - type: object mapping: $. - path: /v1/api/v1/clusters/{id-value}/rotate-auth name: api-v1-clusters-id-value-rotate-auth description: REST surface for api-v1-clusters-id.value-rotate-auth. operations: - method: POST name: clusterservicerotateauth description: RotateAuth rotates the bearer token used for a cluster call: server-clusterservice.clusterservicerotateauth with: id.value: rest.id.value outputParameters: - type: object mapping: $. - type: mcp namespace: server-clusterservice-mcp port: 9090 transport: http description: MCP adapter for Consolidate Services — ClusterService. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-returns-list-clusters description: List returns list of clusters hints: readOnly: true destructive: false idempotent: true call: server-clusterservice.clusterservicelist with: server: tools.server name: tools.name id.type: tools.id.type id.value: tools.id.value outputParameters: - type: object mapping: $. - name: create-creates-cluster description: Create creates a cluster hints: readOnly: false destructive: false idempotent: false call: server-clusterservice.clusterservicecreate with: body: tools.body upsert: tools.upsert outputParameters: - type: object mapping: $. - name: get-returns-cluster-server-address description: Get returns a cluster by server address hints: readOnly: true destructive: false idempotent: true call: server-clusterservice.clusterserviceget with: id.value: tools.id.value server: tools.server name: tools.name id.type: tools.id.type outputParameters: - type: object mapping: $. - name: update-updates-cluster description: Update updates a cluster hints: readOnly: false destructive: false idempotent: true call: server-clusterservice.clusterserviceupdate with: id.value: tools.id.value body: tools.body updatedFields: tools.updatedFields id.type: tools.id.type outputParameters: - type: object mapping: $. - name: delete-deletes-cluster description: Delete deletes a cluster hints: readOnly: false destructive: true idempotent: true call: server-clusterservice.clusterservicedelete with: id.value: tools.id.value server: tools.server name: tools.name id.type: tools.id.type outputParameters: - type: object mapping: $. - name: invalidatecache-invalidates-cluster-cache description: InvalidateCache invalidates cluster cache hints: readOnly: true destructive: false idempotent: false call: server-clusterservice.clusterserviceinvalidatecache with: id.value: tools.id.value outputParameters: - type: object mapping: $. - name: rotateauth-rotates-bearer-token-used description: RotateAuth rotates the bearer token used for a cluster hints: readOnly: false destructive: false idempotent: false call: server-clusterservice.clusterservicerotateauth with: id.value: tools.id.value outputParameters: - type: object mapping: $.