Opened 9 years ago

Closed 9 years ago

#41 closed task (fixed)

Labwiki button in GENI CH portal

Reported by: zink@cs.umass.edu Owned by: jack.hong@nicta.com.au
Priority: major Milestone: GEC18
Component: Portal Version: Sprint6
Keywords: LabWike, CH Portal Cc: tmitchel@bbn.com, ahelsing@bbn.com
Dependencies: http://groups.geni.net/gimi/ticket/55

Description

Add a 'LabWiki?' button to the GENI Portal. When a logged-in user is pressing that button they will be re-directed to LW and shouldn't need to log in again.

Need to define what and in what format the GENI Portal hands over to LW.

Change History (6)

comment:1 Changed 9 years ago by chaos@bbn.com

Owner: changed from Jach Hong to jack.hong@nicta.com.au

We noticed the assignee bounce for this one, so reassigning to what i think is the intended address. Please change if i got it wrong.

comment:2 Changed 9 years ago by johren@bbn.com

Component: Authentication/AuthorizationPortal
Version: SPIRAL5Sprint5

comment:3 Changed 9 years ago by johren@bbn.com

Version: Sprint5Sprint6

comment:4 Changed 9 years ago by johren@bbn.com

Dependencies: http://groups.geni.net/gimi/ticket/55
Summary: Labwiki button in GENI CH potalLabwiki button in GENI CH portal

comment:5 Changed 9 years ago by ahelsing@bbn.com

Button is live on the portal as of noon today, sending data to LabWiki using openid Attribute Exchange.

Tom said via email:

I have added a LabWiki button on the home page and on each slice wherever slices are listed. When the button is associated with a slice I am passing the slice id like so:

http://emmy9.casa.umass.edu:4000/?01f20855-2056-4b12-9dba-f92c5daca704

...
The slice entry is “slice_uuid|project_uuid|slice_name”. Each slice is a member of one and only one project, and each project can have many slices.

...

The data I am currently sending looks like this (in PHP):

Array
(
    [http://geni.net/projects] => Array
        (
            [0] => b90e9598-a4cc-4a10-9207-63013901250a|tutorial
            [1] => 14145b73-9cab-4bc9-b54c-ea737c9be439|tcm-test
            [2] => 8c042cf0-8389-48e0-aca1-782fd7a20794|PROJ1
            [3] => f723d16b-bb6c-4b56-8553-41a61822a7d3|MSBPROJ
            [4] => 2f91f41e-fd0f-4cb8-893a-354075920ab3|ahscaletest
        )
    [http://geni.net/slices] => Array
        (
            [0] => 01f20855-2056-4b12-9dba-f92c5daca704|14145b73-9cab-4bc9-b54c-ea737c9be439|openid1
        )
    [http://geni.net/user/urn] => Array
        (
            [0] => urn:publicid:IDN|ch-tm.gpolab.bbn.com|user|tmitchel
        )
    [http://geni.net/user/prettyname] => Array
        (
            [0] => Tom Mitchell
        )
)

The ‘http://geni.net/projects' key has elements that are the Project UUID and project name separated by ‘|’.

The ‘http://geni.net/slices' key has elements that are the Slice UUID, the slice’s project UUID, and the slice name separated by ‘|’.

The ‘http://geni.net/user/urn' key has the user’s URN with ‘+’ replaced by ‘|’. You will need to reverse that by substituting ‘+’ for ‘|’.

The ‘http://geni.net/usr/prettyname' key has the user’s pretty name. In many cases this will be first and last name. It could, however, be email address if we don’t have a first name and last name for the user. Some institutions do not provide name, so we fall back to email.

We do see an error in the logs currently: http://trac.gpolab.bbn.com/proto-ch/ticket/828

comment:6 Changed 9 years ago by johren@bbn.com

Resolution: fixed
Status: newclosed

Jack has verified this functionality is complete.

Note: See TracTickets for help on using tickets.