redhat-helloworld-msa / helloworld-msa

Main repository with documentation and support files
Apache License 2.0
229 stars 158 forks source link

Create a unified service url #3

Open hferentschik opened 8 years ago

hferentschik commented 8 years ago

Currently the various services reply to different service urls, eg /api/hello, api/namaste, ...

I think it would make more sense to have a unified URL like, api/greet. This way it is not encoded into the URL what's supposed to happen. The task of the service is to "greet" and it does so in multiple languages, depending on the service targeted.

Also, in all cases the root route should be valid as well. Either have some content there with a link to the actual service url or it could also be a re-direct to the service URL. I guess it depends a bit where we want to go with this.

rafabene commented 8 years ago

thoughts @yanaga ?