Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Stream details page #19342

Merged
merged 19 commits into from
Jun 7, 2024
Merged

Conversation

ousmaneo
Copy link
Contributor

@ousmaneo ousmaneo commented May 14, 2024

/nocl
/jpd Graylog2/graylog-plugin-enterprise#7333

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Refactoring (non-breaking change)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.

@ousmaneo ousmaneo marked this pull request as ready for review May 24, 2024 13:47
@ousmaneo ousmaneo force-pushed the stream-datawarehouse branch 2 times, most recently from 1b0616b to bd92fec Compare May 31, 2024 09:52
@kodjo-anipah kodjo-anipah changed the base branch from cold-tier to stream_based_dwh_config June 4, 2024 09:13
@gally47 gally47 self-requested a review June 6, 2024 09:39
Copy link
Contributor

@gally47 gally47 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Looking Good, I wrote some comments below.
I will test next.

@ousmaneo ousmaneo requested a review from gally47 June 7, 2024 09:25
Copy link
Contributor

@gally47 gally47 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@ousmaneo ousmaneo merged commit f8a8a1b into stream_based_dwh_config Jun 7, 2024
6 checks passed
@ousmaneo ousmaneo deleted the stream-datawarehouse branch June 7, 2024 12:22
bernd added a commit that referenced this pull request Jun 21, 2024
#19454)

* introduced concept of stream guard to throw an exception on invalid stream deletion requests

* Implement Stream details page (#19342)

* add api to get all connected piplines for a stream id

* Add stream details page

- add Stream pipeline list

* update StreamDetailsPage

* add alignActionsLeft to Section

* add stream dataWarehouse

- update design

* fix StreamResource.java

* add Mantine Text component

* update StreamOverview

- add TitleCell
- hide description
- update styles

* Update stream details

- fix linter error

* fix linter

* fix StreamOverview test

* fix linters

* fix linter

* fix review

* fix description

* disable details button for not editable stream

---------

Co-authored-by: Maxwell Anipah <maxwell.anipah@graylog.com>
Co-authored-by: Maxwell <98284293+kodjo-anipah@users.noreply.github.com>

* move stream guard to service class and add test

* move out streamGuardException inner class

* add license header

* clean up

* remove unused import

---------

Co-authored-by: Ousmane SAMBA <ousmane@graylog.com>
Co-authored-by: Bernd Ahlers <bernd@users.noreply.github.com>
Co-authored-by: Ousmane Samba <ousmanesamba@gmail.com>
kodjo-anipah added a commit that referenced this pull request Jun 24, 2024
* introduced concept of stream guard to throw an exception on invalid stream deletion requests

* Implement Stream details page (#19342)

* add api to get all connected piplines for a stream id

* Add stream details page

- add Stream pipeline list

* update StreamDetailsPage

* add alignActionsLeft to Section

* add stream dataWarehouse

- update design

* fix StreamResource.java

* add Mantine Text component

* update StreamOverview

- add TitleCell
- hide description
- update styles

* Update stream details

- fix linter error

* fix linter

* fix StreamOverview test

* fix linters

* fix linter

* fix review

* fix description

* disable details button for not editable stream

---------

Co-authored-by: Maxwell Anipah <maxwell.anipah@graylog.com>
Co-authored-by: Maxwell <98284293+kodjo-anipah@users.noreply.github.com>

* move stream guard to service class and add test

* move out streamGuardException inner class

* add license header

* clean up

* add useSingleIndexSet hook

* add indexSetDestitation section and actions

* add bottom margin to Section

* fix linter

* remove unused import

* fix reviews

---------

Co-authored-by: Maxwell Anipah <maxwell.anipah@graylog.com>
Co-authored-by: Maxwell <98284293+kodjo-anipah@users.noreply.github.com>
Co-authored-by: Bernd Ahlers <bernd@users.noreply.github.com>
Co-authored-by: Mohamed OULD HOCINE <106236152+gally47@users.noreply.github.com>
kodjo-anipah added a commit that referenced this pull request Jun 24, 2024
* introduced concept of stream guard to throw an exception on invalid stream deletion requests

* Implement Stream details page (#19342)

* add api to get all connected piplines for a stream id

* Add stream details page

- add Stream pipeline list

* update StreamDetailsPage

* add alignActionsLeft to Section

* add stream dataWarehouse

- update design

* fix StreamResource.java

* add Mantine Text component

* update StreamOverview

- add TitleCell
- hide description
- update styles

* Update stream details

- fix linter error

* fix linter

* fix StreamOverview test

* fix linters

* fix linter

* fix review

* fix description

* disable details button for not editable stream

---------

Co-authored-by: Maxwell Anipah <maxwell.anipah@graylog.com>
Co-authored-by: Maxwell <98284293+kodjo-anipah@users.noreply.github.com>

* move stream guard to service class and add test

* add stream pipeline connection

* add changelog

* update changelog type

* move changelog to right folder

* move out streamGuardException inner class

* add license header

* add initial value for pipelines

* invalid pipeline query after save

* fix review

* make sure current pipeline is set

* sort connected pipeline

* revert merge errror

---------

Co-authored-by: Maxwell Anipah <maxwell.anipah@graylog.com>
Co-authored-by: Maxwell <98284293+kodjo-anipah@users.noreply.github.com>
Co-authored-by: Bernd Ahlers <bernd@users.noreply.github.com>
Co-authored-by: Mohamed OULD HOCINE <106236152+gally47@users.noreply.github.com>
bernd added a commit that referenced this pull request Jun 26, 2024
* Add data warehouse metrics mappings to the  default Prometheus exporter
* Introduced the concept of stream guard to throw an exception on invalid stream deletion requests (#19454)
* Implement Stream details page (#19342)
* Add API to get all connected pipelines for a stream ID
* Add StreamService#loadStreamTitles
* Add PluginModule#addStreamDeletion guard method

Co-authored-by: Maxwell Anipah <maxwell.anipah@graylog.com>
Co-authored-by: Maxwell <98284293+kodjo-anipah@users.noreply.github.com>
Co-authored-by: Ousmane SAMBA <ousmane@graylog.com>
Co-authored-by: Mohamed OULD HOCINE <106236152+gally47@users.noreply.github.com>
Co-authored-by: Bernd Ahlers <bernd@users.noreply.github.com>
ousmaneo added a commit that referenced this pull request Jun 26, 2024
* add api to get all connected piplines for a stream id

* Add stream details page

- add Stream pipeline list

* update StreamDetailsPage

* add alignActionsLeft to Section

* add stream dataWarehouse

- update design

* fix StreamResource.java

* add Mantine Text component

* update StreamOverview

- add TitleCell
- hide description
- update styles

* Update stream details

- fix linter error

* fix linter

* fix StreamOverview test

* fix linters

* fix linter

* fix review

* fix description

* disable details button for not editable stream

---------

Co-authored-by: Maxwell Anipah <maxwell.anipah@graylog.com>
Co-authored-by: Maxwell <98284293+kodjo-anipah@users.noreply.github.com>
ousmaneo added a commit that referenced this pull request Jun 26, 2024
#19454)

* introduced concept of stream guard to throw an exception on invalid stream deletion requests

* Implement Stream details page (#19342)

* add api to get all connected piplines for a stream id

* Add stream details page

- add Stream pipeline list

* update StreamDetailsPage

* add alignActionsLeft to Section

* add stream dataWarehouse

- update design

* fix StreamResource.java

* add Mantine Text component

* update StreamOverview

- add TitleCell
- hide description
- update styles

* Update stream details

- fix linter error

* fix linter

* fix StreamOverview test

* fix linters

* fix linter

* fix review

* fix description

* disable details button for not editable stream

---------

Co-authored-by: Maxwell Anipah <maxwell.anipah@graylog.com>
Co-authored-by: Maxwell <98284293+kodjo-anipah@users.noreply.github.com>

* move stream guard to service class and add test

* move out streamGuardException inner class

* add license header

* clean up

* remove unused import

---------

Co-authored-by: Ousmane SAMBA <ousmane@graylog.com>
Co-authored-by: Bernd Ahlers <bernd@users.noreply.github.com>
Co-authored-by: Ousmane Samba <ousmanesamba@gmail.com>
ousmaneo added a commit that referenced this pull request Jun 26, 2024
* introduced concept of stream guard to throw an exception on invalid stream deletion requests

* Implement Stream details page (#19342)

* add api to get all connected piplines for a stream id

* Add stream details page

- add Stream pipeline list

* update StreamDetailsPage

* add alignActionsLeft to Section

* add stream dataWarehouse

- update design

* fix StreamResource.java

* add Mantine Text component

* update StreamOverview

- add TitleCell
- hide description
- update styles

* Update stream details

- fix linter error

* fix linter

* fix StreamOverview test

* fix linters

* fix linter

* fix review

* fix description

* disable details button for not editable stream

---------

Co-authored-by: Maxwell Anipah <maxwell.anipah@graylog.com>
Co-authored-by: Maxwell <98284293+kodjo-anipah@users.noreply.github.com>

* move stream guard to service class and add test

* move out streamGuardException inner class

* add license header

* clean up

* add useSingleIndexSet hook

* add indexSetDestitation section and actions

* add bottom margin to Section

* fix linter

* remove unused import

* fix reviews

---------

Co-authored-by: Maxwell Anipah <maxwell.anipah@graylog.com>
Co-authored-by: Maxwell <98284293+kodjo-anipah@users.noreply.github.com>
Co-authored-by: Bernd Ahlers <bernd@users.noreply.github.com>
Co-authored-by: Mohamed OULD HOCINE <106236152+gally47@users.noreply.github.com>
ousmaneo added a commit that referenced this pull request Jun 26, 2024
* introduced concept of stream guard to throw an exception on invalid stream deletion requests

* Implement Stream details page (#19342)

* add api to get all connected piplines for a stream id

* Add stream details page

- add Stream pipeline list

* update StreamDetailsPage

* add alignActionsLeft to Section

* add stream dataWarehouse

- update design

* fix StreamResource.java

* add Mantine Text component

* update StreamOverview

- add TitleCell
- hide description
- update styles

* Update stream details

- fix linter error

* fix linter

* fix StreamOverview test

* fix linters

* fix linter

* fix review

* fix description

* disable details button for not editable stream

---------

Co-authored-by: Maxwell Anipah <maxwell.anipah@graylog.com>
Co-authored-by: Maxwell <98284293+kodjo-anipah@users.noreply.github.com>

* move stream guard to service class and add test

* add stream pipeline connection

* add changelog

* update changelog type

* move changelog to right folder

* move out streamGuardException inner class

* add license header

* add initial value for pipelines

* invalid pipeline query after save

* fix review

* make sure current pipeline is set

* sort connected pipeline

* revert merge errror

---------

Co-authored-by: Maxwell Anipah <maxwell.anipah@graylog.com>
Co-authored-by: Maxwell <98284293+kodjo-anipah@users.noreply.github.com>
Co-authored-by: Bernd Ahlers <bernd@users.noreply.github.com>
Co-authored-by: Mohamed OULD HOCINE <106236152+gally47@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants