turbonomic / orm

Operator Resource Mapping
Apache License 2.0
5 stars 13 forks source link

Invalid path validation and omitted path tolerance in ORM #37

Closed kuanf closed 1 year ago

kuanf commented 1 year ago

ORM controller detects invalid path in owner and owned resources. However, it is hard to tell whether a path is invalid or omitted (use default value) in an resource. The proposed solution is to divide the scenario into 2 cases

  1. During ORM composing/debug time, developer wants to detect all the paths to make sure they're correct.
  2. During production time, devops wants to tolerate the omitted path, assuming the path is correct.

The solution is: