Added rules for geoanalytics-main-service refs #18081

This commit is contained in:
Luca Frosini 2019-11-21 18:23:41 +01:00
parent 3081ec378b
commit 2e66d3f7c1
3 changed files with 17 additions and 1 deletions

View File

@ -33,6 +33,7 @@ public class TestRules {
"FullTextIndexNode-insert", "FullTextIndexNode-insert",
"FullTextIndexNode-listCollections", "FullTextIndexNode-listCollections",
"FullTextIndexNode-search", "FullTextIndexNode-search",
"geoanalytics-main-service-UNKNOWN",
"GeoNetwork-login", "GeoNetwork-login",
"RConnector-connect", "RConnector-connect",
"RConnector-UNKNOWN", "RConnector-UNKNOWN",
@ -82,7 +83,7 @@ public class TestRules {
@Test @Test
public void testSingleRule() throws Exception { public void testSingleRule() throws Exception {
testRule("ShareLatex-disconnect"); testRule("geoanalytics-main-service-UNKNOWN");
} }
} }

View File

@ -0,0 +1,12 @@
{
"match": {
"serviceClassRegex": "geoanalytics",
"serviceNameRegex": "geoanalytics-main-service",
"calledMethodRegex": ".*"
},
"replace": {
"serviceClass": "geoanalytics",
"serviceName": "geoanalytics-main-service",
"calledMethod": "UNKNOWN"
}
}

View File

@ -0,0 +1,3 @@
geoanalytics,geoanalytics-main-service,/
geoanalytics,geoanalytics-main-service,/index.html
geoanalytics,geoanalytics-main-service,index.html
1 geoanalytics geoanalytics-main-service /
2 geoanalytics geoanalytics-main-service /index.html
3 geoanalytics geoanalytics-main-service index.html