Opened 11 years ago
Last modified 7 years ago
#502 closed enhancement
DbMetadataSource and Coverageclass needs refactoring — at Initial Version
Reported by: | Piero Campalani | Owned by: | Piero Campalani |
---|---|---|---|
Priority: | critical | Milestone: | 9.5 |
Component: | petascope | Version: | development |
Keywords: | refactoring dbmetadatasource gmlcov | Cc: | Vlad Merticariu, Dimitar Misev |
Complexity: | Hard |
Description
Class petascope.core.DbMetadataSource
is very fat, getting fatter. Its .read() method especially.
On one side there is the need for a more handy interface with the database (maybe through Java persistence APIs, or some other ORM).
Additionally, there is the need for a new supporting package which abstracts the GMLCOV coverage metadata (petascope.gmlcov
?), to avoid the extensive use of Java Lists and Maps and to support the creation of petascope.CoverageMetadata
objects.
A linkage with class petascope.wcps.server.core.CoverageInfo
to let WCS and WCPS have a single source of metadata information should be evaluated.