Adding StorageHub rules
This commit is contained in:
parent
d53dd33644
commit
185e104127
|
@ -220,7 +220,7 @@ public class TestRules extends ContextTest {
|
|||
allRules();
|
||||
File rulesDirectory = getRulesDirectory();
|
||||
File rulesDirFile = new File(rulesDirectory, "StorageHub");
|
||||
File ruleFile = new File(rulesDirFile, "StorageHub-getVreRootFolder.json");
|
||||
File ruleFile = new File(rulesDirFile, "StorageHub-getVreFolderRecents.json");
|
||||
testRule(ruleFile);
|
||||
}
|
||||
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
DataAccess,StorageHub,/workspace/verefolders
|
||||
DataAccess,StorageHub,/workspace/vrefodlers
|
||||
DataAccess,StorageHub,getVreFolders
|
||||
DataAccess,StorageHub,/workspace/verefolders/
|
||||
DataAccess,StorageHub,/workspace/vrefodlers/
|
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"match": {
|
||||
"serviceClassRegex": "DataAccess",
|
||||
"serviceNameRegex": "StorageHub",
|
||||
"calledMethodRegex": "\/workspace\/v(re|ere|er)fo(ld|dl)ers(\/){0,1}|getVreFolders"
|
||||
},
|
||||
"replace": {
|
||||
"serviceClass": "DataAccess",
|
||||
"serviceName": "StorageHub",
|
||||
"calledMethod": "getVreFolders"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,2 @@
|
|||
DataAccess,StorageHub,/workspace/vrefolder/recents
|
||||
DataAccess,StorageHub,getVreFolderRecents
|
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"match": {
|
||||
"serviceClassRegex": "DataAccess",
|
||||
"serviceNameRegex": "StorageHub",
|
||||
"calledMethodRegex": "\/workspace\/vrefolder\/recents|getVreFolderRecents"
|
||||
},
|
||||
"replace": {
|
||||
"serviceClass": "DataAccess",
|
||||
"serviceName": "StorageHub",
|
||||
"calledMethod": "getVreFolderRecents"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue