naftiko: 1.0.0-alpha2 info: label: GridGain REST module — transactions description: 'GridGain REST module — transactions. 3 operations. Lead operation: Retrieve all in progress transactions. Self-contained Naftiko capability covering one Gridgain business surface.' tags: - Gridgain - transactions created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GRIDGAIN_API_KEY: GRIDGAIN_API_KEY capability: consumes: - type: http namespace: gridgain-transactions baseUri: http://localhost:10300 description: GridGain REST module — transactions business capability. Self-contained, no shared references. resources: - name: management-v1-transactions path: /management/v1/transactions operations: - name: transactions method: GET description: Retrieve all in progress transactions outputRawFormat: json outputParameters: - name: result type: object value: $. - name: management-v1-transactions-transactionId path: /management/v1/transactions/{transactionId} operations: - name: transaction method: GET description: Retrieve transaction state outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: transactionId in: path type: string description: The unique identifier of the transaction. required: true - name: killtransaction method: DELETE description: Kill transaction. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: transactionId in: path type: string description: The unique identifier of the transaction. required: true authentication: type: bearer token: '{{env.GRIDGAIN_API_KEY}}' exposes: - type: rest namespace: gridgain-transactions-rest port: 8080 description: REST adapter for GridGain REST module — transactions. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/management/v1/transactions name: management-v1-transactions description: REST surface for management-v1-transactions. operations: - method: GET name: transactions description: Retrieve all in progress transactions call: gridgain-transactions.transactions outputParameters: - type: object mapping: $. - path: /v1/management/v1/transactions/{transactionid} name: management-v1-transactions-transactionid description: REST surface for management-v1-transactions-transactionId. operations: - method: GET name: transaction description: Retrieve transaction state call: gridgain-transactions.transaction with: transactionId: rest.transactionId outputParameters: - type: object mapping: $. - method: DELETE name: killtransaction description: Kill transaction. call: gridgain-transactions.killtransaction with: transactionId: rest.transactionId outputParameters: - type: object mapping: $. - type: mcp namespace: gridgain-transactions-mcp port: 9090 transport: http description: MCP adapter for GridGain REST module — transactions. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: retrieve-all-progress-transactions description: Retrieve all in progress transactions hints: readOnly: true destructive: false idempotent: true call: gridgain-transactions.transactions outputParameters: - type: object mapping: $. - name: retrieve-transaction-state description: Retrieve transaction state hints: readOnly: true destructive: false idempotent: true call: gridgain-transactions.transaction with: transactionId: tools.transactionId outputParameters: - type: object mapping: $. - name: kill-transaction description: Kill transaction. hints: readOnly: false destructive: true idempotent: true call: gridgain-transactions.killtransaction with: transactionId: tools.transactionId outputParameters: - type: object mapping: $.