GridGain · Capability

GridGain REST module — licenseManagement

GridGain REST module — licenseManagement. 7 operations. Lead operation: Get license. Self-contained Naftiko capability covering one Gridgain business surface.

Run with Naftiko GridgainlicenseManagement

What You Can Do

GET
Id — Get license
/v1/management/v1/license
POST
Applynewlicense — Apply new License
/v1/management/v1/license
GET
Features — Get license features
/v1/management/v1/license/features
GET
Id1 — Get license id
/v1/management/v1/license/id
GET
Infos — Get license info
/v1/management/v1/license/infos
GET
Limits — Get license limits
/v1/management/v1/license/limits
POST
Applynewlicenseraw — Apply new License
/v1/management/v1/license/raw

MCP Tools

get-license

Get license

read-only idempotent
apply-new-license

Apply new License

get-license-features

Get license features

read-only idempotent
get-license-id

Get license id

read-only idempotent
get-license-info

Get license info

read-only idempotent
get-license-limits

Get license limits

read-only idempotent
apply-new-license-2

Apply new License

Capability Spec

gridgain-licensemanagement.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: GridGain REST module — licenseManagement
  description: 'GridGain REST module — licenseManagement. 7 operations. Lead operation: Get license. Self-contained Naftiko
    capability covering one Gridgain business surface.'
  tags:
  - Gridgain
  - licenseManagement
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GRIDGAIN_API_KEY: GRIDGAIN_API_KEY
capability:
  consumes:
  - type: http
    namespace: gridgain-licensemanagement
    baseUri: http://localhost:10300
    description: GridGain REST module — licenseManagement business capability. Self-contained, no shared references.
    resources:
    - name: management-v1-license
      path: /management/v1/license
      operations:
      - name: id
        method: GET
        description: Get license
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: applynewlicense
        method: POST
        description: Apply new License
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: management-v1-license-features
      path: /management/v1/license/features
      operations:
      - name: features
        method: GET
        description: Get license features
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: management-v1-license-id
      path: /management/v1/license/id
      operations:
      - name: id1
        method: GET
        description: Get license id
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: management-v1-license-infos
      path: /management/v1/license/infos
      operations:
      - name: infos
        method: GET
        description: Get license info
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: management-v1-license-limits
      path: /management/v1/license/limits
      operations:
      - name: limits
        method: GET
        description: Get license limits
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: management-v1-license-raw
      path: /management/v1/license/raw
      operations:
      - name: applynewlicenseraw
        method: POST
        description: Apply new License
        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-licensemanagement-rest
    port: 8080
    description: REST adapter for GridGain REST module — licenseManagement. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/management/v1/license
      name: management-v1-license
      description: REST surface for management-v1-license.
      operations:
      - method: GET
        name: id
        description: Get license
        call: gridgain-licensemanagement.id
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: applynewlicense
        description: Apply new License
        call: gridgain-licensemanagement.applynewlicense
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/management/v1/license/features
      name: management-v1-license-features
      description: REST surface for management-v1-license-features.
      operations:
      - method: GET
        name: features
        description: Get license features
        call: gridgain-licensemanagement.features
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/management/v1/license/id
      name: management-v1-license-id
      description: REST surface for management-v1-license-id.
      operations:
      - method: GET
        name: id1
        description: Get license id
        call: gridgain-licensemanagement.id1
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/management/v1/license/infos
      name: management-v1-license-infos
      description: REST surface for management-v1-license-infos.
      operations:
      - method: GET
        name: infos
        description: Get license info
        call: gridgain-licensemanagement.infos
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/management/v1/license/limits
      name: management-v1-license-limits
      description: REST surface for management-v1-license-limits.
      operations:
      - method: GET
        name: limits
        description: Get license limits
        call: gridgain-licensemanagement.limits
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/management/v1/license/raw
      name: management-v1-license-raw
      description: REST surface for management-v1-license-raw.
      operations:
      - method: POST
        name: applynewlicenseraw
        description: Apply new License
        call: gridgain-licensemanagement.applynewlicenseraw
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: gridgain-licensemanagement-mcp
    port: 9090
    transport: http
    description: MCP adapter for GridGain REST module — licenseManagement. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: get-license
      description: Get license
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: gridgain-licensemanagement.id
      outputParameters:
      - type: object
        mapping: $.
    - name: apply-new-license
      description: Apply new License
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: gridgain-licensemanagement.applynewlicense
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-license-features
      description: Get license features
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: gridgain-licensemanagement.features
      outputParameters:
      - type: object
        mapping: $.
    - name: get-license-id
      description: Get license id
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: gridgain-licensemanagement.id1
      outputParameters:
      - type: object
        mapping: $.
    - name: get-license-info
      description: Get license info
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: gridgain-licensemanagement.infos
      outputParameters:
      - type: object
        mapping: $.
    - name: get-license-limits
      description: Get license limits
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: gridgain-licensemanagement.limits
      outputParameters:
      - type: object
        mapping: $.
    - name: apply-new-license-2
      description: Apply new License
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: gridgain-licensemanagement.applynewlicenseraw
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.