gem / oq-platform

DEPRECATED. Please refer to https://github.com/gem/oq-platform2
8 stars 3 forks source link

Use engine through its API #628

Closed daniviga closed 7 years ago

daniviga commented 7 years ago

We should stop importing engine and hazardlib stuff directly in the platform code and instead use the HTTP API.

The software stack used by our platform is getting too old and isn't compatible/tested with the engine anymore. We are facing the problem that platform and engine cannot be installed on the same env.

About the engine features used by the platform (xml validation) we already provide an HTTP API in 'openquake.server`: using this API we can install the in a separate venv with the right libraries and then make remote calls.

It's the same problem we had and we solved with QGIS.

nastasi-oq commented 7 years ago

Done.