-
Notifications
You must be signed in to change notification settings - Fork 403
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
dbeaver/dbeaver-infra#187 PRO osgi test runner #3190
Merged
serge-rider
merged 7 commits into
devel
from
dbeaver/dbeaver-infra#187-pro-test-runners
Jan 22, 2025
Merged
Changes from 3 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
60d2287
dbeaver/dbeaver-infra#187 PRO osgi test runner
Destrolaric c5dbfb9
dbeaver/dbeaver-infra#187 working CBEE & WIP DC runners
Destrolaric 6883a77
dbeaver/dbeaver-infra#187 code cleanup & fix maven runs
Destrolaric 01dc4aa
Merge branch 'devel' into dbeaver/dbeaver-infra#187-pro-test-runners
Destrolaric 8a73eb9
dbeaver/dbeaver-infra#187 code cleanup
Destrolaric b147eff
Merge remote-tracking branch 'origin/devel' into dbeaver/dbeaver-infr…
Destrolaric 9c46d8c
dbeaver/dbeaver-infra#187 don't asyncLaunch desktop apps
Destrolaric File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
bin.includes = feature.xml,\ | ||
feature.properties |
4 changes: 4 additions & 0 deletions
4
server/features/io.cloudbeaver.test.feature/feature.properties
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
featureName=Cloudbeaver Test feature | ||
providerName=DBeaver Corp | ||
description=Cloudbeaver Test feature | ||
copyrightcopyright=\u00A9 2010-2024, DBeaver Corp |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<feature | ||
id="io.cloudbeaver.test.feature" | ||
label="%featureName" | ||
version="1.0.66.qualifier" | ||
provider-name="%providerName" | ||
plugin="io.cloudbeaver.model"> | ||
|
||
<description> | ||
%description | ||
</description> | ||
|
||
<copyright> | ||
%copyright | ||
</copyright> | ||
|
||
<plugin id="io.cloudbeaver.test.platform" download-size="0" install-size="0" version="0.0.0" unpack="false"/> | ||
<!-- Logging --> | ||
|
||
</feature> |
This file contains 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
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -0,0 +1,15 @@ | ||||||
<?xml version="1.0" encoding="UTF-8"?> | ||||||
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://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> | ||||||
<parent> | ||||||
<groupId>io.cloudbeaver</groupId> | ||||||
<artifactId>features</artifactId> | ||||||
<version>1.0.0-SNAPSHOT</version> | ||||||
<relativePath>../</relativePath> | ||||||
</parent> | ||||||
<artifactId>io.cloudbeaver.ws.feature</artifactId> | ||||||
<version>1.0.66-SNAPSHOT</version> | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
<packaging>eclipse-feature</packaging> | ||||||
</project> |
75 changes: 75 additions & 0 deletions
75
server/product/web-server-test/CloudbeaverServerTest.product
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<?pde version="3.5"?> | ||
|
||
<product name="CloudBeaver ce Server" uid="io.cloudbeaver.product" id="io.cloudbeaver.product.ce.product" | ||
application="io.cloudbeaver.product.ce.application" version="24.3.2.qualifier" useFeatures="true" | ||
includeLaunchers="false"> | ||
|
||
<configIni use="default"> | ||
</configIni> | ||
<launcherArgs> | ||
<programArgs>-web-config conf/cloudbeaver.conf -registryMultiLanguage</programArgs> | ||
<programArgsMac></programArgsMac> | ||
<vmArgs> | ||
-Dfile.encoding=UTF-8 | ||
--add-modules=ALL-SYSTEM | ||
--add-opens=java.base/java.io=ALL-UNNAMED | ||
--add-opens=java.base/java.lang=ALL-UNNAMED | ||
--add-opens=java.base/java.lang.reflect=ALL-UNNAMED | ||
--add-opens=java.base/java.net=ALL-UNNAMED | ||
--add-opens=java.base/java.nio=ALL-UNNAMED | ||
--add-opens=java.base/java.nio.charset=ALL-UNNAMED | ||
--add-opens=java.base/java.text=ALL-UNNAMED | ||
--add-opens=java.base/java.time=ALL-UNNAMED | ||
--add-opens=java.base/java.util=ALL-UNNAMED | ||
--add-opens=java.base/java.util.concurrent=ALL-UNNAMED | ||
--add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED | ||
--add-opens=java.base/jdk.internal.vm=ALL-UNNAMED | ||
--add-opens=java.base/jdk.internal.misc=ALL-UNNAMED | ||
--add-opens=java.base/sun.nio.ch=ALL-UNNAMED | ||
--add-opens=java.base/sun.security.ssl=ALL-UNNAMED | ||
--add-opens=java.base/sun.security.action=ALL-UNNAMED | ||
--add-opens=java.base/sun.security.util=ALL-UNNAMED | ||
--add-opens=java.security.jgss/sun.security.jgss=ALL-UNNAMED | ||
--add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED | ||
--add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED | ||
--add-opens=java.sql/java.sql=ALL-UNNAMED | ||
</vmArgs> | ||
<vmArgsMac></vmArgsMac> | ||
</launcherArgs> | ||
|
||
<license> | ||
<url>https://cloudbeaver.io/about/</url> | ||
<text> | ||
CloudBeaver - Cloud Database Manager | ||
Copyright (C) 2019-2022 DBeaver Corp and others | ||
|
||
Licensed 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. | ||
</text> | ||
</license> | ||
|
||
<plugins> | ||
</plugins> | ||
|
||
<features> | ||
<feature id="io.cloudbeaver.product.ce.feature"/> | ||
<feature id="io.cloudbeaver.test.feature"/> | ||
</features> | ||
|
||
<configurations> | ||
<plugin id="org.eclipse.osgi" autoStart="true" startLevel="-1"/> | ||
<plugin id="org.apache.felix.scr" autoStart="true" startLevel="1"/> | ||
<plugin id="org.eclipse.core.runtime" autoStart="true" startLevel="4"/> | ||
</configurations> | ||
|
||
</product> |
176 changes: 176 additions & 0 deletions
176
server/product/web-server-test/CloudbeaverServerTest.product.txt
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,176 @@ | ||
F:\dbeaver-workspace\dbeaver-pro\..\..\cloudbeaver\server\product\web-server\CloudbeaverServer.product | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. looks like redundant file |
||
-> io.cloudbeaver.product.ce.feature | ||
-> io.cloudbeaver.product.ce.feature (already imported) | ||
-> io.cloudbeaver.server.feature | ||
-> io.cloudbeaver.server.feature (already imported) | ||
-> org.eclipse.core.runtime | ||
-> org.eclipse.osgi | ||
-> org.eclipse.osgi.compatibility.state | ||
-> org.eclipse.equinox.common | ||
-> org.eclipse.core.jobs | ||
--> org.eclipse.osgi | ||
-> org.eclipse.osgi.compatibility.state | ||
-> org.eclipse.equinox.registry | ||
--> org.eclipse.osgi | ||
-> org.eclipse.osgi.compatibility.state | ||
-> org.eclipse.equinox.preferences | ||
-> org.osgi.service.prefs | ||
--> org.eclipse.osgi | ||
-> org.eclipse.osgi.compatibility.state | ||
-> org.eclipse.core.contenttype | ||
--> org.eclipse.osgi | ||
-> org.eclipse.osgi.compatibility.state | ||
-> org.eclipse.equinox.app | ||
--> org.eclipse.osgi | ||
-> org.eclipse.osgi.compatibility.state | ||
-> org.eclipse.equinox.event | ||
--> org.eclipse.osgi | ||
-> org.eclipse.osgi.compatibility.state | ||
-> org.osgi.service.event | ||
--> org.eclipse.osgi | ||
-> org.eclipse.osgi.compatibility.state | ||
-> org.eclipse.osgi.compatibility.state | ||
-> org.apache.felix.scr | ||
--> org.apache.felix.scr (already imported) | ||
-> org.osgi.service.component | ||
--> org.eclipse.osgi | ||
-> org.eclipse.osgi.compatibility.state | ||
-> org.osgi.util.promise | ||
-> org.osgi.util.function | ||
-> org.osgi.service.component (already imported) | ||
--> org.eclipse.osgi | ||
-> org.eclipse.osgi.compatibility.state | ||
-> io.cloudbeaver.ws.feature | ||
-> io.cloudbeaver.ws.feature (already imported) | ||
-> org.jkiss.dbeaver.launcher | ||
-> org.jkiss.dbeaver.runtime.feature | ||
-> org.jkiss.dbeaver.runtime.feature (already imported) | ||
-> slf4j.api | ||
-> io.cloudbeaver.slf4j | ||
-> org.jkiss.bundle.logback | ||
--> slf4j.api (already imported) | ||
-> bcpg | ||
--> bcutil | ||
--> bcprov | ||
--> bcprov | ||
-> bcprov | ||
-> bcpkix | ||
--> bcutil | ||
--> bcprov | ||
--> bcprov | ||
-> bcutil | ||
--> bcprov | ||
-> com.github.jsqlparser | ||
--> com.github.jsqlparser (already imported) | ||
-> org.apache.commons.jexl | ||
--> org.apache.commons.logging | ||
-> com.google.gson | ||
--> com.google.gson (already imported) | ||
-> com.jcraft.jsch | ||
-> com.sun.jna | ||
-> com.sun.jna.platform | ||
-> org.apache.commons.logging | ||
-> org.objectweb.asm | ||
-> org.objectweb.asm.commons | ||
--> org.objectweb.asm | ||
--> org.objectweb.asm.tree | ||
--> org.objectweb.asm | ||
-> org.objectweb.asm.tree.analysis | ||
--> org.objectweb.asm | ||
--> org.objectweb.asm.tree | ||
--> org.objectweb.asm | ||
-> org.objectweb.asm.tree | ||
--> org.objectweb.asm | ||
-> org.objectweb.asm.util | ||
--> org.objectweb.asm | ||
--> org.objectweb.asm.tree.analysis | ||
--> org.objectweb.asm | ||
--> org.objectweb.asm.tree | ||
--> org.objectweb.asm | ||
--> org.objectweb.asm.tree | ||
--> org.objectweb.asm | ||
-> org.apache.aries.spifly.dynamic.bundle | ||
--> org.eclipse.osgi | ||
-> org.eclipse.osgi.compatibility.state | ||
--> org.objectweb.asm.commons | ||
--> org.objectweb.asm | ||
--> org.objectweb.asm.tree | ||
--> org.objectweb.asm | ||
--> org.objectweb.asm.util | ||
--> org.objectweb.asm | ||
--> org.objectweb.asm.tree.analysis | ||
--> org.objectweb.asm | ||
--> org.objectweb.asm.tree | ||
--> org.objectweb.asm | ||
--> org.objectweb.asm.tree | ||
--> org.objectweb.asm | ||
--> org.apache.aries.spifly.dynamic.bundle (already imported) | ||
--> org.objectweb.asm | ||
-> org.jkiss.utils | ||
-> org.jkiss.dbeaver.model | ||
-> org.eclipse.equinox.security | ||
--> org.eclipse.osgi | ||
-> org.eclipse.osgi.compatibility.state | ||
--> org.eclipse.core.runtime | ||
-> org.eclipse.osgi | ||
-> org.eclipse.osgi.compatibility.state | ||
-> org.eclipse.equinox.common | ||
-> org.eclipse.core.jobs | ||
--> org.eclipse.osgi | ||
-> org.eclipse.osgi.compatibility.state | ||
-> org.eclipse.equinox.registry | ||
--> org.eclipse.osgi | ||
-> org.eclipse.osgi.compatibility.state | ||
-> org.eclipse.equinox.preferences | ||
-> org.osgi.service.prefs | ||
--> org.eclipse.osgi | ||
-> org.eclipse.osgi.compatibility.state | ||
-> org.eclipse.core.contenttype | ||
--> org.eclipse.osgi | ||
-> org.eclipse.osgi.compatibility.state | ||
-> org.eclipse.equinox.app | ||
--> org.eclipse.osgi | ||
-> org.eclipse.osgi.compatibility.state | ||
--> org.eclipse.equinox.common | ||
--> org.eclipse.equinox.preferences | ||
-> org.osgi.service.prefs | ||
--> org.eclipse.osgi | ||
-> org.eclipse.osgi.compatibility.state | ||
--> org.eclipse.core.jobs | ||
--> org.eclipse.osgi | ||
-> org.eclipse.osgi.compatibility.state | ||
--> org.eclipse.equinox.registry | ||
--> org.eclipse.osgi | ||
-> org.eclipse.osgi.compatibility.state | ||
--> org.osgi.service.prefs | ||
-> org.eclipse.core.expressions | ||
-> org.eclipse.core.net | ||
--> com.sun.jna | ||
--> com.sun.jna.platform | ||
--> bcprov | ||
--> bcpkix | ||
--> bcutil | ||
--> bcprov | ||
--> bcprov | ||
-> org.jkiss.dbeaver.model.jdbc | ||
-> org.jkiss.dbeaver.model.sql | ||
-> org.eclipse.text | ||
-> org.eclipse.core.commands | ||
-> org.jkiss.dbeaver.model.lsm | ||
-> org.jkiss.bundle.antlr4 | ||
--> org.jkiss.utils | ||
-> org.jkiss.dbeaver.model.sql.jdbc | ||
-> org.jkiss.dbeaver.registry | ||
-> org.jkiss.dbeaver.dpi.model | ||
-> org.jkiss.dbeaver.net.ssh | ||
-> org.eclipse.jsch.core | ||
-> org.jkiss.dbeaver.net.ssh.jsch | ||
-> org.jkiss.dbeaver.net.ssh.sshj | ||
-> org.jkiss.bundle.sshj | ||
--> bcprov | ||
--> bcpkix | ||
--> bcutil | ||
--> bcprov | ||
--> bcprov | ||
--> slf4j.api | ||
-> io.cloudbeaver.slf4j |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://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> | ||
<parent> | ||
<groupId>io.cloudbeaver</groupId> | ||
<artifactId>cloudbeaver</artifactId> | ||
<version>1.0.0-SNAPSHOT</version> | ||
<relativePath>../../</relativePath> | ||
</parent> | ||
<version>24.3.2-SNAPSHOT</version> | ||
<artifactId>web-server-test</artifactId> | ||
<packaging>eclipse-repository</packaging> | ||
<name>Cloudbeaver Server Product</name> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.eclipse.tycho</groupId> | ||
<artifactId>target-platform-configuration</artifactId> | ||
<version>${tycho-version}</version> | ||
<configuration> | ||
<environments> | ||
<environment> | ||
<os>all</os> | ||
<ws>all</ws> | ||
<arch>all</arch> | ||
</environment> | ||
</environments> | ||
</configuration> | ||
</plugin> | ||
|
||
<plugin> | ||
<groupId>org.eclipse.tycho</groupId> | ||
<artifactId>tycho-p2-director-plugin</artifactId> | ||
<version>${tycho-version}</version> | ||
<configuration> | ||
<products> | ||
<product> | ||
<id>io.cloudbeaver.product</id> | ||
<archiveFileName>cloudbeaver-server-${dbeaver-version}</archiveFileName> | ||
</product> | ||
</products> | ||
</configuration> | ||
<executions> | ||
<execution> | ||
<id>materialize-products</id> | ||
<goals> | ||
<goal>materialize-products</goal> | ||
</goals> | ||
</execution> | ||
<execution> | ||
<id>archive-products</id> | ||
<goals> | ||
<!--<goal>archive-products</goal>--> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<!-- Disable P2 repository generation --> | ||
<plugin> | ||
<groupId>org.eclipse.tycho</groupId> | ||
<artifactId>tycho-p2-repository-plugin</artifactId> | ||
<version>${tycho-version}</version> | ||
<configuration> | ||
<createArtifactRepository>false</createArtifactRepository> | ||
<skipArchive>true</skipArchive> | ||
</configuration> | ||
</plugin> | ||
|
||
</plugins> | ||
</build> | ||
</project> |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.