You can use any approach. In second approach you need to be sure that ServiceA is accessible from ServiceB. If it is accessible, then actually I am not able to guess reason why we need altogether separate service i.e. ServiceC for co-ordination. ServiceB can directly subscribe to events in ServiceA....
This has been asked a lot on the HAL discuss forums https://groups.google.com/forum/#!forum/hal-discuss The fact that verbs aren't returned is a decision of the hypermedia format you're using, which i'm guessing is HAL (or maybe collection+json). Some formats DO include verb information. HAL actually allows you to include custom fields on...
ruby-on-rails,rest,activerecord,php-5.5,hypermedia
Representation is the name given for the complete set of bytes that are sent over the wire when you make a request to a resource using a link. Resource is a any concept that is important to your application and you wish to expose it to a client application. A...
A well-designed HATEOAS API will have clear entry points, and the rest of the application behaviour will be discoverable from there. Since the question is about HATEOAS specifically I would say using a URI template puts too much responsibility onto the client. Instead you should provide an explicit URL for...
inheritance,reflection,go,hypermedia
I am not sure to understand what you are trying to do, but with reflection, you can see if a field exists or not and then do something with it. Example derived from the 'laws of reflection' article (http://blog.golang.org/laws-of-reflection). Play: http://play.golang.org/p/neU3j2MYvz package main import ( "fmt" "reflect" ) type T1...