We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83a21cc commit 174aa43Copy full SHA for 174aa43
operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/config/ConfigurationService.java
@@ -9,6 +9,8 @@
9
/** An interface from which to retrieve configuration information. */
10
public interface ConfigurationService {
11
12
+ ObjectMapper OBJECT_MAPPER = new ObjectMapper();
13
+
14
/**
15
* Retrieves the configuration associated with the specified controller
16
*
@@ -77,7 +79,7 @@ default int concurrentReconciliationThreads() {
77
79
* @return the ObjectMapper to use
78
80
*/
81
default ObjectMapper getObjectMapper() {
- return new ObjectMapper();
82
+ return OBJECT_MAPPER;
83
}
84
85
int DEFAULT_TERMINATION_TIMEOUT_SECONDS = 10;
0 commit comments