Skip to content

Instantly share code, notes, and snippets.

View cristianonicolai's full-sized avatar

Cristiano Nicolai cristianonicolai

View GitHub Profile
@cristianonicolai
cristianonicolai / maven.log
Created August 22, 2019 04:28
jbpm-quarkus-example persistence
[INFO] --- quarkus-maven-plugin:0.21.1:dev (default-cli) @ jbpm-quarkus-example ---
Listening for transport dt_socket at address: 5005
14:27:10,824 INFO [io.qua.dep.QuarkusAugmentor] Beginning quarkus augmentation
14:27:10,928 WARN [io.qua.config] Unrecognized configuration key "quarkus.infinispan-client.server-list" provided
14:27:11,050 INFO [org.jbo.threads] JBoss Threads version 3.0.0.Beta5
14:27:11,401 ERROR [io.qua.dev.DevModeMain] Failed to start quarkus: java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
[error]: Build step io.quarkus.arc.deployment.ArcProcessor#validate threw an exception: javax.enterprise.inject.spi.DeploymentException: Found 3 deployment problems:
[1] Unsatisfied dependency for type org.kie.kogito.process.ProcessInstancesFactory and qualifiers [@Default]
- java member: org.kie.kogito.examples.OrderItemsProcess#setProcessInstancesFactory()
- declared on CLASS bean [types=[org.kie.kogito.process.Process<org.kie.kogito.examp
@cristianonicolai
cristianonicolai / keycloak.xml
Created September 3, 2019 05:54
Keycloak setup
<subsystem xmlns="urn:jboss:domain:keycloak:1.1">
<secure-deployment name="business-central.war">
<realm>demo</realm>
<resource>kie</resource>
<use-resource-role-mappings>true</use-resource-role-mappings>
<enable-basic-auth>true</enable-basic-auth>
<auth-server-url>http://localhost:8180/auth</auth-server-url>
<ssl-required>EXTERNAL</ssl-required>
<principal-attribute>preferred_username</principal-attribute>
<credential name="secret">256cd981-a4f5-4ab8-b4dc-8d496ba9d732</credential>
@Test
public void testGetKieText() {
GAV gavEvaluation = new GAV("evaluation", "evaluation", "12.1.1.Final");
InputStream is = this.getClass().getResourceAsStream("evaluation-12.1.1.jar");
repo.deployArtifact(is, gavEvaluation, false);
Optional<File> file = repo.listFiles("evaluation-12.1.1", singletonList("jar")).stream().findFirst();
assertTrue(file.isPresent());
ERROR: /home/cnicolai/git/kogito-apps/packages/management-console/src/components/Atoms/AvatarComponent/AvatarComponent.tsx:4:11 - An empty interface is equivalent to `{}`.
ERROR: /home/cnicolai/git/kogito-apps/packages/management-console/src/components/Atoms/AvatarComponent/AvatarComponent.tsx:9:10 - JSX elements with no children must be self-closing
ERROR: /home/cnicolai/git/kogito-apps/packages/management-console/src/components/Atoms/BrandComponent/BrandComponent.tsx:7:11 - An empty interface is equivalent to `{}`.
ERROR: /home/cnicolai/git/kogito-apps/packages/management-console/src/components/Atoms/BrandComponent/BrandComponent.tsx:14:10 - JSX elements with no children must be self-closing
ERROR: /home/cnicolai/git/kogito-apps/packages/management-console/src/components/Molecules/DataListItemComponent/DataListItemComponent.tsx:55:20 - Shadowed name: 'isOpen'
ERROR: /home/cnicolai/git/kogito-apps/packages/management-console/src/components/Molecules/DataListItemComponent/DataListItemComponent.tsx:59:24 - Sha
version: '2.1'
services:
infinispan:
image: infinispan/server:10.0.0.Final-1
# network_mode: host
ports:
- 11222:11222
command: "/opt/infinispan/bin/server.sh -c infinispan-demo.xml"
lerna info Executing command in 2 packages: "yarn run build:prod"
@kogito-apps/management-console: $ yarn run lint && webpack --config webpack.prod.js && yarn run test
@kogito-apps/task-console: $ yarn run lint && webpack --config webpack.prod.js && yarn run test
@kogito-apps/management-console: $ tslint -c ./tslint.json --project .
@kogito-apps/task-console: $ tslint -c ./tslint.json --project .
@cristianonicolai
cristianonicolai / standalone.log
Created February 13, 2020 01:33
business centrall 7.33 final
11:32:25,078 INFO [stdout] (MSC service thread 1-2) [ERROR] [ERROR] Some problems were encountered while processing the POMs:
11:32:25,078 INFO [stdout] (MSC service thread 1-2) [ERROR] Unresolveable build extension: Plugin org.kie:kie-maven-plugin:7.33.0.Final or one of its dependencies could not be resolved: Failure to find org.kie:kie-maven-plugin:jar:7.33.0.Final in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced @
11:32:25,078 INFO [stdout] (MSC service thread 1-2) [ERROR] Unknown packaging: kjar @ line 6, column 14
11:32:25,078 INFO [stdout] (MSC service thread 1-2) @
11:32:25,079 ERROR [org.kie.workbench.common.screens.archetype.mgmt.backend.service.ArchetypeServiceImpl] (MSC service thread 1-2) Failed to add internal template org.kie.templates:base-kie-project:1.0.0-TEMPLATE: org.kie.workbench.common.screens.archetype.mgmt.shared.exceptions.MavenExecutionException:
@cristianonicolai
cristianonicolai / build.log
Created March 16, 2020 15:04
build error
[INFO] WARNING in webpack performance recommendations:
[INFO] You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
[INFO] For more info visit https://webpack.js.org/guides/code-splitting/
[INFO] Child html-webpack-plugin for "index.html":
[INFO] 1 asset
02:22:26,277 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
02:22:26,278 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback-test.xml] at [file:/home/cnicolai/git/kogito-runtimes/jbpm/jbpm-bpmn2/target/test-classes/logback-test.xml]
02:22:26,279 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback-test.xml] occurs multiple times on the classpath.
02:22:26,279 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback-test.xml] occurs at [file:/home/cnicolai/git/kogito-runtimes/jbpm/jbpm-bpmn2/target/test-classes/logback-test.xml]
02:22:26,279 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback-test.xml] occurs at [file:/home/cnicolai/git/kogito-runtimes/drools/drools-core/target/test-classes/logback-test.xml]
02:22:26,361 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
02:22:26,566 |-INFO in ch.qos.logback.core.joran.actio
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]
[INFO] ---------------------< archetype.it:basic-project >---------------------
[INFO] Building basic-project 0.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/kie/kogito/kogito-bom/0.7.1/kogito-bom-0.7.1.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/kie/kogito/kogito-bom/0.7.1/kogito-bom-0.7.1.pom (0 B at 0 B/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/kie/kogito/kogito-bom-parent/0.7.1/kogito-bom-parent-0.7.1.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/kie/kogito/kogito-bom-parent/0.7.1/kogito-bom-parent-0.7.1.pom (0 B at 0 B/s)