Class RemoteListingDiscoveryService
java.lang.Object
ecmwf.common.parser.discovery.RemoteListingDiscoveryService
Discovery service responsible for auto-detecting remote listing formats, inferring mappings, and producing preview
results for OpenECPDS UI.
This service is the entry point for "auto-detection + preview" workflow:
- Analyze sample content
- Detect format (CSV / JSON / STAC / XML / FTP / S3)
- Infer field mapping suggestions
- Build ParserConfig
- Execute parser via RemoteListingEngine
- Return preview result for UI validation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMain discovery entry point.
-
Constructor Details
-
RemoteListingDiscoveryService
-
-
Method Details
-
discover
Main discovery entry point.- Parameters:
sampleContent- partial content (first KB of remote listing)- Throws:
Exception
-