[
https://issues.apache.org/jira/browse/IGNITE-13169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alexey Gidaspov updated IGNITE-13169:
-------------------------------------
Release Note: Removed Ignite bean name requirement for Spring Data
Repository
> Remove Ignite bean name requirement for Spring Data Repository
> --------------------------------------------------------------
>
> Key: IGNITE-13169
> URL: https://issues.apache.org/jira/browse/IGNITE-13169
> Project: Ignite
> Issue Type: Improvement
> Components: springdata
> Affects Versions: 2.8.1
> Reporter: Semyon Danilov
> Assignee: Semyon Danilov
> Priority: Major
> Fix For: 2.11
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> At the moment IgniteRepositoryFactoryBean requires Ignite instance bean (or
> IgniteConfiguration instance bean) with specific name.
> There are couple of problems with that behavior:
> 1) We have a SpringBoot autoconfiguration module which creates bean with
> different name, so Ignite Spring Data won't work out of the box
> 2) That is, actually, not a Spring-way to do things: Spring prefers
> injecting by class, qualifiers like name and order should be used only when
> necessay
> I propose changing behavior to "getting bean by class and not by name"
>
> This won't require any user code changes, because we only remove restrictions
> on Ignite instance bean name
--
This message was sent by Atlassian Jira
(v8.3.4#803005)