Modalità stand-alone ConversionTool che permetta oltre la scrittura su file o stdout anche i sistemi attualmente disponibili Caravel,Kafka,RabbitMQ,OSC
Issue #16 (closed), #31 (closed), #64 (closed), #65 (closed), #66 (closed), #67 (closed).
Attualmente
ew2openapi 1.19.0-dev (2023-01-24)
Earthworm module for transporting Earthworm messages from rings to:
- ew2openapi Webservice
- RabbitMQ exchanges
- JSON files.
ew2openapi can be used in two different ways:
- launched as an Earthworm module to redirect data into webservices or RabbitMQ
- stand-alone to convert Earthworm message to JSON ew2openapi format
Earthworm messages can optionally be converted in JSON format.
GeoJSON format could be also used but only when geographic references
are directly or inderictely available for a specific message type.
Usage as Earthworm module:
ew2openapi <configfile.d>
Usage as Earthworm messages conversion tool:
ew2openapi <TYPE_MSG> <input_ew_messagefile> <output_jsonfile>
ew2openapi <TYPE_MSG> <input_ew_messagefile> -
ew2openapi <TYPE_MSG> - <output_jsonfile>
ew2openapi <TYPE_MSG> - -
N.B. character '-' stands for standard input/output.
Environment variable EW_PARAMS is required.
You could define EW_PARAMS before command:
(i.e. EW_PARAMS=./params ew2openapi ...).
Matteo Quintiliani - Istituto Nazionale di Geofisica e Vulcanologia - Italy
Mail bug reports and suggestions to <matteo.quintiliani@ingv.it>
Aggiungere possibilità in output di leggere i parametri dal file ew2openapi.d
. Quindi l'unica cosa che cambia è che leggerà i messaggi da riga di comando anziché dal RING.
Edited by Matteo Quintiliani