This service is used for testing http connection between microservices and monitoring them.
321
This service can be used for testing, it has one endpoint which return a RAW string but this RAW string value can be configured on different ways via Spring properties.
This is the default behaviour when anything is configured, this configuration return a value configured in the
property greeter.local.greet.
When greeter.system is set to remote, this configuration tells the service to call an external URL defined
on property greeter.url via GET method and return the received value.
When greeter.system is set to remote and greeter.mapper.type is set to json, this configuration
tells the service to call an external URL via GET method, the response has to be in JSON format, then the service
extract the value given in the property greeter.mapper.field and return it.
| property | description | default |
|---|---|---|
greeter.local.greet | Value returned by the service | Hello |
greeter.system | Value returned by the service (possible values: remote, local) | local |
greeter.url | URL of the remote service | https://api.namefake.com/ |
greeter.mapper.type | Specify what wrapper to use when remote call is perform (possible values raw, json) | raw |
greeter.mapper.field | Field to be extracted form JSON payload | name |
Content type
Image
Digest
Size
136.9 MB
Last updated
almost 5 years ago
docker pull pablobastidasv/hello-svc