Commit graph

54 commits

Author SHA1 Message Date
Alexander Krivonosov
caec4eb170
Schema registry views (#317)
* Add schema type select to the form

* Implement adding new version of a schema

* Fix some issues & Increase test coverage

* Add more tests

* Add compatibility level update

* Abstract updating schema into a separate thunk & test it

* Remove warnings and skipped test

* Update failed tests

* Update failing tests

* Update markup

* Make the JSONEditor a part of the form

* Fix linting problem

* Fix errors
2021-04-22 16:26:02 +03:00
Azat Mutigullin
083e3f7de0
Improve eslint configuration (#385)
Co-authored-by: Oleg Shuralev <workshur@gmail.com>
2021-04-22 14:50:06 +03:00
TEDMykhailo
c86c955ace
[issues-211] - Clearing up messages from a topic (#378)
Co-authored-by: mbovtryuk <mbovtryuk@provectus.com>
2021-04-22 14:28:35 +03:00
Oleg Shur
ab57772329
[Chore] Connect. Connectors page (#382) 2021-04-19 23:40:18 +03:00
Alexander Krivonosov
3945845c37
Implement deleting schemas (#366) 2021-04-13 13:30:43 +03:00
Oleg Shur
9d75dbdacd
Kafka Connect. Initial setup (#362)
* Refactor Nav. Use feature flags. Connect

* Refactor Alerts

* Kafka Connect initial setup
2021-04-07 23:50:17 +03:00
Oleg Shur
46cec171e3
[CHORE] Alerts (#240) 2021-04-03 20:34:21 +03:00
TEDMykhailo
aedf3c6536
[issues-252][bug] - Topic settings form is broken (#332)
add topicName in updateTopic function

Co-authored-by: mbovtryuk <mbovtryuk@provectus.com>
2021-03-31 12:01:43 +03:00
iliax
8d2f929a52
ISSUE-309: Topic create & update models split (#312)
* ISSUE-309: Topic create & update models split
2021-03-25 11:24:51 +03:00
Oleg Shur
a256709580
[CHORE] Cleanup Sonar dups (#307) 2021-03-24 16:51:40 +03:00
Oleg Shur
7672f5e4cd
[CHORE] Cleanup based on SonarCloud report (#306)
* [CHORE] FIx security risk. Use FonAwesome package

* [CHORE] Cleanup

* [CHORE] Remove unused file
2021-03-24 13:24:10 +03:00
Oleg Shur
398a5be1c9
#300 Refactor Topic Message pages (#302)
* [CHORE] Update deps. Remove unused

* [CHORE] Cleanup thunk specs.

* [CHORE] Add react-outside-click hook

* [CHORE] Adds Dropdown component

* [CHORE] Adds Dynamic Text Button component

* [CHORE] Refactor useDataSaver hook

* [CHORE] Cleanup

* Refactor topic messages view

* Refactor topic messages view

* Update actions
2021-03-24 11:29:42 +03:00
Alexander Krivonosov
595707edb6
#224 Deleting topics (#271)
* Implement topic deletion

* Test
2021-03-23 11:34:16 +03:00
Oleg Shur
a826ca94cf
[CHORE] Update dependencies (#258) 2021-03-17 14:08:59 +03:00
Oleg Shur
49a7564366
#188 Pagination. Refactor topic reducer (#255) 2021-03-17 12:55:17 +03:00
Oleg Shur
bbdd60b7a5
Topics page refactoring (#251)
* Split thunks on files. Refactoring

* [CHORE] Refactor Topics section
2021-03-16 15:13:21 +03:00
Ramazan Yapparov
a8ed4ff37f
#188 added pagination for get topics api (#249)
* added pagination for get topics api

* frontend fix

* - fixed merge conflicts
- renamed pageSize to perPage
2021-03-15 21:37:36 +03:00
German Osin
909e196011
Feature refactoring, structure simplifying (#250) 2021-03-15 17:41:25 +03:00
Oleg Shur
1769a7a0fc
[CHORE] Schema Registry UI Improvements. Cleanup (#237)
* createSchema thunk throws an error for unsuccesfull response

* refactor PageLoader common component

* fix error on details page of schema reg section load

* refactor index page for schema reg

* refactoring

* Add cluster wrapper + cleanup
2021-03-11 15:22:03 +03:00
Alexander Krivonosov
1188ce9bc2
#219 ReadOnly flag (#231)
* Implement read-only flag logic

* Test new functionality
2021-03-11 12:00:46 +03:00
Ildar Almakaev
e02dd84491
#200 Update schema subject object (#229)
* Return id, version, schema, and subject after creating a new schema

* Throw 422 error code if incoming new schema is unprocessable entity due to invalid fields

* Return 409/Conflict error code if schema is duplicate. Change endpoint of createNewSchema method

* Fix submitting new subject or new version if the subject already exists

* Include schema type to schema objects. By default it's AVRO

* [ISSUE-200] Update FE to support new version of api

* Add one more schema-registry with version 5.5.0 to docker-compose files and app properties

* Upgrade Confluent service versions in tests up to 5.5.0

* Set schemaType is required and ignore when submitting to Schema Registry if it's NULL

Co-authored-by: Oleg Shuralev <workshur@gmail.com>
2021-03-10 15:14:15 +03:00
Oleg Shur
36a5bbf9b1
[CHORE] Add openapi-generator-cli to generate sources on FE side (#221)
* [CHORE] Add openapi generator to react app

* [CHORE] Use consistent config for gens in mvn & react app

* [CHORE] Update enums to follow new format

* [CHORE] Fix linter issue
2021-03-03 20:56:28 +03:00
Azat Mutigullin
715b0da3f8 Use getType in reducers 2021-02-28 22:41:19 +03:00
Guzel738
44cf449a8f
Create Schema Registry form (#209)
* First commit

* Create Schema Form. Refactoring

* Specs for Create Schema Registry form created

* Update thunks.spec.ts

* Update actions.spec.ts

Co-authored-by: Oleg Shuralev <workshur@gmail.com>
2021-02-28 22:39:09 +03:00
Oleg Shur
3bc9447cc7
Schema Registry Views (#195)
* Schema Registry index page https://github.com/provectus/kafka-ui/pull/183

* Schema Registry show page https://github.com/provectus/kafka-ui/pull/196

* Specs https://github.com/provectus/kafka-ui/pull/208

* New JsonViewer common component
2021-02-24 15:05:05 +03:00
Oleg Shur
8f63cf775e
[CHORE] Specs. Improvements (#202)
* [CHORE] Improve types

* [CHORE] Example of actions & thunks specs

* [CHORE] Example of reducer & selectors specs

* [CHORE] Update dependencies
2021-02-20 00:10:50 +03:00
Oleg Shur
ddc784559d
Get rid of redundant enums (#186)
* [CHORE] Get rid of redundant ActionType enum

* [CHORE] Get rid of redundant FetchStatus enum

* [CHORE] Get rid of redundant CustomParamButtonType enum
2021-02-11 16:29:18 +03:00
Guzel738
10a27ba60e
Messages component refactoring (#174)
* ISSUE-169 Sort topics (#172)

* Messages Table component created

* Messages component refactored

* MessageItem component fixed

* MessageItem component updated

* MessageItem component refactored

Co-authored-by: German Osin <german.osin@gmail.com>
Co-authored-by: Oleg Shuralev <workshur@gmail.com>
2021-02-05 16:53:41 +03:00
Guzel738
3c843e1266
Unexpected any types replaced (#160)
* Any types replaced

* No console rule disabled
2021-01-26 21:42:16 +03:00
soffest
fbc2ab306e
Issue#149 Fixed consumer groups pages. (#150)
* Fixed consumer groups pages.
Co-authored-by: Sofia Shnaidman <sshnaidman@provectus.com>
2020-12-25 18:27:09 +03:00
soffest
4ec0422357
Brokers, Topic details: Display disk usage. (#129)
* Display brokers disk usage.

* Fixed disk usage alignment.

* Added disk usage to topic details.

* Updated metrics wrapper props.

Co-authored-by: Sofia Shnaidman <sshnaidman@provectus.com>
2020-11-30 15:48:08 +03:00
Azat Mutigullin
ead4789cff [FE] Simplify Eslint config 2020-11-24 14:10:47 +03:00
Azat Mutigullin
effe0603d6 [FE] After merge fixes 2020-11-23 14:47:40 +03:00
Azat Mutigullin
058c156144 Merge remote-tracking branch 'origin/master' into enhancement/fix-eslint-errors
# Conflicts:
#	kafka-ui-react-app/package-lock.json
#	kafka-ui-react-app/src/components/Brokers/Brokers.tsx
#	kafka-ui-react-app/src/components/Brokers/BrokersContainer.ts
#	kafka-ui-react-app/src/components/Dashboard/ClustersWidget/ClusterWidget.tsx
#	kafka-ui-react-app/src/components/Dashboard/ClustersWidget/ClustersWidget.tsx
#	kafka-ui-react-app/src/components/Topics/Details/DetailsContainer.ts
#	kafka-ui-react-app/src/components/Topics/Details/Messages/Messages.tsx
#	kafka-ui-react-app/src/components/Topics/List/ListItem.tsx
#	kafka-ui-react-app/src/components/Topics/New/NewContainer.ts
#	kafka-ui-react-app/src/components/Topics/TopicsContainer.ts
#	kafka-ui-react-app/src/redux/actions/actions.ts
#	kafka-ui-react-app/src/redux/api/clusters.ts
#	kafka-ui-react-app/src/redux/api/consumerGroups.ts
#	kafka-ui-react-app/src/redux/api/topics.ts
#	kafka-ui-react-app/src/redux/interfaces/broker.ts
#	kafka-ui-react-app/src/redux/interfaces/topic.ts
#	kafka-ui-react-app/src/redux/reducers/clusters/selectors.ts
#	kafka-ui-react-app/src/redux/reducers/topics/reducer.ts
2020-11-23 14:39:34 +03:00
soffest
494443bb08
OpenAPI integration for kafka-ui frontend (#120)
* Added react openapi gen

* Integrated Openapi to React

Co-authored-by: German Osin <german.osin@gmail.com>
Co-authored-by: Sofia Shnaidman <sshnaidman@provectus.com>
2020-11-20 14:16:27 +03:00
Azat Mutigullin
be4b9543ce [FE] Use id field for keys 2020-11-12 18:21:21 +03:00
Azat Mutigullin
cba12d4ff4 [FE] Fix eslint errors 2020-11-11 12:36:44 +03:00
German Osin
8057dc123f
Fixed bugs (#90)
* Fixed bugs

* More fixes
2020-08-03 15:40:58 +03:00
maxim_tereshin
be2d38133d
Topic messages filtering paginating (#72)
* Add filtering and pagination for topic messages

* Add delay to search query, momoize some functions

* Add partition selection
2020-07-07 12:45:34 +03:00
maxim_tereshin
f71c601d0d
Add filtering and pagination for topic messages (#66)
* Add filtering and pagination for topic messages

* Add delay to search query, momoize some functions
2020-07-02 14:29:12 +05:00
maxim_tereshin
f974febb5f
Add topic messages UI (#61) 2020-06-16 12:46:51 +03:00
Sergey Zakirov
128c0d2e92
Topic settings editing (#55)
* Topic editing

* Remove old code

* Implement unique field name select

* Final changes to topic editing

* Cleanup eslint.json
2020-06-16 12:24:24 +03:00
soffest
0815739d79
Consumer group details view. (#18)
* Added concumer groups list with search.

* Added consumer group details view.

* Minor tweaks.

* Backend group details (#19)

* temp result commit

* consumer group details api done

* fixes

* changed calls from loop into vars, changed foreach to map

* changes

* removed redundant import

* Refactoring, fixed contract

* Fixed useless group query

* fix-consumer-groups-retaining-cluster-on-cluster-switch

Co-authored-by: Roman Nedzvetskiy <roman@Romans-MacBook-Pro.local>
Co-authored-by: German Osin <german.osin@gmail.com>
Co-authored-by: Azat Gataullin <gataniel@gmail.com>

* Add loader, fix details

* Add empty text for consumer groups

Co-authored-by: Sofia Shnaidman <sshnaidman@provectus.com>
Co-authored-by: Roman Nedzvetskiy <gmcodemail@gmail.com>
Co-authored-by: Roman Nedzvetskiy <roman@Romans-MacBook-Pro.local>
Co-authored-by: German Osin <german.osin@gmail.com>
Co-authored-by: Azat Gataullin <gataniel@gmail.com>
Co-authored-by: Maxim Tereshin <tereshin93@gmail.com>
2020-05-21 14:09:59 +03:00
Azat Gataullin
3c5b46bd76
fix-bug-topic-not-creatable-when-no-custom-params (#37)
* fix-bug-topic-not-creatable-when-no-custom-params

* remove-linter-changes-to-cleanup-PR
2020-04-28 14:18:22 +03:00
Azat Gataullin
df6884e575 issue-14/update-custom-params-key-to-work-as-object-not-array 2020-04-16 14:31:35 +03:00
Azat Gataullin
e4dbebbc20
Merge branch 'master' into feature/14-add-custom-params-for-topics-creation 2020-04-10 17:00:34 +03:00
Azat Gataullin
0e7f75bf21 feature/14-cleanup 2020-04-09 13:36:43 +03:00
Azat Gataullin
1109240169 feature/14-add-custom-params-for-topics-creation 2020-04-09 13:32:46 +03:00
soffest
c26edd1316
WIP: Consumer groups list with search. (#17)
* Added concumer groups list with search.

* added endpoint for group consumers

* removed redundand code and imports

* changed method to async mono

* method located better

* changes after review

* changed foreach to map

Co-authored-by: Sofia Shnaidman <sshnaidman@provectus.com>
Co-authored-by: Roman Nedzvetskiy <roman@Romans-MacBook-Pro.local>
2020-04-07 11:15:48 +03:00
Sofia Shnaidman
8e58a0895d Merge branch 'master' of github.com:provectus/kafka-ui into improvement/6-remove-disk-system-dashboards 2020-03-11 11:15:08 +03:00