CdbCyclesChecker

org.eso.ias.cdb.cdbchecker.CdbCyclesChecker
See theCdbCyclesChecker companion object
class CdbCyclesChecker(val mapOfDasus: Map[String, DasuDao], val mapOfDasusToDeploy: Map[String, Set[DasuToDeployDao]])

Check and report cycles in the IAS by delegating to classes in the cdb topology package

Value parameters

mapOfDasus

all the DASUs defined in the CDB

mapOfDasusToDeploy

The DASUs to deploy in each Supervisor

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def getDasusToDeployWithCycles(): Iterable[String]

Check and returns the IDs of DASUs whose ASCEs generate a cycle

Check and returns the IDs of DASUs whose ASCEs generate a cycle

Attributes

Returns

The ids of the DASUs whose ASCEs define a cycle

def getDasusWithCycles(): Iterable[String]

Check and returns the IDs of DASUs whose ASCEs generate a cycle

Check and returns the IDs of DASUs whose ASCEs generate a cycle

Attributes

Returns

The ids of the DASUs whose ASCEs define a cycle

def isDasuACyclic(dasu: DasuDao): Boolean

Check if the ASCEs defined in the passed DasuDao create cycle

Check if the ASCEs defined in the passed DasuDao create cycle

Value parameters

dasu

The dasu to check

Attributes

Returns

true if there are cycles; false otherwise

Concrete fields

val mapOfDasus: Map[String, DasuDao]
val mapOfDasusToDeploy: Map[String, Set[DasuToDeployDao]]