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

Quentingodeau feature/autoconfigure add test coverage #173

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

Crim
Copy link
Collaborator

@Crim Crim commented Jun 19, 2019

No description provided.

@@ -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 =
Copy link
Collaborator Author

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())) {
Copy link
Collaborator Author

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 {
Copy link
Collaborator Author

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;
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

TODO - Add migration script.

@Crim Crim mentioned this pull request Jun 23, 2019
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.

2 participants