{"repo":"yesinteractive/dadjokes","free":true,"listed":false,"github":"https://github.com/yesinteractive/dadjokes","clone":"git clone https://github.com/yesinteractive/dadjokes.git","description":"Dadjokes.online: Microservice echo-service as an alternative to httpbin for testing k8s, docker, kong, istio, kuma, etc. Built on FSL php microframework. Who says testing and dev ops can't be fun?","language":"PHP","stars":110,"topics":["microservice","docker","dad-jokes","k8s","kubernetes","php","dev","devops","kubernetes-deployment","service-mesh"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"Dad Jokes Microservice # Just a sample humurous microservice or echo service used for testing API Gateways such as Kong, Kubernetes K8s, Openshift, Docker, Service meshes such as Kuma or Istio, etc. as an alternative to httpbin. Feel free to add your own jokes to this repo as well. In addition to a dad joke, the service will optionally echo back information about the incoming request. This is helpful for testing and troubleshooting things like API gateways or proxies. See below for instructions on how to enable echoing per request or by default. Hosted Service / Demo ## Access http://dadjokes.online to see the service in action. Usage ## Endpoint URI : / Method : GET POST PUT PATCH DELETE Parameters : optional Successful Response : 200 OK ENABLING THE ECHO FEATURE ### To enable the echoing of in the incoming request back into the response, simply add the docker environment variable DADJOKES NOECHO=FALSE to your configuration or simply use the /echo anywhere in your request calls or as part of a query string. For example: Endpoint URI : /echo/abc/efg/ Method : GET POST PUT PATCH DELETE Parameters : optional Successful Response : 200 OK BEHIND REVERSE PROXY CONFIGURATION ### If behind an API gateway or reverse proxy, you may wish to have only the URI of the original request echoed back and not the URI of the upstream proxy target. To do this you may add the docker environment variable DADJOKES BEHIND PROXY=TRUE to your configuration or set the global behind proxy configuration ","default_branch":null,"files":null,"tree":[],"storefront":"/r/yesinteractive","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/yesinteractive/dadjokes/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}