Forced SDI as service class for all the spatial data services
This commit is contained in:
parent
340563dde6
commit
0cdc4aba75
|
@ -5,7 +5,7 @@
|
|||
"calledMethodRegex": "^(?!.*\/(wfs|wms|wcs|wmts)).*$"
|
||||
},
|
||||
"replace": {
|
||||
"serviceClass": "GeoServer",
|
||||
"serviceClass": "SDI",
|
||||
"serviceName": "GeoServer",
|
||||
"calledMethod": "OTHER"
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
"calledMethodRegex": "^.*\/(?<Protocol>(wfs|wms|wcs|wmts)).*$"
|
||||
},
|
||||
"replace": {
|
||||
"serviceClass": "GeoServer",
|
||||
"serviceClass": "SDI",
|
||||
"serviceName": "GeoServer",
|
||||
"calledMethod": "/${Protocol}",
|
||||
"_comment" : "Do not remove the initial / to avoid that wms is replaced with OTHER"
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash
|
||||
echo "[" > allRules.json
|
||||
cat **/*.json >> allRules.json
|
||||
echo "]" >> allRules.json
|
||||
sed -i 's/}{/},{/g' allRules.json
|
||||
|
||||
|
||||
tr -d '\n' < allRules.json > allRules.min.json
|
||||
sed -i 's/\t//g' allRules.min.json
|
||||
sed -i 's/ / /g' allRules.min.json
|
||||
sed -i 's/": "/":"/g' allRules.min.json
|
||||
sed -i 's/": {/":{/g' allRules.min.json
|
|
@ -5,7 +5,7 @@
|
|||
"calledMethodRegex": ".*GeoserverManagement.*"
|
||||
},
|
||||
"replace": {
|
||||
"serviceClass": "geoanalytics",
|
||||
"serviceClass": "SDI",
|
||||
"serviceName": "geoanalytics-gos",
|
||||
"calledMethod": "GeoserverManagement"
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
"calledMethodRegex": ".*ShapeManagement.*"
|
||||
},
|
||||
"replace": {
|
||||
"serviceClass": "geoanalytics",
|
||||
"serviceClass": "SDI",
|
||||
"serviceName": "geoanalytics-gos",
|
||||
"calledMethod": "ShapeManagement"
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
"calledMethodRegex": ".*"
|
||||
},
|
||||
"replace": {
|
||||
"serviceClass": "geoanalytics",
|
||||
"serviceClass": "SDI",
|
||||
"serviceName": "geoanalytics-main-service",
|
||||
"calledMethod": "OTHER"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue