Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gripmock grpc health check in kubernetes #108

Open
ranganathmk27 opened this issue Apr 18, 2022 · 1 comment
Open

gripmock grpc health check in kubernetes #108

ranganathmk27 opened this issue Apr 18, 2022 · 1 comment

Comments

@ranganathmk27
Copy link

Hi,

I'm deploying gripmock in kubernetes cluster and it check the health check using check method with payload "service":""

I'm tried this way to create a mock using matches method to accept "service field with empty string"

tried many combination also like
^$
^$|.*
""
but no luck with any above combination, I'm getting Can't find stub error
{"service":"Health","method":"Check","input":{"matches":{"service":"^$"}},"output":{"data":{"status":"SERVING"}}}

{
"error": "2 UNKNOWN: Can't find stub \n\nService: Health \n\nMethod: Check \n\nInput\n\n{\n}\n\nClosest Match \n\nmatches:{\n\tmatches: ^$\n}"
}

@ValorHeart
Copy link

Hey, did you find a solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants