https://github.com/dmarrazzo/kie-server-ext-queries
kie server extension to add custom query
https://github.com/dmarrazzo/kie-server-ext-queries
Last synced: 3 months ago
JSON representation
kie server extension to add custom query
- Host: GitHub
- URL: https://github.com/dmarrazzo/kie-server-ext-queries
- Owner: dmarrazzo
- Created: 2020-11-11T10:06:08.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-11-11T10:07:16.000Z (over 4 years ago)
- Last Synced: 2025-01-22T20:51:19.192Z (5 months ago)
- Language: Java
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Kie Server Extension to create custom query service
## Goal
Add a new REST endpoint that retrieves task filtered by `containerId`
## Build
mvn clean package
## Deploy
Copy the extension in the kieserver classpath (`\WEB-INF\lib`)
mv target/kie-server-ext-queries-1.0-SNAPSHOT.jar ~/apps/rhpam-790/standalone/deployments/kie-server.war/WEB-INF/lib
## Usage
e.g.
curl -u donato:donato -X GET "http://localhost:8080/kie-server/services/rest/server/queries/containers/order-management_1.1-SNAPSHOT/tasks/instances/pot-owners?page=0&pageSize=10&sortOrder=true" -H "accept: application/json"
## Reference Documentation
[Extending an existing KIE Server capability with a custom REST API endpoint](https://access.redhat.com/documentation/en-us/red_hat_process_automation_manager/7.9/html-single/managing_red_hat_process_automation_manager_and_kie_server_settings/index#kie-server-extensions-client-proc_execution-server)