- Download and install crc
- Configure it to have at least 8 cpus and 16000 of memory available. Do not start it before setting this config.
crc config view
- cpus : 8
- memory : 16000
| git clone git@github.com:kiegroup/kogito-examples.git | |
| cd kogito-examples/process-business-rules-quarkus | |
| mvn clean package quarkus:dev |
| apiVersion: app.kiegroup.org/v1alpha1 | |
| kind: KogitoMgmtConsole | |
| metadata: | |
| name: management-console | |
| spec: | |
| replicas: 1 | |
| image: | |
| tag: "0.12" | |
| # we use environment variables to set the external data index URL | |
| # this is needed for now since Management Console is a client application, we are working on having a local proxy to |
| { | |
| "id": "neworderapproval", | |
| "name": "New Order Approval", | |
| "version": "1.0", | |
| "events": [ | |
| { | |
| "name": "newOrder", | |
| "source": "orders/new", | |
| "type": "knative", | |
| "kind": "consumed" |
crc config view
- cpus : 8
- memory : 16000
Note: Tested on Fedora only
$ tar -xvzf graalvm-ce-1.0.0-rc14-linux-amd64.tar.gz
oc scale --replicas=0 $(oc get dc -o name | xargs) -n
| package amq.sample.interceptor; | |
| import java.util.List; | |
| import javax.security.auth.Subject; | |
| import org.apache.activemq.artemis.api.core.ActiveMQBuffer; | |
| import org.apache.activemq.artemis.api.core.ActiveMQException; | |
| import org.apache.activemq.artemis.api.core.ICoreMessage; | |
| import org.apache.activemq.artemis.api.core.SimpleString; | |
| import org.apache.activemq.artemis.core.remoting.CloseListener; | |
| import org.apache.activemq.artemis.core.remoting.FailureListener; |
module.xml file in $JBOSS_HOME/modules/org/springframework/${spring-version}:<?xml version="1.0"?>
<module xmlns="urn:jboss:module:1.1" name="org.springframework" slot="${spring-version}">
<resources>
<resource-root path="aopalliance-1.0.jar" />
<resource-root path="spring-aop-${spring-version}.jar" />
<resource-root path="spring-beans-${spring-version}.jar" />
<resource-root path="spring-context-${spring-version}.jar" />