Skip to content

Hystrix#12

Open
BogdanovPD wants to merge 2 commits into
dockerfrom
hystrix
Open

Hystrix#12
BogdanovPD wants to merge 2 commits into
dockerfrom
hystrix

Conversation

@BogdanovPD

Copy link
Copy Markdown
Owner

No description provided.

private final BookRepository bookRepository;
private final CommentRepository commentRepository;

@HystrixCommand(fallbackMethod = "voidAuthorFallback")

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Круто!

return bookRepository.findAllByNameAndAuthor_Name(name, author);
}

public List<Author> listAuthorFallback() {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Класс, bulletproof прямо :)

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