Added rules for 'storage' refs #18079
This commit is contained in:
parent
b41507522b
commit
26afb0a5a4
|
@ -51,6 +51,7 @@ public class TestRules {
|
||||||
"SimulFishGrowthData-Site",
|
"SimulFishGrowthData-Site",
|
||||||
"SimulFishGrowthData-Species",
|
"SimulFishGrowthData-Species",
|
||||||
"SimulFishGrowthData-UNKNOWN",
|
"SimulFishGrowthData-UNKNOWN",
|
||||||
|
"storage-UNKNOWN",
|
||||||
"TagMe-tag"
|
"TagMe-tag"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -95,7 +96,7 @@ public class TestRules {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testSingleRule() throws Exception {
|
public void testSingleRule() throws Exception {
|
||||||
testRule("SimulFishGrowthData-Site");
|
testRule("storage-UNKNOWN");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
{
|
||||||
|
"match": {
|
||||||
|
"serviceClassRegex": "content-management",
|
||||||
|
"serviceNameRegex": "storage",
|
||||||
|
"calledMethodRegex": ".*"
|
||||||
|
},
|
||||||
|
"replace": {
|
||||||
|
"serviceClass": "content-management",
|
||||||
|
"serviceName": "storage",
|
||||||
|
"calledMethod": "UNKNOWN"
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,8 @@
|
||||||
|
content-management,storage,/rest/resources
|
||||||
|
content-management,storage,/rest/resources/
|
||||||
|
content-management,storage,/rest/resources/58c6701b7c1b605b68964500
|
||||||
|
content-management,storage,/rest/resources/58c6717a7c1b605b68964500
|
||||||
|
content-management,storage,/rest/resources/58c6717a7c1b605b68964501
|
||||||
|
content-management,storage,/rest/resources/add
|
||||||
|
content-management,storage,/rest/resources58c045237c1b604d593ba3c2
|
||||||
|
content-management,storage,UNKNOWN
|
|
Loading…
Reference in New Issue