File tree Expand file tree Collapse file tree 8 files changed +38
-11
lines changed
aem-plugin-sample/scripts/wknd
src/main/java/com/viglet/dumont/connector/plugin/aem/persistence/model
src/main/java/com/viglet/dumont/connector Expand file tree Collapse file tree 8 files changed +38
-11
lines changed Original file line number Diff line number Diff line change 11set TURING_URL = http://localhost:2700
2- set TURING_API_KEY = f6685e35af8b459bbf085dea2
2+ set TURING_API_KEY = 09feeee9b7ce4b9eaee55aee3
Original file line number Diff line number Diff line change @@ -4,4 +4,5 @@ java -Dloader.path=%~dp0libs ^
44-Dturing.url=%TURING_URL% ^
55-Dturing.apiKey=%TURING_API_KEY% ^
66-Dspring.h2.console.enabled=true ^
7+ -Dlogging.config=classpath:logback-spring.xml ^
78-jar %~dp0 dumont-connector.jar
Original file line number Diff line number Diff line change 4343 </dependency >
4444 <dependency >
4545 <groupId >com.fasterxml.jackson.datatype</groupId >
46- <artifactId >jackson-datatype-hibernate5-jakarta</artifactId >
46+ <artifactId >jackson-datatype-hibernate7</artifactId >
47+ <version >2.20.1</version >
4748 </dependency >
4849 <dependency >
4950 <groupId >io.swagger.core.v3</groupId >
Original file line number Diff line number Diff line change 1818
1919package com .viglet .dumont .connector .plugin .aem .persistence .model ;
2020
21- import jakarta .persistence .*;
22- import lombok .*;
23- import org .hibernate .annotations .UuidGenerator ;
24-
2521import java .io .Serial ;
2622import java .io .Serializable ;
2723
24+ import org .hibernate .annotations .UuidGenerator ;
25+
26+ import com .fasterxml .jackson .annotation .JsonIgnoreProperties ;
27+
28+ import jakarta .persistence .Column ;
29+ import jakarta .persistence .Entity ;
30+ import jakarta .persistence .Id ;
31+ import jakarta .persistence .JoinColumn ;
32+ import jakarta .persistence .ManyToOne ;
33+ import jakarta .persistence .Table ;
34+ import lombok .AllArgsConstructor ;
35+ import lombok .Builder ;
36+ import lombok .Getter ;
37+ import lombok .NoArgsConstructor ;
38+ import lombok .Setter ;
39+
2840/**
2941 * @author Alexandre Oliveira
3042 * @since 0.3.9
3648@ Setter
3749@ Entity
3850@ Table (name = "aem_source_attribute" )
51+ @ JsonIgnoreProperties ({ "dumAemTargetAttribute" })
3952public class DumAemSourceAttribute implements Serializable {
4053
4154 @ Serial
Original file line number Diff line number Diff line change 2626import org .hibernate .annotations .OnDelete ;
2727import org .hibernate .annotations .OnDeleteAction ;
2828
29+ import com .fasterxml .jackson .annotation .JsonIgnoreProperties ;
2930import com .viglet .dumont .spring .jpa .DumUuid ;
3031
3132import jakarta .persistence .CascadeType ;
5455@ Setter
5556@ Entity
5657@ Table (name = "aem_target_attribute" )
58+ @ JsonIgnoreProperties ({ "dumAemModel" })
5759public class DumAemTargetAttribute implements Serializable {
5860
5961 @ Serial
Original file line number Diff line number Diff line change 9494 <groupId >org.springframework.boot</groupId >
9595 <artifactId >spring-boot-starter-mongodb</artifactId >
9696 </dependency >
97+ <dependency >
98+ <groupId >org.springframework.boot</groupId >
99+ <artifactId >spring-boot-starter-cache</artifactId >
100+ </dependency >
101+ <dependency >
102+ <groupId >org.springframework.boot</groupId >
103+ <artifactId >spring-boot-starter-hazelcast</artifactId >
104+ </dependency >
97105 <dependency >
98106 <groupId >org.springframework.boot</groupId >
99107 <artifactId >spring-boot-starter-test</artifactId >
122130 </dependency >
123131 <dependency >
124132 <groupId >com.fasterxml.jackson.datatype</groupId >
125- <artifactId >jackson-datatype-hibernate5-jakarta</artifactId >
133+ <artifactId >jackson-datatype-hibernate7</artifactId >
134+ <version >2.20.1</version >
126135 </dependency >
127136 <dependency >
128137 <groupId >org.jetbrains</groupId >
Original file line number Diff line number Diff line change 1212import org .springframework .web .filter .CharacterEncodingFilter ;
1313
1414import com .fasterxml .jackson .databind .Module ;
15- import com .fasterxml .jackson .datatype .hibernate5 . jakarta . Hibernate5JakartaModule ;
15+ import com .fasterxml .jackson .datatype .hibernate7 . Hibernate7Module ;
1616
1717import lombok .extern .slf4j .Slf4j ;
1818
@@ -40,7 +40,7 @@ FilterRegistrationBean<CharacterEncodingFilter> filterRegistrationBean() {
4040 }
4141
4242 @ Bean
43- Module hibernate5Module () {
44- return new Hibernate5JakartaModule ();
43+ Module hibernate7Module () {
44+ return new Hibernate7Module ();
4545 }
4646}
Original file line number Diff line number Diff line change 3939 </dependency >
4040 <dependency >
4141 <groupId >com.fasterxml.jackson.datatype</groupId >
42- <artifactId >jackson-datatype-hibernate5-jakarta</artifactId >
42+ <artifactId >jackson-datatype-hibernate7</artifactId >
43+ <version >2.20.1</version >
4344 </dependency >
4445 <dependency >
4546 <groupId >com.viglet.turing</groupId >
You can’t perform that action at this time.
0 commit comments