File tree Expand file tree Collapse file tree 2 files changed +12
-9
lines changed
ss-web/src/main/java/ss/mod/demo/web/config Expand file tree Collapse file tree 2 files changed +12
-9
lines changed Original file line number Diff line number Diff line change 15
15
import org .springframework .context .annotation .Bean ;
16
16
import org .springframework .context .annotation .Configuration ;
17
17
import org .springframework .context .support .ReloadableResourceBundleMessageSource ;
18
+ import org .springframework .data .domain .AuditorAware ;
19
+ import ss .mod .demo .service .entity .AuditorAwareImpl ;
18
20
import ss .mod .demo .web .config .feign .FeignProperties ;
19
21
import ss .mod .demo .web .config .feign .retry .FeignRetryer ;
20
22
@@ -81,4 +83,14 @@ public Retryer feignRetryer() {
81
83
public ExecutorService getExecutorService () {
82
84
return Executors .newFixedThreadPool (5 );
83
85
}
86
+
87
+ /**
88
+ * This bean will responsible to maintain auditing field on entity
89
+ *
90
+ * @return {@link AuditorAware}
91
+ */
92
+ @ Bean
93
+ public AuditorAware <String > auditorAware () {
94
+ return new AuditorAwareImpl ();
95
+ }
84
96
}
Original file line number Diff line number Diff line change @@ -99,14 +99,5 @@ public CorsConfigurationSource corsConfigurationSource() {
99
99
return source ;
100
100
}
101
101
102
- /**
103
- * This bean will responsible to maintain auditing field on entity
104
- *
105
- * @return {@link AuditorAware}
106
- */
107
- @ Bean
108
- public AuditorAware <String > auditorAware () {
109
- return new AuditorAwareImpl ();
110
- }
111
102
}
112
103
You can’t perform that action at this time.
0 commit comments