Migrate to apache KIe 10.0 Remove all non existing features (like Business Central)

This commit is contained in:
nheron 2025-02-15 17:50:02 +01:00
commit 87390f9dd1
247 changed files with 406 additions and 21084 deletions

View file

@ -4,7 +4,7 @@
<parent>
<groupId>com.pymmasoftware.jbpm</groupId>
<artifactId>drools-framework-examples</artifactId>
<version>1.2.0-SNAPSHOT</version>
<version>1.3.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View file

@ -4,7 +4,7 @@
<parent>
<groupId>com.pymmasoftware.jbpm</groupId>
<artifactId>drools-framework-examples</artifactId>
<version>1.2.0-SNAPSHOT</version>
<version>1.3.0-SNAPSHOT</version>
</parent>
<artifactId>drools-framework-swimmingpool-web-ui</artifactId>
@ -48,17 +48,7 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.pymmasoftware.jbpm</groupId>
<artifactId>drools-framework-kie-server-client-connector</artifactId>
<version>${project.version}</version>
<exclusions>
<exclusion>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>

View file

@ -16,8 +16,7 @@
package org.chtijbug.swimmingpool.web;
import org.chtijbug.drools.generic.restclient.GenericConnexionConfiguration;
import org.chtijbug.drools.generic.restclient.rest.UsedRestAPI;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
@ -45,11 +44,5 @@ public class SwimmingPoolApplication {
SpringApplication.run(SwimmingPoolApplication.class, args);
}
@Bean
public UsedRestAPI serviceCalculate() {
GenericConnexionConfiguration swimmingPoolConnexionConfiguration = new GenericConnexionConfiguration(url, username, password);
return swimmingPoolConnexionConfiguration.getGenericRestAPI();
}
}

View file

@ -17,7 +17,6 @@ package org.chtijbug.swimmingpool.web.controller;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.chtijbug.drools.common.rest.Constants;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Value;
@ -90,8 +89,8 @@ public class QuoteController {
"transactionId", updatedInstance.getSessionLogging());
}
clientHttpRequest.getHeaders().add(
Constants.AUTHORISATION_HEADER, token);
// clientHttpRequest.getHeaders().add(
// Constants.AUTHORISATION_HEADER, token);
clientHttpRequest.getHeaders().add(
HttpHeaders.CONTENT_TYPE, MediaType.APPLICATION_JSON_VALUE);
clientHttpRequest.getHeaders().add(

View file

@ -4,7 +4,7 @@
<parent>
<artifactId>drools-framework-base-tools-parent</artifactId>
<groupId>com.pymmasoftware.jbpm</groupId>
<version>1.2.0-SNAPSHOT</version>
<version>1.3.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>