Commit graph

680 commits

Author SHA1 Message Date
Alexander Krivonosov
de245e8cc7
Fix redirect after the topic deletion (#842)
* Implement event canceling

* remove unnecessary API call

* Remove the codesmell
2021-09-02 11:16:24 +03:00
Alexander Krivonosov
7643825059
Clear topic messages locally 2021-08-30 12:51:07 +03:00
Alexander Krivonosov
de33c13dc8
Redirect right after a message is sent (#831) 2021-08-30 12:50:42 +03:00
Alexander Krivonosov
5302c3e47f
Fix the redirect after topic deletion (#820)
* Move redirect to a hook
2021-08-27 11:29:51 +03:00
Azat Belgibayev
76af95ed78
[Draft] Refactored topic creation form state management (#802)
* Refactor topic creation

* Remove unused thunk

* Remove excess interface

* Add New page snapshot test

* Refactor new component tests

* Remove excess function
2021-08-25 15:58:18 +03:00
Marsel
5c563de4f1
Issue#727 disable deleting (#768)
* broker config refactoring and adding broker config check before topic deletion

* add TOPIC_DELETION feature, refactor KafkaService, add class for constants (Constants.java)

* annotation fixes and change TOPIC_DELETION check

* [issue-727] Disable delete button for a topic if deletion in restricted for this broker #727

* Rewrite to context

* remove code smells

* small fixes

Co-authored-by: marselakhmetov <makhmetov@provectus.com>
Co-authored-by: mbovtryuk <mbovtryuk@provectus.com>
Co-authored-by: Alexander <mr.afigitelniychuvak@gmail.com>
2021-08-25 09:43:55 +03:00
Alexander Krivonosov
eaf77c49a2
Fix topic form (#767) 2021-08-23 08:49:15 +03:00
Azat Belgibayev
03ed67db89
Issue#207 Requests to KsqlDb from UI (#786)
* Add ksql page

* Add streams to table

Add tables and streams count

* Add query execution modal

* Add tabs tests

* Adjust SQLEditor test

* Remove unused command

* Add QueryModal tests

* Remove excess box wrapper

* Add KsqlDb component tests

* Refactor SQLEditor displayName

* Refactor setIsShown naming

* Add empty placeholder for table

* Refactor use shortcut for Dictionary interface

* Refactor raw data to object transformation

* Add KsqlDb List component tests

* Remove excess import

* Add ksqlDb reducer tests

* Add ksqlDb fetch tables error alert

* Refactor remove code smell

* Add ksqlDb actions tests

* Add KsqlDb List component test for non-empty store

* Add streamProperties JSON field

* Adjust QueryModal test to new field

* Fix query with empty streamProperties

* Refactor query to modal to page form

* Add expanding to tables and streams table

* Refactor ksql execution to redux store

* Add Query component tests

* Add Breadcrumbs component tests

* Add ksqldb reducer tests

* Add result renderer test

* Add ksqlDb thunk tests

* Resolve PR comments
2021-08-18 13:24:17 +03:00
Marsel
7f66f00008
Issue#517 connector task status bug (#747)
* kafka-ui-connectors.yaml fix

* adding tasks status check

* adding new Connector Status

* adding new Connector Status

* [issue-517] connector task status bug #747

Co-authored-by: marselakhmetov <makhmetov@provectus.com>
Co-authored-by: mbovtryuk <mbovtryuk@provectus.com>
2021-08-18 12:03:41 +03:00
Alexander Krivonosov
128c67c1cf
Resetting consumer group offsets (#774) 2021-08-16 07:39:35 +03:00
Oleg Shuralev
91e93a727e
Add specs for brokers reducer 2021-08-12 11:40:05 +03:00
Oleg Shur
5930023365
Revert "Bump react-hook-form from 7.6.9 to 7.12.2 in /kafka-ui-react-app (#760)" (#783)
This reverts commit 050bd605f3.
2021-08-10 15:14:43 +03:00
dependabot[bot]
050bd605f3
Bump react-hook-form from 7.6.9 to 7.12.2 in /kafka-ui-react-app (#760)
Bumps [react-hook-form](https://github.com/react-hook-form/react-hook-form) from 7.6.9 to 7.12.2.
- [Release notes](https://github.com/react-hook-form/react-hook-form/releases)
- [Changelog](https://github.com/react-hook-form/react-hook-form/blob/master/CHANGELOG.md)
- [Commits](https://github.com/react-hook-form/react-hook-form/compare/v7.6.9...v7.12.2)

---
updated-dependencies:
- dependency-name: react-hook-form
  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>
2021-08-10 15:07:03 +03:00
Oleg Shur
87af48d7c2
[chore] Update React-hook-form (#782) 2021-08-10 15:04:32 +03:00
dependabot[bot]
381adcf381
Bump date-fns from 2.22.1 to 2.23.0 in /kafka-ui-react-app (#758)
Bumps [date-fns](https://github.com/date-fns/date-fns) from 2.22.1 to 2.23.0.
- [Release notes](https://github.com/date-fns/date-fns/releases)
- [Changelog](https://github.com/date-fns/date-fns/blob/master/CHANGELOG.md)
- [Commits](https://github.com/date-fns/date-fns/compare/v2.22.1...v2.23.0)

---
updated-dependencies:
- dependency-name: date-fns
  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>
2021-08-10 14:32:13 +03:00
Oleg Shur
c71d642757
[CHORE] Bump dependencies (#781) 2021-08-10 14:29:02 +03:00
Ilnur Yakupov
5e94f0fadc update confirmation text 2021-08-10 09:14:31 +03:00
Ilnur Yakupov
bd7ae932e8 api requests for issues/243 and issues/244 2021-08-05 13:03:27 +03:00
Ilnur Yakupov
08a3c5e225 UI for issues/243 and issues/244 2021-08-05 12:29:48 +03:00
German Osin
18f5e1a2b2
Switched messages endpoint to provide sse with phases & consuming info (#645)
* Switched messages endpoint to provide sse with phases & consuming info

* Switched messages endpoint to provide sse with phases & consuming info

* fixed comments

* Fixed comparator

* Fixed tests

* Reduced images size

* Feature/sse for messages (#681)

* [#645] SSE. Cleanup Topic Messages

* New messages page

* Update outdated snapshots

* Specs

* Specs

* Fixed build

* Fixed possible npe in update cluster on init stage

* Provided additional information with messages #677 (to messages_sse branch) (#700)

* Provided additional information with messages #677

* Sse messages front (#725)

* SSE. Messages page

* Fix handleNextClick

* Add the page loader to the list of messages

Co-authored-by: Alexander <mr.afigitelniychuvak@gmail.com>

* Fix merge errors

* fix conflicts

Co-authored-by: Timur Davletov <tdavletov@provectus.com>
Co-authored-by: Oleg Shur <workshur@gmail.com>
Co-authored-by: Alexander <mr.afigitelniychuvak@gmail.com>
2021-08-04 16:30:00 +03:00
Victor Alfaro
51646e786a
666: Adding new endpoint with corresponding service method. Also a… (#714)
* (#666): Adding new endpoint with corresponding service method. Also adding search box to kafka connect screen with consuming logic for added endopoint.

* Applying feedback: reusing same endpoint and removing '/filtered' version
2021-08-03 16:08:55 +03:00
Alexander Krivonosov
a9d659642e
Update SendMessage.tsx (#745) 2021-07-30 14:46:45 +03:00
Ilnur Farukhshin
392abf2991 [#710] feat(react-app): call fetchTopics on toggle show internal topics 2021-07-29 16:10:38 +03:00
dependabot[bot]
2f47f8fd9d
Bump @types/lodash from 4.14.170 to 4.14.171 in /kafka-ui-react-app (#737)
Bumps [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) from 4.14.170 to 4.14.171.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lodash)

---
updated-dependencies:
- dependency-name: "@types/lodash"
  dependency-type: direct:development
  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>
2021-07-29 11:19:14 +03:00
Oleg Shur
35cbbdf8e8
[CHORE] Bump packages (#736) 2021-07-29 11:05:29 +03:00
Alexander Krivonosov
ad8598a1d2
Sending messages (#675)
* Implement message sending
2021-07-29 10:26:40 +03:00
Alexander Krivonosov
268c871312
Display cleanup policy in the topic list (#732)
* Add clean up policy to the topic overview

* Add clean up policy to the topic list
2021-07-29 10:16:10 +03:00
Alexander Krivonosov
38e1d12452
Add clean up policy to the topic overview (#718) 2021-07-26 23:13:31 +03:00
Alexander Krivonosov
8da350ea38
Allow increasing the number of partitions and updating of the replication factor (#544) 2021-07-24 18:00:29 +03:00
MBovtriukProvectus
326786e4ff
Display replication factor field in topics list #608 (#697) 2021-07-21 15:55:30 +03:00
Roman Zabaluev
443ed8bc8c
Replace favicon (#695)
* Replace favicon
* Fix pr checks job (again)
2021-07-20 18:00:46 +03:00
MBovtriukProvectus
c035f58f5a
Review all tables and unify the way of data displaying. #602 (#687) 2021-07-19 12:11:53 +03:00
Roman Zabaluev
9b6952c480
Implements #610 (#673) 2021-07-14 11:08:42 +03:00
Alexander Krivonosov
587e08ab01
Update TopicConsumerGroups.tsx (#672) 2021-07-13 18:53:05 +03:00
Alexander Krivonosov
7eaa733623
Fix consumer groups & partitions (#650) 2021-07-13 17:09:46 +03:00
Oleg Shur
bf6dd6c91b
Fix topic messages (#664) 2021-07-12 13:58:12 +03:00
German Osin
13463fe95f
Refactor consumer groups requests (#636)
* Refactor consumer groups requests

* Fixed offsets tests

* Moved state enum to separate class

* Adjust frontend for the new API

Co-authored-by: Alexander <mr.afigitelniychuvak@gmail.com>
2021-07-09 15:55:43 +03:00
Ilya Kuramshin
dd19cc2eec
Msg sending improvements (#640)
* init

* Messages sending fixes & tests

* Messages sending fixes & tests

* Messages sending json test added

* PR comments fixes

* Setting getTopicMessages & sendTopicMessage key value type to string.

* admin-client-timeout default removed

* sonar fix

* messages filtering changes to String.contains

Co-authored-by: Ilya Kuramshin <ikuramshin@provectus.com>
2021-07-09 15:53:30 +03:00
Ilnur Yakupov
63ba8890b5
remove tests for four-segment version (#648)
* remove tests for four-segment version

* avoid duplications
2021-07-08 13:51:25 +03:00
Ilnur Yakupov
e5f1e47c99
#641 Warning that app version is outdated (#642)
* Added warning that app version is outdated

* added small fixes and tests to compareVersions
2021-07-08 12:38:12 +03:00
Ilnur Yakupov
b7a1d1143d
Added number of messages and size columns to Topics List (#638) 2021-07-07 12:06:41 +03:00
dependabot[bot]
97e9db0d8c
Bump @types/react-datepicker from 3.1.8 to 4.1.1 in /kafka-ui-react-app (#615)
Bumps [@types/react-datepicker](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-datepicker) from 3.1.8 to 4.1.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-datepicker)

---
updated-dependencies:
- dependency-name: "@types/react-datepicker"
  dependency-type: direct:development
  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>
2021-07-05 13:00:14 +03:00
Oleg Shuralev
87d9f7dea6
Bump packages 2021-07-05 12:21:58 +03:00
Alexander Krivonosov
64a5985e81
Implement consumer group deleting (#600)
* Implement consumer group deleting
2021-07-02 11:05:59 +03:00
MBovtriukProvectus
aa46749778
Cover Dashboard page with tests (#527)
* Cover Dashboard page with tests

* Cover Dashboard page with tests

* Cover Dashboard page with tests

* Cover Dashboard page with tests

* Cover Dashboard page with tests

* Cover Dashboard page with tests #527

* Cover Brokers page with tests #213
2021-06-30 12:41:53 +03:00
Oleg Shur
106bd8dfbf
Bump packages (#596)
* Bump prettier from 2.3.1 to 2.3.2 in /kafka-ui-react-app (#592)

Bumps [prettier](https://github.com/prettier/prettier) from 2.3.1 to 2.3.2.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.3.1...2.3.2)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  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>

* Bump @typescript-eslint/parser in /kafka-ui-react-app (#595)

Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.27.0 to 4.28.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.28.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  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>

* Bump @typescript-eslint/eslint-plugin in /kafka-ui-react-app (#594)

Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.27.0 to 4.28.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.28.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  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>

* Bump @types/react-dom from 17.0.7 to 17.0.8 in /kafka-ui-react-app (#593)

Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) from 17.0.7 to 17.0.8.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

---
updated-dependencies:
- dependency-name: "@types/react-dom"
  dependency-type: direct:development
  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>

* Bump react-hook-form from 7.6.9 to 7.9.0 in /kafka-ui-react-app (#569)

Bumps [react-hook-form](https://github.com/react-hook-form/react-hook-form) from 7.6.9 to 7.9.0.
- [Release notes](https://github.com/react-hook-form/react-hook-form/releases)
- [Changelog](https://github.com/react-hook-form/react-hook-form/blob/master/CHANGELOG.md)
- [Commits](https://github.com/react-hook-form/react-hook-form/compare/v7.6.9...v7.9.0)

---
updated-dependencies:
- dependency-name: react-hook-form
  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>

* Bump @hookform/resolvers from 2.5.2 to 2.6.0 in /kafka-ui-react-app (#570)

Bumps [@hookform/resolvers](https://github.com/react-hook-form/resolvers) from 2.5.2 to 2.6.0.
- [Release notes](https://github.com/react-hook-form/resolvers/releases)
- [Commits](https://github.com/react-hook-form/resolvers/compare/v2.5.2...v2.6.0)

---
updated-dependencies:
- dependency-name: "@hookform/resolvers"
  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>

* Fix contract

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-28 18:43:04 +03:00
Oleg Shur
98c55180c6
Bump packages (#590) 2021-06-28 11:48:03 +03:00
Alexander Krivonosov
57a4125c71
Properly display the list of topic consumers (#585) 2021-06-28 08:54:07 +03:00
Oleg Shuralev
80581f6288
Linting 2021-06-25 15:34:23 +03:00
Alexander Krivonosov
53aec4d8c6
Reverse topic messages (#528)
* Add SeekDirection to the GET topic messages request

* Implement toggle for the direction of the messages
2021-06-25 15:21:01 +03:00