File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
service/src/main/java/uk/gov/hmcts/reform/fpl/config Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 55import lombok .extern .slf4j .Slf4j ;
66import org .springframework .beans .factory .annotation .Autowired ;
77import org .springframework .boot .autoconfigure .condition .ConditionalOnProperty ;
8+ import org .springframework .retry .annotation .Retryable ;
89import org .springframework .stereotype .Component ;
910import uk .gov .hmcts .reform .fpl .service .RoleAssignmentService ;
1011
@@ -18,6 +19,7 @@ public class SystemUserRoleAssignment {
1819 private final RoleAssignmentService roleAssignmentService ;
1920
2021 @ PostConstruct
22+ @ Retryable (retryFor = Exception .class , label = "Create system update user in AM" )
2123 public void init () {
2224 try {
2325 log .info ("Attempting to assign system-update user role" );
You can’t perform that action at this time.
0 commit comments