-
Notifications
You must be signed in to change notification settings - Fork 83
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
Quentingodeau feature/autoconfigure add test coverage #173
base: master
Are you sure you want to change the base?
Conversation
…ngodeau/kafka-webview into quentingodeau-feature/autoconfiguration
@@ -89,10 +90,12 @@ public String index(final Model model) { | |||
setupBreadCrumbs(model, null, null); | |||
|
|||
// Retrieve all default formats | |||
final Iterable<MessageFormat> defaultMessageFormats = messageFormatRepository.findByIsDefaultFormatOrderByNameAsc(true); | |||
final Iterable<MessageFormat> defaultMessageFormats = |
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.
TODO - write test coverage over new logic
@@ -306,7 +323,7 @@ public String deleteCluster(@PathVariable final Long id, final RedirectAttribute | |||
|
|||
// Retrieve it | |||
final Optional<MessageFormat> messageFormatOptional = messageFormatRepository.findById(id); | |||
if (!messageFormatOptional.isPresent() || messageFormatOptional.get().isDefaultFormat()) { | |||
if (!messageFormatOptional.isPresent() || !MessageFormatType.CUSTOM.equals(messageFormatOptional.get().getMessageFormatType())) { |
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.
TODO add test coverage
* Handles discovery and loading of Deserializers that implement the {@link DeserializerDiscoveryService} interface. | ||
*/ | ||
@Component | ||
public class DeserializerDiscoveryManager { |
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.
TODO add test coverage
@@ -26,6 +26,8 @@ | |||
|
|||
import javax.persistence.Column; | |||
import javax.persistence.Entity; | |||
import javax.persistence.EnumType; |
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.
TODO - Add migration script.
No description provided.