Skip to content

This repository can be used as a template for creating a Connector repository and building a Connector using Gradle.

License

Notifications You must be signed in to change notification settings

SoftwareAG/webmethods.io-connector-template

Repository files navigation

Connector Template Repository

This repository can be used as a template for creating a Connector repository and building a Connector using Gradle.

The repository consists of the following folders and files:

.github/workflows:

The .github folder contains workflows. These workflows should be configured to run on pull request to the configured branch. All yml files under this folder will be executed based on condition.

Example:

        on:
          pull_request:
            branches: [ master ]     
  • gradle.yml:: This yml file consists of build jobs to run the gradle build commands for building the Connector using Gradle upon pushing the changes to the configured branch.

Example:

        run: |
          ./gradlew :WmTemplateProvider:assembleArtifact

jars:

The jars folder consists of the required jar files for which the maven dependency packages needs to be generated under the template repository after it is cloned or imported.

packages:

The packages folder consists of the templates for the Connector packages. The templates need to be replaced with the contents of the Connector packages. Under the template package folder, the below two files required for the building the Connector package using Gradle.

  • build.gradle: This file consists of the tasks defined and the dependencies mentioned which are required to build the Connector package.

gradle.properties:

This file consists of all the properties used for building the Connector, build dependencies and build package repositories.

After the template repository is cloned, below properties should be updated accordingly.

        repo.name=connector-repository
        build.version.major=10
        build.version.minor=5
        build.version.micro=0
        provider.package.name=WmTemplateProvider
        build.dependency.organization=your-organization-name
        build.dependency.reponame=connector-template-repository
        build.snapshot.organization=your-organization-name
        build.snapshot.reponame=connector-repository

generateArtifacts.bat:

This is the automation script that can generate the artifacts based on the values provided in the gradle.properties file for the Connector repository after it is cloned from template repository.

build.gradle:

This file present in the root folder of the template repository consists of the tasks defined to publish the Connector package to the repository specified using the Package Manager.

settings.gradle:

In this settings.gradle, the Connector packages are defined for the respective Connector repository.

For using the template repository and building the Connector, refer to the Connector Developer Program.


These tools are provided as-is and without warranty or support. They do not constitute part of the Software AG product suite. Users are free to use, fork and modify them, subject to the license agreement. While Software AG welcomes contributions, we cannot guarantee to include every contribution in the master project.

About

This repository can be used as a template for creating a Connector repository and building a Connector using Gradle.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages