Name
sn_itom_licensing.HLAValueStreamLicenseCounterForStore
Description
No description available
Script
var HLAValueStreamLicenseCounterForStore = Class.create();
HLAValueStreamLicenseCounterForStore.prototype = Object.extendsObject(ITOMHealthLicenseCounterWithOTOMStore, {
HLA_CI_TABLE: 'itom_lu_hla_ci',
HLA_VALUE_STREAM: "HLA",
initialize: function(mode) {
ITOMHealthLicenseCounterWithOTOMStore.prototype.initialize.call(this, mode);
this.setValueStreamAndTableName(this.HLA_VALUE_STREAM, this.HLA_CI_TABLE);
},
// Scheduled job invokes this function to process the nodes for licensing and populate the central ci table
process: function() {
var start = new Date().getTime();
this.slowStepsManager.setTopic("ITOM Licensing: HLA License Processor");
this.slowStepsManager.startStep('1: Delete previous CIs');
// delete all previous records
this.deletePreviousCIs();
this.slowStepsManager.startStep('2: Populate HLA CIs');
this.populateOccultusCIs();
this.removeExcludedCIsAndPopulateCentralTable(3);
var end = new Date().getTime();
this.evtMgmtCommons.writeToPerfTable("hlaLicensingProcess", totalInserted, end - start, perfJson);
},
type: 'HLAValueStreamLicenseCounterForStore'
});
Sys ID
bb5bad8c43c0d11016b23f28fab8f226