-
Notifications
You must be signed in to change notification settings - Fork 122
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomersrecipeRecipe requestedRecipe requested
Description
What problem are you trying to solve?
As part of the spring-boot (2.4) update, spring-data-rest-webmvc is updated to 3.4.X. With this release, the deprecated import org.springframework.data.rest.webmvc.config.RepositoryRestConfigurerAdapter is removed and import org.springframework.data.rest.webmvc.config.RepositoryRestConfigurer should be implemented instead.
Before
import org.springframework.context.annotation.Configuration;
import org.springframework.data.rest.core.config.RepositoryRestConfiguration;
import org.springframework.data.rest.webmvc.config.RepositoryRestConfigurerAdapter;
@Configuration
public class FooRepositoryConfiguration extends RepositoryRestConfigurerAdapter {
@Override
public void configureRepositoryRestConfiguration(RepositoryRestConfiguration config) {}
}After
import org.springframework.context.annotation.Configuration;
import org.springframework.data.rest.core.config.RepositoryRestConfiguration;
import org.springframework.data.rest.webmvc.config.RepositoryRestConfigurer;
@Configuration
public class CatalogDbRepositoryConfiguration implements RepositoryRestConfigurer {
@Override
public void configureRepositoryRestConfiguration(RepositoryRestConfiguration config) {}
}Are you interested in contributing this feature to OpenRewrite?
No
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomersrecipeRecipe requestedRecipe requested
Type
Projects
Status
Recipes Wanted