Skip to content

Added business logic and tests #6

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Added business logic and tests #6

wants to merge 1 commit into from

Conversation

vladikigs
Copy link

No description provided.

Copy link

@List2019 List2019 left a comment

Choose a reason for hiding this comment

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

Очень хорошая работа, есть правда одна мелочь, но за генерацию рандомного числа прям лайк

Comment on lines +29 to +35
@Bean
public SimpleItemService itemServiceSetter(RepositoryConfiguration repositoryConfiguration) {
SimpleItemService simpleItemService = new SimpleItemService();
simpleItemService.setItemRepository(repositoryConfiguration.getItemRepository());
simpleItemService.setItemValidator(itemValidator());
return simpleItemService;
}

Choose a reason for hiding this comment

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

В задании имелось ввиду немного другое, нужно было при помощи аннотации @Autowired внедрить зависимости

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