Closed kcbabo closed 2 years ago
Similar to #152
This issue can also be reproduced by adding a non-existing usagePlan (usagePlan that is defined in Environment CRD) to APIProduct CRD.
This bug has been resolved and is released in v1.2.0-beta7 Environments and Portals will now omit invalid API Products without failing
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
headers-incorrect
) for the referenced API Doc.After that update, you will observer:
Expected behavior Ideal case: implement a validation webhook that validates configuration on apply and rejects invalid configuration. This is likely wrapped up in a much larger epic to provide syntactic and semantic validation for Portal CRs. Short term: degrade the portal gracefully if bad API product configuration is applied. The portal should still be available, but may show errors or omit APIs if they are invalid.