Commit graph

1486 commits

Author SHA1 Message Date
Oleg Shur
b6834c81bb
Use Node v16.15.0 (#1958) 2022-05-12 13:08:51 +03:00
Oleg Shur
eb47ec012d
Upgrade to React 18 (#1955)
* Upgrade deps

* migration

* Fix specs

* exclude index.tsx from sonar metrics

* Update deps
2022-05-12 01:03:08 +03:00
dependabot[bot]
1e3561ea28
Bump actions/checkout from 2 to 3 (#1706)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-12 01:05:30 +04:00
Oleg Shur
19c8fe8693
Romove enzyme. Cleanup warnings (#1950)
* remove enzyme from dependencies

* Fix warnings

* cleanup code smels

* Rollback contract change
2022-05-11 16:54:11 +03:00
Smbat Siradeghyan
ee102aa87e
In Sync Replicas metric displays correct information (#1920)
Co-authored-by: Smbat Siradeghyan
Co-authored-by: Oleg Shur <workshur@gmail.com>
2022-05-11 11:37:07 +03:00
Mgrdich
e597f14b8d
Issues/215 topics page tests (#1948)
* Add Tests to Topics Lists Page for TopicsTableCells

* Delete obsolete ListItems and its test suites from topics.

* Add tests suites for the new Topic creation

* Add tests suites for TopicForm styled components

* Minor code modifications in the CustomParamField test file

* Minor code modifications in the CustomParams test file

* Minor code modifications in the Topic folder

* Add test suites for Topic Edit Page + minor modifications in the DangerZone test suite

* Add tests suites for Topic Edit page

* Add tests suites for Topic Edit page

* Add tests suites for Topic Edit page

* Add tests suites for DangerZone and validation

* Add tests suites for DangerZone

* Add tests suites for DangerZone

* Add tests suites to SendMessage

* increase the tests coverage for validateMessage

* minor changes in the SendMessage and validateMessage function

* add alert message suggestion in the SendMessage

* add alert message suggestion in the SendMessage

* Total Coverage of Overview test suites

* increase tests suite coverage in the Filters styles

* increase tests suite coverage in the Filters styles + Messages Page

* improve the test coverage of the Message Component

* improve the test coverage of the Message Component

* improve the test coverage of the MessagesTable Component

* improve the test coverage of the MessagesTable Component

* improve the test coverage of the MessagesTable Component

* Add Tests for Topic Page

* Change to react testing library from enzyme Topics list

* optimizing List elements Tests suites

* delete necessary file

* minor bug fix in messages due to the rebase

* minor semantic changes in the Test suites
2022-05-11 12:27:22 +04:00
Oleg Shur
a94697c6af
replace enzyme with testing library (#1909)
* Removed two enzyme test with testing-library tests

* Got rid of enzyme and wrapper in List.spec.tsx

* Got rid of enzyme and wrapper in ListItem.spec.tsx

* Got rid of enzyme and wrapper in BytesFormatted.spec.tsx

* Got rid of enzyme and wrapper in ConfirmationModal.spec.tsx

* Got rid of enzyme and wrapper in Tabs.spec.tsx

* Got rid of enzyme and wrapper in Actions.spec.tsx

* Got rid of enzyme and wrapper in ListItem.spec.tsx

* Got rid of enzyme and wrapper in FiltersContainer.spec.tsx

* Got rid of enzyme and wrapper in ListItem.spec.tsx

* Got rid of Enzyme in a two more files

* Got rid of Enzyme in testHelpers.tsx

* Got rid of snapshots

* Three wrappers replaced with render from testHelpers

* Testing id replaced

* Fixed linter warnings

* Got rid of testIds

* Got rid of unnecessary containers and ...queryBy functions

* Got rid of dublicated ...getByRole functions

* Got rid of dublicated more than two times ...getByText functions

* Got rid of unused imports

* Got rid of unused import

* Desciptions fixed

* Got rid of providers

* Got rid of unused imports

* package-lock.json reverted

* Refactor Actions component specs

* Get rid of TestRouterWrapper

* Refactor specs

* Refactor specs

* linting

Co-authored-by: k.morozov <k.morozov@ffin.ru>
Co-authored-by: lazzy-panda <grifx.design@gmail.com>
2022-05-11 01:36:25 +03:00
dependabot[bot]
34db4ccab6
Bump actions/cache from 2 to 3.0.1 (#1795)
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3.0.1.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v2...v3.0.1)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-10 16:50:40 +04:00
dependabot[bot]
6022eb3e86
Bump maven-surefire-plugin from 2.22.0 to 2.22.2 (#1940)
Bumps [maven-surefire-plugin](https://github.com/apache/maven-surefire) from 2.22.0 to 2.22.2.
- [Release notes](https://github.com/apache/maven-surefire/releases)
- [Commits](https://github.com/apache/maven-surefire/compare/surefire-2.22.0...surefire-2.22.2)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-10 16:19:20 +04:00
dependabot[bot]
1f4e20ca50
Bump aquasecurity/trivy-action from 0.2.3 to 0.3.0 (#1941)
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.2.3 to 0.3.0.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](https://github.com/aquasecurity/trivy-action/compare/0.2.3...0.3.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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-10 16:03:13 +04:00
dependabot[bot]
5371348a33
Bump frontend-maven-plugin from 1.12.0 to 1.12.1 (#1804)
Bumps [frontend-maven-plugin](https://github.com/eirslett/frontend-maven-plugin) from 1.12.0 to 1.12.1.
- [Release notes](https://github.com/eirslett/frontend-maven-plugin/releases)
- [Changelog](https://github.com/eirslett/frontend-maven-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eirslett/frontend-maven-plugin/compare/frontend-plugins-1.12.0...frontend-plugins-1.12.1)

---
updated-dependencies:
- dependency-name: com.github.eirslett:frontend-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-10 14:29:08 +03:00
dependabot[bot]
8013f19c88
Bump spring-boot.version from 2.6.3 to 2.6.7 (#1926)
Bumps `spring-boot.version` from 2.6.3 to 2.6.7.

Updates `spring-boot-starter-webflux` from 2.6.3 to 2.6.7
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v2.6.3...v2.6.7)

Updates `spring-boot-starter-validation` from 2.6.3 to 2.6.7
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v2.6.3...v2.6.7)

Updates `spring-boot-dependencies` from 2.6.3 to 2.6.7
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v2.6.3...v2.6.7)

Updates `spring-boot-maven-plugin` from 2.6.3 to 2.6.7
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v2.6.3...v2.6.7)

---
updated-dependencies:
- dependency-name: org.springframework.boot:spring-boot-starter-webflux
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.springframework.boot:spring-boot-starter-validation
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.springframework.boot:spring-boot-dependencies
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.springframework.boot:spring-boot-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-10 14:59:55 +04:00
dependabot[bot]
5d706eaf59
Bump async from 2.6.3 to 2.6.4 in /kafka-ui-react-app (#1937)
Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md)
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4)

---
updated-dependencies:
- dependency-name: async
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-09 18:20:37 +04:00
dependabot[bot]
e72fbfa78b
Bump ejs from 3.1.6 to 3.1.7 in /kafka-ui-react-app (#1927)
Bumps [ejs](https://github.com/mde/ejs) from 3.1.6 to 3.1.7.
- [Release notes](https://github.com/mde/ejs/releases)
- [Changelog](https://github.com/mde/ejs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mde/ejs/compare/v3.1.6...v3.1.7)

---
updated-dependencies:
- dependency-name: ejs
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-09 17:51:54 +04:00
Marat Gumarov
eb32b2eb2b
Configure jacoco reports to sonar (#1925)
* issues/1537. Added jacoco reports to sonar

* issues/1537. fixed sonar property

* issues/1537. fixed jacoco.xml path
2022-05-06 10:03:09 +03:00
Camal Cakar
068b1cbf62
Upgrade aws-msk-iam dependency (#1924)
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
2022-05-05 05:56:15 +04:00
LEE SUJIN
af7b27bcf8
Add actuator/health endpoints into auth whitelist (#1913)
Co-authored-by: sjlee <sjlee@mustit.co.kr>
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
2022-05-05 01:19:00 +03:00
Marat Gumarov
51438d4d53
issues/1402. Fixed error message on incompatible schema (#1919)
* issues/1402. Fixed error message on incompatible schema
* issues/1402. Fix checkstyle
2022-05-04 14:55:07 +03:00
Arsen Simonyan
5358461040 modify dependencies to fix partitions filter bug (#1901) 2022-05-04 10:47:51 +04:00
Arsen Simonyan
b511b8cdda display a human-readable error message for topic custom parameers value field (#1896) 2022-05-04 10:47:51 +04:00
Arsen Simonyan
b160b504f9 Show confirmation modal when clear messages is clicked in topics list (#1899)
* show confirmation modal when clear messages is clicked in topics list

* change variable name

* add missing dependencies

* use useModal hook for topics list modals
2022-05-04 10:47:51 +04:00
Arsen Simonyan
2b5917dd54 Refetch topics list to display the updated data (#1900)
* refetch topics list to display the updated data

* fixing sonar code smells (#1826)

* fixing sonar code smells

* removing unnecessary change

* fixing some sonar code smell issues

* making requested changes

* Fix sonar badges in readme (#1906)

Co-authored-by: Robert Azizbekyan <103438454+rAzizbekyan@users.noreply.github.com>
Co-authored-by: Oleg Shur <workshur@gmail.com>
2022-05-04 10:47:51 +04:00
Arsen Simonyan
45931a63ed fix seek type select border-radius and user-select (#1904) 2022-05-04 10:47:51 +04:00
Arsen Simonyan
8413998974 Persist show internal topics switch state (#1832)
* persist show internal topics switch state

* minor improvements in topics list tests

* prevent duplication in topic list test file
2022-05-04 10:47:51 +04:00
Arsen Simonyan
b296c1a803 Fix test warnings (#1908)
* fix fetch mock warnings in brokers.spec.tsx

* use separate waitFor-s for fetch-mock call expects
2022-05-04 10:47:51 +04:00
Arsen Simonyan
bd9292e8a9 Add positive notifications after some successful actions. (#1830)
* add some positive notifications after successful actions

* some improvements

* improve alerts reducer tests
2022-05-04 10:47:51 +04:00
Robert Azizbekyan
3275b3fb94 Implement code highlighting for smart filters (#1868)
* Implement code highlighting for smart filters

* delete unnecessary code

* fixing eslint problem

* fixing sonar code smells (#1826)

* fixing sonar code smells

* removing unnecessary change

* fixing some sonar code smell issues

* making requested changes

* Fix sonar badges in readme (#1906)

* fixing merge conflicts

Co-authored-by: Oleg Shur <workshur@gmail.com>
2022-05-04 10:47:51 +04:00
Arsen Simonyan
3d04007883 Transform redux connect reducer and actions into toolkit slice. (#1883)
* integrate redux toolkit for connects

* uncomment test case

* remove unnecessary comment

* reduce duplication
2022-05-04 10:47:51 +04:00
Arsen Simonyan
521ba0cb2f
Improve live tailing. (#1898)
* disable filter options when live tailing mode is enabled

* prevent seek direction change when stop loading is pressed on live mode

* disable submit button while tailing

* write tests for MultiSelect.styled component to achieve 100% coverage
2022-05-02 10:05:24 +04:00
Oleg Shur
247fd23bc0
Fix sonar badges in readme (#1906) 2022-04-27 15:28:35 +04:00
Robert Azizbekyan
a55068d122
fixing sonar code smells (#1826)
* fixing sonar code smells

* removing unnecessary change

* fixing some sonar code smell issues

* making requested changes
2022-04-27 14:17:10 +04:00
Arsen Simonyan
9acef94234
Improve smart filters (#1903) 2022-04-27 10:14:56 +04:00
Roman Zabaluev
112083200f
Release drafter: segregate helm charts changes 2022-04-22 18:07:01 +04:00
Arsen Simonyan
b2a04a202e
Improve tests coverage (#1864)
* improve tests coverage of topic details component

* improve tests coverage on topic details overview component
2022-04-22 18:04:09 +04:00
Kirill Morozov
deddf09ed4
Сlone topic functionality (FE) (#1825)
* Added Copy button in list of topics

* Added copy topic functionality

* Whitespaces removed

* Removed extra string wrapper

* Copy component removed, routing fixed, tests fixed

* Ternary and returning null removed

* Dublicated code refactored

* Added tests for ternary header

* Added enum for the form fields

Co-authored-by: k.morozov <k.morozov@ffin.ru>
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
2022-04-22 16:51:00 +03:00
Mgrdich
29ee6b1517
Add Debounce to the Filters search component (#1848) 2022-04-22 17:40:01 +04:00
Kirill Morozov
db217e1605
Fix topic names fitting in a table cell (#1812)
* Fixed tags width and added scroll to the table

* Dropdown position fixed

* Prop up=true moved directly to the table

* Scroll removed, table resized

* Unused divider removed

* Removed extra Divider import

Co-authored-by: k.morozov <k.morozov@ffin.ru>
2022-04-22 17:33:00 +04:00
Roman Zabaluev
8eedd17283
Update release drafter skip labels 2022-04-22 17:24:50 +04:00
Robert Azizbekyan
b0552e4a6f
fixing timestamp type for message content (#1821)
* fixing timestamp type for message content

* adding test cases to improve coverage

* fixing test cases names

* removing testId from test cases
2022-04-22 17:00:12 +04:00
Arsen Simonyan
e9260cf9cb
fix broker hosts and ports bug (#1881) 2022-04-22 13:38:17 +04:00
Arsen Simonyan
62f4778803
Fix dropdown jump effect bug on mouse over in topics list (#1875)
* fix dropdown jump effect bug on mouse over in topics list

* fix isHidden condition
2022-04-22 13:01:08 +04:00
Arsen Simonyan
4c76d07f04
remove offset input render condition in topic messages filters (#1876) 2022-04-22 12:33:03 +04:00
Arsen Simonyan
f70809128b
Fix double topic message display bug (#1870)
* fix double topic message display bug

* fix variable name
2022-04-22 12:25:23 +04:00
Arsen Simonyan
85f095657c
Fix topic custom parameter duplication overriding (#1859)
* fix topic custom parameter multiple items of the same field bug

* move condition into the updateSelectedOption function
2022-04-22 11:39:07 +04:00
Arsen Simonyan
efe135342e
fix topic messages old data persistence (#1838) 2022-04-22 11:13:01 +04:00
Arsen Simonyan
f6e98ec5f5
Fix topic messages offset filter bug (#1849)
* fix topic messages offset filter bug

* refactor function to improve readability

* fix infinite fetching bug

Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
2022-04-22 10:41:40 +04:00
Kirill Morozov
3a9e1d12f4
Auto-closing of alert message removed (#1869)
Co-authored-by: k.morozov <k.morozov@ffin.ru>
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
2022-04-22 07:58:41 +03:00
Kirill Morozov
fde88d0034
Hardcoded string with dropdown removed (#1867)
Co-authored-by: k.morozov <k.morozov@ffin.ru>
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
2022-04-22 07:50:28 +03:00
Robert Azizbekyan
2a0c8176ab
Fix KSQLDB breadcrumbs spelling (#1843)
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
2022-04-22 04:38:06 +04:00
Roman Zabaluev
4b907e1005
Fix schema name nullability on compatibility change (#1872)
* Fix schema name nullability on compatibility change

Signed-off-by: Roman Zabaluev <rzabaluev@provectus.com>

* Add nullable

Signed-off-by: Roman Zabaluev <rzabaluev@provectus.com>
2022-04-22 03:57:30 +04:00