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

Fix database sid display #1639

Merged
merged 4 commits into from
Jul 18, 2023
Merged

Fix database sid display #1639

merged 4 commits into from
Jul 18, 2023

Conversation

arbulu89
Copy link
Contributor

@arbulu89 arbulu89 commented Jul 18, 2023

Description

Fix database sid visualization in HostList view and HanaClusterDetails view.
Before this change, the database sid was only available when the SAP system was completely registered. If the database was only there, the sid was not being displayed.
This happened because the database instance list was being obtained from the SAP system list redux state instead of its own database state

image

How was this tested?

Tests updated

@arbulu89 arbulu89 added the bug Something isn't working label Jul 18, 2023
@@ -0,0 +1,116 @@
export default [
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The databases slice default state added, as this is how it is loaded in the initial fetch (and next updates)

@arbulu89 arbulu89 marked this pull request as ready for review July 18, 2023 07:57
Copy link
Contributor

@dottorblaster dottorblaster left a comment

Choose a reason for hiding this comment

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

Just a tiny nitpick

assets/js/state/selectors/cluster.js Outdated Show resolved Hide resolved
@arbulu89 arbulu89 requested a review from dottorblaster July 18, 2023 08:17
Copy link
Member

@nelsonkopliku nelsonkopliku left a comment

Choose a reason for hiding this comment

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

Cool! Nice catch!

Copy link
Contributor

@dottorblaster dottorblaster left a comment

Choose a reason for hiding this comment

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

If the CI is happy, I am

@arbulu89 arbulu89 merged commit 4309258 into main Jul 18, 2023
@arbulu89 arbulu89 deleted the fix-database-sid-display branch July 18, 2023 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging this pull request may close these issues.

4 participants