naftiko: 1.0.0-alpha2 info: label: Apache Flink REST API — Cluster description: 'Apache Flink REST API — Cluster. 2 operations. Lead operation: Shut down the cluster. Self-contained Naftiko capability covering one Flink business surface.' tags: - Flink - Cluster created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: FLINK_API_KEY: FLINK_API_KEY capability: consumes: - type: http namespace: rest-cluster baseUri: http://localhost:8081 description: Apache Flink REST API — Cluster business capability. Self-contained, no shared references. resources: - name: cluster path: /cluster operations: - name: shutdowncluster method: DELETE description: Shut down the cluster outputRawFormat: json outputParameters: - name: result type: object value: $. - name: config path: /config operations: - name: getwebuiconfig method: GET description: Web UI configuration outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: rest-cluster-rest port: 8080 description: REST adapter for Apache Flink REST API — Cluster. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/cluster name: cluster description: REST surface for cluster. operations: - method: DELETE name: shutdowncluster description: Shut down the cluster call: rest-cluster.shutdowncluster outputParameters: - type: object mapping: $. - path: /v1/config name: config description: REST surface for config. operations: - method: GET name: getwebuiconfig description: Web UI configuration call: rest-cluster.getwebuiconfig outputParameters: - type: object mapping: $. - type: mcp namespace: rest-cluster-mcp port: 9090 transport: http description: MCP adapter for Apache Flink REST API — Cluster. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: shut-down-cluster description: Shut down the cluster hints: readOnly: false destructive: true idempotent: true call: rest-cluster.shutdowncluster outputParameters: - type: object mapping: $. - name: web-ui-configuration description: Web UI configuration hints: readOnly: true destructive: false idempotent: true call: rest-cluster.getwebuiconfig outputParameters: - type: object mapping: $.