criticalmanufacturing / cli

Critical Manufacturing Projects Command Line Tool
https://criticalmanufacturing.github.io/cli/
BSD 3-Clause "New" or "Revised" License
11 stars 27 forks source link

feat: Support Security Portal package type for MES v10 #366

Closed vitorpmoreira closed 8 months ago

vitorpmoreira commented 8 months ago

What's Changed

Added support for packing Security Portal packages for the MES v10. In this new case, the usual suspect that may require changes (config.json) has been moved from the app's root dir to the ./src relative path. When performing file transformations, the environment manager supports setting the relativePath of the file in the target filesystem (container).

Changelog

  1. Created a SecurityPortalPackageTypeHandlerV2 which is used when the MESVersion is at least 10.0.0.
  2. Support relativePath when configuring Steps (generic change).
  3. Added a UnitTest for this use-case.
  4. Version bumped to 4.1.0-2.