Commit Graph
25 Commits
Author SHA1 Message Date
Yaroslav Emelyanov 0a28421aaf CB-1577-H2-driver-update (#1538)
* CB-1577 H2 driver update

Implements migrator

* CB-1577 H2 driver update

Registers the h2_v2 driver

* CB-1577 H2 driver update

Reimplements migrator

* CB-1577 H2 driver update

Renames WorkPaths to WorkspacePaths

* CB-1577 H2 driver update

Updates default configs to use H2 v2

* CB-1577 H2 driver update

Implements config update

* CB-1577 H2 driver update

Fixes implementation

* CB-1577 H2 driver update

Updates h2 v2 driver version to latest

* CB-1577 H2 driver update

Fixes copyright

* CB-1577 H2 driver update

Changes logging level for cases where migration is not needed

* CB-1577 H2 driver update

Reverted 'driver' -> 'driverProvider' renaming

* CB-1577 H2 driver update

Changes the H2 v1 detection method to check files instead of a driver error.

* CB-1577 H2 driver update

Implements trace file backup;
Fixes url reload after migration

* CB-1577 H2 driver update

Updates the h2 filename in default configurations.

* CB-1577 H2 driver update

Fixes code style issues

* CB-1577 H2 driver update

Fixes constants naming

* CB-1577 H2 driver update

Fixes h2v2 url after migration

* CB-1577 H2 driver update

Fixes H2Migrator NPE
2023-04-04 14:44:39 +03:00
AinurandAlexander Skoblikov d474f76c3e CB-2388 split cb application (#1571)
* CB-2388 split cb application

* CB-2388 rename ce app

* CB-2388 fix conflicts

---------

Co-authored-by: Alexander Skoblikov <aleksandr.skoblikov@dbeaver.com>
2023-04-04 14:33:12 +03:00
Alexander Skoblikov 2107f4f968 CB-3164 file based lock controller; lock project when we try update d… (#1564)
* CB-3164 file based lock controller; lock project when we try update datasources
2023-03-30 16:33:38 +03:00
Alexander Skoblikovanddariamarutkina 2e16169509 CB-3261 validate empty project id (#1550)
Co-authored-by: dariamarutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-03-23 00:56:07 +03:00
Yaroslav EmelyanovandIaroslav Emelianov 34f1797f9e CB-3247 logger in tests displays only INFO messages (#1540)
Co-authored-by: Iaroslav Emelianov <iaroslav.emelianov@dbeaver.com>
2023-03-14 16:58:30 +03:00
Alexander Skoblikov 33831fd0e7 update test log level (#1441) 2023-01-30 21:22:23 +03:00
dec3c37e64 CB-2881 remove public permission (#1414)
* CB-2881 remove public permission

* CB-3035 add authRequired param for WebAction

* CB-3035 add authRequired param for WebAction

* CB-3035 add authRequired param for WebAction

* CB-2881 refactor: replace public permission with authentication check

* CB-3035 empty user permissions fix

* CB-2881 fix: validate resource keys

* CB-3035 user with no teams login fix

* CB-2881 remove user teams validation

* CB-2881 fix: check is connection is available in ResourceSqlDataSource

Co-authored-by: Aleksey Potsetsuev <wrouds@gmail.com>
Co-authored-by: kseniaguzeeva <112612526+kseniaguzeeva@users.noreply.github.com>
2023-01-26 14:58:08 +03:00
Georgii Gvinepadze 877a09245e dbeaver/pro#1344 update Copyright
Signed-off-by: Georgii Gvinepadze <fireshowel@gmail.com>
2023-01-16 16:33:05 +04:00
AlexeyandAleksandr Skoblikov f5a2799ec9 CB-2912 refactor: use websocket (#1348)
* CB-2912 refactor: use websocket

* CB-2912 chore: disable websocket by default

* CB-2912 feat: websocket events

* CB-2912 feat: websocket protocol

* CB-2912 fix: gql schema

* CB-2912 feat: update sdk

* CB-2912 chore: remove deprecated code

* CB-2912 feat: dynamic events subscription

* CB-2912 fix: container resource api

* CB-2923 test websocket

* CB-2923 refactor event model

* CB-2923 dynamic ws event deserializer

* CB-2912 chore: update schema

* CB-2923 separate events for create/delete/update action

* CB-2923 manifest fix

* CB-2923 update qql schema

* CB-2923 update eclipse configuration

* CB-2912 feat: update websocket api

* CB-2923 update client event model

* CB-2912 feat: resource connection

* CB-2923 support new event types

* CB-2912 chore: update schema

* CB-2923 websocket ping pong

* CB-2912 fix: rename topic to topicId in WebSocketClientEvent

* CB-2923 send event if datasource description was changed

* CB-2923 split WebSession

* CB-2912 fix: resources connection

* CB-2912 websocket client (#1370)

* CB-2989 create ws client

* CB-2912 refactor: rename useResource

* CB-2912 resolve conflicts

* CB-2912 fix: use wss with https protocol

Co-authored-by: Aleksandr Skoblikov <aleksandr.skoblikov@dbeaver.com>
2022-12-22 14:04:03 +03:00
Serge RiderandAleksandr Skoblikov a506a81c14 Cb 2714 federated auth claim role info (#1221)
* CB-2714 Datasource filter fix

* CB-2714 Subject meta model refactoring

* CB-2714 CB schema version incement

* CB-2714 Subject profiles model. Auth providers refactoring

* CB-2714 Web registry refactoring

* CB-2714 Web registry refactoring

* CB-2714 Federated auth refactoring

* CB-2714 Auth providers' meta properties

* CB-2714 Use identity extension. Code style.

* CB-2714 AD user login - fole/teams auto assign model

* CB-2714 Web session refresh fix for DE

* CB-2714 Teams auto-assign

* CB-2714 Teams and roles auto-assign (AD)

* CB-2714 Initial data config fix

* CB-2714 Filter distirbuted properties

* CB-2714 auto update user parameters in finish authorization

* CB-2714 fix auto auth role

Co-authored-by: Aleksandr Skoblikov <aleksandr.skoblikov@dbeaver.com>
2022-10-24 21:24:02 +03:00
Serge RiderandWroud 71cb02fdd7 CB-2657 Auth role + auth model refactoring + AD claims (#1208)
* CB-2657 Auth role + auth model refactoring + AD claims

* CB-2657 Auth role + auth model refactoring

* CB-2709 Rename roles into teams on BE

* CB-2709 Rename database teables and columns

* CB-2657 refactor: rename role to team

* CB-2709 Increase schema version

* CB-2709 API parameter rename

* CB-2657 fix(plugin-authentication-administration): team connection permissions

* CB-2709 Initial schema fix + tests debug logging enabled

* JDBC utils

* CB-2657 fix(plugin-connections-administration): connection access lazy loading

* CB-2709 Redundant code delete. User teams pre-read to avoid extra calls

* CB-2657 fix: localization

* CB-2657 localization: add localization for teams

Co-authored-by: Wroud <wroud@yandex.ru>
2022-10-12 17:22:07 +03:00
AinurandKonstantin Vasilev 67f0853df0 CB-2449 rm api changes for writing resources (#1066)
* CB-2449 rm api changes for writing resources

* CB-2455 feat(plugin-resource-manager): Do not rewrite script with the same name

* CB-2449 test for writing resource in rm

Co-authored-by: Konstantin Vasilev <konstantin.vasiliev@dbeaver.com>
2022-08-31 17:52:41 +03:00
yagudin10 819b84cc9b CB-2365 rp tests 2022-08-22 18:29:37 +03:00
yagudin10 6d59889705 CB-2313 move test auth to the utils 2022-08-03 13:27:18 +03:00
yagudin10 6f39d89fd7 CB-2313 remove dependency from ee test suite 2022-08-03 12:27:25 +03:00
yagudin10 d60c1cadac CB-2313 gql api for creating projects 2022-08-02 19:33:11 +03:00
yagudin10 5ce1e83e90 CB-2313 gql api for creating projects 2022-08-02 19:27:57 +03:00
Serge Rider 57ad6f9f09 dbeaver/dbeaver#17201 Upgrade Mockito engine 2022-07-29 16:02:42 +03:00
yagudin10 cfb625035c CB-2216 gql api unit test logs improvement 2022-06-27 16:38:29 +03:00
yagudin10 5d05696b73 CB-2216 gql api unit test logs improvement 2022-06-27 16:38:00 +03:00
yagudin10 9baab55ef0 CB-2216 gql api unit test logs improvement 2022-06-27 15:27:13 +03:00
Ainur 5d6dc215c4 CB-1912 gql connection tests (#914)
* CB-1912 gql api test

* CB-1912 add create, delete connection gql tests

* CB-1912 cb test reformatting

* CB-1912 cb test reformatting
2022-06-22 12:32:44 +03:00
serge-rider 95769ba5cf CB-2124 CB server start in test suite 2022-06-19 22:13:57 +03:00
Serge Rider b7152ed0e0 CB-1910 CloudBeaver platform test 2022-06-07 11:14:34 +03:00
Serge Rider 9587204d9f CB-1910 CloudBeaver platform test 2022-06-07 11:13:51 +03:00