-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #2802: Kubernetes Mock Server Crud Mode should reject invalid Kub…
…ernetes resources Right now when a resource with no metadata is created, instead of throwing KubernetesClientException, we're throwing a NullPointerException here: KubernetesAttributesExtractor.extractMetadataAttributes:L154 KubernetesMockServer should validate whether object sent in request body contains metadata or not Note that this doesn't solve your issue when your using KubernetesMockServer in expectations mode since you set what you'll be getting as response by yourself
- Loading branch information
1 parent
72e6189
commit b3083a9
Showing
4 changed files
with
96 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters