To use this function add it to the class library file named OrchestratorPluginSQLService.ts
GitHub Repository: https://github.com/SimonSparksUK/Orchestrator
Filename: OrchestratorPluginSQLService.ts
Description: Orchestrator Function to Validate an SQL Database
Public Function: SQLDatabaseValidate
publicSQLDatabaseValidate(objSQLDatabase:SQLDatabase):void{
try{
SQLDatabaseManager.validateDatabase(objSQLDatabase);
this.objLogger.info(`SQLDatabase Validation of:${objSQLDatabase} Successfull.`);
}
catch (objException){
this.objLogger.info(`SQLDatabase Validation of:${objSQLDatabase} Failed.`);
}
}Discover more from Cloud Build Tools
Subscribe to get the latest posts sent to your email.
