Skip to content

Commit

Permalink
feat: upgrade shapeshift to 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Idane committed Jul 19, 2022
1 parent 271c565 commit 85d8489
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 34 deletions.
7 changes: 6 additions & 1 deletion crud-framework-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

<properties>
<jar-name>crud-framework-core</jar-name>
<shapeshift.version>0.1.0</shapeshift.version>
<shapeshift.version>0.3.0</shapeshift.version>
</properties>

<dependencies>
Expand Down Expand Up @@ -56,6 +56,11 @@
<artifactId>commons-lang3</artifactId>
<version>3.6</version>
</dependency>
<dependency>
<groupId>dev.krud</groupId>
<artifactId>shapeshift</artifactId>
<version>${shapeshift.version}</version>
</dependency>
<dependency>
<groupId>dev.krud</groupId>
<artifactId>spring-boot-starter-shapeshift</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import studio.crud.crudframework.crud.handler.CrudHelper
import studio.crud.crudframework.crud.handler.CrudHelperImpl
import studio.crud.crudframework.crud.handler.CrudReadHandler
import studio.crud.crudframework.crud.handler.CrudReadHandlerImpl
import studio.crud.crudframework.crud.handler.CrudShapeShiftBuilderCustomizer
import studio.crud.crudframework.crud.handler.CrudUpdateHandler
import studio.crud.crudframework.crud.handler.CrudUpdateHandlerImpl
import studio.crud.crudframework.exception.WrapExceptionAspect
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,6 @@ import org.springframework.boot.context.properties.ConfigurationProperties

@ConfigurationProperties(CrudFrameworkProperties.CONFIGURATION_PREFIX)
class CrudFrameworkProperties {
/**
* Whether or not to enable default transformers for the field mapper
* When set to `true`, the framework will register several of its transformers for their type pairs
*/
@Deprecated("Intended to become default behaviour in future versions")
var defaultTransformersEnabled: Boolean = true

companion object {
const val CONFIGURATION_PREFIX = "crudframework"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
import studio.crud.crudframework.crud.cache.CacheUtils;
import studio.crud.crudframework.crud.cache.CrudCache;
import studio.crud.crudframework.crud.cache.CrudCacheOptions;
import studio.crud.crudframework.crud.configuration.properties.CrudFrameworkProperties;
import studio.crud.crudframework.crud.dataaccess.DataAccessManager;
import studio.crud.crudframework.crud.dataaccess.model.DataAccessorDTO;
import studio.crud.crudframework.crud.decorator.ObjectDecorator;
Expand Down Expand Up @@ -82,9 +81,6 @@ public class CrudHelperImpl implements CrudHelper {
@Autowired
private CacheManagerAdapter cacheManagerAdapter;

@Autowired
private CrudFrameworkProperties properties;

@Autowired
private ShapeShift shapeShift;

Expand Down

This file was deleted.

0 comments on commit 85d8489

Please sign in to comment.