Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pegasystems/pega-launchpad-functions
Example code for creating Functions in Pega Launchpad applications
https://github.com/pegasystems/pega-launchpad-functions
launchpad pega pegasystems
Last synced: about 1 month ago
JSON representation
Example code for creating Functions in Pega Launchpad applications
- Host: GitHub
- URL: https://github.com/pegasystems/pega-launchpad-functions
- Owner: pegasystems
- License: apache-2.0
- Created: 2024-06-25T15:25:23.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2024-10-24T01:14:38.000Z (3 months ago)
- Last Synced: 2024-10-24T12:34:37.359Z (3 months ago)
- Topics: launchpad, pega, pegasystems
- Language: Java
- Homepage: https://launchpad.io
- Size: 379 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Codeowners: CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
README
# Overview
[Pega Launchpad](https://launchpad.io/) is the platform for SaaS development, hosting and operations that empowers you to get workflow-centric B2B applications to market and revenue quickly, freeing up your resources to focus on innovation, customer success and business growth.
This repository contains some sample code and configuration to learn how to create your own [functions](https://docs.pega.com/bundle/launchpad/page/platform/launchpad/creating-custom-functions.html) in Pega Launchpad. Use as examples or starter code for your own functions as needed.
# Table of Contents
* [Overview](#overview)
* [Table of Contents](#table-of-contents)
* [References](#references)
* [Modules](#modules)
* [Obtaining a JAR to upload into a Function rule](#obtaining-a-jar-to-upload-into-a-function-rule)# References
- Pega Launchpad [overview](https://launchpad.io)
- Creating [Function](https://docs.pega.com/bundle/launchpad/page/platform/launchpad/creating-custom-functions.html) rules# Modules
| Name | Description | Latest JAR file |
|----------------------------|----------------------------------|-------------------------------------------------------------------------------------------------------------------|
| [base64](base64/) | Encoding/decoding base64 strings | [jar](https://github.com/pegasystems/pega-launchpad-functions/releases/download/v0.1.8/base64-0.1.8-SNAPSHOT.jar) |
| [email](email/) | email utilities | [jar](https://github.com/pegasystems/pega-launchpad-functions/releases/download/v0.1.8/email-0.1.8-SNAPSHOT.jar) |
| [net](net/) | REST and HTTP utilities | [jar](https://github.com/pegasystems/pega-launchpad-functions/releases/download/v0.1.8/net-0.1.8-SNAPSHOT.jar) |
| [parser](parser/) | CSV and JSON parsing | [jar](https://github.com/pegasystems/pega-launchpad-functions/releases/download/v0.1.8/parser-0.1.8-SNAPSHOT.jar) |
| [pdf](pdf/) | PDF form filler | [jar](https://github.com/pegasystems/pega-launchpad-functions/releases/download/v0.1.8/pdf-0.1.8-SNAPSHOT.jar) |
| [text](text/) | string utilities | [jar](https://github.com/pegasystems/pega-launchpad-functions/download/v0.1.8/text-0.1.8-SNAPSHOT.jar) |# Obtaining a JAR to upload into a Function rule
You can download the latest JAR releases for each module from the [project release page](https://github.com/pegasystems/pega-launchpad-functions/releases), or you can generate the necessary JAR file (including dependencies) for uploading into a Pega Launchpad Function rule by running this command in your local workspace:
```gradlew build```
This will create/update the ```module-vX.Y.Z-SNAPSHOT.jar``` files in the various modules, under their ```build/libs``` directory.
# Setting up IntellJ workspace for this project
1. Clone this git project to your local filesystems: ```git clone https://github.com/pegasystems/pega-launchpad-functions.git```
2. In IntelliJ, open this project from your local folder
3. Configure Settings -> Build, Execution, Deployment -> Build Tools -> Gradle to use a jdk 11, like semeru-11-*. Add/download from there if needed
4. Configure Project Settings -> Project -> to use semeru-11-*, language level 11To run gradle build scripts from command line, make sure you are using at least JDK 11, but nothing higher than that. Check your path and JAVA_HOME settings, download new jdk if necessary.