Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KOGITO-10042: Migrate Dev UI Java module from kogito-apps to kie-tools #2167

Merged
Show file tree
Hide file tree
Changes from 79 commits
Commits
Show all changes
80 commits
Select commit Hold shift + click to select a range
0577fb9
first migration of the java module
fantonangeli Feb 16, 2024
c1652ff
Resources setup
fantonangeli Feb 20, 2024
daae2bb
Make stunner editor compatible with JDK 17
yesamer Feb 23, 2024
9baeac9
Test fixed
yesamer Feb 23, 2024
e96c6ed
Test fixed
yesamer Feb 23, 2024
70cf51d
Unnecessary entry
yesamer Feb 24, 2024
b2468cc
Removing reflection trick to mock static final fields (no longer vali…
yesamer Feb 24, 2024
b0b8993
Update Selenium + Webdriver
yesamer Feb 24, 2024
81a246c
Removing reflection trick to mock static final fields (no longer vali…
yesamer Feb 25, 2024
3287840
Removing reflection trick to mock static final fields (no longer vali…
yesamer Feb 25, 2024
f2ceda6
Removing reflection trick to mock static final fields (no longer vali…
yesamer Feb 25, 2024
9567d6b
Update Selenium + Webdriver
yesamer Feb 25, 2024
e971dfa
Updating plugin
yesamer Feb 25, 2024
1b578ad
Updating test dependency that doesn't support JDK 17
yesamer Feb 25, 2024
358cddd
Update Selenium + Webdriver
yesamer Feb 25, 2024
01b50e5
Removing reflection trick to mock static final fields (no longer vali…
yesamer Feb 25, 2024
dcca359
Removing reflection trick to mock static final fields (no longer vali…
yesamer Feb 26, 2024
9745489
java-vscode completion dependencies updated.
yesamer Feb 26, 2024
5844ac4
Java, Maven, Quarkus and Kogito Runtimes to `17`, `3.9.6`, `3.2.10` a…
yesamer Feb 26, 2024
779ced0
Java, Maven, Quarkus and Kogito Runtimes to `17`, `3.9.6`, `3.2.10` a…
yesamer Feb 26, 2024
1264a68
Apache repo added
yesamer Feb 26, 2024
21843c7
kogito-quarkus-blank-app
yesamer Feb 26, 2024
7c5cf9a
Restoring kogtio-quarkus
yesamer Feb 26, 2024
1894d56
extended-services-java
yesamer Feb 26, 2024
4b09adf
Restoring kogito-quarkus
yesamer Feb 26, 2024
251a7ff
Change snapshot version
yesamer Feb 26, 2024
262bb4d
jakarta vs javax
yesamer Feb 26, 2024
72337a9
SFW JDK 17 compliant
yesamer Feb 27, 2024
3bad38c
Using `999-20240218-SNAPSHOT`
yesamer Feb 27, 2024
f019134
Dashbuilder
yesamer Feb 27, 2024
fe6f3af
fixed repos
yesamer Feb 27, 2024
81c6c9b
JDK updated to version 17 in dev-deployment-base-image
yesamer Feb 28, 2024
f3ea2d7
Dashbuilder
yesamer Feb 28, 2024
e571ce2
Dashbuilder - reverted
yesamer Feb 28, 2024
b138ccc
Merge branch 'main' into kie-issues#960
yesamer Feb 28, 2024
104b3b6
Dashbuilder
yesamer Feb 28, 2024
2dd2c2e
serverless-logic-web-tools-swf-deployment-quarkus-app updated depende…
fantonangeli Feb 28, 2024
dbc917e
Apache repo added
yesamer Feb 28, 2024
799cdc0
Jenkis CI build updated
yesamer Feb 28, 2024
0b4df99
Merge branch 'main' into kie-issues#960
yesamer Feb 29, 2024
0a8098d
Disabling test in macOS (dev-deployment-uploaded-service)
yesamer Feb 29, 2024
3ecd13c
Disabling test in macOS (dev-deployment-uploaded-service)
yesamer Feb 29, 2024
9673a2c
Temporarly disabled kn-plugin e2e tests
yesamer Feb 29, 2024
0acab29
Merge remote-tracking branch 'yesamer/kie-issues#960' into KOGITO-100…
fantonangeli Feb 29, 2024
33b932f
Build base-image and blank-app together
thiagoelg Feb 29, 2024
519b8f4
Build quarkus-blank-app deps
thiagoelg Feb 29, 2024
d88c71f
Exclude blank-app-image instead of blank-app
thiagoelg Feb 29, 2024
7db76a4
Fix distribution tests
thiagoelg Feb 29, 2024
8aaaa6f
Updated to the new environment
fantonangeli Feb 29, 2024
aded992
[REVERT_THIS] Use nightly kogito-base-builder images temporarily
thiagoelg Mar 1, 2024
bab7ec9
Merge remote-tracking branch 'yesamer/kie-issues#960' into KOGITO-100…
fantonangeli Mar 1, 2024
ab8e101
Use main-2024-02-18 tag
thiagoelg Mar 1, 2024
3d30e2a
Configured flatten pom generation
fantonangeli Mar 1, 2024
3283071
Fix linting error
fantonangeli Mar 1, 2024
360fa32
Merge remote-tracking branch 'yesamer/kie-issues#960' into KOGITO-100…
fantonangeli Mar 1, 2024
cf07abf
Fix swfBuilder tag
thiagoelg Mar 1, 2024
928a5eb
Merge remote-tracking branch 'yesamer/kie-issues#960' into KOGITO-100…
fantonangeli Mar 1, 2024
cc0a418
Fixed prettier error
fantonangeli Mar 1, 2024
63bfc6a
Temporary disabled java code completion module
yesamer Mar 1, 2024
81a332d
Revert previous commit
yesamer Mar 1, 2024
a660928
Fixed prettier warnings
fantonangeli Mar 2, 2024
aeaca48
Merge remote-tracking branch 'yesamer/kie-issues#960' into KOGITO-100…
fantonangeli Mar 2, 2024
983bef9
Use volumes for container volumes for dev deployments
thiagoelg Mar 5, 2024
43fd54a
Remove push command
thiagoelg Mar 5, 2024
71b996d
Sonataflow Quarkus devui renaming GAV following
fantonangeli Mar 5, 2024
7034219
Merge remote-tracking branch 'yesamer/kie-issues#960' into KOGITO-100…
fantonangeli Mar 5, 2024
2846761
Used buid:prod:win32 configuration from dashbuilder package
fantonangeli Mar 5, 2024
4e10c09
Renamed groupId according to the new requirements
fantonangeli Mar 6, 2024
6e328b4
Fix CI err: Unknown lifecycle phase
fantonangeli Mar 6, 2024
60f800a
Merge remote-tracking branch 'upstream/main' into KOGITO-10042-Migrat…
fantonangeli Mar 6, 2024
180f173
Fix: Incomplete string token.
fantonangeli Mar 7, 2024
4b15ee0
Dir renaming
fantonangeli Mar 8, 2024
7c673f4
Fixes comments: https://github.com/apache/incubator-kie-tools/pull/21…
fantonangeli Mar 8, 2024
a372b6b
Fixes comment: https://github.com/apache/incubator-kie-tools/pull/216…
fantonangeli Mar 8, 2024
7c6d7d7
Finalized renaming
fantonangeli Mar 8, 2024
49e5e56
Add Apache repository and remove outdated dependency
paulovmr Mar 8, 2024
76f2e18
Merge pull request #21 from paulovmr/KOGITO-10042-Migrate-Dev-UI-Java…
fantonangeli Mar 8, 2024
b692c13
kie-issues#1009: Remove check for data index availability on legacy Q…
paulovmr Mar 15, 2024
51d1c0c
Merge pull request #22 from paulovmr/kie-issues#1009
fantonangeli Mar 15, 2024
40809bb
Fixes comment: https://github.com/apache/incubator-kie-tools/pull/216…
fantonangeli Mar 22, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions packages/sonataflow-quarkus-devui-extension-parent/env/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you 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 distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/

const { varsWithName, composeEnv, getOrDefault } = require("@kie-tools-scripts/build-env");

module.exports = composeEnv([require("@kie-tools/root-env/env")], {
vars: varsWithName({}),
get env() {
return {
sonataflowQuarkusDevuiExtension: {
version: require("../package.json").version,
},
};
},
});
25 changes: 25 additions & 0 deletions packages/sonataflow-quarkus-devui-extension-parent/install.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you 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 distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/

const buildEnv = require("./env");
const { setup } = require("@kie-tools/maven-config-setup-helper");

setup(`
-Drevision=${buildEnv.env.sonataflowQuarkusDevuiExtension.version}
`);
41 changes: 41 additions & 0 deletions packages/sonataflow-quarkus-devui-extension-parent/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"private": true,
"name": "@kie-tools/sonataflow-quarkus-devui-extension-parent",
"version": "0.0.0",
"description": "",
"license": "Apache-2.0",
"homepage": "https://github.com/apache/incubator-kie-tools",
"repository": {
"type": "git",
"url": "https://github.com/apache/incubator-kie-tools.git"
},
"bugs": {
"url": "https://github.com/apache/incubator-kie-tools/issues"
},
"scripts": {
"build:dev": "run-script-os",
"build:dev:darwin:linux": "mvn clean install -DskipTests",
"build:dev:win32": "pnpm powershell \"mvn clean install -DskipTests \"",
"build:prod": "pnpm lint && run-script-os",
"build:prod:darwin:linux": "mvn clean install -DskipTests=$(build-env tests.run --not) -Dmaven.test.failure.ignore=$(build-env tests.ignoreFailures)",
"build:prod:win32": "pnpm powershell \"mvn clean install `-DskipTests `-Dmaven.test.failure.ignore=$(build-env tests.ignoreFailures)\"",
"install": "node install.js",
"lint": "echo 'Linting'",
"powershell": "@powershell -NoProfile -ExecutionPolicy Unrestricted -Command",
"quarkus:dev": "run-script-os",
"quarkus:dev:darwin:linux": "mvn clean package quarkus:dev -DskipTests",
"quarkus:dev:win32": "mvn clean package quarkus:dev -DskipTests"
},
"devDependencies": {
"@kie-tools/maven-config-setup-helper": "workspace:*",
"@kie-tools/root-env": "workspace:*",
"@kie-tools/serverless-workflow-dev-ui-webapp": "workspace:*",
"run-script-os": "^1.1.6"
},
"kieTools": {
"requiredPreinstalledCliCommands": [
"java",
"mvn"
]
}
}
150 changes: 150 additions & 0 deletions packages/sonataflow-quarkus-devui-extension-parent/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,150 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!--

Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you 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 distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.

-->
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>

<modelVersion>4.0.0</modelVersion>
<name>KIE Tools :: SonataFlow Quarkus Dev UI Extension</name>
<groupId>org.apache.kie.sonataflow</groupId>
<version>${revision}</version>
<artifactId>sonataflow-quarkus-devui-extension-parent</artifactId>
<packaging>pom</packaging>

<repositories>
<repository>
<!-- Duplicating the Maven Central repository here (as it is already coming from Super POM) makes the build much faster,
as the Maven Central is now treated as the first (default) repository (because it is before the Apache Nexus one).
Artifacts with release (fixed) versions are being downloaded primarily from there. Without the central being the
first repository the Apache Nexus would be contacted first and since it is quite slow it slows down the build.
We use Apache repo only to download our SNAPSHOTs. -->
<id>central</id>
<name>Central Repository</name>
<url>https://repo.maven.apache.org/maven2</url>
<layout>default</layout>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>apache-public-repository-group</id>
<name>Apache Public Repository Group</name>
<url>https://repository.apache.org/content/groups/public/</url>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>daily</updatePolicy>
</snapshots>
</repository>
</repositories>

<properties>
<compiler-plugin.version>3.12.1</compiler-plugin.version>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<version.resources.plugin>3.2.0</version.resources.plugin>
<java.module.name>org.kie.kogito.quarkus.swf.dev.ui</java.module.name>
<version.flatten.plugin>1.3.0</version.flatten.plugin>
<quarkus.platform.version>3.2.9.Final</quarkus.platform.version>
<version.org.kie.kogito>999-20240218-SNAPSHOT</version.org.kie.kogito>
</properties>

<modules>
<module>sonataflow-quarkus-devui-extension-deployment</module>
<module>sonataflow-quarkus-devui-extension</module>
</modules>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-bom</artifactId>
<version>${quarkus.platform.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>

<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>${version.flatten.plugin}</version>
<configuration>
<updatePomFile>true</updatePomFile>
<flattenMode>resolveCiFriendliesOnly</flattenMode>
</configuration>
<executions>
<execution>
<id>flatten-revision</id>
<phase>process-resources</phase>
<goals>
<goal>flatten</goal>
</goals>
</execution>
<execution>
<id>flatten-revision-clean</id>
<phase>clean</phase>
<goals>
<goal>clean</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-maven-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemPropertyVariables>
<java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
</systemPropertyVariables>
</configuration>
</plugin>
<plugin>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<systemPropertyVariables>
<java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
</systemPropertyVariables>
</configuration>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>
Loading
Loading