Fixed rules
This commit is contained in:
parent
7bf508a480
commit
7f0ae4a681
|
@ -23,7 +23,8 @@ public class TestRegexReplaceRules {
|
||||||
|
|
||||||
String[] aggregationTests = new String[]{
|
String[] aggregationTests = new String[]{
|
||||||
"AuthorizationService-generate", "AuthorizationService-retrieve", "AuthorizationService-scopes",
|
"AuthorizationService-generate", "AuthorizationService-retrieve", "AuthorizationService-scopes",
|
||||||
"TagMe-tag", "GeoNetwork-login", "CkanConnector-connect", "CkanConnector-disconnect"
|
"TagMe-tag", "GeoNetwork-login", "CkanConnector-connect", "CkanConnector-disconnect",
|
||||||
|
"FullTextIndexNode-insert", "FullTextIndexNode-delete"
|
||||||
};
|
};
|
||||||
|
|
||||||
for(String aggregationTest : aggregationTests) {
|
for(String aggregationTest : aggregationTests) {
|
||||||
|
@ -40,7 +41,7 @@ public class TestRegexReplaceRules {
|
||||||
logger.info("{} -> {}", line, regexReplace.getReplace());
|
logger.info("{} -> {}", line, regexReplace.getReplace());
|
||||||
} else {
|
} else {
|
||||||
logger.error("{} does not match {}. This MUST not occur.", line, regexReplace.getRegex());
|
logger.error("{} does not match {}. This MUST not occur.", line, regexReplace.getRegex());
|
||||||
throw new Exception(line + "does not match "+ regexReplace.getRegex() + ". This MUST not occur.");
|
throw new Exception(line + " does not match "+ regexReplace.getRegex() + ". This MUST not occur.");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"regex": "^\/{0,1}gcube\/service\/connect.*",
|
"regex": "^\/{0,1}gcube\/service\/connect.*",
|
||||||
"replace": "/gcube/service/connect",
|
"replace": "connect",
|
||||||
"serviceClass": "DataAccess",
|
"serviceClass": "DataAccess",
|
||||||
"serviceName": "CkanConnector"
|
"serviceName": "CkanConnector"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"regex": "^\/{0,1}gcube\/service\/disconnect.*",
|
"regex": "^\/{0,1}gcube\/service\/disconnect.*",
|
||||||
"replace": "/gcube/service/disconnect",
|
"replace": "disconnect",
|
||||||
"serviceClass": "DataAccess",
|
"serviceClass": "DataAccess",
|
||||||
"serviceName": "CkanConnector"
|
"serviceName": "CkanConnector"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue