Skip to content

Commit

Permalink
[7.67.x-blue] BAPL-2291 Remove OptaPlanner Workbench (#1163)
Browse files Browse the repository at this point in the history
* BAPL-2291 Import Mortgages instead of OptaCloud

(cherry picked from commit 9376ece)

* BAPL-2291 Remove OptaPlanner Workbench

(cherry picked from commit 4251a37)
  • Loading branch information
yurloc authored and mbiarnes committed Jul 5, 2023
1 parent afe2993 commit 347ae2a
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 157 deletions.
10 changes: 0 additions & 10 deletions business-central-parent/add-ons-distribution/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
<properties>
<kie-server-webc.staging.dir>${project.build.directory}/kie-server-webc.war</kie-server-webc.staging.dir>
<kie-server-controller-webc.staging.dir>${project.build.directory}/kie-server-controller-webc.war</kie-server-controller-webc.staging.dir>
<optaplanner.staging.dir>${project.build.directory}/optaplanner-distribution-${version.org.kie}</optaplanner.staging.dir>
<engine.staging.dir>${project.build.directory}/drools-engine</engine.staging.dir>
<migration-tool.staging.dir>${project.build.directory}/migration-tool</migration-tool.staging.dir>
<kie-server-controller-ee7.staging.dir>${project.build.directory}/kie-server-controller-ee7.war</kie-server-controller-ee7.staging.dir>
Expand Down Expand Up @@ -102,14 +101,6 @@
<classifier>webc</classifier>
<outputDirectory>${kie-server-controller-webc.staging.dir}</outputDirectory>
</artifactItem>
<!-- planner engine -->
<artifactItem>
<groupId>org.optaplanner</groupId>
<artifactId>optaplanner-distribution</artifactId>
<version>${version.org.kie}</version>
<type>zip</type>
<outputDirectory>${project.build.directory}</outputDirectory>
</artifactItem>
<!-- decision engine -->
<artifactItem>
<groupId>org.drools</groupId>
Expand Down Expand Up @@ -153,7 +144,6 @@
<descriptor>${basedir}/src/main/assembly/kie-server-jws.zip.xml</descriptor>
<descriptor>${basedir}/src/main/assembly/controller-ee7.zip.xml</descriptor>
<descriptor>${basedir}/src/main/assembly/controller-jws.zip.xml</descriptor>
<descriptor>${basedir}/src/main/assembly/planner-engine.zip.xml</descriptor>
<descriptor>${basedir}/src/main/assembly/decision-engine.zip.xml</descriptor>
<descriptor>${basedir}/src/main/assembly/migration-tool.zip.xml</descriptor>
<descriptor>${basedir}/src/main/assembly/add-ons.zip.xml</descriptor>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,6 @@
<destName>add-ons-${project.version.short}-controller-jws.zip</destName>
<fileMode>0644</fileMode>
</file>
<file>
<source>${project.basedir}/target/add-ons-${project.version}-planner-engine.zip</source>
<destName>add-ons-${project.version.short}-planner-engine.zip</destName>
<fileMode>0644</fileMode>
</file>
<file>
<source>${project.build.directory}/add-ons-${project.version}-decision-engine.zip</source>
<destName>add-ons-${project.version.short}-decision-engine.zip</destName>
Expand Down

This file was deleted.

70 changes: 0 additions & 70 deletions business-central-parent/business-central-webapp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -922,64 +922,6 @@
<scope>provided</scope>
</dependency>

<!-- Models for OptaPlanner Workbench Screens -->
<dependency>
<groupId>org.optaplanner</groupId>
<artifactId>optaplanner-core</artifactId>
</dependency>
<dependency>
<groupId>org.optaplanner</groupId>
<artifactId>optaplanner-workbench-models-core</artifactId>
</dependency>
<dependency>
<groupId>org.optaplanner</groupId>
<artifactId>optaplanner-workbench-models-datamodel-api</artifactId>
</dependency>

<!-- OptaPlanner Workbench Screens -->
<dependency>
<groupId>org.optaplanner</groupId>
<artifactId>optaplanner-wb-domain-editor-api</artifactId>
</dependency>
<dependency>
<groupId>org.optaplanner</groupId>
<artifactId>optaplanner-wb-domain-editor-client</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.optaplanner</groupId>
<artifactId>optaplanner-wb-domain-editor-backend</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.optaplanner</groupId>
<artifactId>optaplanner-wb-guided-rule-editor-backend</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.optaplanner</groupId>
<artifactId>optaplanner-wb-guided-rule-editor-api</artifactId>
</dependency>
<dependency>
<groupId>org.optaplanner</groupId>
<artifactId>optaplanner-wb-guided-rule-editor-client</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.optaplanner</groupId>
<artifactId>optaplanner-wb-solver-editor-api</artifactId>
</dependency>
<dependency>
<groupId>org.optaplanner</groupId>
<artifactId>optaplanner-wb-solver-editor-client</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.optaplanner</groupId>
<artifactId>optaplanner-wb-solver-editor-backend</artifactId>
<scope>runtime</scope>
</dependency>

<!-- Errai -->
<dependency>
<groupId>org.jboss.errai</groupId>
Expand Down Expand Up @@ -2540,18 +2482,6 @@
<compileSourcesArtifact>org.kie:kie-dmn-feel-gwt-functions</compileSourcesArtifact>
<compileSourcesArtifact>org.kie:kie-dmn-model</compileSourcesArtifact>

<!-- Models for OptaPlanner Workbench Screens -->
<compileSourcesArtifact>org.optaplanner:optaplanner-workbench-models-datamodel-api</compileSourcesArtifact>
<compileSourcesArtifact>org.optaplanner:optaplanner-workbench-models-core</compileSourcesArtifact>

<!-- OptaPlanner WB -->
<compileSourcesArtifact>org.optaplanner:optaplanner-wb-domain-editor-api</compileSourcesArtifact>
<compileSourcesArtifact>org.optaplanner:optaplanner-wb-domain-editor-client</compileSourcesArtifact>
<compileSourcesArtifact>org.optaplanner:optaplanner-wb-guided-rule-editor-api</compileSourcesArtifact>
<compileSourcesArtifact>org.optaplanner:optaplanner-wb-guided-rule-editor-client</compileSourcesArtifact>
<compileSourcesArtifact>org.optaplanner:optaplanner-wb-solver-editor-api</compileSourcesArtifact>
<compileSourcesArtifact>org.optaplanner:optaplanner-wb-solver-editor-client</compileSourcesArtifact>

<compileSourcesArtifact>org.kie.soup:kie-soup-commons</compileSourcesArtifact>

<!-- UberFire -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@

<!-- Home Page - This has the same GWT Module name for Community and Product so we do not need a different module for Product -->
<inherits name="org.kie.bc.BusinessCentralHomePage"/>

<!-- Profile API -->
<inherits name="org.kie.workbench.common.profile.ProfileAPI"/>
<inherits name="org.kie.workbench.common.profile.ProfileAPI"/>

<!--Common Screens -->
<inherits name="org.kie.workbench.common.screens.explorer.KieWorkbenchProjectExplorerClient"/>
Expand Down Expand Up @@ -111,11 +111,6 @@
<inherits name="org.kie.workbench.common.dmn.project.DMNProjectClient"/>
<inherits name="org.kie.workbench.common.dmn.webapp.kogito.marshaller.DMNMarshaller"/>

<!-- Optaplanner Workbench Screens -->
<inherits name="org.optaplanner.workbench.screens.domaineditor.OptaPlannerWorkbenchDomainEditorClient"/>
<inherits name="org.optaplanner.workbench.screens.guidedrule.OptaPlannerWorkbenchGuidedRuleEditorClient"/>
<inherits name="org.optaplanner.workbench.screens.solver.OptaPlannerWorkbenchSolverEditorClient"/>

<!-- Errai -->
<inherits name="org.jboss.errai.ui.UI"/>
<inherits name="org.jboss.errai.enterprise.CDI"/>
Expand Down
9 changes: 1 addition & 8 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,6 @@
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.optaplanner</groupId>
<artifactId>optaplanner-bom</artifactId>
<version>${version.org.kie}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.jbpm</groupId>
<artifactId>jbpm-bom</artifactId>
Expand Down Expand Up @@ -212,7 +205,7 @@

<!-- Temporary workaround for https://issues.jboss.org/browse/ERRAI-1101. Needs to stay here until
we find a general solution (e.g. moving all localized code to Errai TranslationService. -->

<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
Expand Down

0 comments on commit 347ae2a

Please sign in to comment.