ballerinax/wso2.apim.catalog Ballerina library

1.2.3

Overview

The WSO2 APIM Catalog Publisher connector provides service management tools for publishing service data to WSO2 API Manager service catalogs.

Key Features

  • Publish service metadata to WSO2 API Manager service catalogs automatically
  • OAuth 2.0 authentication with WSO2 APIM
  • Seamless integration with Ballerina HTTP services
  • Remote management support via build options

Quickstart

  1. Add import ballerinax/wso2.apim.catalog as _; to the default module.
  2. Add remoteManagement=true to [build-options] section of the Ballerina.toml file.
  3. Create Config.toml file if it does not exist, and add the following configurations.
    Copy
    [ballerinax.wso2.apim.catalog]
    serviceUrl="<Url of the service catalog endpoint>"
    tokenUrl="<Url of the token endpoint>"
    username="<username>"
    password="<password>"
    clientId="<clientId>"
    clientSecret="<Client secret>"
    Modify the configurations to match your WSO2 APIM manager.
  4. Run the project with the following command.
    Copy
    $ bal run

Examples

Copy
import ballerina/http;
import ballerinax/wso2.apim.catalog as _;

service /sales0 on new http:Listener(9000) {
    // implementation
}

Import

import ballerinax/wso2.apim.catalog;Copy

Other versions

See more...

Metadata

Released date: 1 day ago

Version: 1.2.3


Compatibility

Platform: java21

Ballerina version: 2201.13.1

GraalVM compatible: Yes


Pull count

Total: 255

Current verison: 9


Weekly downloads



Keywords

Type/Connector

Type/Trigger

Vendor/WSO2

Area/Developer Tools