Added rules for RConnector refs #18059
This commit is contained in:
parent
850159db4b
commit
0cc9613413
|
@ -34,6 +34,8 @@ public class TestRules {
|
||||||
"FullTextIndexNode-listCollections",
|
"FullTextIndexNode-listCollections",
|
||||||
"FullTextIndexNode-search",
|
"FullTextIndexNode-search",
|
||||||
"GeoNetwork-login",
|
"GeoNetwork-login",
|
||||||
|
"RConnector-connect",
|
||||||
|
"RConnector-UNKNOWN",
|
||||||
"TagMe-tag"
|
"TagMe-tag"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -78,7 +80,7 @@ public class TestRules {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testSingleRule() throws Exception {
|
public void testSingleRule() throws Exception {
|
||||||
testRule("Catalogue-WS-licenses");
|
testRule("RConnector-connect");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
{
|
||||||
|
"match": {
|
||||||
|
"serviceClassRegex": "DataAnalysis",
|
||||||
|
"serviceNameRegex": "RConnector",
|
||||||
|
"calledMethodRegex": "UNKNOWN|^\/{0,1}gcube\/resource\/scopes"
|
||||||
|
},
|
||||||
|
"replace": {
|
||||||
|
"serviceClass": "DataAnalysis",
|
||||||
|
"serviceName": "RConnector",
|
||||||
|
"calledMethod": "UNKNOWN"
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,2 @@
|
||||||
|
DataAnalysis,RConnector,UNKNOWN
|
||||||
|
DataAnalysis,RConnector,gcube/resource/scopes
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
{
|
||||||
|
"match": {
|
||||||
|
"serviceClassRegex": "DataAnalysis",
|
||||||
|
"serviceNameRegex": "RConnector",
|
||||||
|
"calledMethodRegex": "^\/{0,1}gcube\/service\/connect.*"
|
||||||
|
},
|
||||||
|
"replace": {
|
||||||
|
"serviceClass": "DataAnalysis",
|
||||||
|
"serviceName": "RConnector",
|
||||||
|
"calledMethod": "connect"
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,3 @@
|
||||||
|
DataAnalysis,RConnector,/gcube/service/connect
|
||||||
|
DataAnalysis,RConnector,/gcube/service/connect/
|
||||||
|
DataAnalysis,RConnector,gcube/service/connect
|
|
Loading…
Reference in New Issue