-
Notifications
You must be signed in to change notification settings - Fork 51
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
Add getClusterName endpoint, add currentStreams DTO for reloadLocalSchema #346
Conversation
a55646c
to
6411cc5
Compare
@Miles-Garnsey Note the test failures here should only be for DSE 6.8 with a UBI based image. The reason is the UBI Dockerfile for DSE 6.8 actually pulls from the DSE 6.8 Ubuntu based image. Because this PR adds a new endpoint and a test for it, the UBI tests fail since the Ubuntu based images haven't been published yet (this PR hasn't been merged or released which would publish the image), so the image that the UBI image is based on is the most recently released Ubuntu image, that doesn't have the endpoint yet. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One or two issues, and a few questions. If I'm reading this right you're adding getClusterName and adding a streamingInfo
model class which gets returned from reloadLocalSchema
?
management-api-server/src/main/java/com/datastax/mgmtapi/resources/MetadataResources.java
Outdated
Show resolved
Hide resolved
management-api-server/src/main/java/com/datastax/mgmtapi/resources/models/BaseEntity.java
Show resolved
Hide resolved
management-api-server/src/main/java/com/datastax/mgmtapi/resources/models/EndpointStates.java
Show resolved
Hide resolved
management-api-server/src/main/java/com/datastax/mgmtapi/resources/models/BaseEntity.java
Show resolved
Hide resolved
management-api-server/src/test/java/com/datastax/mgmtapi/MetadataResourcesTest.java
Outdated
Show resolved
Hide resolved
management-api-server/src/main/java/com/datastax/mgmtapi/resources/MetadataResources.java
Outdated
Show resolved
Hide resolved
management-api-server/src/main/java/com/datastax/mgmtapi/resources/NodeOpsResources.java
Show resolved
Hide resolved
Yes, adding getClusterName and a DTO for streaming info. However, the DTO is only returned from |
- address review comments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All feedback addressed, still one failing UBI test but this can be resolved prior to merge to master.
Approving merge to the integration branch now.
…hema (#346) * Add currentStreams DTO * add cluster name into endpoints response
…hema (#346) * Add currentStreams DTO * add cluster name into endpoints response
…hema (#346) * Add currentStreams DTO * add cluster name into endpoints response
…hema (#346) * Add currentStreams DTO * add cluster name into endpoints response
Fixes #345