CLI is working, API not ready, Front broken

This commit is contained in:
Gaël Métais
2014-11-28 10:45:30 +01:00
parent b72e74e0d3
commit 1f83fe1b48
20 changed files with 1001 additions and 94 deletions
+124
View File
@@ -0,0 +1,124 @@
{
"metric1": {
"policy": {
"tool": "tool1",
"label": "The metric 1",
"message": "A great message",
"isOkThreshold": 1000,
"isBadThreshold": 3000,
"isAbnormalThreshold": 5000
},
"value": 1236,
"bad": true,
"abnormal": false,
"score": 88,
"abnormalityScore": 0
},
"metric2": {
"policy": {
"tool": "tool1",
"label": "The metric 2",
"message": "A great message",
"isOkThreshold": 1000,
"isBadThreshold": 3000,
"isAbnormalThreshold": 5000
},
"value": 222,
"bad": false,
"abnormal": false,
"score": 100,
"abnormalityScore": 0
},
"metric3": {
"policy": {
"tool": "tool1",
"label": "The metric 3",
"message": "A great message",
"isOkThreshold": 1000,
"isBadThreshold": 3000,
"isAbnormalThreshold": 5000
},
"value": 6666,
"offenders": ["offender1", "offender2"],
"bad": true,
"abnormal": true,
"score": 0,
"abnormalityScore": -42
},
"metric4": {
"policy": {
"tool": "tool1",
"label": "The metric 4",
"message": "A great message",
"isOkThreshold": 1000,
"isBadThreshold": 3000,
"isAbnormalThreshold": 5000
},
"value": 1000,
"bad": false,
"abnormal": false,
"score": 100,
"abnormalityScore": 0
},
"metric5": {
"policy": {
"tool": "tool1",
"label": "The metric 5",
"message": "A great message",
"isOkThreshold": 1000,
"isBadThreshold": 3000,
"isAbnormalThreshold": 5000
},
"value": 3000,
"bad": true,
"abnormal": false,
"score": 0,
"abnormalityScore": 0
},
"metric6": {
"policy": {
"tool": "tool1",
"label": "The metric 6",
"message": "A great message",
"isOkThreshold": 1000,
"isBadThreshold": 3000,
"isAbnormalThreshold": 5000
},
"value": 0,
"bad": false,
"abnormal": false,
"score": 100,
"abnormalityScore": 0
},
"metric7": {
"policy": {
"tool": "tool1",
"label": "The metric 7",
"message": "A great message",
"isOkThreshold": 1000,
"isBadThreshold": 3000,
"isAbnormalThreshold": 5000
},
"value": 5000,
"bad": true,
"abnormal": true,
"score": 0,
"abnormalityScore": 0
},
"metric10": {
"policy": {
"tool": "tool2",
"label": "The metric 10",
"message": "<p>This is from another tool!</p>",
"isOkThreshold": 0,
"isBadThreshold": 3,
"isAbnormalThreshold": 11
},
"value": 22,
"bad": true,
"abnormal": true,
"score": 0,
"abnormalityScore": -100
}
}