container icon indicating copy to clipboard operation
container copied to clipboard

Enhance Live-Modeling Performance: Enable using CSARs from a local Winery Repository

Open nyuuyn opened this issue 3 years ago • 0 comments

Short Description

The Live-Modeling feature of the winery https://github.com/OpenTOSCA/winery/pull/230 enable users to model and "test" their deployment all within the Topology Modeler of the Winery. However, at certain points in time a complete CSAR has to be uploaded to the Container (especially when the model changes), which when it is quite large, slows the performance of the feature. The idea of this PR is to enable using a local winery git repository, enabling to use the Winery and Container on the same data, which in turn, allows us to remove uploading CSARs and therefore increase performance.

Proposed Changes

  • Add an additional CSAR storage implementation that can read all necessary data from a base winery repository
  • Enable the API to be able to present that data via REST, e.g., right now it is expected that all file paths are present just as in a CSAR, this is not the case in a winery repository (e.g. import elements are completely missing!)
  • Enable the container to generate plans when needed, meaning, when service templates change in the storage, old plans have to be regenerated and so on. Probably, we need to think about generating plans completely in an ad-hoc manner

nyuuyn avatar Jun 09 '21 12:06 nyuuyn