Showing 141 of 141 total issues
Function setSituationExternalSeverity
has 58 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Graze.prototype.setSituationExternalSeverity = function (sitnId, severity, callback)
{
debug("Entering setSituationExternalSeverity **WARNING** Deprecated 5.2.3+");
var opts = this.connectOptions;
var self = this;
Function addSigCorrelationInfo
has 58 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Graze.prototype.addSigCorrelationInfo = function (sitnId, serviceName, resourceId, callback)
{
debug("Entering addSigCorrelationInfo");
var opts = this.connectOptions;
var self = this;
Function setSituationAcknowledgeState
has 58 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Graze.prototype.setSituationAcknowledgeState = function (sitnId, acknowledged, callback)
{
debug("Entering setSituationAcknowledgeState");
var opts = this.connectOptions;
var self = this;
Function authenticate
has 58 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function authenticate(opts)
{
return new Promise(function (resolve, reject)
{
Function addThreadEntry
has 57 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Graze.prototype.addThreadEntry = function (sitnId, threadName, entry, callback)
{
debug("Entering addThreadEntry");
var opts = this.connectOptions;
var self = this;
Function closeSituation
has 56 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Graze.prototype.closeSituation = function (sitnId, resolution, callback)
{
debug("Entering closeSituation");
var opts = this.connectOptions;
var self = this;
Function createThread
has 56 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Graze.prototype.createThread = function (sitnId, threadName, callback)
{
debug("Entering createThread");
var opts = this.connectOptions;
var self = this;
Function addSituationCustomInfo
has 56 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Graze.prototype.addSituationCustomInfo = function (sitnId, customInfo, callback)
{
debug("Entering addSituationCustomInfo");
var opts = this.connectOptions;
var self = this;
Function addProcess
has 56 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Graze.prototype.addProcess = function (name, description, callback)
{
debug("Entering addProcess");
var opts = this.connectOptions;
var self = this;
Function resolveSituation
has 56 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Graze.prototype.resolveSituation = function (sitnId, callback)
{
debug("Entering resolveSituation");
var opts = this.connectOptions;
var self = this;
Function addService
has 56 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Graze.prototype.addService = function (name, description, callback)
{
debug("Entering addService");
var opts = this.connectOptions;
var self = this;
Function addAlertCustomInfo
has 56 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Graze.prototype.addAlertCustomInfo = function (alertId, customInfo, callback)
{
debug("Entering addAlertCustomInfo");
var opts = this.connectOptions;
var self = this;
Function addAlertToSituation
has 56 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Graze.prototype.addAlertToSituation = function (alertId, sitnId, callback)
{
debug("Entering addAlertToSituation");
var opts = this.connectOptions;
var self = this;
Function deleteMaintenanceWindows
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Graze.prototype.deleteMaintenanceWindows = function (filter, limit, callback)
{
debug("Entering deleteMaintenanceWindows");
var opts = this.connectOptions;
var self = this;
Function deleteMaintenanceWindow
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Graze.prototype.deleteMaintenanceWindow = function (window, callback)
{
debug("Entering deleteMaintenanceWindow");
var opts = this.connectOptions;
var self = this;
Function closeAlert
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Graze.prototype.closeAlert = function (alertId, callback)
{
debug("Entering closeAlert");
var opts = this.connectOptions;
var self = this;
Function findMaintenanceWindows
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Graze.prototype.findMaintenanceWindows = function (filter, limit, callback)
{
debug("Entering findMaintenanceWindows");
var opts = this.connectOptions;
var self = this;
Function createSituation
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Graze.prototype.createSituation = function (description, callback)
{
debug("Entering createSituation");
var opts = this.connectOptions;
var self = this;
Function deassignSituation
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Graze.prototype.deassignSituation = function (sitnId, callback)
{
debug("Entering deassignSituation");
var opts = this.connectOptions;
var self = this;
Function deassignAlert
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Graze.prototype.deassignAlert = function (alertId, callback)
{
debug("Entering deassignAlert");
var opts = this.connectOptions;
var self = this;