XMLWordPrintable

      tosca types can be added to the system through rest endpoints (and through the UI for node types). However any types added in this way are not added to the import files and the definitions are therefore not included in generated csar (the imports added to the csar are static).

      To solve this issue it is proposed to implement:

      • When adding a tosca type through the REST endpoints it shall be possible to specify if the type is included in the model imports.
      • If it is already in the imports then proceed as today
      • If it is not already in the imports:
        • create a new import file called additional_type_definitions.yml if it does not already exist and add it to the collection of import files in the DB for the given model
        • add the type definition to the file under the correct structue (e.g. a data type defintions is added under "data_types" element
        • if the type already exists in the file it should be overwritten

            vasraz vasraz
            vasraz vasraz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: