GithubHelp home page GithubHelp logo

tomasdavidorg / jbpm-work-items Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kiegroup/jbpm-work-items

0.0 1.0 0.0 5.64 MB

Collection of jBPM work items and handlers

License: Apache License 2.0

Java 96.76% HTML 1.24% JavaScript 0.01% Solidity 0.08% Shell 0.01% StringTemplate 1.89%

jbpm-work-items's Introduction

jBPM WorkItem Repository

Collection of jBPM workitem (service task) implementations which you can use in your business processes to integrate with different services.

repo sample

Hosting the repository

Workitem Repository can be hosted in three different modes:

  1. File System mode: Clone this github repo:
git clone https://github.com/kiegroup/jbpm-work-items.git

and build it:

cd jbpm-work-items
mvn clean install

then you can point your browser directly to for example:

file://PATH_TO_WORKITEM_REPO/repository/target/repository-VERSION

where VERSION is the version of the workitem repository you have built locally. You can also copy the contents of this directory anywhere else and access its contents from there.

  1. Spring Boot app: Clone this github repo:
git clone https://github.com/kiegroup/jbpm-work-items.git

and build it:

cd jbpm-work-items
mvn clean install

now you can start the repo as a spring-boot application:

cd repository-springboot
mvn spring-boot:run

and can access your repository with

http://localhost:8090/repository/
  1. Embedded WidlFly: Clone this github repo:
git clone https://github.com/kiegroup/jbpm-work-items.git

and build it:

cd jbpm-work-items
mvn clean install

get the repository server zip and extract it somewhere (this creates a tmp directory in /target, you would want to unzip it somewhere else maybe)

cd repository-wildfly/target/
mkdir tmp
cd tmp
unzip ../repository-server-VERSION.zip

where VERSION is the version of the repository you have built locally Now you can start your repo in wildfly

cd bin
./standalone.sh  (or standalone.bat for windows)

and access it in your browser with:

http://localhost:8080/repository/

Workitem Display and Documentations

Repository displays all available workitems. Clicking on the workitem name (e.g "Google Maps") will display all the workitem handlers associated with that workitem:

woritems sample

Clicking on the "View" button next to each of the handlers will show you documentation for that handler:

workitems docs sample

Workitem Search by functionality

The repository allows your users to search its content by functionality:

func search

This will filter your workitem display to only those which include the searched term

Downloading workitem artifacts

For each workitem displayed the repository has a Downloads dropdown where you can easily get all the needed artifacts for that workitem:

downloads sample

Installing onto workbench

Note this is an experimental functionality and you will need to read the blog post: http://mswiderski.blogspot.com/2018/07/easy-workitem-installation-jbpm.html for more info.

install sample

Repository REST api

If hosted as spring-boot app or wildfly app the repository exposes a rest api for querying. It includes the following endpoints:

/repository/rest/services
/repository/rest/services/{name}
/repository/rest/services/{name}/parameters
/repository/rest/services/{name}/results
/repository/rest/services/{name}/mavendepends
/rest/services/category/{category}
/rest/servicetriggers
/rest/servicetriggers/count
/rest/serviceactions
/rest/serviceactions/count

Contributing

Yes Please!! :)

We are always looking for contributions from the community. If you would like to contribute your integration service (workitem) the best way is to look at some of the existing ones and pretty much copy its structure and go from there. We are available on google groups: https://groups.google.com/forum/#!forum/jbpm-setup for help and will help to get you started and guide you through the contribution process.

jbpm-work-items's People

Contributors

abhijithumbe avatar afalhambra avatar bxf12315 avatar caponetto avatar dependabot[bot] avatar elguardian avatar fjtirado avatar gautric avatar ginxo avatar gmunozfe avatar jcavieres avatar jesuino avatar jiripetrlik avatar kiereleaseuser avatar mareknovotny avatar marianmacik avatar matejonnet avatar mbiarnes avatar mswiderski avatar prasanthatl avatar rsynek avatar snyk-bot avatar sudhishmk avatar thescouser89 avatar unibrew avatar

Watchers

 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.