DiameterAgent with mysql integration tests passing for full path

This commit is contained in:
DanB
2020-02-04 18:41:44 +01:00
parent dce48fcc19
commit 797b85ea79
8 changed files with 36 additions and 42 deletions

View File

@@ -90,19 +90,19 @@
},
{
"tag": "RatingGroup",
"path": "*cgreq.Multiple-Services-Credit-Control.Rating-Group",
"path": "*rep.Multiple-Services-Credit-Control.Rating-Group",
"type": "*constant",
"value": "1"
},
{
"tag": "CCTotalOctets1",
"path": "*cgreq.Multiple-Services-Credit-Control.Used-Service-Unit.CC-Total-Octets",
"path": "*rep.Multiple-Services-Credit-Control.Used-Service-Unit.CC-Total-Octets",
"type": "*variable",
"value": "~*cgreq.UsedUnits1"
},
{
"tag": "GrantedUsage",
"path": "*cgreq.Granted-Service-Unit.CC-Time",
"path": "*rep.Granted-Service-Unit.CC-Time",
"type": "*sum",
"value": "~*cgreq.Val1;~*cgreq.Val2;~*cgreq.Val3"},
],

View File

@@ -270,7 +270,7 @@
},
{
"tag": "LastUsed",
"path": "LastUsed",
"path": "*cgreq.LastUsed",
"type": "*variable",
"value": "~*req.Used-Service-Unit.CC-Time:s/(.*)/${1}s/",
"mandatory": true