/module-ballerina-websubhub

This modules includes a bunch of APIs to facilitate writing different WebSub Hub implementations

Primary LanguageBallerinaApache License 2.0Apache-2.0

Ballerina WebSubHub Library

Build Trivy GitHub Last Commit Github issues codecov

The WebSubHub package is one of the standard library packages of the Ballerina language.

This package provides the capability to easily implement a WebSub compliant Hub Service.

For more information, go to The WebSub Hub Module.

Issues and Projects

Issues and Projects tabs are disabled for this repository as this is part of the Ballerina Standard Library. To report bugs, request new features, start new discussions, view project boards, etc. please visit Ballerina Standard Library parent repository.

This repository only contains the source code for the package.

Building from the Source

Setting Up the Prerequisites

  • Download and install Java SE Development Kit (JDK) version 11 (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 package:

     ./gradlew clean build
    
  2. To build the package without the tests:

        ./gradlew clean build -x test
  1. To debug the package tests:

  2. To debug the package tests:

     ./gradlew clean build -Pdebug=<port>
    
  3. To run a group of tests

    ./gradlew clean test -Pgroups=<test_group_names>
    
  4. To debug with Ballerina language:

    ./gradlew clean build -PbalJavaDebug=<port>
    
  5. Publish the generated artifacts to the local Ballerina central repository:

    ./gradlew clean build -PpublishToLocalCentral=true
    
  6. Publish the generated artifacts to the Ballerina central repository:

    ./gradlew clean build -PpublishToCentral=true
    

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