Apache Dubbo · Capability

Dubbo-Admin API — TagRule

Dubbo-Admin API — TagRule. 7 operations. Lead operation: Apache Dubbo Search Rule. Self-contained Naftiko capability covering one Apache Dubbo business surface.

Run with Naftiko Apache DubboTagRule

What You Can Do

GET
Get — Apache Dubbo Search Rule
/v1/api/{env}/rules/route/tag
POST
Post — Apache Dubbo Create a New Tag Rule
/v1/api/{env}/rules/route/tag
PUT
Put — Apache Dubbo Disable the Specified Rule
/v1/api/{env}/rules/route/tag/disable/{id}
PUT
Put — Apache Dubbo Enable the Specified Rule
/v1/api/{env}/rules/route/tag/enable/{id}
GET
Get — Apache Dubbo Show the Detail of One Specified Rule
/v1/api/{env}/rules/route/tag/{id}
POST
Post — Apache Dubbo Update Rule
/v1/api/{env}/rules/route/tag/{id}
DELETE
Delete — Apache Dubbo Delete the Specified Rule
/v1/api/{env}/rules/route/tag/{id}

MCP Tools

apache-dubbo-search-rule

Apache Dubbo Search Rule

read-only idempotent
apache-dubbo-create-new-tag

Apache Dubbo Create a New Tag Rule

apache-dubbo-disable-specified-rule

Apache Dubbo Disable the Specified Rule

idempotent
apache-dubbo-enable-specified-rule

Apache Dubbo Enable the Specified Rule

idempotent
apache-dubbo-show-detail-one

Apache Dubbo Show the Detail of One Specified Rule

read-only idempotent
apache-dubbo-update-rule

Apache Dubbo Update Rule

apache-dubbo-delete-specified-rule

Apache Dubbo Delete the Specified Rule

idempotent

Capability Spec

admin-tagrule.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Dubbo-Admin API — TagRule
  description: 'Dubbo-Admin API — TagRule. 7 operations. Lead operation: Apache Dubbo Search Rule. Self-contained Naftiko
    capability covering one Apache Dubbo business surface.'
  tags:
  - Apache Dubbo
  - TagRule
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    APACHE_DUBBO_API_KEY: APACHE_DUBBO_API_KEY
capability:
  consumes:
  - type: http
    namespace: admin-tagrule
    baseUri: https://127.0.0.1:38080
    description: Dubbo-Admin API — TagRule business capability. Self-contained, no shared references.
    resources:
    - name: api-env-rules-route-tag
      path: /api/{env}/rules/route/tag
      operations:
      - name: get
        method: GET
        description: Apache Dubbo Search Rule
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: env
          in: path
          type: string
          description: environment
        - name: application
          in: query
          type: string
          description: application and service must not left empty at the same time
      - name: post
        method: POST
        description: Apache Dubbo Create a New Tag Rule
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: env
          in: path
          type: string
          description: environment
        - name: tagRoute
          in: body
          type: string
          description: rule input
          required: true
    - name: api-env-rules-route-tag-disable-id
      path: /api/{env}/rules/route/tag/disable/{id}
      operations:
      - name: put
        method: PUT
        description: Apache Dubbo Disable the Specified Rule
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: env
          in: path
          type: string
          description: environment
        - name: id
          in: path
          type: string
          description: rule id
          required: true
    - name: api-env-rules-route-tag-enable-id
      path: /api/{env}/rules/route/tag/enable/{id}
      operations:
      - name: put
        method: PUT
        description: Apache Dubbo Enable the Specified Rule
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: env
          in: path
          type: string
          description: environment
        - name: id
          in: path
          type: string
          description: rule id
          required: true
    - name: api-env-rules-route-tag-id
      path: /api/{env}/rules/route/tag/{id}
      operations:
      - name: get
        method: GET
        description: Apache Dubbo Show the Detail of One Specified Rule
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: env
          in: path
          type: string
          description: environment
        - name: id
          in: path
          type: string
          description: rule id
          required: true
      - name: post
        method: POST
        description: Apache Dubbo Update Rule
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: env
          in: path
          type: string
          description: environment
        - name: id
          in: path
          type: string
          description: rule id
          required: true
        - name: tagRoute
          in: body
          type: string
          description: rule input
          required: true
      - name: delete
        method: DELETE
        description: Apache Dubbo Delete the Specified Rule
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: env
          in: path
          type: string
          description: environment
        - name: id
          in: path
          type: string
          description: rule id
          required: true
  exposes:
  - type: rest
    namespace: admin-tagrule-rest
    port: 8080
    description: REST adapter for Dubbo-Admin API — TagRule. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/api/{env}/rules/route/tag
      name: api-env-rules-route-tag
      description: REST surface for api-env-rules-route-tag.
      operations:
      - method: GET
        name: get
        description: Apache Dubbo Search Rule
        call: admin-tagrule.get
        with:
          env: rest.env
          application: rest.application
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: post
        description: Apache Dubbo Create a New Tag Rule
        call: admin-tagrule.post
        with:
          env: rest.env
          tagRoute: rest.tagRoute
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/{env}/rules/route/tag/disable/{id}
      name: api-env-rules-route-tag-disable-id
      description: REST surface for api-env-rules-route-tag-disable-id.
      operations:
      - method: PUT
        name: put
        description: Apache Dubbo Disable the Specified Rule
        call: admin-tagrule.put
        with:
          env: rest.env
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/{env}/rules/route/tag/enable/{id}
      name: api-env-rules-route-tag-enable-id
      description: REST surface for api-env-rules-route-tag-enable-id.
      operations:
      - method: PUT
        name: put
        description: Apache Dubbo Enable the Specified Rule
        call: admin-tagrule.put
        with:
          env: rest.env
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/{env}/rules/route/tag/{id}
      name: api-env-rules-route-tag-id
      description: REST surface for api-env-rules-route-tag-id.
      operations:
      - method: GET
        name: get
        description: Apache Dubbo Show the Detail of One Specified Rule
        call: admin-tagrule.get
        with:
          env: rest.env
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: post
        description: Apache Dubbo Update Rule
        call: admin-tagrule.post
        with:
          env: rest.env
          id: rest.id
          tagRoute: rest.tagRoute
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: delete
        description: Apache Dubbo Delete the Specified Rule
        call: admin-tagrule.delete
        with:
          env: rest.env
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: admin-tagrule-mcp
    port: 9090
    transport: http
    description: MCP adapter for Dubbo-Admin API — TagRule. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: apache-dubbo-search-rule
      description: Apache Dubbo Search Rule
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: admin-tagrule.get
      with:
        env: tools.env
        application: tools.application
      outputParameters:
      - type: object
        mapping: $.
    - name: apache-dubbo-create-new-tag
      description: Apache Dubbo Create a New Tag Rule
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: admin-tagrule.post
      with:
        env: tools.env
        tagRoute: tools.tagRoute
      outputParameters:
      - type: object
        mapping: $.
    - name: apache-dubbo-disable-specified-rule
      description: Apache Dubbo Disable the Specified Rule
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: admin-tagrule.put
      with:
        env: tools.env
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: apache-dubbo-enable-specified-rule
      description: Apache Dubbo Enable the Specified Rule
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: admin-tagrule.put
      with:
        env: tools.env
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: apache-dubbo-show-detail-one
      description: Apache Dubbo Show the Detail of One Specified Rule
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: admin-tagrule.get
      with:
        env: tools.env
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: apache-dubbo-update-rule
      description: Apache Dubbo Update Rule
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: admin-tagrule.post
      with:
        env: tools.env
        id: tools.id
        tagRoute: tools.tagRoute
      outputParameters:
      - type: object
        mapping: $.
    - name: apache-dubbo-delete-specified-rule
      description: Apache Dubbo Delete the Specified Rule
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: admin-tagrule.delete
      with:
        env: tools.env
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.