Skip to content

Commit

Permalink
migrate to scheduler v 0.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
fupelaqu committed Dec 23, 2022
1 parent 6d50d20 commit ac5dd0b
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 10 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
This file is auto-generate by a github hook please modify r.md if you don't want to loose your work
-->
![Build Status](https://github.com/SOFTNETWORK-APP/generic-payment-api/workflows/Build/badge.svg)
[![Scala Steward badge](https://img.shields.io/badge/Scala_Steward-helping-blue.svg?style=flat&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAQCAMAAAARSr4IAAAAVFBMVEUAAACHjojlOy5NWlrKzcYRKjGFjIbp293YycuLa3pYY2LSqql4f3pCUFTgSjNodYRmcXUsPD/NTTbjRS+2jomhgnzNc223cGvZS0HaSD0XLjbaSjElhIr+AAAAAXRSTlMAQObYZgAAAHlJREFUCNdNyosOwyAIhWHAQS1Vt7a77/3fcxxdmv0xwmckutAR1nkm4ggbyEcg/wWmlGLDAA3oL50xi6fk5ffZ3E2E3QfZDCcCN2YtbEWZt+Drc6u6rlqv7Uk0LdKqqr5rk2UCRXOk0vmQKGfc94nOJyQjouF9H/wCc9gECEYfONoAAAAASUVORK5CYII=)](https://scala-steward.org)
[![codecov](https://codecov.io/gh/SOFTNETWORK-APP/generic-payment-api/branch/main/graph/badge.svg)](https://codecov.io/gh/SOFTNETWORK-APP/generic-payment-api/)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/f79729e67cce45aba81e1950b91ef8eb)](https://www.codacy.com/gh/SOFTNETWORK-APP/generic-payment-api/dashboard?utm_source=github.com&utm_medium=referral&utm_content=SOFTNETWORK-APP/generic-payment-api&utm_campaign=Badge_Grade)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ ThisBuild / organization := "app.softnetwork"

name := "payment"

ThisBuild / version := "0.1.3"
ThisBuild / version := "0.1.4"

ThisBuild / scalaVersion := "2.12.15"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ trait Scheduler2PaymentProcessorStream
extends Scheduler2EntityProcessorStream[PaymentCommand, PaymentResult] {
_: GenericPaymentHandler with JournalProvider =>

protected val forTests = false

/** @param schedule
* - the schedule to trigger
* @return
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2582,7 +2582,8 @@ trait GenericPaymentBehavior
s"$nextRecurringPayment#${recurringPayment.getId}",
1,
Some(false),
Some(value)
Some(value),
None
)
)
)
Expand Down Expand Up @@ -2733,7 +2734,8 @@ trait GenericPaymentBehavior
s"$nextRecurringPayment#${recurringPayment.getId}",
1,
Some(false),
Some(value)
Some(value),
None
)
)
)
Expand Down Expand Up @@ -2965,7 +2967,8 @@ trait GenericPaymentBehavior
s"$nextRecurringPayment#${recurringPayment.getId}",
1,
Some(false),
Some(value)
Some(value),
None
)
)
)
Expand Down Expand Up @@ -3032,7 +3035,8 @@ trait GenericPaymentBehavior
s"$nextRecurringPayment#${recurringPayment.getId}",
1,
Some(false),
Some(value)
Some(value),
None
)
)
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ object Versions {

val genericPersistence = "0.2.5.15"

val scheduler = "0.1.2"
val scheduler = "0.1.4"

val server = "0.2.6.2"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ trait PaymentTestKit extends SchedulerTestKit with PaymentGuardian { _: Suite =>
: ActorSystem[_] => Scheduler2PaymentProcessorStream = sys =>
new Scheduler2PaymentProcessorStream with MockPaymentHandler with InMemoryJournalProvider {
override val tag: String = s"${MockPaymentBehavior.persistenceId}-scheduler"
override protected val forTests: Boolean = true
override val forTests: Boolean = true
override implicit def system: ActorSystem[_] = sys
}

Expand Down

0 comments on commit ac5dd0b

Please sign in to comment.