GridGain · Capability

GridGain REST module — distribution

GridGain REST module — distribution. 1 operations. Lead operation: Reset distribution. Self-contained Naftiko capability covering one Gridgain business surface.

Run with Naftiko Gridgaindistribution

What You Can Do

POST
Reset — Reset distribution
/v1/management/v1/distribution/reset

MCP Tools

reset-distribution

Reset distribution

Capability Spec

gridgain-distribution.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: GridGain REST module — distribution
  description: 'GridGain REST module — distribution. 1 operations. Lead operation: Reset distribution. Self-contained Naftiko
    capability covering one Gridgain business surface.'
  tags:
  - Gridgain
  - distribution
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GRIDGAIN_API_KEY: GRIDGAIN_API_KEY
capability:
  consumes:
  - type: http
    namespace: gridgain-distribution
    baseUri: http://localhost:10300
    description: GridGain REST module — distribution business capability. Self-contained, no shared references.
    resources:
    - name: management-v1-distribution-reset
      path: /management/v1/distribution/reset
      operations:
      - name: reset
        method: POST
        description: Reset distribution
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.GRIDGAIN_API_KEY}}'
  exposes:
  - type: rest
    namespace: gridgain-distribution-rest
    port: 8080
    description: REST adapter for GridGain REST module — distribution. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/management/v1/distribution/reset
      name: management-v1-distribution-reset
      description: REST surface for management-v1-distribution-reset.
      operations:
      - method: POST
        name: reset
        description: Reset distribution
        call: gridgain-distribution.reset
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: gridgain-distribution-mcp
    port: 9090
    transport: http
    description: MCP adapter for GridGain REST module — distribution. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: reset-distribution
      description: Reset distribution
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: gridgain-distribution.reset
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.