Commit graph

1486 commits

Author SHA1 Message Date
iliax
c1e13ef0f8 endpoints improvement 2022-12-19 23:15:13 +04:00
Ilya Kuramshin
5255e05357
Merge branch 'master' into partitions_reassignment 2022-11-23 23:51:36 +04:00
iliax
4cf8f7a7db minot fix 2022-11-23 23:51:20 +04:00
iliax
14bd3086e9 Partitions-reassignment endpoints implemented 2022-11-23 23:33:26 +04:00
David
7e82e7434e
fixed unchecking the already checked Topics from main checkbox is not… (#2941)
* fixed unchecking the already checked Topics from main checkbox is not available

* remove commented part

* added checked on header

* changed getToggleAllPageRowsSelectedHandler function to  getToggleAllRowsSelectedHandler

* changed getIsSomePageRowsSelected function to  getIsSomeRowsSelected

Co-authored-by: davitbejanyan <dbejanyan@provectus.com>
2022-11-22 21:08:52 +04:00
David
9256b741be
fixed All warnings with Act function in testing library (#2910)
* fixed All warnings whit Act function in testing library

* added act functions as described in the testing library documentation

* removed 'return' from renderComponents

Co-authored-by: davitbejanyan <dbejanyan@provectus.com>
2022-11-22 16:40:34 +04:00
Alexandr Nezboretskiy
9457d5ff2b
Issue/copy checking compare versions operation for schema (#2951)
* resolve conversation

* Refactored assetions in SchemasTests -> compareVersionOperation

* Rename method selectFirstVersionFromDropDown

* last changes

* resolve conversations

* resolve conversations

* rename elementLocatorDdl to ddlElementLocator

* Resolve conversation

* Resolve conversation

* Resolved

* Resolved conversation

* Resolved conversation

Co-authored-by: Vlad Senyuta <66071557+VladSenyuta@users.noreply.github.com>
2022-11-21 14:02:10 +02:00
Anton Mnykh
d1013b69da
[e2e] Checking Filter adding within Topics/Topic/Messages with filled required fields (#2939)
* soft assertion method refactored

* getFilterName() method refactored

* soft assertions refactoring

* add softAssertions

* add softAssertions

Co-authored-by: Vlad Senyuta <66071557+VladSenyuta@users.noreply.github.com>
Co-authored-by: VladSenyuta <vlad.senyuta@gmail.com>
2022-11-21 13:44:22 +02:00
iliax
432c027c0b wip 2022-11-18 12:31:45 +04:00
José Antonio Cortés López
93af20c46c
[helm] Allow Skip Certificates Verification in readiness and liveness probes (#2924)
* Allow Skip Certificates Verification in readiness and liveness probe

* Fixed chart version

* Allow Skip Certificates Verification in readiness and liveness probe

* Fixed chart version

* Rename of the variable use in values

* Allow Skip Certificates Verification in readiness and liveness probe

* Fixed chart version

* Rename of the variable use in values

* Fixed HTTPS scheme

Co-authored-by: Jose Antonio Cortes Lopez <jacortes@theworkshop.com>
2022-11-18 12:10:02 +04:00
Winnie Chiu
8bb9f63658
Seek type field became empty with refreshing the page (#2863)
* Seek type field became empty with refreshing the page (#2857)

* Seek type field became empty with refreshing the page (#2857)

Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
2022-11-17 15:17:28 +04:00
David
7fcbf7507b
Changed Topic messages 'save as a file ' also changed test case (#2873)
Co-authored-by: davitbejanyan <dbejanyan@provectus.com>
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
Co-authored-by: Mgrdich <46796009+Mgrdich@users.noreply.github.com>
2022-11-16 19:36:27 +04:00
Ilya Kuramshin
5900f8e957
Snappy native impl fix (#2940)
* wip

* wip

* wip

* wip

Co-authored-by: iliax <ikuramshin@provectus.com>
2022-11-15 16:05:06 +04:00
Jochen Schalanda
0d0a244915
Centralize dependency versions and bump where necessary (#2929) 2022-11-15 14:22:16 +04:00
Boris Djurdjevic
e26f9787d8
Implement mTLS for KC (#2833)
* feat(kafka-connect): Implement kafka-connect mTLS configuration

* chore(kafka-connect): Use SecuredWebClient

* feat(ssl-demo): Configure SANs and recreate certificates

* feat(ssl-demo): Add docker-compose demo with TLS enabled components
2022-11-15 14:11:57 +04:00
Arthur
818149977c
[e2e]Checking the information of used Broker in a cluster (#2931)
* [e2e] Fix1

* [e2e] BrokersDetails added

* [e2e] BrokersDetails added

* [e2e] Lists in Details Added

* [e2e] Fix WebUtils

* [e2e] All changes

* [e2e] Fix2
2022-11-14 18:02:34 +02:00
Roman Zabaluev
f47a0382f7
Fix CVEs, Nov. 22 (#2926) 2022-11-14 14:53:56 +04:00
David
8dc1e00ca2
fixed undefined (reading 'data') warning in Statistics.spec.tsx (#2927)
Co-authored-by: davitbejanyan <dbejanyan@provectus.com>
2022-11-12 00:04:01 +04:00
Alexandr Nezboretskiy
6de731778b
Issue/copy checking topics section within kafka UI application (#2925)
* Commit

* Moved and renamed classes from Tests

* Added new methods and refactored getRandomMessage()

* Moved SmokeTests from tests to com.provectus.kafka.ui

* Moved SmokeTests from com.provectus.kafka.ui to Suite

* resolve conversation

* resolve conversation
2022-11-11 15:19:11 +02:00
David
97aa114696
Non-serializable warning (#2921)
* fixed non-serializable values in selectors.spec.ts, navigation warning in Table.spec.tsx,

* added await for userEvent in Table.spec.tsx,

Co-authored-by: davitbejanyan <dbejanyan@provectus.com>
2022-11-11 15:43:15 +04:00
Oleg Shur
8b7c8e3216
Remove messages v2 (#2917) 2022-11-10 19:50:17 +04:00
Anton Mnykh
af1065fca8
[e2e] TopicTests.messageCopyFromTopicProfile : Message copy from topic profile (#2901)
* test fix

* test fix2

* locator fix

* test fix

* test fix2

* test fix2

* test fix3

* fix clearMessage test
add MessageGridItem class

* fix clearMessage test
add MessageGridItem class

* disabled copyMessageFromTopicProfile
added link to issue

Co-authored-by: VladSenyuta <vlad.senyuta@gmail.com>
Co-authored-by: Vlad Senyuta <66071557+VladSenyuta@users.noreply.github.com>
2022-11-10 13:06:15 +02:00
Roman Zabaluev
9f5d9126da
Add a missing space for partitions count (#2803)
* Add a missing space for partitions count

* Update BrokersList.tsx
2022-11-10 00:43:18 +04:00
kristi-dev
74b20d5a58
#2685 Migrate Topic Settings page to the new version of table component (#2834)
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
2022-11-09 15:47:25 +00:00
Alexandr Nezboretskiy
5a06d659e2
Issue/copy specify abstract objects as much as possible cross screen classes (#2913)
* Reformat all classes and add extends dependencies

* Refactored of base locators

* Fix and resolve conflicts

* Refactored BasePage methods and Pages classes

* Refactored unused locators

* Added extends ConsumersList

* Resolve conversation
2022-11-09 13:52:20 +02:00
Arthur
fce4c23276
[e2e] Checking requiredness of Custom parameters within 'Create new Topic' (#2904)
* [e2e] Checking requiredness of Custom parameters within 'Create new Topic' #2889

* [e2e] Checking requiredness of Custom parameters within 'Create new Topic' #2889

* [e2e] Checking requiredness of Custom parameters within 'Create new Topic' #2889

* [e2e] Fix1

* [e2e] Fix1
2022-11-08 17:54:50 +02:00
dependabot[bot]
8e35fd628a
Bump aquasecurity/trivy-action from 0.7.1 to 0.8.0 (#2884)
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.7.1 to 0.8.0.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](https://github.com/aquasecurity/trivy-action/compare/0.7.1...0.8.0)

---
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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-08 15:28:20 +04:00
Jochen Schalanda
c86a429a17
[e2e] Fix NPE with Qase if the token is unavailable (#2896)
* Fix NullPointerException in QaseExtension if token is unavailable

The `QaseExtension` JUnit extension fails with a `NullPointerException` if `QASE_API_TOKEN` is unset.

Ideally, the extension would skip execution if the token was unavailable instead of failing.

* Emit warning if Qase is disabled locally
2022-11-08 15:27:09 +04:00
dependabot[bot]
f113a9b078
Bump maven-clean-plugin from 3.1.0 to 3.2.0 (#2902)
Bumps [maven-clean-plugin](https://github.com/apache/maven-clean-plugin) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/apache/maven-clean-plugin/releases)
- [Commits](https://github.com/apache/maven-clean-plugin/compare/maven-clean-plugin-3.1.0...maven-clean-plugin-3.2.0)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-clean-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-08 15:13:57 +04:00
Winnie Chiu
8011f60ccf
[Docs] Fix misplaced setting in compose files (#2886)
(cherry picked from commit de5b34a5c1c7ce6c727d980f7dba950ddbd528b4)
2022-11-07 19:54:11 +04:00
Hrant Abrahamyan
61ac1d921a
[UI] Do not cache serdes endpoint results on frontend (#2814)
* Do not cache serdes endpoint results on frontend

* fixed refetch bug
2022-11-07 19:45:22 +04:00
kristi-dev
fdf82986dc
Message fields previews (#2756)
* #2544 message fields preview

* #2544 add test coverage

* #2544 add tests to message table

* #2544 code review fix and validation message

* #2544 fix bug with validation and add edit values

* #2544 improve test coverage

* #2544 fix code review comments

* #2544 fix build fails

Co-authored-by: Kris-K-Dev <92114648+Kris-K-Dev@users.noreply.github.com>
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
2022-11-07 19:34:33 +04:00
Jochen Schalanda
d6571ec7ae
CI: Scan Java source files with CodeQL (#2898)
* Scan Java code with CodeQL

* REMOVE ME: Trigger workflow run
2022-11-07 19:16:26 +04:00
Jochen Schalanda
7944608218
CI: Fix GitHub Actions warnings for ::set-output (#2897)
> The `set-output` command is deprecated and will be disabled soon.
> Please upgrade to using Environment Files.
> For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
2022-11-07 19:08:17 +04:00
Mgrdich
b0782da7d1
[FE] Add a space to formatted sizes (#2848)
* Add space to formatted sizes + modification in the test components

* Bytes-format component to be treated as a single word

* fix TopicTests()

* Merge branch 'master' into issues/2676

Co-authored-by: Vlad Senyuta <66071557+VladSenyuta@users.noreply.github.com>
Co-authored-by: VladSenyuta <vlad.senyuta@gmail.com>
2022-11-07 17:01:57 +04:00
Vlad Senyuta
1b1caddd31
[e2e] fix TopicTest hardcode (#2894) 2022-11-07 15:41:04 +04:00
Hrant Abrahamyan
20543fc2f3
Topic analysis visual improvements (#2691)
Co-authored-by: Oleg Shur <workshur@gmail.com>
2022-11-07 15:23:40 +04:00
Jochen Schalanda
5b3478fdc3
Bump Maven to version 3.8.6 and reduce noise (#2882)
* Bump Maven wrapper to Maven 3.8.6

Using the official [Maven Wrapper](https://maven.apache.org/wrapper/) which was forked from the 3rd party Maven Wrapper plugin.

* Use Maven wrapper in GitHub workflows

* Reduce Maven-related noise in build jobs

```
-B,--batch-mode                        Run in non-interactive (batch)
                                        mode (disables output color)
-ntp,--no-transfer-progress            Do not display transfer progress
```
2022-11-07 15:18:50 +04:00
Jochen Schalanda
3277186fc0
Add support for multiple Protobuf files (#2874)
* Add support for multiple Protobuf files

* Ensure `protobufFiles` list is not empty

* Address review comments
2022-11-07 15:15:40 +04:00
David
b46ee9c5cc
Broker configs: Display a tooltip about the source of the property (#2775)
* Broker configs: Display a tooltip about the source of the property #2679

* changed tooltip library to @tippyjs/react

* updated styled component import as S

* created separate object in root for theme

* moved tooltip component to Common

* Renamed TooltipComponent to Tooltip

* changed Configs Source Tooltip

* add pnpm lock version

* add @floating-ui/react-dom-interaction ti implement the tooltip , initial

* finalize the tooltip component and add test tio the component

* remove tippy library

* Styling modification in the Tooltip , in the Source pages

Co-authored-by: davitbejanyan <dbejanyan@provectus.com>
Co-authored-by: Mgrdich <mgotm13@gmail.com>
2022-11-07 15:07:24 +04:00
Jochen Schalanda
62f35e3e29
Upgrade to Java 17 (Azul Zulu) (#2879)
* Feature: Upgrade to Java 17 (Azul Zulu)

Java/OpenJDK 13 has reached end of life (and end of security support)
more than 2.5 years ago: https://endoflife.date/java

This change set updates the build, CI pipeline, and Docker image of Kafka UI to Java 17 (LTS).

* Add back maven-compile-plugin to kafka-ui-e2e-checks
2022-11-07 14:57:59 +04:00
Arthur
70cdeea819
[e2e] Checking Topic creation possibility in case of empty Topic Name (#2888)
* [e2e] Checking Topic creation possibility in case of empty Topic Name

* [e2e] Fix1. createTopicButtonIsEnabled() changed to isCreateTopicButtonEnabled()
2022-11-07 12:39:16 +02:00
Narekmat
0818bb0144
[helm] Fix version and the workflow (#2880) 2022-11-04 23:11:08 +04:00
Arthur
b1891c021b
[e2e] review tests to use more object details while creating and updating #2699 (#2864)
* [e2e] review tests to use more object details while creating and updating#2699

* [e2e] review tests to use more object details while creating and updating#2699

* [e2e] review tests to use more object details while creating and updating#2699

* [e2e] review tests to use more object details while creating and updating#2699

* [e2e] review tests to use more object details while creating and updating#2699

* [e2e]Fix review tests to use more object details while creating and updating#2699

* [e2e]Fix2 review tests to use more object details while creating and updating#2699

* [e2e]Fix3 review tests to use more object details while creating and updating#2699

* [e2e]Fix3 review tests to use more object details while creating and updating#2699

* [e2e]Fix3 review tests to use more object details while creating and updating#2699

* [e2e]Fix3 review tests to use more object details while creating and updating#2699

* [e2e]Fix3 review tests to use more object details while creating and updating#2699

* [e2e]Fix without loadingSpinner.

* [e2e]Fix without loadingSpinner.

* [e2e]Fix without configTab.

* fix KafkaConnectList()

* [e2e]Fix with refresh.

* fix ConnectorsTests()

Co-authored-by: VladSenyuta <vlad.senyuta@gmail.com>
2022-11-04 14:03:33 +02:00
Sherif Ayad
c4bbbbe3da
[Helm] Added annotations for the deployment (#2749)
Signed-off-by: Sherif Ayad <sherif.k.ayad@gmail.com>

Signed-off-by: Sherif Ayad <sherif.k.ayad@gmail.com>
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
2022-11-03 21:16:04 +04:00
Bob Du
5d80b38371
[helm] fix default ingress path value (#2673)
* fix: helm value default ingress path

Signed-off-by: BobDu <i@bobdu.cc>

* Update Chart.yaml

Signed-off-by: BobDu <i@bobdu.cc>
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
2022-11-03 21:12:59 +04:00
Roman Zabaluev
337f6f165e
Add editorconfig (#2861) 2022-11-02 19:26:56 +04:00
Alexandr Nezboretskiy
ee920b43c4
Issue/refactoring of smoke test (#2851)
* Deleted methods like screenShooter from BaseTest

* Added TopPanel object class in Facade

* Added List of SideMenuOptions

* Deleted Screenshooter.java

* Deleted NoReferenceScreenshotFoundException.java

* Add methods in TopPanel

* Refactored SmokeTests class

* Refactored SmokeTests class

* Refactored SmokeTests class

* Resolve conversation

* Reformat discordBtn locator

Co-authored-by: Vlad Senyuta <66071557+VladSenyuta@users.noreply.github.com>
2022-11-01 15:10:16 +02:00
Mgrdich
cd2d8b026f
[FE] Full width table display in KSQL_DB page (#2849) 2022-11-01 16:20:43 +04:00
Anton Mnykh
77f789fa6c
[e2e] TopicTests.redirectToConsumerFromTopicProfile : Redirect to consumer from topic profile (#2823)
* redirectToConsumerFromTopic init test created

* test execution clarification

* fix

* test brushing up

* test brushing up

* test brushing up

* test brushing up

* test brushing up

* test brushing up
2022-11-01 11:27:04 +02:00