docker run -ti --name rhdm -p 8080:8080 \
-e APPLICATION_USERS_PROPERTIES=/opt/kie/data/configuration/application-users.properties \
-e APPLICATION_ROLES_PROPERTIES=/opt/kie/data/configuration/application-roles.properties \
-e KIE_ADMIN_USER=pamAdmin \
-e KIE_ADMIN_PWD="myPwd" \
-e KIE_MBEANS=enabled \
-e KIE_SERVER_CONTROLLER_OPENSHIFT_ENABLED=false \
-e KIE_SERVER_CONTROLLER_OPENSHIFT_GLOBAL_DISCOVERY_ENABLED=false \
-e KIE_SERVER_CONTROLLER_OPENSHIFT_PREFER_KIESERVER_SERVICE=false \
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: app.kiegroup.org/v2 | |
kind: KieApp | |
metadata: | |
name: rhdm-prod | |
spec: | |
useImageTags: true #https://issues.redhat.com/browse/RHPAM-3420 | |
environment: rhdm-production-immutable | |
upgrades: | |
minor: true | |
enabled: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<dmn:definitions xmlns:dmn="http://www.omg.org/spec/DMN/20180521/MODEL/" xmlns="https://kiegroup.org/dmn/_EC5A0305-6427-48D9-B8A4-EBBE4E697952" xmlns:di="http://www.omg.org/spec/DMN/20180521/DI/" xmlns:kie="http://www.drools.org/kie/dmn/1.2" xmlns:feel="http://www.omg.org/spec/DMN/20180521/FEEL/" xmlns:dmndi="http://www.omg.org/spec/DMN/20180521/DMNDI/" xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/" id="_0D8FD7B2-A3CD-477C-B572-A81193BDD346" name="loan-approval" expressionLanguage="http://www.omg.org/spec/DMN/20180521/FEEL/" typeLanguage="http://www.omg.org/spec/DMN/20180521/FEEL/" namespace="https://kiegroup.org/dmn/_EC5A0305-6427-48D9-B8A4-EBBE4E697952"> | |
<dmn:extensionElements/> | |
<dmn:itemDefinition id="_630A1942-6338-478E-ACA0-22191A69AC39" name="Applicant" isCollection="false"> | |
<dmn:itemComponent id="_8E74686D-BE67-47D2-97D9-2414C8D87D4D" name="age" isCollection="false"> | |
<dmn:typeRef>number</dmn:typeRef> | |
</dmn:itemComponent> | |
<dmn:itemComponent id="_37BF9988-5935-44D1-9C64-375483F |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.redhat.demos</groupId> | |
<artifactId>minimal-drools-project</artifactId> | |
<version>1.0.0-SNAPSHOT</version> | |
<packaging>kjar</packaging> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> | |
<servers> | |
<server> | |
<id>nexus-ocp</id> | |
<username>rhpam</username> | |
<password>secret_pass</password> | |
</server> | |
</servers> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kind: DeploymentConfig | |
apiVersion: apps.openshift.io/v1 | |
metadata: | |
annotations: | |
openshift.io/generated-by: OpenShiftNewApp | |
name: my-quarkus-app | |
spec: | |
strategy: | |
type: Rolling | |
rollingParams: |
Table of Contents
mvn install \
-Dmaven.wagon.http.ssl.insecure=true\
-Dmaven.wagon.http.ssl.allowall=true\
-Dmaven.wagon.http.ssl.ignore.validity.dates=true
Returns all timers for a specified process instance.
GET /server/admin/containers/{containerId}/processes/instances/{processInstanceId}/timers
curl -X GET "http://localhost:8080/kie-server/services/rest/server/admin/containers/sla-test_1.0.0-SNAPSHOT/processes/instances/165/timers" -H "accept: application/json"
Response
docker container create --name dummy -v myvolume:/root hello-world
docker cp c:\myfolder\myfile.txt dummy:/root/myfile.txt
docker rm dummy