Petascope: XML schema validation should be optional
The first request to petascope typically takes a looong time, because the XML schema validator collects/parses the XML schemas. This is necessary to pass the WCS test suite for example, but in production it is just unnecessary overhead.
So this schema validation should be optional, controlled via a parameter in petascope.properties
, and should be disabled by default.
Change History
(7)
Priority: |
minor → trivial
|
Milestone: |
→ 8.4
|
Owner: |
changed from Dimitar Misev to Alex Dumitru
|
Status: |
new → assigned
|
Owner: |
changed from Alex Dumitru to Nikolche Kolev
|
Complexity: |
→ Medium
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
@Nikolce
You should add a parameter to
petascope.properties
, e.g.Read the parameter value in
ConfigManager
, and then wrap the code inXMLDescribeCoverageParser
(lines 58-82 afaics) in anif
based on the value of the parameter.If you can't find any of the files just let me know. wiki:PetascopeDevGuide would be useful to check out (but don't go into the old/new database schema).