Commit graph

1909 commits

Author SHA1 Message Date
Vlad Senyuta
8889463f7b
add httpcomponents (#3449) 2023-03-06 16:41:35 +02:00
Vlad Senyuta
f193e5fed7
[e2e] Setup qase integration (once again) (#3441)
* add checkNewBrokersTest

* add manual cases and listeners

* add manual cases and listeners

* add manual cases and listeners

* upd manual suite

* upd listeners

* add readme

* upd template

* upd naming

* upd template

* upd template

* upd template

* upd template

* fix naming

* fix MessagesTest

* upd manual cases

* upd comments
2023-03-06 12:59:48 +04:00
Snowfox0618
18c046af5b
[FE] Fix number of partitions field validation issue (#3400)
* Now user can only input valid digits, and '-' is not allowed in positive-only inputs.

* Fix ISSUE#3319

Now user can only input valid digits, and '-' is not allowed in positive-only inputs.

* Revert "Fix ISSUE#3319"

This reverts commit a4e34f5af3.

* Fix ISSUE#3319
Created a helper function, and added a unit test to cover it.

* Fix ISSUE#3319
Located the helper function outside the component, and renamed some unit tests to make their meaning more clear.

* Fix ISSUE#3319
- Added an attribute 'integerOnly' to component 'Input', to represent whether this input component instance will accept decimal.
- Improved input-check function and paste-check function, to avoid invalid number format (like '3-3', '3.3.3').
- Added new unit tests to test new input-check and paste-check functions.
- Added attribute 'integerOnly' to Input instances in the TopicForm component.
2023-03-06 12:50:58 +04:00
David
b5e3d1f928
[FE] Brokers: fix missing tooltip for config source (#3356)
* .

* ..

* added getReferenceProps getFloatingProps

* testing

* testing2

* testing3

* added autoUpdate

* added @floating-ui/react

* removed @floating-ui/react-dom-interactions

---------

Co-authored-by: davitbejanyan <dbejanyan@provectus.com>
Co-authored-by: Oleg Shur <workshur@gmail.com>
2023-03-06 12:49:38 +04:00
Ilya Kuramshin
59837394fb
Integration with ODD (#3289)
ODD integration
Exporting statistics:
- topics as DataSets (metadata + schemas)
- connectors as DataTransformers (metadata + inputs&outputs)Exporting to ODD:
2023-03-01 16:13:29 +04:00
Arthur
ffa49ebb3d
[e2e]Checking Messages count per page within Topic (#3413)
* [e2e]Checking available custom parameters with Topic editing

* [e2e]Checking Messages count per page within Topic

* [e2e]Checking Messages count per page within Topic.First Fix

* [e2e]Checking Messages count per page within Topic.Issue added

* [e2e]Checking Messages count per page within Topic.Second Fix

* [e2e]Checking Messages count per page within Topic.Second Fix

* [e2e]Checking Messages count per page within Topic.Third Fix

* [e2e]Checking Messages count per page within Topic.Third Fix
2023-03-01 10:32:04 +02:00
kristi-dev
c8619268cd
FE: Topics: make the topic name field focused (#2986)
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
2023-02-27 14:44:28 +04:00
Narekmat
9b76d59513
Fix checkout action commit ref (#3405)
* fix checkout

* fix other actions

---------

Co-authored-by: Narek Matevosyan <nmatevosyan@provectus.com>
2023-02-27 12:50:12 +04:00
Ilya Kuramshin
ad5b0d44f0
Ksql select header's response parsing improved, tests added (#3377)
Co-authored-by: iliax <ikuramshin@provectus.com>
2023-02-23 23:56:34 +04:00
David
ea348102c2
FE: Redesign connector actions (#3197)
* redesign connector actions

* remove xpect(dropDownButton.length).toEqual(2) from Actions.spec.tsx

---------

Co-authored-by: davitbejanyan <dbejanyan@provectus.com>
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
2023-02-23 15:47:59 +04:00
dependabot[bot]
526b2915f5
Bump selenide from 6.6.3 to 6.11.2 (#3309)
Bumps [selenide](https://github.com/selenide/selenide) from 6.6.3 to 6.11.2.
- [Release notes](https://github.com/selenide/selenide/releases)
- [Changelog](https://github.com/selenide/selenide/blob/master/CHANGELOG.md)
- [Commits](https://github.com/selenide/selenide/compare/v6.6.3...v6.11.2)

---
updated-dependencies:
- dependency-name: com.codeborne:selenide
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-23 14:34:31 +04:00
Ilya Kuramshin
741bbc1be1
[BE] Supress kafka authorization errors (#3376)
* wip

* wip

* typo fix, minor impr

* test fixes

* wip

---------

Co-authored-by: iliax <ikuramshin@provectus.com>
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
2023-02-22 11:50:49 +04:00
mkuts12
e584b15d97
Update serialization guide (#3375)
[line](f2ec4d76de/kafka-ui-api/src/main/java/com/provectus/kafka/ui/config/ClustersProperties.java (L41))
but I'm not familiar enough with Go to be sure.
2023-02-21 17:40:05 +04:00
dependabot[bot]
c9f0298000
Bump aquasecurity/trivy-action from 0.8.0 to 0.9.1 (#3337)
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.8.0 to 0.9.1.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](https://github.com/aquasecurity/trivy-action/compare/0.8.0...0.9.1)

---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-21 17:25:12 +04:00
dependabot[bot]
fadd307564
Bump svenstaro/upload-release-action from 2.3.0 to 2.4.1 (#3306)
Bumps [svenstaro/upload-release-action](https://github.com/svenstaro/upload-release-action) from 2.3.0 to 2.4.1.
- [Release notes](https://github.com/svenstaro/upload-release-action/releases)
- [Changelog](https://github.com/svenstaro/upload-release-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/svenstaro/upload-release-action/compare/2.3.0...2.4.1)

---
updated-dependencies:
- dependency-name: svenstaro/upload-release-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-21 17:24:13 +04:00
dependabot[bot]
37e6f021b3
Bump testng from 7.6.1 to 7.7.0 in /kafka-ui-e2e-checks (#3304)
Bumps [testng](https://github.com/cbeust/testng) from 7.6.1 to 7.7.0.
- [Release notes](https://github.com/cbeust/testng/releases)
- [Changelog](https://github.com/cbeust/testng/blob/master/CHANGES.txt)
- [Commits](https://github.com/cbeust/testng/compare/7.6.1...7.7.0)

---
updated-dependencies:
- dependency-name: org.testng:testng
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-21 17:21:13 +04:00
Vlad Senyuta
ba99c20ad9
[e2e] Update Qase integration, impl additional e2e workflows (#3372) 2023-02-21 13:04:18 +04:00
Ilya Kuramshin
f2ec4d76de
Avro (Embedded) serde implementation (#3266)
* Avro (Embedded) serde implementation

---------

Co-authored-by: iliax <ikuramshin@provectus.com>
2023-02-17 16:18:28 +04:00
Michael Kreis
a87b31aca1
BE: Extend testcase with a recursive reference (#3314)
Fixes #2824

Co-authored-by: Michael Kreis <michael.kreis@raiffeisen.ch>
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
2023-02-15 18:13:53 +04:00
Konstantinos Papadakis
cbb166026d
Helm: Make secrets resource creation optional (#3324)
* Fixes #3299

* bumps chart version

---------

Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
2023-02-15 17:31:05 +04:00
Ilya Kuramshin
ebd25c61b1
Using JRE instead of JDK in docker image construction (#3341)
Co-authored-by: iliax <ikuramshin@provectus.com>
2023-02-14 14:13:52 +04:00
Vlad Senyuta
eeef330fc0
[e2e] Check custom parameters availability (#3340)
* test commit

* fix BaseTest

* upd global

* upd global

* upd global

* add local browser VM option

* fix TopicsList column header locator

* fix withStartupTimeout()

* switch e2e to TestNG

* upd pom

* upd page classes

* upd -pl kafka-ui-e2e-checks

* test commit

* Revert "test commit"

This reverts commit 4b505321ac.

* fix workflow module

* create checkCustomParametersAvailability()

* upd test -f 'kafka-ui-e2e-checks'

* upd checkCustomParametersAvailability()

* upd checkCustomParametersWithinEditExistingTopic
2023-02-13 13:06:44 +02:00
Vlad Senyuta
8663ef6e84
[e2e] Checking Clearing results for already executed KSQL Request (#3327)
* test commit

* fix BaseTest

* upd global

* upd global

* upd global

* add local browser VM option

* fix TopicsList column header locator

* fix withStartupTimeout()

* switch e2e to TestNG

* upd pom

* upd page classes

* upd -pl kafka-ui-e2e-checks

* test commit

* Revert "test commit"

This reverts commit 4b505321ac.

* fix workflow module

* upd test -f 'kafka-ui-e2e-checks'

* crt clearResultsForExecutedRequest test

* add suite profiles

* fix clickClearResultsBtn
2023-02-09 17:23:50 +04:00
Ilya Kuramshin
45a6e73d29
[BE] SR: maxInMemorySize property setting added to SR client (#3310)
Co-authored-by: iliax <ikuramshin@provectus.com>
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
2023-02-09 16:13:04 +04:00
Roman Zabaluev
6ffcd845fa
Fix e2e run (#3326)
* Fix e2e run

* add suite profiles

Co-authored-by: VladSenyuta <vlad.senyuta@gmail.com>
2023-02-09 15:53:43 +04:00
Vlad Senyuta
9e1e9b3799
[e2e] switch to TestNG (#3301)
* test commit

* fix BaseTest

* upd global

* upd global

* upd global

* add local browser VM option

* fix TopicsList column header locator

* fix withStartupTimeout()

* switch e2e to TestNG

* upd pom

* upd page classes

* upd -pl kafka-ui-e2e-checks
2023-02-02 17:24:42 +04:00
Alexandr Nezboretskiy
398181e0d2
[e2e] checking ksql request execution (#3295)
* Added ksqlApi methods

* Added classObjects to Facade

* Added models for streams and tables

* ad pages classes

* ad enums

* ad checkingKsqlRequestExecution()

* Refactored default topics to constant

* Refactored KsqlTests

* Resolve conversations

---------

Co-authored-by: Vlad Senyuta <66071557+VladSenyuta@users.noreply.github.com>
2023-02-01 11:24:40 +02:00
Mgrdich
fdf8db98a2
Fix json paths in field previews (#3028)
* Fix the Preview Modal , Dom Nesting issue inside a Table

* minor modifications to the PreviewModal and rhe row data to get rid of errorsin the console

* add JSONPATH library to implement the parsing with it instead of loadash get
2023-02-01 11:25:16 +04:00
Winnie Chiu
9f9bd36b0f
Display offline ISR by Partition on Topic overview (#2887)
* Display In Sync Replicas (ISR) by Partition on Topic overview (#2703)

* add unit test

---------

Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
2023-02-01 11:24:31 +04:00
Ilya Kuramshin
d1f04e05bb
[Be] Fix MessagesServiceTest, waiting of kafka write added (#3287)
Co-authored-by: iliax <ikuramshin@provectus.com>
2023-01-31 11:57:21 +04:00
Batuhan Küçükali
1b09251419
[BE] Fix case-sensitive search in broker's topics (#3276)
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
2023-01-31 11:55:21 +04:00
Arthur
640777dbda
[e2e]TopicTests.editSettingsOfTopic : Edit settings of topic (#3271)
* [e2e] Create common method for produce message in TopicMessagesTests

* [e2e]TopicTests.editSettingsOfTopic : Edit settings of topic

* [e2e]TopicTests.editSettingsOfTopic : Edit settings of topic

* [e2e]TopicTests.editSettingsOfTopic : Edit settings of topic.         waitUntilScreenReady() Fix

* [e2e]TopicTests.editSettingsOfTopic : Edit settings of topic.         waitUntilScreenReady() Fix 2
2023-01-30 18:13:56 +02:00
Ilya Kuramshin
43fcf6dce1
[BE] Suppressing failures when describe log dirs not supported (#3262)
* Suppressing failures when describe log dirs not supported
2023-01-26 11:12:59 +04:00
Narekmat
0e671a9396
[Helm] Add variable for pathtype (#3259) 2023-01-24 12:52:54 +04:00
Ilya Kuramshin
ded4e26825
[BE] Chore: ConfigTest stats initialization added (#3260)
Co-authored-by: iliax <ikuramshin@provectus.com>
2023-01-24 12:52:27 +04:00
Arthur
9cfa184cea
[e2e]TopicTests.purgeMessagesOfTopics : Purge messages of topics (#3254)
* [e2e] Create common method for produce message in TopicMessagesTests

* [e2e]TopicTests.purgeMessagesOfTopics : Purge messages of topics. First fix

* [e2e]TopicTests.purgeMessagesOfTopics : Purge messages of topics. First fix

Co-authored-by: Vlad Senyuta <66071557+VladSenyuta@users.noreply.github.com>
2023-01-23 18:05:00 +02:00
Narekmat
0ff8c0d4fb
Polish workflow names (#3232)
* Change workflow names

* chnage name

* Update branch-deploy.yml

* Update documentation.yaml

* Update branch-remove.yml

* Update backend.yml

* Update frontend.yaml

* Update helm.yaml

* Update master.yaml

* Update e2e-checks.yaml

Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
2023-01-23 18:27:55 +04:00
Mgrdich
ceb9c5dd85
[FE] Fix URL for Logout button (#3246) 2023-01-23 08:11:00 +04:00
Ilya Kuramshin
5d31189609
ISSUE-3222: SchemaRegistrySerde checkSchemaExistenceForDeserialize property added (#3235) 2023-01-17 22:38:44 +04:00
Alexandr Nezboretskiy
c2d7d70a8e
[e2e]TopicTests.clearMessageOfTopicFromTopicProfile : Clear message of topic from topic profile (#3240) 2023-01-16 18:39:45 +02:00
Wanis Fahmy
f55376b40b
[BE] Impl basic auth for prometheus (#3201)
* fix(3143): passes prometheus basic auth credentials

Co-authored-by: theurichde <tim.heurich@idealo.de>

* fix(3143): applies review comments

Co-authored-by: theurichde <tim.heurich@idealo.de>

Co-authored-by: theurichde <tim.heurich@idealo.de>
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
2023-01-16 17:53:06 +04:00
Ilya Kuramshin
799c2c455a
Implement SchemaRegistry openapi client (#3123)
Failover clients for SchemaRegistry, Kafka-connect, KSQL:
1. SchemeRegistry openapi client generation
2. WebClient configuration logic moved to WebClientConfigurator class
3. ReactiveFailover utility implemented 
4. Connect, Ksql moved to ReactiveFailover usage
2023-01-16 15:27:55 +04:00
Ilya Kuramshin
7c6d04bca0
Proto to JsonSchema well-known types support (#3088)
1. Add support for predefined (well-known) protobuf types.
2. `preservingProtoFieldNames` mode is enabled for proto messages formatting to fit proto file's message's field names
3. Invalid oneof-processing logic removed
4. Protobuf -> JsonSchema self-reference issue fixed
5. format added to Timestamp protobuf type
2023-01-16 14:49:04 +04:00
Alexandr Nezboretskiy
b4e7f3763b
TopicTests.removeTopicFromAllTopics : Remove topic from all topics (#3231)
* TopicTests.removeTopicFromAllTopics : Remove topic from all topics

* Resolve conversation
2023-01-13 17:02:09 +02:00
Arthur
6096ad1d49
[e2e] Create common method for produce message in TopicMessagesTests (#3228)
* [e2e] Create common method for produce message in TopicMessagesTests

* [e2e] Create common method for produce message in TopicMessagesTests

* [e2e] Create common method for produce message in TopicMessagesTests
2023-01-13 12:14:56 +02:00
Alexandr Nezboretskiy
a03b6844e0
Checking messages filtering by timestamp within messages/topic (#3195)
* Added setTime methods

* Refactored ApiService class with reload methods and fix sendMessageMethod

* Added TimeUtils class

* Refactored all testClasses with new reloaded methods from ApiService

* Refactored naming and DateTimeFormatter pattern

* fix deleteTopic method

* fix checkingMessageFilteringByOffset() test

* fix AfterAll class in ConnectorsTests

* Added Locale.Us for DateTimeFormatter pattern

* refactored equals to isEqual checkingMessageFilteringByTimestamp()

* Added argument for locale as "--lang=es"

* Deleted seconds from setTime(), refactored pattern of timestamp

* Refactored assertions of checkingMessageFilteringByTimestamp()

* Revert seekTypeField locator

* Refactored hh to HH in pattern

* Refactored waitUntilScreenReady() in TopicDetails

* Refactored topicListHeader locator

* Refactored of TopicMessagesTests

* fix mc

* resolve conversation

* resolve conversation and deleted txt files

* Added SneakyThrows annotation

* refactored mid mistakes

* Added offsetElm Condition

* Resolve conversation of methods

* Fix spinner locator

* revert clickSubmitFiltersBtnMessagesTab() method

* Added disabled annotation for checkingMessageFilteringByTimestamp()

* Resolve conversation

* Refactored waitUntilSpinnerDisappear()

* Reformat methods order

* Disabled and refactored checkingMessageFilteringByOffset()

* Uncommented AfterAllClass

Co-authored-by: VladSenyuta <vlad.senyuta@gmail.com>
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
2023-01-13 08:14:58 +02:00
Ilya Kuramshin
578468d090
Consumer groups loading performance impr (#3188)
ISSUE-3148, ISSUE-3188: Topic consumers retrieval performance impr
1. batch listConsumerGroupOffsets method implemented
2. describeConsumerGroups parallelized
3. minor improvements in ReactiveAdminClient
4. (not related to perf) ConsumerGroupMapper messagesBehind setting fixed
2023-01-12 23:14:28 +04:00
Vlad Senyuta
57585891d1
[e2e] Increate chrome startup timeout (#3223)
* test commit

* fix BaseTest

* upd global

* upd global

* upd global

* add local browser VM option

* fix TopicsList column header locator

* fix withStartupTimeout()
2023-01-12 19:43:37 +04:00
Mgrdich
aeda502b09
[FE] Fix HTTP 414 with a big partitions list selected (#3145)
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
2023-01-12 19:34:33 +04:00
Arthur
566dab078f
[e2e]TopicTests.recreateTopic : Recreate topic (#3213)
* [e2e]TopicTests.recreateTopic : Recreate topic

* fix isInternal()

Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
Co-authored-by: VladSenyuta <vlad.senyuta@gmail.com>
2023-01-12 10:20:54 +02:00