Oracle WebLogic Server APIs Oracle WebLogic Server Monitoring and Diagnostics API — Data Sources

Oracle WebLogic Server APIs Oracle WebLogic Server Monitoring and Diagnostics API — Data Sources. 3 operations. Lead operation: Oracle WebLogic Server APIs List all data source metrics. Self-contained Naftiko capability covering one Weblogic business surface.

Run with Naftiko WeblogicData Sources

What You Can Do

GET
Getdatasources — Oracle WebLogic Server APIs List all data source metrics
/v1/datasources
GET
Getdatasource — Oracle WebLogic Server APIs Get data source metrics
/v1/datasources/{datasourcename}
POST
Testdatasource — Oracle WebLogic Server APIs Test a data source connection
/v1/datasources/{datasourcename}/test

MCP Tools

oracle-weblogic-server-apis-list

Oracle WebLogic Server APIs List all data source metrics

read-only idempotent
oracle-weblogic-server-apis-get

Oracle WebLogic Server APIs Get data source metrics

read-only idempotent
oracle-weblogic-server-apis-test

Oracle WebLogic Server APIs Test a data source connection

read-only

Capability Spec

monitoring-diagnostics-data-sources.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Oracle WebLogic Server APIs Oracle WebLogic Server Monitoring and Diagnostics API — Data Sources
  description: 'Oracle WebLogic Server APIs Oracle WebLogic Server Monitoring and Diagnostics API — Data Sources. 3 operations.
    Lead operation: Oracle WebLogic Server APIs List all data source metrics. Self-contained Naftiko capability covering one
    Weblogic business surface.'
  tags:
  - Weblogic
  - Data Sources
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    WEBLOGIC_API_KEY: WEBLOGIC_API_KEY
capability:
  consumes:
  - type: http
    namespace: monitoring-diagnostics-data-sources
    baseUri: https://{host}:{port}/management/wls/latest
    description: Oracle WebLogic Server APIs Oracle WebLogic Server Monitoring and Diagnostics API — Data Sources business
      capability. Self-contained, no shared references.
    resources:
    - name: dataSources
      path: /dataSources
      operations:
      - name: getdatasources
        method: GET
        description: Oracle WebLogic Server APIs List all data source metrics
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: dataSources-dataSourceName
      path: /dataSources/{dataSourceName}
      operations:
      - name: getdatasource
        method: GET
        description: Oracle WebLogic Server APIs Get data source metrics
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: dataSources-dataSourceName-test
      path: /dataSources/{dataSourceName}/test
      operations:
      - name: testdatasource
        method: POST
        description: Oracle WebLogic Server APIs Test a data source connection
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: basic
      username: '{{env.WEBLOGIC_USER}}'
      password: '{{env.WEBLOGIC_PASS}}'
  exposes:
  - type: rest
    namespace: monitoring-diagnostics-data-sources-rest
    port: 8080
    description: REST adapter for Oracle WebLogic Server APIs Oracle WebLogic Server Monitoring and Diagnostics API — Data
      Sources. One Spectral-compliant resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/datasources
      name: datasources
      description: REST surface for dataSources.
      operations:
      - method: GET
        name: getdatasources
        description: Oracle WebLogic Server APIs List all data source metrics
        call: monitoring-diagnostics-data-sources.getdatasources
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/datasources/{datasourcename}
      name: datasources-datasourcename
      description: REST surface for dataSources-dataSourceName.
      operations:
      - method: GET
        name: getdatasource
        description: Oracle WebLogic Server APIs Get data source metrics
        call: monitoring-diagnostics-data-sources.getdatasource
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/datasources/{datasourcename}/test
      name: datasources-datasourcename-test
      description: REST surface for dataSources-dataSourceName-test.
      operations:
      - method: POST
        name: testdatasource
        description: Oracle WebLogic Server APIs Test a data source connection
        call: monitoring-diagnostics-data-sources.testdatasource
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: monitoring-diagnostics-data-sources-mcp
    port: 9090
    transport: http
    description: MCP adapter for Oracle WebLogic Server APIs Oracle WebLogic Server Monitoring and Diagnostics API — Data
      Sources. One tool per consumed operation, routed inline through this capability's consumes block.
    tools:
    - name: oracle-weblogic-server-apis-list
      description: Oracle WebLogic Server APIs List all data source metrics
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: monitoring-diagnostics-data-sources.getdatasources
      outputParameters:
      - type: object
        mapping: $.
    - name: oracle-weblogic-server-apis-get
      description: Oracle WebLogic Server APIs Get data source metrics
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: monitoring-diagnostics-data-sources.getdatasource
      outputParameters:
      - type: object
        mapping: $.
    - name: oracle-weblogic-server-apis-test
      description: Oracle WebLogic Server APIs Test a data source connection
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: monitoring-diagnostics-data-sources.testdatasource
      outputParameters:
      - type: object
        mapping: $.