rules fixing and general beautification
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -79,3 +79,4 @@ typings/
|
|||||||
# DynamoDB Local files
|
# DynamoDB Local files
|
||||||
.dynamodb/
|
.dynamodb/
|
||||||
casRpsLogExtractor/casRpsLogExtractor.config.json
|
casRpsLogExtractor/casRpsLogExtractor.config.json
|
||||||
|
casRpsLogExtractor/casRpsLogExtractor.maxPKey.dat
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
0010000000a87kj9
|
0010000000a7p61y
|
||||||
@@ -42,9 +42,11 @@ const server = micro(async (req, res) => {
|
|||||||
if (isWhiteListed) {
|
if (isWhiteListed) {
|
||||||
logger.log("debug", "Not Whitelisted: " + miniInput);
|
logger.log("debug", "Not Whitelisted: " + miniInput);
|
||||||
fs.appendFileSync("./log/skipped.log", miniInput + "\n");
|
fs.appendFileSync("./log/skipped.log", miniInput + "\n");
|
||||||
|
process.stdout.write(".");
|
||||||
} else {
|
} else {
|
||||||
logger.log("info", "Not Whitelisted: " + miniInput);
|
logger.log("debug", "Not Whitelisted: " + miniInput);
|
||||||
fs.appendFileSync("./log/issues.log", miniInput + "\n");
|
fs.appendFileSync("./log/issues.log", miniInput + "\n");
|
||||||
|
process.stdout.write("!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,58 +1,59 @@
|
|||||||
{ "casrpslog":{
|
{ "casrpslog":{
|
||||||
"rules":[
|
"rules":[
|
||||||
{ "_comment":"Module Termination" , "Logic":"-", "Field":"LogText", "Comp":"~", "Value":"/^END : module .* terminated without errors/"},
|
{ "_comment":"Module Termination" , "Logic":"-", "Field":"LogText", "Comp":"~", "Value":"/^END : module .* terminated without errors/"},
|
||||||
{ "_comment":"Module Start" , "Logic":"-", "Field":"LogText", "Comp":"~", "Value":"/^START : module /"},
|
{ "_comment":"Module Start" , "Logic":"-", "Field":"LogText", "Comp":"~", "Value":"/^START : module /"},
|
||||||
{ "_comment":"Module Start" , "Logic":"-", "Field":"LogText", "Comp":"~", "Value":"/^Module.*executable.*parameters.*started\\./"},
|
{ "_comment":"Module Start" , "Logic":"-", "Field":"LogText", "Comp":"~", "Value":"/^Module.*executable.*parameters.*started\\./"},
|
||||||
{ "_comment":"Listener Start" , "Logic":"-", "Field":"LogText", "Comp":"~", "Value":"/^Starting ServerPortListener for ID /"},
|
{ "_comment":"Listener Start" , "Logic":"-", "Field":"LogText", "Comp":"~", "Value":"/^Starting ServerPortListener for ID /"},
|
||||||
{ "_comment":"Listener End" , "Logic":"-", "Field":"LogText", "Comp":"~", "Value":"/^Ending ServerPortListener for.*with ID /"},
|
{ "_comment":"Listener End" , "Logic":"-", "Field":"LogText", "Comp":"~", "Value":"/^Ending ServerPortListener for.*with ID /"},
|
||||||
{ "_comment":"Listener Start" , "Logic":"-", "Field":"LogText", "Comp":"~", "Value":"/^Starting COMPortListener for.*on port /"},
|
{ "_comment":"Listener Start" , "Logic":"-", "Field":"LogText", "Comp":"~", "Value":"/^Starting COMPortListener for.*on port /"},
|
||||||
{ "_comment":"Listener End" , "Logic":"-", "Field":"LogText", "Comp":"~", "Value":"/^Ending COMPortListener for.*on port /"},
|
{ "_comment":"Listener End" , "Logic":"-", "Field":"LogText", "Comp":"~", "Value":"/^Ending COMPortListener for.*on port /"},
|
||||||
{ "_comment":"Transaction Creation" , "Logic":"-", "Field":"LogText", "Comp":"===", "Value":"Create transaction"},
|
{ "_comment":"Transaction Creation" , "Logic":"-", "Field":"LogText", "Comp":"===", "Value":"Create transaction"},
|
||||||
{ "_comment":"Transaction Creation" , "Logic":"-", "Field":"LogText", "Comp":"===", "Value":"ReorganisationWorker.InitializeForWorkerAPI entered."},
|
{ "_comment":"SettingDefaultFallback" , "Logic":"-", "Field":"LogText", "Comp":"===", "Value":"A setting value cannot be read. The default value is used."},
|
||||||
|
{ "Logic":"-", "Field":"LogText", "Comp":"===", "Value":"ReorganisationWorker.InitializeForWorkerAPI entered."},
|
||||||
|
|
||||||
{ "_comment":"Modules whose Loglevel can be trusted.",
|
{ "_comment":"Modules whose Loglevel can be trusted.",
|
||||||
"Logic":"&", "rules":[
|
"Logic":"&", "rules":[
|
||||||
{"Logic":"|", "rules":[
|
{"Logic":"|", "rules":[
|
||||||
{"Logic":"-", "Field":"Module", "Comp":"~", "Value":"/^PreVtl/"},
|
{"Logic":"-", "Field":"Module", "Comp":"~", "Value":"/^PreVtl/"},
|
||||||
{"Logic":"-", "Field":"Module", "Comp":"~", "Value":"/^Watchdog$/"},
|
{"Logic":"-", "Field":"Module", "Comp":"~", "Value":"/^Watchdog$/"},
|
||||||
{"Logic":"-", "Field":"Module", "Comp":"~", "Value":"/^Reorg/"},
|
{"Logic":"-", "Field":"Module", "Comp":"~", "Value":"/^Reorg/"},
|
||||||
{"Logic":"-", "Field":"Module", "Comp":"~", "Value":"/^WorkerController$/"},
|
{"Logic":"-", "Field":"Module", "Comp":"~", "Value":"/^WorkerController$/"},
|
||||||
{"Logic":"-", "Field":"Module", "Comp":"~", "Value":"/^WorkerControllerHeartbeat$/"},
|
{"Logic":"-", "Field":"Module", "Comp":"~", "Value":"/^WorkerControllerHeartbeat$/"},
|
||||||
{"Logic":"-", "Field":"Module", "Comp":"~", "Value":"/^RecordDeletionWorker$/"},
|
{"Logic":"-", "Field":"Module", "Comp":"~", "Value":"/^RecordDeletionWorker$/"},
|
||||||
{"Logic":"-", "Field":"Module", "Comp":"~", "Value":"/^ReplicationDispatcher$/"},
|
{"Logic":"-", "Field":"Module", "Comp":"~", "Value":"/^ReplicationDispatcher$/"},
|
||||||
{"Logic":"-", "Field":"Module", "Comp":"~", "Value":"/^BpaManagementSyncDispatcher$/"},
|
{"Logic":"-", "Field":"Module", "Comp":"~", "Value":"/^BpaManagementSyncDispatcher$/"},
|
||||||
{"Logic":"-", "Field":"Module", "Comp":"~", "Value":"/^OPSDispatcher$/"},
|
{"Logic":"-", "Field":"Module", "Comp":"~", "Value":"/^OPSDispatcher$/"},
|
||||||
{"Logic":"-", "Field":"Module", "Comp":"~", "Value":"/^IntegrationWebService$/"},
|
{"Logic":"-", "Field":"Module", "Comp":"~", "Value":"/^IntegrationWebService$/"},
|
||||||
{"Logic":"-", "Field":"Module", "Comp":"~", "Value":"/.*Worker$/"}
|
{"Logic":"-", "Field":"Module", "Comp":"~", "Value":"/.*Worker$/"}
|
||||||
]},
|
]},
|
||||||
{"Logic":"-", "Field":"Severity", "Comp":"<", "Value":"2"}
|
{"Logic":"-", "Field":"Severity", "Comp":"<", "Value":"2"}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
||||||
{ "_comment":"Application Validation Errors",
|
{ "_comment":"Application Validation Errors",
|
||||||
"Logic":"&", "rules":[
|
"Logic":"&", "rules":[
|
||||||
{"Logic":"-", "Field":"Module", "Comp":"===", "Value":"CAS 11.0"},
|
{"Logic":"-", "Field":"Module", "Comp":"===", "Value":"CAS 11.0"},
|
||||||
{"Logic":"|", "rules":[
|
{"Logic":"|", "rules":[
|
||||||
{"Logic":"-", "Field":"Severity", "Comp":"<", "Value":"2"},
|
{"Logic":"-", "Field":"Severity", "Comp":"<", "Value":"2"},
|
||||||
{"Logic":"-", "Field":"LogText", "Comp":"~", "Value":"/^The promotion or tactic is not allowed to extend past the last day of the year.*/"},
|
{"Logic":"-", "Field":"LogText", "Comp":"~", "Value":"/^The promotion or tactic is not allowed to extend past the last day of the year.*/"},
|
||||||
{"Logic":"-", "Field":"LogText", "Comp":"~", "Value":"/^Validation notification!/"},
|
{"Logic":"-", "Field":"LogText", "Comp":"~", "Value":"/^Validation notification!/"},
|
||||||
{"Logic":"-", "Field":"LogText", "Comp":"~", "Value":"/^Entry needed for Id./"},
|
{"Logic":"-", "Field":"LogText", "Comp":"~", "Value":"/^Entry needed for Id./"},
|
||||||
{"Logic":"-", "Field":"LogText", "Comp":"~", "Value":"/^This period overlaps another period of type/"},
|
{"Logic":"-", "Field":"LogText", "Comp":"~", "Value":"/^This period overlaps another period of type/"},
|
||||||
{"Logic":"-", "Field":"LogText", "Comp":"~", "Value":"/^When extraction is used all PPGs need to be extracted. Tactic :/"},
|
{"Logic":"-", "Field":"LogText", "Comp":"~", "Value":"/^When extraction is used all PPGs need to be extracted. Tactic :/"},
|
||||||
{"Logic":"-", "Field":"LogText", "Comp":"~", "Value":"/^When extraction is used all PPGs need to be extracted. Tactic :/"},
|
{"Logic":"-", "Field":"LogText", "Comp":"~", "Value":"/^When extraction is used all PPGs need to be extracted. Tactic :/"},
|
||||||
{"Logic":"-", "Field":"LogText", "Comp":"~", "Value":"/^The Sum of the funding sources (.*) is not consistent with the sum of the cost all tactics (.*)/"},
|
{"Logic":"-", "Field":"LogText", "Comp":"~", "Value":"/^The Sum of the funding sources (.*) is not consistent with the sum of the cost all tactics (.*)/"},
|
||||||
{"Logic":"-", "Field":"LogText", "Comp":"~", "Value":"/^Id must be unique!/"},
|
{"Logic":"-", "Field":"LogText", "Comp":"~", "Value":"/^Id must be unique!/"},
|
||||||
{"Logic":"-", "Field":"LogText", "Comp":"~", "Value":"/^The data has been altered by another user. To maintain data consistency please reselect the object and repeat your modifications./"},
|
{"Logic":"-", "Field":"LogText", "Comp":"~", "Value":"/^The data has been altered by another user. To maintain data consistency please reselect the object and repeat your modifications./"},
|
||||||
{"Logic":"-", "Field":"LogText", "Comp":"~", "Value":"/.*Please assign a PPG or SKU to the payment request.*/m"},
|
{"Logic":"-", "Field":"LogText", "Comp":"~", "Value":"/.*Please assign a PPG or SKU to the payment request.*/m"},
|
||||||
{"Logic":"-", "Field":"LogText", "Comp":"~", "Value":"/^The tactic .* needs to have at least one included product/"},
|
{"Logic":"-", "Field":"LogText", "Comp":"~", "Value":"/^The tactic .* needs to have at least one included product/"},
|
||||||
{"Logic":"-", "Field":"LogText", "Comp":"~", "Value":"/^You cannot close the tactic, there are payment transactions pending/"},
|
{"Logic":"-", "Field":"LogText", "Comp":"~", "Value":"/^You cannot close the tactic, there are payment transactions pending/"},
|
||||||
{"Logic":"-", "Field":"LogText", "Comp":"~", "Value":"/^invalid combination types (Compensation Model \\/ Payment Method \\/ Volume Type) for this Tactic/"},
|
{"Logic":"-", "Field":"LogText", "Comp":"~", "Value":"/^invalid combination types (Compensation Model \\/ Payment Method \\/ Volume Type) for this Tactic/"},
|
||||||
{"Logic":"-", "Field":"LogText", "Comp":"~", "Value":"/^Based on the template setting 'Evaluate Thresholds' the promotion must be calculated before changing the workflow state. Please recalculate the promotion./"}
|
{"Logic":"-", "Field":"LogText", "Comp":"~", "Value":"/^Based on the template setting 'Evaluate Thresholds' the promotion must be calculated before changing the workflow state. Please recalculate the promotion./"}
|
||||||
]}
|
]}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
||||||
{"_comment":"MyRecalcAccrual Rules",
|
{"_comment":"MyRecalcAccrual Rules",
|
||||||
"Logic":"&", "rules":[
|
"Logic":"&", "rules":[
|
||||||
{"Logic":"-", "Field":"Module", "Comp":"===", "Value":"MyRecalcAccrual"},
|
{"Logic":"-", "Field":"Module", "Comp":"===", "Value":"MyRecalcAccrual"},
|
||||||
{"Logic":"|", "rules":[
|
{"Logic":"|", "rules":[
|
||||||
|
|||||||
Reference in New Issue
Block a user