Skip to content

6.2.0

Compare
Choose a tag to compare
@pcf-platform-automation pcf-platform-automation released this 31 Aug 21:50
· 337 commits to main since this release

6.2.0

Features

  • interpolate behavior has been improved
    in all commands that perform interpolation.
    All interpolation in om is now dual-pass;
    what would have previously been the final output
    is interpolated again.
    This allows the use of mapping-variables,
    vars that have other vars as their values.
    For a detailed example, see the new test for this feature,
    found in interpolate/interpolate_suite_test.go.
    • This is intended to allow the use of vars files
      to map from automatically generated vars-names,
      such as those created by staged-config and config-template.
    • Also, note that Ops Files are only applied on the first pass,
      as they're not idempotent in the way that substituion is.
    • Similarly, the --path argument for om interpolate is only applied
      on the second pass.
    • We are aware that other CLI tools that use interpolation behavior
      don't do this, and may not wish to -
      for example, both fly and bosh communicate with servers
      that also understand the ((double-paren)) var syntax,
      and so possibly have cases for passing these things along unresolved.
      As far as we know, this is not true of any use of om.
    • We actually can't think of any case where this would be undesirable,
      even in the other tools we just mentioned.
      If you can, please open an issue!

Bug Fixes

  • configure-product will no longer assign a new guid for unnamed collections conatin:
    • non-configurable properties that haven't changed
    • secret/credential properties that haven't changed