Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [lyo-dev] lyo-dev Digest, Vol 21, Issue 4

Sorry,
if i put too many useless details. Anyway yes, i was referring to a "from scratch" tutorial which could perhaps guide a developer from the vey beginning, not just with the import and the execution! Finally yes: maybe the title was too optimistic!

Thanks anyway.

Best,
Alessio.


2013/4/12 <lyo-dev-request@xxxxxxxxxxx>
Send lyo-dev mailing list submissions to
        lyo-dev@xxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
        http://dev.eclipse.org/mailman/listinfo/lyo-dev
or, via email, send a message with subject or body 'help' to
        lyo-dev-request@xxxxxxxxxxx

You can reach the person managing the list at
        lyo-dev-owner@xxxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of lyo-dev digest..."


Today's Topics:

   1. Re: OSLC Provider (Nils Kronqvist)
   2. Re: OSLC Provider (Roch Bertucat)


----------------------------------------------------------------------

Message: 1
Date: Fri, 12 Apr 2013 10:50:29 +0200
From: Nils Kronqvist <nissekronqvist@xxxxxxxxxxx>
To: Lyo project developer discussions <lyo-dev@xxxxxxxxxxx>
Cc: Cristina Seceleanu <cristina.seceleanu@xxxxxx>
Subject: Re: [lyo-dev] OSLC Provider
Message-ID: <BLU0-SMTP197F72A02C8B23F4764DE9DCC10@xxxxxxx>
Content-Type: text/plain; charset="iso-8859-1"

OK - thanks for clarification.

I don't know your context (e.g. who is Stefan :) and not sure what you mean by create in EMF .. you refer to creating a EMF eclipse project ..?), and sorry - not aware of any more detailed i.e. cook-book style tutorials from scratch.

But again - I found the OSLC workshop quite useful (see Lyo_OSLC_Workshop.pdf found in git as described in  http://wiki.eclipse.org/Lyo/OSLCWorkshop#Clone_the_Lyo_Git_repositories). Title of workshop: "OSLC enable your tool in a day" -- a bit optimistic though ..

Rgs,

/N

On 12 apr 2013, at 09:20, Alessio Bucaioni <alessiounivaq@xxxxxxxxx> wrote:

> Dear Nils,
> yes you assumed it right! I have actually looked all the resources you linked in the previous mail, but perhaps my previous question was not well formed. I try to be as much as clear as i can.
> All those resources are very useful but, de facto, they do not state anything about the implementation process, i.e. what kind of project should we create in EMF, how many classes do we have to implement, how to write the code and so on..In the last DevCaf? we had with Stefan, a lot of people were confusing too, and he made a great work explaining us the steps for the implementation of a consumer. Unfortunately a similar thing for a provider requires more time (at least another two weeks), but the project time is running out and we have some deadline to manage and i was asking to you if some of you already have done a "real" tutorial (not one which says to import some code and execute it).
>
> I thank you in advance for the availability and i hope you a very nice day.
>
> Best,
> Alessio.
>
>
> 2013/4/11 <lyo-dev-request@xxxxxxxxxxx>
> Send lyo-dev mailing list submissions to
>         lyo-dev@xxxxxxxxxxx
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://dev.eclipse.org/mailman/listinfo/lyo-dev
> or, via email, send a message with subject or body 'help' to
>         lyo-dev-request@xxxxxxxxxxx
>
> You can reach the person managing the list at
>         lyo-dev-owner@xxxxxxxxxxx
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of lyo-dev digest..."
>
>
> Today's Topics:
>
>    1. OSLC provider (Alessio Bucaioni)
>    2. Re: OSLC provider (Nils Kronqvist)
>    3. OslcDialog - selection vs creation dialogs (Martin P Pain)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 11 Apr 2013 09:35:25 +0200
> From: Alessio Bucaioni <alessiounivaq@xxxxxxxxx>
> To: lyo-dev@xxxxxxxxxxx
> Cc: Cristina Seceleanu <cristina.seceleanu@xxxxxx>
> Subject: [lyo-dev] OSLC provider
> Message-ID:
>         <CA+UL-n36NS=6UedvKvOapYmGv9Dd8PJYJu=KJ3TbbRpykdpFNw@xxxxxxxxxxxxxx>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hello people,
> i am Alessio Bucaioni, a research engineering at the Malardalens Univeristy.
> Currently i am working for the MBAT project under the supervision of
> Cristina Seceleanu; up to now, our goal is to implement some OSLC
> consumers/providers, within the next month and half. Since the short time i
> was wondering if any of you has made a "step-by-step" guide or something
> similar regarding  the implementation of a provider. It would be very
> useful.
>
> Many thanks in advance.
>
> --
> Alessio Bucaioni,
> Research Engineering @M?lardalen University (V?ster?s, SE)
>
> *Swedish mobile:  *+46725298579
> *Italian mobile:  *+393497925734
> *Email:  *alessiounivaq@xxxxxxxxx
> *Linkedin:  *http://www.linkedin.com/pub/alessio-bucaioni/27/5b2/b18
>
> *Address:* via Pier Michele Vizioli 5
>               Camarda, L'Aquila
>               67100, AQ, Italy
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://dev.eclipse.org/mailman/private/lyo-dev/attachments/20130411/b2e9aa23/attachment.html>
>
> ------------------------------
>
> Message: 2
> Date: Thu, 11 Apr 2013 09:50:36 +0200
> From: Nils Kronqvist <nissekronqvist@xxxxxxxxxxx>
> To: Lyo project developer discussions <lyo-dev@xxxxxxxxxxx>
> Cc: Cristina Seceleanu <cristina.seceleanu@xxxxxx>
> Subject: Re: [lyo-dev] OSLC provider
> Message-ID: <BLU0-SMTP82BB7B1B36668EFD606827DCC00@xxxxxxx>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi,
>
> I assume you have looked at http://wiki.eclipse.org/Lyo? Many examples there including a tutorial/workshop .. http://wiki.eclipse.org/Lyo/OSLCWorkshop. I found this very useful and given you have some eclipse etc experience fairly easy to get started.
>
> And at http://open-services.net/resources/  for example http://open-services.net/resources/tutorials/integrating-products-with-oslc/
>
> Or want something in addition to this?
>
> Rgs,
>
> /Nils Kronqvist
>
> On 11 apr 2013, at 09:35, Alessio Bucaioni <alessiounivaq@xxxxxxxxx> wrote:
>
> > Hello people,
> > i am Alessio Bucaioni, a research engineering at the Malardalens Univeristy.
> > Currently i am working for the MBAT project under the supervision of Cristina Seceleanu; up to now, our goal is to implement some OSLC consumers/providers, within the next month and half. Since the short time i was wondering if any of you has made a "step-by-step" guide or something similar regarding  the implementation of a provider. It would be very useful.
> >
> > Many thanks in advance.
> >
> > --
> > Alessio Bucaioni,
> > Research Engineering @M?lardalen University (V?ster?s, SE)
> >
> > Swedish mobile:  +46725298579
> > Italian mobile:  +393497925734
> > Email:  alessiounivaq@xxxxxxxxx
> > Linkedin:  http://www.linkedin.com/pub/alessio-bucaioni/27/5b2/b18
> >
> > Address: via Pier Michele Vizioli 5
> >               Camarda, L'Aquila
> >               67100, AQ, Italy
> >
> >
> > _______________________________________________
> > lyo-dev mailing list
> > lyo-dev@xxxxxxxxxxx
> > http://dev.eclipse.org/mailman/listinfo/lyo-dev
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://dev.eclipse.org/mailman/private/lyo-dev/attachments/20130411/f2da116b/attachment.html>
>
> ------------------------------
>
> Message: 3
> Date: Thu, 11 Apr 2013 14:36:41 +0100
> From: Martin P Pain <martinpain@xxxxxxxxxx>
> To: lyo-dev@xxxxxxxxxxx
> Subject: [lyo-dev] OslcDialog - selection vs creation dialogs
> Message-ID:
>         <OFF988AE9B.C107EED9-ON80257B4A.0049FEE9-80257B4A.004AC9B1@xxxxxxxxxx>
> Content-Type: text/plain; charset="us-ascii"
>
> Hello,
>
> I see from the code for
> org.eclipse.lyo.oslc4j.core.model.ServiceProviderFactory that the
> OslcDialog annotations are selection dialogs if on a @GET method and are
> creation dialogs if on a @POST method.
>
> Firstly, this is not documented on the OslcDialog annotation class.
> (Apologies that I'm not set up to submit a patch to add such a comment -
> hopefully someone else can do this quite simply.)
>
> Secondly, if you are only implementing the dialogs and not the query
> capabilities or creation factories then this poses a problem. (As far as I
> am aware such a situation is allowed by the OSLC specs - creation
> factories and query capabilities are optional. Such a situation might
> arise when trying to get an implementation out quickly and the particular
> clients you are programming for in the first iteration only require the
> delegated UIs.)
>
> I expect that for selection dialogs this is not a problem as it looks like
> you could put the annotation on the method that returns the dialog itself.
> However, for creation dialogs that method will also be a @GET method -
> which would result in the dialog being exposed as a selection dialog. I
> guess the workaround would be to put the annotation on the @POST method
> used for prefilling creation dialogs - but this also is optional.
>
> Is there another way to say whether an @OslcDialog is creation or
> selection? If not, could I suggest there be such a means (such as another
> parameter/field in the annotation)?
>
> Regards,
> Martin Pain
>
> Unless stated otherwise above:
> IBM United Kingdom Limited - Registered in England and Wales with number
> 741598.
> Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://dev.eclipse.org/mailman/private/lyo-dev/attachments/20130411/2b682a99/attachment.html>
>
> ------------------------------
>
> _______________________________________________
> lyo-dev mailing list
> lyo-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/lyo-dev
>
>
> End of lyo-dev Digest, Vol 21, Issue 2
> **************************************
>
>
>
> --
> Alessio Bucaioni,
> Research Engineering @M?lardalen University (V?ster?s, SE)
>
> Swedish mobile:  +46725298579
> Italian mobile:  +393497925734
> Email:  alessiounivaq@xxxxxxxxx
> Linkedin:  http://www.linkedin.com/pub/alessio-bucaioni/27/5b2/b18
>
> Address: via Pier Michele Vizioli 5
>               Camarda, L'Aquila
>               67100, AQ, Italy
>
>
> _______________________________________________
> lyo-dev mailing list
> lyo-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/lyo-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://dev.eclipse.org/mailman/private/lyo-dev/attachments/20130412/2b8ff49f/attachment.html>

------------------------------

Message: 2
Date: Fri, 12 Apr 2013 14:48:46 +0200
From: Roch Bertucat <roch.bertucat@xxxxxxxxx>
To: Lyo project developer discussions <lyo-dev@xxxxxxxxxxx>
Cc: Cristina Seceleanu <cristina.seceleanu@xxxxxx>
Subject: Re: [lyo-dev] OSLC Provider
Message-ID:
        <CAG4H0Ab0PJ0fpb_08Z3-X9m+jD-_=9eN90TFAVJhgFeysA6iZg@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset="iso-8859-1"

Hi Alessio,

I understand that you are looking for a tutorial on how to implement a OSLC
provider from scratch. This tutorial should not be technical but oriented a
level just above, that's it aimed at managers or software architects.

I think the material listed by Nils is relevant. The article that would be
close to what you are looking for is the OSLC tutorial and in particular
the following page which describes how to plan a successful implementation
of an OSLC provider:
http://open-services.net/resources/tutorials/integrating-products-with-oslc/implementing-an-oslc-provider/planning-out-a-partial-implementation-of-oslc-cm/
.

I think this article covers well the different steps you need to ask
yourself before writing some source code:


   - What is the business scenario to cover?
   - What kind of tools do you want to add capabilities to?
   - Which resources do you need to expose?
   - What approaches to implement the provider are possible (i.e.: native,
   plugin, adapter)?

Good luck for your implementation,

Roch


On Fri, Apr 12, 2013 at 10:50 AM, Nils Kronqvist <nissekronqvist@xxxxxxxxxxx
> wrote:

> OK - thanks for clarification.
>
> I don't know your context (e.g. who is Stefan :) and not sure what you
> mean by create in EMF .. you refer to creating a EMF eclipse project ..?),
> and sorry - not aware of any more detailed i.e. cook-book style tutorials
> from scratch.
>
> But again - I found the OSLC workshop quite useful
> (see Lyo_OSLC_Workshop.pdf found in git as described in
> http://wiki.eclipse.org/Lyo/OSLCWorkshop#Clone_the_Lyo_Git_repositories).
> Title of workshop: "OSLC enable your tool in a day" -- a bit optimistic
> though ..
>
> Rgs,
>
> /N
>
> On 12 apr 2013, at 09:20, Alessio Bucaioni <alessiounivaq@xxxxxxxxx>
> wrote:
>
> Dear Nils,
> yes you assumed it right! I have actually looked all the resources you
> linked in the previous mail, but perhaps my previous question was not well
> formed. I try to be as much as clear as i can.
> All those resources are very useful but, de facto, they do not state
> anything about the implementation process, i.e. what kind of project should
> we create in EMF, how many classes do we have to implement, how to write
> the code and so on..In the last DevCaf? we had with Stefan, a lot of people
> were confusing too, and he made a great work explaining us the steps for
> the implementation of a consumer. Unfortunately a similar thing for a
> provider requires more time (at least another two weeks), but the project
> time is running out and we have some deadline to manage and i was asking to
> you if some of you already have done a "real" tutorial (not one which says
> to import some code and execute it).
>
> I thank you in advance for the availability and i hope you a very nice day.
>
> Best,
> Alessio.
>
>
> 2013/4/11 <lyo-dev-request@xxxxxxxxxxx>
>
>> Send lyo-dev mailing list submissions to
>>         lyo-dev@xxxxxxxxxxx
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>>         http://dev.eclipse.org/mailman/listinfo/lyo-dev
>> or, via email, send a message with subject or body 'help' to
>>         lyo-dev-request@xxxxxxxxxxx
>>
>> You can reach the person managing the list at
>>         lyo-dev-owner@xxxxxxxxxxx
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of lyo-dev digest..."
>>
>>
>> Today's Topics:
>>
>>    1. OSLC provider (Alessio Bucaioni)
>>    2. Re: OSLC provider (Nils Kronqvist)
>>    3. OslcDialog - selection vs creation dialogs (Martin P Pain)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Thu, 11 Apr 2013 09:35:25 +0200
>> From: Alessio Bucaioni <alessiounivaq@xxxxxxxxx>
>> To: lyo-dev@xxxxxxxxxxx
>> Cc: Cristina Seceleanu <cristina.seceleanu@xxxxxx>
>> Subject: [lyo-dev] OSLC provider
>> Message-ID:
>>         <CA+UL-n36NS=6UedvKvOapYmGv9Dd8PJYJu=
>> KJ3TbbRpykdpFNw@xxxxxxxxxxxxxx>
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>> Hello people,
>> i am Alessio Bucaioni, a research engineering at the Malardalens
>> Univeristy.
>> Currently i am working for the MBAT project under the supervision of
>> Cristina Seceleanu; up to now, our goal is to implement some OSLC
>> consumers/providers, within the next month and half. Since the short time
>> i
>> was wondering if any of you has made a "step-by-step" guide or something
>> similar regarding  the implementation of a provider. It would be very
>> useful.
>>
>> Many thanks in advance.
>>
>> --
>> Alessio Bucaioni,
>> Research Engineering @M?lardalen University (V?ster?s, SE)
>>
>> *Swedish mobile:  *+46725298579
>> *Italian mobile:  *+393497925734
>> *Email:  *alessiounivaq@xxxxxxxxx
>> *Linkedin:  *http://www.linkedin.com/pub/alessio-bucaioni/27/5b2/b18
>>
>> *Address:* via Pier Michele Vizioli 5
>>               Camarda, L'Aquila
>>               67100, AQ, Italy
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: <
>> http://dev.eclipse.org/mailman/private/lyo-dev/attachments/20130411/b2e9aa23/attachment.html
>> >
>>
>> ------------------------------
>>
>> Message: 2
>> Date: Thu, 11 Apr 2013 09:50:36 +0200
>> From: Nils Kronqvist <nissekronqvist@xxxxxxxxxxx>
>> To: Lyo project developer discussions <lyo-dev@xxxxxxxxxxx>
>> Cc: Cristina Seceleanu <cristina.seceleanu@xxxxxx>
>> Subject: Re: [lyo-dev] OSLC provider
>> Message-ID: <BLU0-SMTP82BB7B1B36668EFD606827DCC00@xxxxxxx>
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>> Hi,
>>
>> I assume you have looked at http://wiki.eclipse.org/Lyo? Many examples
>> there including a tutorial/workshop ..
>> http://wiki.eclipse.org/Lyo/OSLCWorkshop. I found this very useful and
>> given you have some eclipse etc experience fairly easy to get started.
>>
>> And at http://open-services.net/resources/  for example
>> http://open-services.net/resources/tutorials/integrating-products-with-oslc/
>>
>> Or want something in addition to this?
>>
>> Rgs,
>>
>> /Nils Kronqvist
>>
>> On 11 apr 2013, at 09:35, Alessio Bucaioni <alessiounivaq@xxxxxxxxx>
>> wrote:
>>
>> > Hello people,
>> > i am Alessio Bucaioni, a research engineering at the Malardalens
>> Univeristy.
>> > Currently i am working for the MBAT project under the supervision of
>> Cristina Seceleanu; up to now, our goal is to implement some OSLC
>> consumers/providers, within the next month and half. Since the short time i
>> was wondering if any of you has made a "step-by-step" guide or something
>> similar regarding  the implementation of a provider. It would be very
>> useful.
>> >
>> > Many thanks in advance.
>> >
>> > --
>> > Alessio Bucaioni,
>> > Research Engineering @M?lardalen University (V?ster?s, SE)
>> >
>> > Swedish mobile:  +46725298579
>> > Italian mobile:  +393497925734
>> > Email:  alessiounivaq@xxxxxxxxx
>> > Linkedin:  http://www.linkedin.com/pub/alessio-bucaioni/27/5b2/b18
>> >
>> > Address: via Pier Michele Vizioli 5
>> >               Camarda, L'Aquila
>> >               67100, AQ, Italy
>> >
>> >
>> > _______________________________________________
>> > lyo-dev mailing list
>> > lyo-dev@xxxxxxxxxxx
>> > http://dev.eclipse.org/mailman/listinfo/lyo-dev
>>
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: <
>> http://dev.eclipse.org/mailman/private/lyo-dev/attachments/20130411/f2da116b/attachment.html
>> >
>>
>> ------------------------------
>>
>> Message: 3
>> Date: Thu, 11 Apr 2013 14:36:41 +0100
>> From: Martin P Pain <martinpain@xxxxxxxxxx>
>> To: lyo-dev@xxxxxxxxxxx
>> Subject: [lyo-dev] OslcDialog - selection vs creation dialogs
>> Message-ID:
>>         <
>> OFF988AE9B.C107EED9-ON80257B4A.0049FEE9-80257B4A.004AC9B1@xxxxxxxxxx>
>> Content-Type: text/plain; charset="us-ascii"
>>
>> Hello,
>>
>> I see from the code for
>> org.eclipse.lyo.oslc4j.core.model.ServiceProviderFactory that the
>> OslcDialog annotations are selection dialogs if on a @GET method and are
>> creation dialogs if on a @POST method.
>>
>> Firstly, this is not documented on the OslcDialog annotation class.
>> (Apologies that I'm not set up to submit a patch to add such a comment -
>> hopefully someone else can do this quite simply.)
>>
>> Secondly, if you are only implementing the dialogs and not the query
>> capabilities or creation factories then this poses a problem. (As far as I
>> am aware such a situation is allowed by the OSLC specs - creation
>> factories and query capabilities are optional. Such a situation might
>> arise when trying to get an implementation out quickly and the particular
>> clients you are programming for in the first iteration only require the
>> delegated UIs.)
>>
>> I expect that for selection dialogs this is not a problem as it looks like
>> you could put the annotation on the method that returns the dialog itself.
>> However, for creation dialogs that method will also be a @GET method -
>> which would result in the dialog being exposed as a selection dialog. I
>> guess the workaround would be to put the annotation on the @POST method
>> used for prefilling creation dialogs - but this also is optional.
>>
>> Is there another way to say whether an @OslcDialog is creation or
>> selection? If not, could I suggest there be such a means (such as another
>> parameter/field in the annotation)?
>>
>> Regards,
>> Martin Pain
>>
>> Unless stated otherwise above:
>> IBM United Kingdom Limited - Registered in England and Wales with number
>> 741598.
>> Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: <
>> http://dev.eclipse.org/mailman/private/lyo-dev/attachments/20130411/2b682a99/attachment.html
>> >
>>
>> ------------------------------
>>
>> _______________________________________________
>> lyo-dev mailing list
>> lyo-dev@xxxxxxxxxxx
>> http://dev.eclipse.org/mailman/listinfo/lyo-dev
>>
>>
>> End of lyo-dev Digest, Vol 21, Issue 2
>> **************************************
>>
>
>
>
> --
> Alessio Bucaioni,
> Research Engineering @M?lardalen University (V?ster?s, SE)
>
> *Swedish mobile:  *+46725298579
> *Italian mobile:  *+393497925734
> *Email:  *alessiounivaq@xxxxxxxxx
> *Linkedin:  *http://www.linkedin.com/pub/alessio-bucaioni/27/5b2/b18
>
> *Address:* via Pier Michele Vizioli 5
>               Camarda, L'Aquila
>               67100, AQ, Italy
>
>
>  _______________________________________________
> lyo-dev mailing list
> lyo-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/lyo-dev
>
>
>
> _______________________________________________
> lyo-dev mailing list
> lyo-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/lyo-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://dev.eclipse.org/mailman/private/lyo-dev/attachments/20130412/965ad067/attachment.html>

------------------------------

_______________________________________________
lyo-dev mailing list
lyo-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/lyo-dev


End of lyo-dev Digest, Vol 21, Issue 4
**************************************



--
Alessio Bucaioni,
Research Engineering @Mälardalen University (Västerås, SE)

Swedish mobile:  +46725298579
Italian mobile:  +393497925734

Address: via Pier Michele Vizioli 5
              Camarda, L'Aquila
              67100, AQ, Italy



Back to the top