You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Jacopo Cappellato <ja...@gmail.com> on 2025/10/30 08:21:56 UTC
Proposed Refactoring of the rest-api Plugin
Hi all,
I’ve opened a pull request proposing some internal refactoring for the
rest-api plugin.
The PR is available at [*].
The changes do not affect any features or functionality, all usage notes
and instructions (such as those in the OFBiz rest-api plugin documentation
[**]) remain valid.
The goal of this work is to improve and simplify the internal organization
of the plugin.
In particular, the changes include:
* Grouping all custom annotations within a dedicated package
* Cleaning up and rationalizing annotation usage
* Removing unnecessary base classes
* Simplifying error and response handling
* Misc cleanups.
These improvements should make the codebase easier to understand and
maintain. In my opinion, any future work or enhancements to this component
would benefit from being built on top of this refactoring. For this reason,
I’d like to merge it into trunk once (and if) the community agrees.
I’m aware Michael’s team has been working on enhancements to this component:
On Thu, Oct 23, 2025 at 10:48 PM Michael Brohl <mi...@ecomify.de>
> wrote:
> We are using OFBiz for nearly 25 years now, building complex custom
> projects using more or less parts of the datamodel/services and
> sometimes even without any UI to serve as a database plus REST API
> (using a very much enhanced REST-API plugin).
It would be great if you could consider rebasing your work on top of this
refactored version. I believe this cleaner internal structure will make it
easier to maintain even custom or extended functionality moving forward.
Please have a look at the PR and share your feedback. Once I get the green
light from the community, I’ll proceed with the merge.
Thanks,
Jacopo
[*] https://github.com/apache/ofbiz-plugins/pull/146
[**]
https://cwiki.apache.org/confluence/display/OFBIZ/How+to+implement+RESTful+APIs+using+the+OFBiz+rest-api+plugin
Re: Proposed Refactoring of the rest-api Plugin
Posted by Rodrigo Souza <ac...@gmail.com>.
Hello everyone,
I'm working on an API Management and Developer Portal plugin for OFBiz.
I would be very happy to have your support and suggestions.
Best regards
Em sáb., 1 de nov. de 2025 às 13:04, Jacques Le Roux <
jacques.le.roux@les7arts.com> escreveu:
> Hi Michael,
>
> I totally agree documenting and explaining is crucial. How to do it is
> also important (ML, GitHub, Jira, Confluence, etc...).
>
> Thanks
>
> Jacques
>
> Le 01/11/2025 à 13:30, Michael Brohl a écrit :
> > Hi Jacques,
> >
> > planned on our side for a long time, along with some other topics.
> >
> > It is just a matter of capacities to document/explain the changes and
> provide a pr.
> >
> > Best regards,
> >
> > Michael Brohl
> >
> > ecomify GmbH - www.ecomify.de
> >
> > Am 30.10.25 um 09:40 schrieb Jacques Le Roux:
> >> Hi Jacopo, Michael,
> >>
> >> Maybe it's time to share efforts ?
> >>
> >> TIA
> >>
> >> Jacques
> >>
> >> Le 30/10/2025 à 09:21, Jacopo Cappellato a écrit :
> >>> I’m aware Michael’s team has been working on enhancements to this
> component:
>
Re: Proposed Refactoring of the rest-api Plugin
Posted by Jacques Le Roux <ja...@les7arts.com>.
Hi Michael,
I totally agree documenting and explaining is crucial. How to do it is also important (ML, GitHub, Jira, Confluence, etc...).
Thanks
Jacques
Le 01/11/2025 à 13:30, Michael Brohl a écrit :
> Hi Jacques,
>
> planned on our side for a long time, along with some other topics.
>
> It is just a matter of capacities to document/explain the changes and provide a pr.
>
> Best regards,
>
> Michael Brohl
>
> ecomify GmbH - www.ecomify.de
>
> Am 30.10.25 um 09:40 schrieb Jacques Le Roux:
>> Hi Jacopo, Michael,
>>
>> Maybe it's time to share efforts ?
>>
>> TIA
>>
>> Jacques
>>
>> Le 30/10/2025 à 09:21, Jacopo Cappellato a écrit :
>>> I’m aware Michael’s team has been working on enhancements to this component:
Re: Proposed Refactoring of the rest-api Plugin
Posted by Michael Brohl <mi...@ecomify.de>.
Hi Jacques,
planned on our side for a long time, along with some other topics.
It is just a matter of capacities to document/explain the changes and
provide a pr.
Best regards,
Michael Brohl
ecomify GmbH - www.ecomify.de
Am 30.10.25 um 09:40 schrieb Jacques Le Roux:
> Hi Jacopo, Michael,
>
> Maybe it's time to share efforts ?
>
> TIA
>
> Jacques
>
> Le 30/10/2025 à 09:21, Jacopo Cappellato a écrit :
>> I’m aware Michael’s team has been working on enhancements to this
>> component:
Re: Proposed Refactoring of the rest-api Plugin
Posted by Jacques Le Roux <ja...@les7arts.com>.
Hi Jacopo, Michael,
Maybe it's time to share efforts ?
TIA
Jacques
Le 30/10/2025 à 09:21, Jacopo Cappellato a écrit :
> I’m aware Michael’s team has been working on enhancements to this component: