Che CdbChecker checks for problems in the CDB in either JSON or RDB format.
The main task is to check if the graph is -acyclic (@see issue #70) but reports also other problems or inconsistency like unused IASIOs just to give an example. While the RDB is more robust against such problems, the JSON implementation is more weak and this tool could help.
Value parameters
- args
-
the arguments in the command line to open the right CDB
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
Value members
Concrete methods
Build the map of the ASCEs to run in each DASU The key is the ID of the DASU, the value is the set of IDs of ASCEs to run in the DASU
Build the map of the ASCEs to run in each DASU The key is the ID of the DASU, the value is the set of IDs of ASCEs to run in the DASU
Value parameters
- dasuIds
-
The IDs of the DASUs read from the CDB
- dasusMap
-
The map of DasuDao where the key is the ID of the DASU
Attributes
- Returns
-
the map of the ASCEs to run in each DASU
Check for errors
Check for errors
Attributes
- Returns
-
True in case of errors; false otherwise
Check if there are errors in the ASCE
Check if there are errors in the ASCE
Value parameters
- asceDao
-
The AsceDao to check for error
- dasuIds
-
The IDs of the DASUs read from the CDB
- iasioIds
-
The IDDs of the IASIOs
- templatesMap
-
The map of templates where the key is the ID of the template
- ttfsMap
-
The map of transfer functions: the key is the class of the TF
Attributes
- Returns
-
true in case of errors; false otherwise
Check if there are errors in the DASU
Check if there are errors in the DASU
Value parameters
- dasuDao
-
The DasuDao to check for error
- iasioIds
-
The IDDs of the IASIOs
- templatesMap
-
The map of templates where the key is the ID of the template
Attributes
- Returns
-
true in case of errors; false otherwise
Check the DasuToDeploy
Check the DasuToDeploy
Attributes
Check if the IAS has been defined
Check if the IAS has been defined
Value parameters
- iasDaoOpt
-
the IAS to check
Attributes
- Returns
-
true in case of errors, false otherwise
Check if the passed template and instance are valid
Check if the passed template and instance are valid
Value parameters
- instance
-
the instance number
- template
-
The template as set in the DASU to deploy for example
Attributes
- Returns
-
false in case of error, true otherwise
Concrete fields
The reader of the JSON of RDB CDB
The reader of the JSON of RDB CDB