no problem,but Restful Api may be more regulated I took a look skywalking and shardingsphere interface , shardingsphere interface is Resutful api ,skywalking part is ,for https://github.com/apache/skywalking/blob/master/test/plugin/scenarios/feign-scenario/src/main/java/org/apache/skywalking/apm/testcase/feign/controller/RestController.java
main thing is that the query conditions of DS are not encapsulated. If there are too many request parameters, the interface will appear bloated. ________________________________ Best Regards --------------- DolphinScheduler(Incubator) PPMC Zhanwei Qiao 乔占卫 [email protected]<mailto:[email protected]> --------------- From: Sheng Wu<mailto:[email protected]> Date: 2020-02-27 11:12 To: dev<mailto:[email protected]> Subject: Re: [Proposal] ApiServer interface transform to Resutful api Where are these API for? Take a look at GraphQL, GitHub and many systems are using this kind of design. Personally, I like it, and SkyWalking has used it for several years and works well. Sheng Wu 吴晟 Twitter, wusheng1108 qiao zhanwei <[email protected]> 于2020年2月27日周四 上午11:10写道: > Hello ALL : > > 1,Query parameters must be encapsulated by the entity class, otherwise, > once there are many parameters, too many method parameters > > 2,interface can support GET,POST,PUT,DELETE request,each interface resource > path can support four types of requests > > Thx > > ________________________________ > > Best Regards > --------------- > DolphinScheduler(Incubator) PPMC > Zhanwei Qiao 乔占卫 > [email protected]<mailto:[email protected]> > --------------- >
