Commit graph

1647 commits

Author SHA1 Message Date
Boris Djurdjevic
b87665a12c
[KSQL] Implement mTLS configuration (#2984)
* feat(ksqldb): Add mTLS support

* doc(ksqldb): Add SSL configuration

* chore(compose): Add ksqldb0 to key material

* feat(ksqldb): Add SSL-enabled demo ksqlDB instance

Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
2022-12-07 07:38:13 +04:00
Ilya Kuramshin
43ccca43c2
Fix random topic creation fails (#3004)
ReactiveAdminClient::listOffsetsUnsafe now skipping non-initialized partitions. This prevents UnknownTopicOrPartitionException to be leaked to high-level logic levels (preventing TopicService::loadTopicAfterCreation to do retries)
2022-12-05 17:02:45 +04:00
dependabot[bot]
8717416d85
Bump dotenv-java from 2.2.4 to 2.3.1 (#3008)
Bumps [dotenv-java](https://github.com/cdimascio/dotenv-java) from 2.2.4 to 2.3.1.
- [Release notes](https://github.com/cdimascio/dotenv-java/releases)
- [Changelog](https://github.com/cdimascio/dotenv-java/blob/master/CHANGELOG.md)
- [Commits](https://github.com/cdimascio/dotenv-java/commits/v2.3.1)

---
updated-dependencies:
- dependency-name: io.github.cdimascio:dotenv-java
  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-12-02 19:44:26 +04:00
Narekmat
67e67d02d2
[Infra]: Fix terraform deploy (#2999) 2022-12-02 13:30:59 +04:00
dependabot[bot]
45f304ac9f
Bump allure-java-commons from 2.18.1 to 2.20.1 (#2912)
Bumps [allure-java-commons](https://github.com/allure-framework/allure-java) from 2.18.1 to 2.20.1.
- [Release notes](https://github.com/allure-framework/allure-java/releases)
- [Commits](https://github.com/allure-framework/allure-java/compare/2.18.1...2.20.1)

---
updated-dependencies:
- dependency-name: io.qameta.allure:allure-java-commons
  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-12-02 12:08:07 +04:00
Winnie Chiu
212479d98f
[FE] [Bug] "Select filter" button is active without selecting any saved filter (#2900)
* "Select filter" button is active without selecting any saved filter within Topic/Messages/Saved filters (#2870)

* Add minor tests

* Fix prettier

* Fix unit test

* Fix unit test
2022-12-02 11:47:32 +04:00
dependabot[bot]
4216feb8b2
Bump urlstechie/urlchecker-action from 0.0.33 to 0.0.34 (#2955)
Bumps [urlstechie/urlchecker-action](https://github.com/urlstechie/urlchecker-action) from 0.0.33 to 0.0.34.
- [Release notes](https://github.com/urlstechie/urlchecker-action/releases)
- [Commits](https://github.com/urlstechie/urlchecker-action/compare/0.0.33...0.0.34)

---
updated-dependencies:
- dependency-name: urlstechie/urlchecker-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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-12-02 11:22:13 +04:00
dependabot[bot]
6e62ee0072
Bump mockito.version from 4.8.1 to 4.9.0 (#2945)
Bumps `mockito.version` from 4.8.1 to 4.9.0.

Updates `mockito-core` from 4.8.1 to 4.9.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.8.1...v4.9.0)

Updates `mockito-junit-jupiter` from 4.8.1 to 4.9.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.8.1...v4.9.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:development
  update-type: version-update:semver-minor
- dependency-name: org.mockito:mockito-junit-jupiter
  dependency-type: direct:development
  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-12-02 11:04:42 +04:00
dependabot[bot]
ec5b59de60
Bump aspectj.version from 1.9.8 to 1.9.9.1 (#2936)
Bumps `aspectj.version` from 1.9.8 to 1.9.9.1.

Updates `aspectjrt` from 1.9.8 to 1.9.9.1
- [Release notes](https://github.com/eclipse/org.aspectj/releases)
- [Commits](https://github.com/eclipse/org.aspectj/commits)

Updates `aspectjweaver` from 1.9.8 to 1.9.9.1
- [Release notes](https://github.com/eclipse/org.aspectj/releases)
- [Commits](https://github.com/eclipse/org.aspectj/commits)

---
updated-dependencies:
- dependency-name: org.aspectj:aspectjrt
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.aspectj:aspectjweaver
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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-12-02 11:04:15 +04:00
Ilya Kuramshin
052d8af456
ISSUE-2968: Deleting a config parameter of topic doesn't take effect (#3001)
ReactiveAdminClient::incrementalAlterConfig now replaces all topic configs, not only altering changed
2022-12-01 21:09:23 +04:00
Ilya Kuramshin
c804a6d00b
Serde autoconfiguration fix (#2997)
Co-authored-by: iliax <ikuramshin@provectus.com>
2022-12-01 13:20:48 +04:00
Ilya Kuramshin
216b4acd3d
Serdes improvements and fixes (#2989)
Serdes improvements and fixes:
1. Built-in serdel's auto-configuration separated from explicit configuration (when properties set in serde configuration)
2. Serdes initialization logic extracted into SerdesInitializer.java
3. docker-compose example with serdes configuration added
4. Serialization.md document fixed
2022-11-30 18:43:48 +04:00
Ilya Kuramshin
20ecc74dd9
Data masking (#2850)
Data masking:
1. properties & mapping added to ClustersProperties
2. DataMasking provides function that doing masking for specified topic & target
3. Masking policies implemented: MASK, REMOVE, REPLACE
2022-11-28 12:54:07 +04:00
Alexandr Nezboretskiy
5f232a3966
Issue/checking available operations for selected topic within 'all topics' page (#2972)
* Update TopicTests and added new methods

* Delete actionButtonsLocator

* Resolve conversation

* Refactored SoftAssertions

* Changed custom topics for default

* Changed custom topics for default

* Changed custom topics for default

Co-authored-by: Vlad Senyuta <66071557+VladSenyuta@users.noreply.github.com>
2022-11-25 17:17:16 +02:00
Hrant Abrahamyan
7fe999660c
Topic creation: lock page until creation request finished (#2815)
* Topic creation: lock page until creation request finished

* use isLoading when create topic

* used isSubmitting property

* remove connectors import
2022-11-25 18:23:30 +04:00
Ilya Kuramshin
e77b913164
Documentation for pluggable serdes (#2702)
* 1. Minor serde's code improvements
2. Javadoc added to serde-related code

* Serdes configuration docs WIP

* wip

* DeserializeResult.toString impl added

* SchemeRegistry.canDeserialize checks subject existence

* Update Serialization.md

* Update README.md

Co-authored-by: iliax <ikuramshin@provectus.com>
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
2022-11-25 14:35:06 +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
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