Skip to content

Commit

Permalink
Apid 38 (#14)
Browse files Browse the repository at this point in the history
* APID-38: WIP Add config and retrying status

* APID-38 provide default values for retry config parameters

* APID-38: add retrying of failed SOAP messages using scheduling play-scheduling library

* APID-38 adds files not staged for commit in scheduled retry story

* APID-38: updated following review. Checking for 2xx status made more obvious. Scheduled jobs disabled by default. TTL on messages made configurable though left at 30 days by default

* APID-38: updated following review. Checking for 2xx status made more obvious. Scheduled jobs disabled by default. TTL on messages made configurable though left at 30 days by default

* APID-38: add TTL config mistakenly remove in revert

Co-authored-by: jameshall1999 <[email protected]>
  • Loading branch information
worthydolt and jameshall1999 authored Jan 21, 2021
1 parent 4a9b999 commit 77bde57
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,7 @@ class AppConfig @Inject()(config: Configuration, servicesConfig: ServicesConfig)
val retryInitialDelay: Duration = Duration(config.getOptional[String]("retry.initial.delay").getOrElse("30 sec"))
val retryEnabled: Boolean = config.getOptional[Boolean]("retry.enabled").getOrElse(false)
val retryJobLockDuration: Duration = Duration(config.getOptional[String]("retry.lock.duration").getOrElse("1 hr"))
val retryMessagesTtl: Duration = Duration(config.getOptional[String]("retry.messages.ttl").getOrElse("30 day"))

val parallelism: Int = config.getOptional[Int]("retry.parallelism").getOrElse(5)
}

0 comments on commit 77bde57

Please sign in to comment.