You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@taverna.apache.org by Menaka Madushanka <me...@gmail.com> on 2015/07/16 22:50:46 UTC

Proposed RO bundle validator

Hello everybody,

I have planned the process of the validator and also the structure of the
validation report.

I need to know where should this class be included. May I create this in
robundle module or seperately?

-- 
Menaka Madushanka Jayawardena
Faculty of Engineering, <http://www.pdn.ac.lk/eng>
University of Peradeniyaya.
LinkedIn <http://lk.linkedin.com/in/menakajayawardena>

Re: Proposed RO bundle validator

Posted by Stian Soiland-Reyes <st...@apache.org>.
(as I said in a separate email)

I think a new org.apache.taverna.robundle.validator package within the
taverna-robundle module should be best - as long as you don't need
any/much new dependencies.

In my mind, these are the reasons for when you would want to separate
out a new Maven module in Taverna:


a) To avoid adding a bunch of dependencies for downstream users --
e.g. if many downstream modules/projects (third-party and internally)
would use robundle, but not robundle-validator, but the validator
additionally needs dependency A,B, C & D

a2)  If downstream users always (directly or indirectly) will need
A,B,C & D anyway, then this rule does not apply

b) To separate API interfaces and implementations for OSGi-based
modules (but we have not done so for RO Bundle to keep it simple)

c) When needed to avoid circular spaghetti dependencies (e.g. to avoid
taverna-robundle depending on taverna-scufl2-api depending on
taverna-robundle)

d) Different pace of release and versioning (but we try to keep that
at git repository level to have simpler tagging and release process)


Separation of concern should not be a reason alone - Java packages
give you that - obviously within reason - putting a package in the
"wrong" module/repository make it hard to find.

Your views might differ! Let us know!


On 16 July 2015 at 21:50, Menaka Madushanka <me...@gmail.com> wrote:
> Hello everybody,
>
> I have planned the process of the validator and also the structure of the
> validation report.
>
> I need to know where should this class be included. May I create this in
> robundle module or seperately?
>
> --
> Menaka Madushanka Jayawardena
> Faculty of Engineering,
> University of Peradeniyaya.
> LinkedIn



-- 
Stian Soiland-Reyes
Apache Taverna (incubating), Apache Commons RDF (incubating)
http://orcid.org/0000-0001-9842-9718