Skip to content

Commit

Permalink
fixed data pool call in BB
Browse files Browse the repository at this point in the history
  • Loading branch information
arcuri82 committed May 10, 2024
1 parent f78eec7 commit e50f19b
Showing 1 changed file with 6 additions and 0 deletions.
Expand Up @@ -17,6 +17,7 @@ import org.evomaster.core.search.service.mutator.StructureMutator
import org.evomaster.core.seeding.service.rest.PirToRest


@Deprecated("For WB use ResourceRestModule, for BB use BlackBoxRestModule")
class RestModule(private val bindRemote : Boolean = true) : AbstractModule(){

override fun configure() {
Expand Down Expand Up @@ -49,6 +50,11 @@ class RestModule(private val bindRemote : Boolean = true) : AbstractModule(){
.to(RestFitness::class.java)
.asEagerSingleton()

bind(object : TypeLiteral<AbstractRestFitness>() {})
.to(RestResourceFitness::class.java)
.asEagerSingleton()


bind(object : TypeLiteral<FitnessFunction<*>>() {})
.to(RestFitness::class.java)
.asEagerSingleton()
Expand Down

0 comments on commit e50f19b

Please sign in to comment.