You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@shindig.apache.org by Goix Laurent Walter <la...@telecomitalia.it> on 2011/12/02 18:25:10 UTC

creating relationships (createPerson SPI feature)

Hello,

I apologize if I am using the wrong list for this.

I would like to create relationships (e.g. start following another user) using the People Service. However it seems that neither the PHP nor the Java implementation supports it for the time being (the PersonService interface only has support for getPerson & getPeople)

I couldn't find any reference to this in the current issues. Could you point me to the appropriate issue if any, or tell me whether this is in roadmap?

Thanks
walter




Questo messaggio e i suoi allegati sono indirizzati esclusivamente alle persone indicate. La diffusione, copia o qualsiasi altra azione derivante dalla conoscenza di queste informazioni sono rigorosamente vietate. Qualora abbiate ricevuto questo documento per errore siete cortesemente pregati di darne immediata comunicazione al mittente e di provvedere alla sua distruzione, Grazie.

This e-mail and any attachments is confidential and may contain privileged information intended for the addressee(s) only. Dissemination, copying, printing or use by anybody else is unauthorised. If you are not the intended recipient, please delete this message and any attachments and advise the sender by return e-mail, Thanks.


Re: creating relationships (createPerson SPI feature)

Posted by Achala Chathuranga Aponso <ac...@gmail.com>.
HI,

I think creating relationships is a part of opensocial 2.0.1 specification,
but still it is not supported in shindig. Currently shindig has given the
chance to implement the relationship process according to the choice of the
social container implementer.

I think relationships can be managed by the owner and viewer concept. From
the *getDisplayName () of the Person interface*  , you can find the display
name of profiles. You have to get the display name of the logged in user.
if the logged in user is visiting another user s profile. The logged in
user becomes the viewer and the other one becomes the owner. From those
Display names it is possible to create relationship requests. (when the
owner logs in he/she can see the friend request which is pending approval).
Correct me if i am wrong. :)


Thanks,
Achala

On Fri, Dec 2, 2011 at 10:55 PM, Goix Laurent Walter <
laurentwalter.goix@telecomitalia.it> wrote:

> Hello,
>
> I apologize if I am using the wrong list for this.
>
> I would like to create relationships (e.g. start following another user)
> using the People Service. However it seems that neither the PHP nor the
> Java implementation supports it for the time being (the PersonService
> interface only has support for getPerson & getPeople)
>
> I couldn't find any reference to this in the current issues. Could you
> point me to the appropriate issue if any, or tell me whether this is in
> roadmap?
>
> Thanks
> walter
>
>
>
>
> Questo messaggio e i suoi allegati sono indirizzati esclusivamente alle
> persone indicate. La diffusione, copia o qualsiasi altra azione derivante
> dalla conoscenza di queste informazioni sono rigorosamente vietate. Qualora
> abbiate ricevuto questo documento per errore siete cortesemente pregati di
> darne immediata comunicazione al mittente e di provvedere alla sua
> distruzione, Grazie.
>
> This e-mail and any attachments is confidential and may contain privileged
> information intended for the addressee(s) only. Dissemination, copying,
> printing or use by anybody else is unauthorised. If you are not the
> intended recipient, please delete this message and any attachments and
> advise the sender by return e-mail, Thanks.
>
>

Re: creating relationships (createPerson SPI feature)

Posted by Matthew G Marum <mg...@us.ibm.com>.
Whoops!  I didn't even know that was already in there.  I made the faulty
assumption that if it isn't in Shindig then it isn't in the spec, but in
reality there are quite a few areas where Shindig still needs to catch up
with the spec.  Things like simple gadget format, full support for OAuth 2
in PHP, etc.  This is another example.

I'm all in favor of closing those gaps where they exist.

Matt Marum


|------------>
| From:      |
|------------>
  >-----------------------------------------------------------------------------------------------------------------------------------------|
  |Goix Laurent Walter <la...@telecomitalia.it>                                                                                |
  >-----------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| To:        |
|------------>
  >-----------------------------------------------------------------------------------------------------------------------------------------|
  |"users@shindig.apache.org" <us...@shindig.apache.org>                                                                                    |
  >-----------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Date:      |
|------------>
  >-----------------------------------------------------------------------------------------------------------------------------------------|
  |12/02/2011 01:44 PM                                                                                                                      |
  >-----------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Subject:   |
|------------>
  >-----------------------------------------------------------------------------------------------------------------------------------------|
  |Re: creating relationships (createPerson SPI feature)                                                                                    |
  >-----------------------------------------------------------------------------------------------------------------------------------------|





Thank you Matt,

I actually posted to shindig after looking at
http://opensocial-resources.googlecode.com/svn/spec/2.0.1/Social-API-Server.xml#People-Service-CreateRelationship
 which seems to specify relationship mgmt in scope (although I understand
its support by single containers is optional so I was asking about
shindig's implementation explicitly)

Did I misunderstood your answer?

Thanks
Walter

Le 2 déc. 2011 à 19:25, "Matthew G Marum" <mg...@us.ibm.com> a écrit :

> Let me qualify,
>
> If you see a compelling need, let's talk about it.
>
> You can create an issue here...
> http://code.google.com/p/opensocial-resources/
>
> and bring the use case to the OpenSocial spec mailing list.
>
> Matt
>
>
> |------------>
> | From:      |
> |------------>
>>
-----------------------------------------------------------------------------------------------------------------------------------------|

>  |Matthew G Marum/Raleigh/IBM@IBMUS
|
>>
-----------------------------------------------------------------------------------------------------------------------------------------|

> |------------>
> | To:        |
> |------------>
>>
-----------------------------------------------------------------------------------------------------------------------------------------|

>  |users@shindig.apache.org
|
>>
-----------------------------------------------------------------------------------------------------------------------------------------|

> |------------>
> | Date:      |
> |------------>
>>
-----------------------------------------------------------------------------------------------------------------------------------------|

>  |12/02/2011 01:16 PM
|
>>
-----------------------------------------------------------------------------------------------------------------------------------------|

> |------------>
> | Subject:   |
> |------------>
>>
-----------------------------------------------------------------------------------------------------------------------------------------|

>  |Re: creating relationships (createPerson SPI feature)
|
>>
-----------------------------------------------------------------------------------------------------------------------------------------|

>
>
>
>
>
> The short answer is that creating relationships is not part of the
> OpenSocial specification.  I don't know of any plans to add this
capability
> to the spec.
>
> If you think about it, does a social application (running within a
> container) really need to be able to create a new relationship directly?
> Each social container tends to have it's own way of creating and managing
> relationships between users.  I think some containers might be reluctant
to
> give those reigns over to social applications in many circumstances.
>
> Matt Marum
>
>
> |------------>
> | From:      |
> |------------>
>
>>
-----------------------------------------------------------------------------------------------------------------------------------------|

>
>  |Goix Laurent Walter <la...@telecomitalia.it>
> |
>
>>
-----------------------------------------------------------------------------------------------------------------------------------------|

>
> |------------>
> | To:        |
> |------------>
>
>>
-----------------------------------------------------------------------------------------------------------------------------------------|

>
>  |"users@shindig.apache.org" <us...@shindig.apache.org>
> |
>
>>
-----------------------------------------------------------------------------------------------------------------------------------------|

>
> |------------>
> | Date:      |
> |------------>
>
>>
-----------------------------------------------------------------------------------------------------------------------------------------|

>
>  |12/02/2011 12:26 PM
> |
>
>>
-----------------------------------------------------------------------------------------------------------------------------------------|

>
> |------------>
> | Subject:   |
> |------------>
>
>>
-----------------------------------------------------------------------------------------------------------------------------------------|

>
>  |creating relationships (createPerson SPI feature)
> |
>
>>
-----------------------------------------------------------------------------------------------------------------------------------------|

>
>
>
>
>
>
> Hello,
>
> I apologize if I am using the wrong list for this.
>
> I would like to create relationships (e.g. start following another user)
> using the People Service. However it seems that neither the PHP nor the
> Java implementation supports it for the time being (the PersonService
> interface only has support for getPerson & getPeople)
>
> I couldn't find any reference to this in the current issues. Could you
> point me to the appropriate issue if any, or tell me whether this is in
> roadmap?
>
> Thanks
> walter
>
>
>
>
> Questo messaggio e i suoi allegati sono indirizzati esclusivamente alle
> persone indicate. La diffusione, copia o qualsiasi altra azione derivante
> dalla conoscenza di queste informazioni sono rigorosamente vietate.
Qualora
> abbiate ricevuto questo documento per errore siete cortesemente pregati
di
> darne immediata comunicazione al mittente e di provvedere alla sua
> distruzione, Grazie.
>
> This e-mail and any attachments is confidential and may contain
privileged
> information intended for the addressee(s) only. Dissemination, copying,
> printing or use by anybody else is unauthorised. If you are not the
> intended recipient, please delete this message and any attachments and
> advise the sender by return e-mail, Thanks.
>
>
>
>
>
>
>

Questo messaggio e i suoi allegati sono indirizzati esclusivamente alle
persone indicate. La diffusione, copia o qualsiasi altra azione derivante
dalla conoscenza di queste informazioni sono rigorosamente vietate. Qualora
abbiate ricevuto questo documento per errore siete cortesemente pregati di
darne immediata comunicazione al mittente e di provvedere alla sua
distruzione, Grazie.

This e-mail and any attachments is confidential and may contain privileged
information intended for the addressee(s) only. Dissemination, copying,
printing or use by anybody else is unauthorised. If you are not the
intended recipient, please delete this message and any attachments and
advise the sender by return e-mail, Thanks.





Re: creating relationships (createPerson SPI feature)

Posted by Goix Laurent Walter <la...@telecomitalia.it>.
Thank you Matt,

I actually posted to shindig after looking at http://opensocial-resources.googlecode.com/svn/spec/2.0.1/Social-API-Server.xml#People-Service-CreateRelationship which seems to specify relationship mgmt in scope (although I understand its support by single containers is optional so I was asking about shindig's implementation explicitly)

Did I misunderstood your answer?

Thanks
Walter

Le 2 déc. 2011 à 19:25, "Matthew G Marum" <mg...@us.ibm.com> a écrit :

> Let me qualify,
>
> If you see a compelling need, let's talk about it.
>
> You can create an issue here...
> http://code.google.com/p/opensocial-resources/
>
> and bring the use case to the OpenSocial spec mailing list.
>
> Matt
>
>
> |------------>
> | From:      |
> |------------>
>> -----------------------------------------------------------------------------------------------------------------------------------------|
>  |Matthew G Marum/Raleigh/IBM@IBMUS                                                                                                        |
>> -----------------------------------------------------------------------------------------------------------------------------------------|
> |------------>
> | To:        |
> |------------>
>> -----------------------------------------------------------------------------------------------------------------------------------------|
>  |users@shindig.apache.org                                                                                                                 |
>> -----------------------------------------------------------------------------------------------------------------------------------------|
> |------------>
> | Date:      |
> |------------>
>> -----------------------------------------------------------------------------------------------------------------------------------------|
>  |12/02/2011 01:16 PM                                                                                                                      |
>> -----------------------------------------------------------------------------------------------------------------------------------------|
> |------------>
> | Subject:   |
> |------------>
>> -----------------------------------------------------------------------------------------------------------------------------------------|
>  |Re: creating relationships (createPerson SPI feature)                                                                                    |
>> -----------------------------------------------------------------------------------------------------------------------------------------|
>
>
>
>
>
> The short answer is that creating relationships is not part of the
> OpenSocial specification.  I don't know of any plans to add this capability
> to the spec.
>
> If you think about it, does a social application (running within a
> container) really need to be able to create a new relationship directly?
> Each social container tends to have it's own way of creating and managing
> relationships between users.  I think some containers might be reluctant to
> give those reigns over to social applications in many circumstances.
>
> Matt Marum
>
>
> |------------>
> | From:      |
> |------------>
>
>> -----------------------------------------------------------------------------------------------------------------------------------------|
>
>  |Goix Laurent Walter <la...@telecomitalia.it>
> |
>
>> -----------------------------------------------------------------------------------------------------------------------------------------|
>
> |------------>
> | To:        |
> |------------>
>
>> -----------------------------------------------------------------------------------------------------------------------------------------|
>
>  |"users@shindig.apache.org" <us...@shindig.apache.org>
> |
>
>> -----------------------------------------------------------------------------------------------------------------------------------------|
>
> |------------>
> | Date:      |
> |------------>
>
>> -----------------------------------------------------------------------------------------------------------------------------------------|
>
>  |12/02/2011 12:26 PM
> |
>
>> -----------------------------------------------------------------------------------------------------------------------------------------|
>
> |------------>
> | Subject:   |
> |------------>
>
>> -----------------------------------------------------------------------------------------------------------------------------------------|
>
>  |creating relationships (createPerson SPI feature)
> |
>
>> -----------------------------------------------------------------------------------------------------------------------------------------|
>
>
>
>
>
>
> Hello,
>
> I apologize if I am using the wrong list for this.
>
> I would like to create relationships (e.g. start following another user)
> using the People Service. However it seems that neither the PHP nor the
> Java implementation supports it for the time being (the PersonService
> interface only has support for getPerson & getPeople)
>
> I couldn't find any reference to this in the current issues. Could you
> point me to the appropriate issue if any, or tell me whether this is in
> roadmap?
>
> Thanks
> walter
>
>
>
>
> Questo messaggio e i suoi allegati sono indirizzati esclusivamente alle
> persone indicate. La diffusione, copia o qualsiasi altra azione derivante
> dalla conoscenza di queste informazioni sono rigorosamente vietate. Qualora
> abbiate ricevuto questo documento per errore siete cortesemente pregati di
> darne immediata comunicazione al mittente e di provvedere alla sua
> distruzione, Grazie.
>
> This e-mail and any attachments is confidential and may contain privileged
> information intended for the addressee(s) only. Dissemination, copying,
> printing or use by anybody else is unauthorised. If you are not the
> intended recipient, please delete this message and any attachments and
> advise the sender by return e-mail, Thanks.
>
>
>
>
>
>
>

Questo messaggio e i suoi allegati sono indirizzati esclusivamente alle persone indicate. La diffusione, copia o qualsiasi altra azione derivante dalla conoscenza di queste informazioni sono rigorosamente vietate. Qualora abbiate ricevuto questo documento per errore siete cortesemente pregati di darne immediata comunicazione al mittente e di provvedere alla sua distruzione, Grazie.

This e-mail and any attachments is confidential and may contain privileged information intended for the addressee(s) only. Dissemination, copying, printing or use by anybody else is unauthorised. If you are not the intended recipient, please delete this message and any attachments and advise the sender by return e-mail, Thanks.


Re: creating relationships (createPerson SPI feature)

Posted by Matthew G Marum <mg...@us.ibm.com>.
Let me qualify,

If you see a compelling need, let's talk about it.

You can create an issue here...
http://code.google.com/p/opensocial-resources/

and bring the use case to the OpenSocial spec mailing list.

Matt


|------------>
| From:      |
|------------>
  >-----------------------------------------------------------------------------------------------------------------------------------------|
  |Matthew G Marum/Raleigh/IBM@IBMUS                                                                                                        |
  >-----------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| To:        |
|------------>
  >-----------------------------------------------------------------------------------------------------------------------------------------|
  |users@shindig.apache.org                                                                                                                 |
  >-----------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Date:      |
|------------>
  >-----------------------------------------------------------------------------------------------------------------------------------------|
  |12/02/2011 01:16 PM                                                                                                                      |
  >-----------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Subject:   |
|------------>
  >-----------------------------------------------------------------------------------------------------------------------------------------|
  |Re: creating relationships (createPerson SPI feature)                                                                                    |
  >-----------------------------------------------------------------------------------------------------------------------------------------|





The short answer is that creating relationships is not part of the
OpenSocial specification.  I don't know of any plans to add this capability
to the spec.

If you think about it, does a social application (running within a
container) really need to be able to create a new relationship directly?
Each social container tends to have it's own way of creating and managing
relationships between users.  I think some containers might be reluctant to
give those reigns over to social applications in many circumstances.

Matt Marum


|------------>
| From:      |
|------------>

>-----------------------------------------------------------------------------------------------------------------------------------------|

  |Goix Laurent Walter <la...@telecomitalia.it>
|

>-----------------------------------------------------------------------------------------------------------------------------------------|

|------------>
| To:        |
|------------>

>-----------------------------------------------------------------------------------------------------------------------------------------|

  |"users@shindig.apache.org" <us...@shindig.apache.org>
|

>-----------------------------------------------------------------------------------------------------------------------------------------|

|------------>
| Date:      |
|------------>

>-----------------------------------------------------------------------------------------------------------------------------------------|

  |12/02/2011 12:26 PM
|

>-----------------------------------------------------------------------------------------------------------------------------------------|

|------------>
| Subject:   |
|------------>

>-----------------------------------------------------------------------------------------------------------------------------------------|

  |creating relationships (createPerson SPI feature)
|

>-----------------------------------------------------------------------------------------------------------------------------------------|






Hello,

I apologize if I am using the wrong list for this.

I would like to create relationships (e.g. start following another user)
using the People Service. However it seems that neither the PHP nor the
Java implementation supports it for the time being (the PersonService
interface only has support for getPerson & getPeople)

I couldn't find any reference to this in the current issues. Could you
point me to the appropriate issue if any, or tell me whether this is in
roadmap?

Thanks
walter




Questo messaggio e i suoi allegati sono indirizzati esclusivamente alle
persone indicate. La diffusione, copia o qualsiasi altra azione derivante
dalla conoscenza di queste informazioni sono rigorosamente vietate. Qualora
abbiate ricevuto questo documento per errore siete cortesemente pregati di
darne immediata comunicazione al mittente e di provvedere alla sua
distruzione, Grazie.

This e-mail and any attachments is confidential and may contain privileged
information intended for the addressee(s) only. Dissemination, copying,
printing or use by anybody else is unauthorised. If you are not the
intended recipient, please delete this message and any attachments and
advise the sender by return e-mail, Thanks.








Re: creating relationships (createPerson SPI feature)

Posted by Matthew G Marum <mg...@us.ibm.com>.
The short answer is that creating relationships is not part of the
OpenSocial specification.  I don't know of any plans to add this capability
to the spec.

If you think about it, does a social application (running within a
container) really need to be able to create a new relationship directly?
Each social container tends to have it's own way of creating and managing
relationships between users.  I think some containers might be reluctant to
give those reigns over to social applications in many circumstances.

Matt Marum


|------------>
| From:      |
|------------>
  >-----------------------------------------------------------------------------------------------------------------------------------------|
  |Goix Laurent Walter <la...@telecomitalia.it>                                                                                |
  >-----------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| To:        |
|------------>
  >-----------------------------------------------------------------------------------------------------------------------------------------|
  |"users@shindig.apache.org" <us...@shindig.apache.org>                                                                                    |
  >-----------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Date:      |
|------------>
  >-----------------------------------------------------------------------------------------------------------------------------------------|
  |12/02/2011 12:26 PM                                                                                                                      |
  >-----------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Subject:   |
|------------>
  >-----------------------------------------------------------------------------------------------------------------------------------------|
  |creating relationships (createPerson SPI feature)                                                                                        |
  >-----------------------------------------------------------------------------------------------------------------------------------------|





Hello,

I apologize if I am using the wrong list for this.

I would like to create relationships (e.g. start following another user)
using the People Service. However it seems that neither the PHP nor the
Java implementation supports it for the time being (the PersonService
interface only has support for getPerson & getPeople)

I couldn't find any reference to this in the current issues. Could you
point me to the appropriate issue if any, or tell me whether this is in
roadmap?

Thanks
walter




Questo messaggio e i suoi allegati sono indirizzati esclusivamente alle
persone indicate. La diffusione, copia o qualsiasi altra azione derivante
dalla conoscenza di queste informazioni sono rigorosamente vietate. Qualora
abbiate ricevuto questo documento per errore siete cortesemente pregati di
darne immediata comunicazione al mittente e di provvedere alla sua
distruzione, Grazie.

This e-mail and any attachments is confidential and may contain privileged
information intended for the addressee(s) only. Dissemination, copying,
printing or use by anybody else is unauthorised. If you are not the
intended recipient, please delete this message and any attachments and
advise the sender by return e-mail, Thanks.