cuba-platform / bpm

Business Process Management Addon
https://www.cuba-platform.com/
Apache License 2.0
43 stars 23 forks source link

Custom REST controllers improvements #27

Closed haulmont-git closed 6 years ago

haulmont-git commented 6 years ago

Exposing services in REST have many limitations such as:

According to feedback, developers usually end up with creating custom Spring REST Controllers:

https://www.cuba-platform.com/discuss/t/there-is-a-way-to-generate-html-from-a-rest-api-call/3185/2 https://www.cuba-platform.com/discuss/t/how-to-restrict-rest-api-v2-to-allow-post-only/3166

So instead of reinventing spring-mvc within our REST services maybe we need to enhance custom controllers usage, here are some ideas on it:


Original issue: https://youtrack.haulmont.com/issue/PL-10144

rapekas commented 6 years ago

Issue moved to cuba-platform/cuba #799 via ZenHub