GridGain · Capability

GridGain REST module — clusterManagement

GridGain REST module — clusterManagement. 3 operations. Lead operation: Initialize cluster. Self-contained Naftiko capability covering one Gridgain business surface.

Run with Naftiko GridgainclusterManagement

What You Can Do

POST
Init — Initialize cluster
/v1/management/v1/cluster/init
POST
Rename — Rename cluster
/v1/management/v1/cluster/rename
GET
Clusterstate — Get cluster state
/v1/management/v1/cluster/state

MCP Tools

initialize-cluster

Initialize cluster

rename-cluster

Rename cluster

get-cluster-state

Get cluster state

read-only idempotent

Capability Spec

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