Get all required deployment data from provided Storage in xOpera API #194
Labels
enhancement
New feature or request
help wanted
Extra attention is needed
question
Further information is requested
Description
Currently xOpera relies heavily on reading files required for deployment (service templates, playbooks, artefacts) from filesystem, while at the same time using
Storage
instance for storing data produced during deployment. Using filesystem for obtaining data can be problematic when using xOpera API and deploying a sequence of blueprints from different locations, as one has to carefully maintain proper working directory along with rollback procedures in case of errors. Encapsulating all filesystem I/O into single instance would simplify usage of xOpera API.Additionally current usage of xOpera API is tied to a filesystem, but implementing Storage I/O can expand our possibilities for getting templates and artefacts from any kind of source: SQL DB, web, in-memory storage.
It can be also beneficial from security perspective as
Storage
can also implement data protection.Steps
Eliminate all usages of
workdir
and tie all filesystem I/O operations toStorage
entityThe text was updated successfully, but these errors were encountered: