Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
14 changes: 9 additions & 5 deletions deploy/build-backend.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,25 @@ echo "Pull dbeaver platform"
[ ! -d dbeaver ] && git clone --depth 1 https://github.com/dbeaver/dbeaver.git
[ ! -d dbeaver-common ] && git clone --depth 1 https://github.com/dbeaver/dbeaver-common.git
[ ! -d datadam-api ] && git clone --depth 1 https://github.com/dbeaver/datadam-api.git
MVNW="$PWD/dbeaver-common/mvnw"


cd cloudbeaver/deploy

echo "Build CloudBeaver server"

cd ../server/product/aggregate
mvn clean verify $MAVEN_COMMON_OPTS -Dheadless-platform
if [[ "$?" -ne 0 ]] ; then
echo 'Could not perform package'; exit $rc
if "$MVNW" clean verify $MAVEN_COMMON_OPTS -Dheadless-platform; then
:
else
rc=$?
echo 'Could not perform package'
exit "$rc"
fi
cd ../../../deploy

echo "Generate cloudbeaver.conf file"
mvn -f ../apps/config-generator compile exec:java -Dconfig.output="cloudbeaver/conf/cloudbeaver.conf"
"$MVNW" -f ../apps/config-generator compile exec:java -Dconfig.output="cloudbeaver/conf/cloudbeaver.conf"

echo "Copy server packages"

Expand All @@ -45,4 +49,4 @@ cp -rp ../config/core/* cloudbeaver/conf
cp -rp ../config/GlobalConfiguration/.dbeaver/data-sources.json cloudbeaver/conf/initial-data-sources.conf
mv drivers cloudbeaver

echo "End of backend build"
echo "End of backend build"
5 changes: 3 additions & 2 deletions deploy/build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,14 @@ echo Pull dbeaver platform
IF NOT EXIST dbeaver git clone https://github.com/dbeaver/dbeaver.git
IF NOT EXIST dbeaver-common git clone https://github.com/dbeaver/dbeaver-common.git
IF NOT EXIST datadam-api git clone https://github.com/dbeaver/datadam-api.git
SET MVNW=%CD%\dbeaver-common\mvnw.cmd

cd cloudbeaver\deploy

echo Build cloudbeaver server

cd ..\server\product\aggregate
call mvn clean verify -Dheadless-platform
call "%MVNW%" clean verify -Dheadless-platform

Comment thread
yagudin10 marked this conversation as resolved.
cd ..\..\..\deploy

Expand All @@ -44,7 +45,7 @@ copy ..\config\DefaultConfiguration\GlobalConfiguration\.dbeaver\data-sources.js
move drivers cloudbeaver >NUL

echo Generate cloudbeaver.conf file
call mvn -f ..\apps\config-generator compile exec:java -Dconfig.output="cloudbeaver\conf\cloudbeaver.conf" || goto :error
call "%MVNW%" -f ..\apps\config-generator compile exec:java -Dconfig.output="cloudbeaver\conf\cloudbeaver.conf" || goto :error

echo "Build static content"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Cloudbeaver Web Service - LDAP
Bundle-Vendor: DBeaver Corp
Bundle-SymbolicName: io.cloudbeaver.service.ldap.auth;singleton:=true
Bundle-SymbolicName: io.cloudbeaver.service.auth.ldap;singleton:=true
Bundle-Version: 1.0.36.qualifier
Bundle-Release-Date: 20260921
Bundle-RequiredExecutionEnvironment: JavaSE-21
Bundle-ActivationPolicy: lazy
Require-Bundle: io.cloudbeaver.model;visibility:=reexport
Bundle-Localization: OSGI-INF/l10n/bundle
Export-Package: io.cloudbeaver.service.ldap.auth,
io.cloudbeaver.service.ldap.auth.ssl
Automatic-Module-Name: io.cloudbeaver.service.ldap.auth
Export-Package: io.cloudbeaver.service.auth.ldap,
io.cloudbeaver.service.auth.ldap.ssl
Automatic-Module-Name: io.cloudbeaver.service.auth.ldap
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<extension point="org.jkiss.dbeaver.auth.provider">
<authProvider id="ldap" label="LDAP" description="LDAP authentication provider"
configurable="true"
class="io.cloudbeaver.service.ldap.auth.LdapAuthProvider"
class="io.cloudbeaver.service.auth.ldap.LdapAuthProvider"
icon="platform:/plugin/org.jkiss.dbeaver.model/icons/idp/ldap.svg"
caseInsensitive="true">
<configuration>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<version>1.0.0-SNAPSHOT</version>
<relativePath>../</relativePath>
</parent>
<artifactId>io.cloudbeaver.service.ldap.auth</artifactId>
<artifactId>io.cloudbeaver.service.auth.ldap</artifactId>
<version>1.0.36-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package io.cloudbeaver.service.ldap.auth;
package io.cloudbeaver.service.auth.ldap;

import io.cloudbeaver.DBWUserIdentity;
import io.cloudbeaver.auth.SMAuthProviderAssigner;
Expand All @@ -24,8 +24,8 @@
import io.cloudbeaver.auth.provider.local.LocalAuthProviderConstants;
import io.cloudbeaver.model.session.WebSession;
import io.cloudbeaver.model.user.WebUser;
import io.cloudbeaver.service.ldap.auth.ssl.LdapSslSetting;
import io.cloudbeaver.service.ldap.auth.ssl.LdapSslSocketFactory;
import io.cloudbeaver.service.auth.ldap.ssl.LdapSslSetting;
import io.cloudbeaver.service.auth.ldap.ssl.LdapSslSocketFactory;
import org.jkiss.code.NotNull;
import org.jkiss.code.Nullable;
import org.jkiss.dbeaver.DBException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2025 DBeaver Corp and others
* Copyright (C) 2010-2026 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.
Expand All @@ -14,9 +14,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package io.cloudbeaver.service.ldap.auth;
package io.cloudbeaver.service.auth.ldap;

public interface LdapConstants {

Check warning on line 19 in server/bundles/io.cloudbeaver.service.auth.ldap/src/io/cloudbeaver/service/auth/ldap/LdapConstants.java

View workflow job for this annotation

GitHub Actions / Server / Lint

[checkstyle] reported by reviewdog 🐶 Missing a Javadoc comment. Raw Output: /github/workspace/./server/bundles/io.cloudbeaver.service.auth.ldap/src/io/cloudbeaver/service/auth/ldap/LdapConstants.java:19:1: warning: Missing a Javadoc comment. (com.puppycrawl.tools.checkstyle.checks.javadoc.MissingJavadocTypeCheck)
String PARAM_HOST = "ldap-host";
String PARAM_PORT = "ldap-port";
String PARAM_DN = "ldap-dn";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2024 DBeaver Corp and others
* Copyright (C) 2010-2026 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.
Expand All @@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package io.cloudbeaver.service.ldap.auth;
package io.cloudbeaver.service.auth.ldap;

import io.cloudbeaver.auth.provider.fa.AbstractSessionExternal;
import org.jkiss.code.NotNull;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2024 DBeaver Corp and others
* Copyright (C) 2010-2026 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.
Expand All @@ -14,9 +14,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package io.cloudbeaver.service.ldap.auth;
package io.cloudbeaver.service.auth.ldap;

import io.cloudbeaver.service.ldap.auth.ssl.LdapSslSetting;
import io.cloudbeaver.service.auth.ldap.ssl.LdapSslSetting;
import org.jkiss.code.NotNull;
import org.jkiss.dbeaver.model.security.SMAuthProviderCustomConfiguration;
import org.jkiss.utils.CommonUtils;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.cloudbeaver.service.ldap.auth;
package io.cloudbeaver.service.auth.ldap;

import org.jkiss.code.NotNull;
import org.jkiss.code.Nullable;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2025 DBeaver Corp and others
* Copyright (C) 2010-2026 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.
Expand All @@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package io.cloudbeaver.service.ldap.auth.ssl;
package io.cloudbeaver.service.auth.ldap.ssl;

import org.jkiss.code.Nullable;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2025 DBeaver Corp and others
* Copyright (C) 2010-2026 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.
Expand All @@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package io.cloudbeaver.service.ldap.auth.ssl;
package io.cloudbeaver.service.auth.ldap.ssl;

import org.jkiss.code.NotNull;

Expand Down
2 changes: 1 addition & 1 deletion server/bundles/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<module>io.cloudbeaver.service.data.transfer</module>

<module>io.cloudbeaver.service.security</module>
<module>io.cloudbeaver.service.ldap.auth</module>
<module>io.cloudbeaver.service.auth.ldap</module>

<module>io.cloudbeaver.resources.drivers.base</module>

Expand Down
2 changes: 1 addition & 1 deletion server/features/io.cloudbeaver.server.feature/feature.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<plugin id="io.cloudbeaver.service.rm.nio" version="0.0.0"/>

<plugin id="io.cloudbeaver.service.security" version="0.0.0"/>
<plugin id="io.cloudbeaver.service.ldap.auth" version="0.0.0"/>
<plugin id="io.cloudbeaver.service.auth.ldap" version="0.0.0"/>

<!-- Extra plugins -->
<plugin id="org.jkiss.dbeaver.data.office" version="0.0.0"/>
Expand Down
2 changes: 1 addition & 1 deletion server/product/aggregate/build-full.cmd
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@echo off
set MAVEN_OPTS=-Xmx2048m

call mvn clean verify -Dheadless-platform -T 1C
call "..\..\..\..\dbeaver-common\mvnw.cmd" clean verify -Dheadless-platform -T 1C
Comment thread
yagudin10 marked this conversation as resolved.

pause
Loading