GithubHelp home page GithubHelp logo

ballerina-platform / module-ballerinax-wso2.controlplane Goto Github PK

View Code? Open in Web Editor NEW
2.0 51.0 4.0 266 KB

This repository is for adding Ballerina support with WSO2 Integration Control Plane

License: Apache License 2.0

Ballerina 44.42% Java 55.58%
ballerina mi wso2

module-ballerinax-wso2.controlplane's Introduction

module-ballerinax-wso2.controlplane

GitHub Last Commit License codecov

This repository is for adding Ballerina support with WSO2 Integration Control Plane.

Adding control plane support to a Ballerina project with services

  1. Add import ballerinax/wso2.controlplane 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.

    [ballerinax.wso2.controlplane]
    # keyStorePath = "../keystore.p12"
    # trustStorePath = "../truststore.p12"
    # icpServicePort = 9264
    
    [ballerinax.wso2.controlplane.dashboard]
    url = "https://localhost:9743/dashboard/api"
    heartbeatInterval = 10
    groupId = "cluster1"
    mgtApiUrl ="https://localhost:9264/management/"
    # nodeId = "node1"
    # serviceAccount = "bal_admin"
    # serviceAccountPassword = "bal_secret"

    Modify the configurations to match your integration control plane dashboard.

    If there are multiple nodes in the same machine, make sure to pick a unique icpServicePort (same in mgtApiUrl) for each node.

Building from the Source

Setting Up the Prerequisites

  1. Download and install Java SE Development Kit (JDK) version 17 (from one of the following locations).

    • Oracle

    • OpenJDK

      Note: Set the JAVA_HOME environment variable to the path name of the directory into which you installed JDK.

Building the Source

Execute the commands below to build from source.

  1. To build the library:

     ./gradlew clean build
    
  2. To run the integration tests:

     ./gradlew clean test
    

Contributing to Ballerina

As an open source project, Ballerina welcomes contributions from the community.

For more information, go to the contribution guidelines.

Code of Conduct

All contributors are encouraged to read the Ballerina Code of Conduct.

Useful Links

module-ballerinax-wso2.controlplane's People

Contributors

gabilang avatar hindujab avatar lakshanweerasinghe avatar maheshika avatar manuranga avatar tharmigank avatar warunalakshitha avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.