Fixed GeoNetwork rules
This commit is contained in:
parent
f345679c89
commit
04b2b6e89b
|
@ -212,7 +212,7 @@ public class TestRules extends ContextTest {
|
|||
allRules();
|
||||
File rulesDirectory = getRulesDirectory();
|
||||
File rulesDirFile = new File(rulesDirectory, "GeoNetwork");
|
||||
File rulesFile = new File(rulesDirFile, "GeoNetwork-OTHER.json");
|
||||
File rulesFile = new File(rulesDirFile, "GeoNetwork-read.json");
|
||||
testRule(rulesFile);
|
||||
}
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"match": {
|
||||
"serviceClassRegex": "SDI",
|
||||
"serviceNameRegex": "GeoNetwork",
|
||||
"calledMethodRegex": "^(?!.*(create|insert|delete|list|get|show|info|search|update|edit)).*$|^(.*(updated|editors|pwupdate|(systeminfo.*)|forget-password|getmap.png|(GetCapabilities.*)|(\/codelists\/.*)))$"
|
||||
"calledMethodRegex": "^(?!.*(read|create|insert|delete|list|get|show|info|search|update|edit)).*$|^(.*(updated|editors|pwupdate|(systeminfo.*)|forget-password|getmap.png|(GetCapabilities.*)|(\/codelists\/.*)))$"
|
||||
},
|
||||
"replace": {
|
||||
"serviceClass": "SDI",
|
||||
|
|
Loading…
Reference in New Issue