2011/8/19 Brett Porter <[email protected]>: > > On 19/08/2011, at 8:29 PM, Olivier Lamy wrote: > >> FYI note on progress :-) >> >> So I'm focused on REST support and OSGI stuff (some features added in >> maven indexer for osgi metadatas indexing). >> REST support move slowly as I have to take care of some code done in >> webapp rather than in services and redback karma on services. >> >> And to be able to have a good set of unit test, I have to provide >> first some admin services before rest search services. >> >> Note as there is a large code duplication in xmlrpc and current rest >> stuff, I think about creating a common modules which will contains >> base remote services code (a name like : common-remote-services or an >> other if someone has a better idea :-) ) > > Is this duplication of "remote" type code, or business logic? I would have > thought the actual remote stuff would be a pretty thin layer, and that most > would live in search or the repository API, or a "repository admin API" > (which is probably a combination of the current configuration module + the > code that is in the web app now)
dupe are wrappers and some thin logic (bean/datas validation too). Have a look at the addManagedRepo part in webapp and xmlrpc (and now in rest part :-) ) BTW not critical or a big issue just a cleanup to do :-). That's why I wanted to move some of those dups in a new module (archiva-remote-layer ? Maye I'm not really good enough in marketing to find the good name :-) ) Let me know > > - Brett > > -- > Brett Porter > [email protected] > http://brettporter.wordpress.com/ > http://au.linkedin.com/in/brettporter > > > > > -- Olivier Lamy Talend : http://talend.com http://twitter.com/olamy | http://linkedin.com/in/olamy
