diff options
author | sourabh_sourabh <sourabh.sourabh@est.tech> | 2022-06-02 13:54:09 +0100 |
---|---|---|
committer | sourabh_sourabh <sourabh.sourabh@est.tech> | 2022-06-02 15:10:09 +0100 |
commit | cb1ceae605135ae054b70b335c2bd83205253539 (patch) | |
tree | 55b2bf82e4f332fc10175c2a171f8271031ffa87 /cps-application/src/main/java/org/onap | |
parent | 240fbe95dde33a2a06618579a93c247e9bb56c5e (diff) |
CPS-1020 : DuplicatedYangResourceException error at parallel cmHandle registration
- @EnableRetry is added into application.
- Added retry count into log to add more information about retry.
Issue-ID: CPS-1020
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
Change-Id: I00c58ef17a8c066f98711c1cf8e5e5cb5f22974b
Diffstat (limited to 'cps-application/src/main/java/org/onap')
-rw-r--r-- | cps-application/src/main/java/org/onap/cps/Application.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cps-application/src/main/java/org/onap/cps/Application.java b/cps-application/src/main/java/org/onap/cps/Application.java index ba707e964b..79d5950f68 100644 --- a/cps-application/src/main/java/org/onap/cps/Application.java +++ b/cps-application/src/main/java/org/onap/cps/Application.java @@ -22,7 +22,9 @@ package org.onap.cps; import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
+import org.springframework.retry.annotation.EnableRetry;
+@EnableRetry
@SpringBootApplication
public class Application {
|