TM Forum · Capability

Resource Catalog Management — events subscription

Resource Catalog Management — events subscription. 2 operations. Lead operation: Register a listener. Self-contained Naftiko capability covering one Tm Forum business surface.

Run with Naftiko Tm Forumevents subscription

What You Can Do

POST
Registerlistener — Register a listener
/v1/hub
DELETE
Unregisterlistener — Unregister a listener
/v1/hub/{id}

MCP Tools

register-listener

Register a listener

unregister-listener

Unregister a listener

idempotent

Capability Spec

tmf634-resource-catalog-events-subscription.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Resource Catalog Management — events subscription
  description: 'Resource Catalog Management — events subscription. 2 operations. Lead operation: Register a listener. Self-contained
    Naftiko capability covering one Tm Forum business surface.'
  tags:
  - Tm Forum
  - events subscription
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TM_FORUM_API_KEY: TM_FORUM_API_KEY
capability:
  consumes:
  - type: http
    namespace: tmf634-resource-catalog-events-subscription
    baseUri: https://serverRoot/tmf-api/resourceCatalog/v4
    description: Resource Catalog Management — events subscription business capability. Self-contained, no shared references.
    resources:
    - name: hub
      path: /hub
      operations:
      - name: registerlistener
        method: POST
        description: Register a listener
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: data
          in: body
          type: string
          description: Data containing the callback endpoint to deliver the information
          required: true
    - name: hub-id
      path: /hub/{id}
      operations:
      - name: unregisterlistener
        method: DELETE
        description: Unregister a listener
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: The id of the registered listener
          required: true
  exposes:
  - type: rest
    namespace: tmf634-resource-catalog-events-subscription-rest
    port: 8080
    description: REST adapter for Resource Catalog Management — events subscription. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/hub
      name: hub
      description: REST surface for hub.
      operations:
      - method: POST
        name: registerlistener
        description: Register a listener
        call: tmf634-resource-catalog-events-subscription.registerlistener
        with:
          data: rest.data
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/hub/{id}
      name: hub-id
      description: REST surface for hub-id.
      operations:
      - method: DELETE
        name: unregisterlistener
        description: Unregister a listener
        call: tmf634-resource-catalog-events-subscription.unregisterlistener
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: tmf634-resource-catalog-events-subscription-mcp
    port: 9090
    transport: http
    description: MCP adapter for Resource Catalog Management — events subscription. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: register-listener
      description: Register a listener
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: tmf634-resource-catalog-events-subscription.registerlistener
      with:
        data: tools.data
      outputParameters:
      - type: object
        mapping: $.
    - name: unregister-listener
      description: Unregister a listener
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: tmf634-resource-catalog-events-subscription.unregisterlistener
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.