This file contains hidden or 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
| //Create the client. | |
| KieServicesClient client = KieServicesFactory.newKieServicesClient(kieServicesConfig); | |
| //Create the query-services client. | |
| TaskQueryServicesClient taskQueryServicesClient = client.getServicesClient(TaskQueryServicesClient.class); | |
| //Use TaskQueryFilterSpec to build query. | |
| TaskQueryFilterSpec filterSpec = new TaskQueryFilterSpecBuilder().equalsTo(TaskField.PROCESSINSTANCEID, "40").get(); | |
| List<TaskInstance> tasks = taskQueryServicesClient.findHumanTasksWithFilters(filterSpec, 0, 10); |
This file contains hidden or 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: v1 | |
| kind: BuildConfig | |
| metadata: | |
| name: optaplanner-openshift-worker-rostering | |
| namespace: optaplanner-employee-rostering | |
| selfLink: >- | |
| /oapi/v1/namespaces/optaplanner-employee-rostering/buildconfigs/optaplanner-openshift-worker-rostering | |
| uid: 282d09af-33f1-11e7-a778-1250f17a13c8 | |
| resourceVersion: '75674466' | |
| creationTimestamp: '2017-05-08T13:20:51Z' |
This file contains hidden or 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
| Tests run: 3, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 41.534 sec <<< FAILURE! - in org.kie.server.integrationtests.jbpm.search.TaskSearchServiceIntegrationTest | |
| testFindTaskWithIncompatibleTypeFilter[0: JAXB KieServicesConfiguration{transport=REST, serverUrl='http://localhost:60176/kie-server-services/services/rest/server'}](org.kie.server.integrationtests.jbpm.search.TaskSearchServiceIntegrationTest) Time elapsed: 2.834 sec <<< FAILURE! | |
| java.lang.AssertionError: Expecting code to raise a throwable. | |
| at org.kie.server.integrationtests.shared.basetests.RestJmsSharedBaseIntegrationTest.assertClientException(RestJmsSharedBaseIntegrationTest.java:182) | |
| at org.kie.server.integrationtests.shared.basetests.RestJmsSharedBaseIntegrationTest.assertClientException(RestJmsSharedBaseIntegrationTest.java:177) | |
| at org.kie.server.integrationtests.jbpm.search.TaskSearchServiceIntegrationTest.testFindTaskWithIncompatibleTypeFilter(TaskSearchServiceIntegrationTest.java:67) | |
| testFindTaskWithIncompatibleTypeFilter[1: J |
This file contains hidden or 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
| @ApplicationPath("/") | |
| public class KieServerApplication extends Application { | |
| private final Set<Object> instances; | |
| public KieServerApplication(@Context ServletContext context) { | |
| String contextRoot = System.getProperty(KieServerConstants.CFG_KIE_SERVER_CONTEXT_ROOT); | |
| if (contextRoot == null || "".equals(contextRoot)) { | |
| System.setProperty(KieServerConstants.CFG_KIE_SERVER_CONTEXT_ROOT, context.getContextPath()); | |
| } |
This file contains hidden or 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 SwaggerRestApplicationComponentsService implements KieServerApplicationComponentsService { | |
| private static final Logger logger = LoggerFactory.getLogger(SwaggerRestApplicationComponentsService.class); | |
| private static final String OWNER_EXTENSION = SwaggerKieServerExtension.EXTENSION_NAME; | |
| private static final String RESOURCE_PACKAGES = "org.kie.server.remote.rest"; | |
| @Override | |
| public Collection<Object> getAppComponents(String extension, SupportedTransports type, Object... services) { |
This file contains hidden or 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.jboss.ddoyle.drools; | |
| import java.io.ByteArrayInputStream; | |
| import java.io.ByteArrayOutputStream; | |
| import java.io.IOException; | |
| import java.util.ArrayList; | |
| import java.util.Collection; | |
| import java.util.Collections; | |
| import java.util.Map; |
This file contains hidden or 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
| jbossBpmsuite_1 | 10:11:05,813 INFO [org.drools.compiler.kie.builder.impl.KieRepositoryImpl] (default task-39) KieModule was added: ZipKieModule[releaseId=com.redhat.bpms.demo.fsi:commercial-client-onboarding:1.0.0-SNAPSHOT,file=/opt/jboss/.m2/repository/com/redhat/bpms/demo/fsi/commercial-client-onboarding/1.0.0-SNAPSHOT/commercial-client-onboarding-1.0.0-SNAPSHOT.jar] | |
| jbossBpmsuite_1 | 10:11:06,238 WARN [org.jboss.modules] (default task-39) Failed to define class org.kie.api.osgi.Activator in Module "deployment.kie-server.war:main" from Service Module Loader: java.lang.NoClassDefFoundError: Failed to link org/kie/api/osgi/Activator (Module "deployment.kie-server.war:main" from Service Module Loader): org/osgi/framework/BundleActivator | |
| jbossBpmsuite_1 | at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) | |
| jbossBpmsuite_1 | at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) | |
| jbossBpmsuite_1 | at sun.reflect.DelegatingConstructorAccessor |
This file contains hidden or 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
| #!/bin/sh | |
| oc cluster up \ | |
| --public-hostname=127.0.0.1 \ | |
| --routing-suffix=127.0.0.1.xip.io \ | |
| --host-config-dir=/Users/ddoyle/Development/oc-cluster-config/rhdm7-install-demo \ | |
| --host-data-dir=/Users/ddoyle/Development/oc-cluster-data/rhdm7-install-demo \ | |
| --use-existing-config=true |
This file contains hidden or 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 com.redhat.bpms.examples.mortgage; | |
| import java.util.ArrayList; | |
| import java.util.List; | |
| import org.junit.Test; | |
| import org.kie.api.KieServices; | |
| import org.kie.api.runtime.KieContainer; | |
| import org.kie.api.runtime.KieSession; |
This file contains hidden or 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
| Starting dump loop. | |
| ------------------------------------------------------------------------------------------------------------ | |
| Deadlocked thread: 145 | |
| Deadlocked thread: 139 | |
| Deadlocked thread: 142 | |
| ------------------------------------------------------------------------------------------------------------ | |
| ------------------------------------------------------------------------------------------------------------ | |
| "ForkJoinPool.commonPool-worker-7" Id=145 BLOCKED on org.drools.core.common.ProjectClassLoader$DefaultInternalTypesClassLoader@4834a7aa owned by "ForkJoinPool.commonPool-worker-1" Id=139 | |
| at java.lang.ClassLoader.loadClass(ClassLoader.java:404) |