Open hferentschik opened 6 years ago
@vpavlin FYI, I think switching to Goa is probably the best approach in terms of achieving the discussed decoupling of Idler and Proxy.
I completely agree with this
@hferentschik is https://github.com/fabric8-services/fabric8-jenkins-idler/issues/105 a subset of this issue?
is #105 a subset of this issue?
No, there are several things here. One issue (this one) is about using Goa to define the REST API for the Idler itself. It's own API. #105 is about using Goa's ability to generate a client from a given Goa spec file. I would consider this issue to be the more important one.
Currently, the REST API is defined and served by httprouter. We should switch to Goa to design and serve the API. Partly because it aligns with the other services and partly since this allows for automatic client generation on the caller side of the Idler (aka Proxy).