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
package org.jbpm.kie.test; | |
import java.util.Collection; | |
import org.drools.core.command.impl.GenericCommand; | |
import org.drools.core.command.impl.KnowledgeCommandContext; | |
import org.jbpm.kie.services.impl.KModuleDeploymentUnit; | |
import org.jbpm.services.api.ProcessService; | |
import org.jbpm.services.api.model.DeploymentUnit; | |
import org.jbpm.workflow.instance.WorkflowProcessInstance; |
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
public enum TypeEnum { | |
INT { | |
@Override | |
protected boolean acceptInternal(Object parameter) { | |
Class<?> clazz = parameter.getClass(); | |
return clazz.isAssignableFrom(Integer.class) || clazz.isAssignableFrom(int.class); | |
} | |
@Override |
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
/* | |
* Copyright 2018 Red Hat, Inc. and/or its affiliates. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
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
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-direct-dependencies) @ dashbuilder-services --- | |
[INFO] Analyze dependencies of artifact 'org.dashbuilder:dashbuilder-services:jar:2.21.0-SNAPSHOT'. | |
[INFO] Downloading from mirror-central: http://bxms-qe.rhev-ci-vms.eng.rdu2.redhat.com:8081/nexus/content/groups/kie-all/org/dashbuilder/dashbuilder-services/2.21.0-SNAPSHOT/maven-metadata.xml | |
[INFO] Downloaded from mirror-central: http://bxms-qe.rhev-ci-vms.eng.rdu2.redhat.com:8081/nexus/content/groups/kie-all/org/dashbuilder/dashbuilder-services/2.21.0-SNAPSHOT/maven-metadata.xml (1.7 kB at 15 kB/s) | |
[INFO] Downloading from mirror-central: http://bxms-qe.rhev-ci-vms.eng.rdu2.redhat.com:8081/nexus/content/groups/kie-all/org/dashbuilder/dashbuilder-services/2.21.0-SNAPSHOT/dashbuilder-services-2.21.0-20190628.133342-11.jar | |
[INFO] Downloaded from mirror-central: http://bxms-qe.rhev-ci-vms.eng.rdu2.redhat.com:8081/nexus/content/groups/kie-all/org/dashbuilder/dashbuilder-services/2.21.0-SNAPSHOT/dashbuilder-se |
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
/* | |
* Copyright 2018 Red Hat, Inc. and/or its affiliates. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
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
public class BigDecimalClass { | |
private java.math.BigDecimal myBigDecimal; | |
public java.math.BigDecimal getMyBigDecimal() { | |
return myBigDecimal; | |
} | |
public void setMyBigDecimal(java.math.BigDecimal myBigDecimal) { | |
this.myBigDecimal = myBigDecimal; |
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
[dzonca@dzonca proactive-fraud-detection-dmn-master]$ curl -u wbadmin:wbadmin -H "accept: application/json" -H "content-type: application/json" -X POST "http://localhost:8080/kie-server/services/rest/server/conainers/sample/dmn" -d "{ \"model-namespace\" : \"http://www.redhat.com/dmn/definitions/_81556584-7d78-4f8c-9d5f-b3cddb9b5c73\", \"model-name\" : \"fraud-scoring\", \"dmn-context\" : { \"Transactions\" : [{\"Auth Code\":\"Authorized\", \"Amount\":100, \"Merchant Code\":\"LEGITBIZ\", \"Card Type\":\"Debit\", \"Date\":\"2017-09-07T10:20:30\", \"Location\":\"Local\"}]}}" | |
{ | |
"type" : "SUCCESS", | |
"msg" : "OK from container 'sample'", | |
"result" : { | |
"dmn-evaluation-result" : { | |
"messages" : [ ], | |
"model-namespace" : "http://www.redhat.com/dmn/definitions/_81556584-7d78-4f8c-9d5f-b3cddb9b5c73", | |
"model-name" : "fraud-scoring", | |
"decision-name" : [ ], |
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
Caused by: java.lang.NoSuchMethodError: 'com.thoughtworks.xstream.XStream org.kie.soup.commons.xstream.XStreamUtils.createTrustingXStream(com.thoughtworks.xstream.io.HierarchicalStreamDriver, java.lang.ClassLoader)' | |
at org.kie.dmn.backend.marshalling.v1_2.xstream.XStreamMarshaller.newXStream(XStreamMarshaller.java:191) | |
at org.kie.dmn.backend.marshalling.v1_2.xstream.XStreamMarshaller.unmarshal(XStreamMarshaller.java:150) | |
at org.kie.dmn.backend.marshalling.v1x.XStreamMarshaller.unmarshal(XStreamMarshaller.java:72) | |
at org.kie.dmn.backend.marshalling.v1x.XStreamMarshaller.unmarshal(XStreamMarshaller.java:119) | |
at org.kie.dmn.core.compiler.DMNCompilerImpl.compile(DMNCompilerImpl.java:155) | |
at org.kie.dmn.core.compiler.DMNCompilerImpl.compile(DMNCompilerImpl.java:140) | |
at org.kie.dmn.api.core.DMNCompiler.compile(DMNCompiler.java:29) | |
at org.kie.kogito.dmn.DMNKogito.createGenericDMNRuntime(DMNKogito.java:83) |
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
2020-04-01 16:16:12,721 ERROR [org.jbp.wor.ins.imp.WorkflowProcessInstanceImpl] (executor-thread-1) Unexpected error (id 59dcd3d4-5407-415c-bbff-85fc949f35eb) while executing node Request Picture from Camera in process instance 4c9b39cc-6b2a-4e07-ba2e-f679e3c1d353: org.jbpm.workflow.instance.WorkflowRuntimeException: [WelcomeHome:4c9b39cc-6b2a-4e07-ba2e-f679e3c1d353 - Request Picture from Camera:13] -- javax.net.ssl.SSLException: failed to initialize the client-side SSL context | |
at org.jbpm.workflow.instance.node.WorkItemNodeInstance.handleException(WorkItemNodeInstance.java:184) | |
at org.jbpm.workflow.instance.node.WorkItemNodeInstance.internalTrigger(WorkItemNodeInstance.java:172) | |
at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:200) | |
at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerNodeInstance(NodeInstanceImpl.java:404) | |
at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerNodeInstance(NodeInstanceImpl.java:389) | |
at |
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: apps/v1 | |
kind: Deployment | |
metadata: | |
name: face-recognition-poc | |
namespace: cloud-sweet-cloud | |
spec: | |
selector: | |
matchLabels: | |
app: face-recognition-poc | |
replicas: 3 |
OlderNewer