Changes between Version 1 and Version 2 of GEC17Agenda/GettingStartedWithGENI_III_GIMI/Procedure/TrackIssues/PortalImplement


Ignore:
Timestamp:
07/15/13 21:13:36 (6 years ago)
Author:
divyashri.bhat@gmail.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GEC17Agenda/GettingStartedWithGENI_III_GIMI/Procedure/TrackIssues/PortalImplement

    v1 v2  
    111. I have iRODS, Experiment Service and Labwiki running on emmy9.  In the Execute Window I cannot see the list of slices and experiment IDs. [[BR]]
    22
     3{{{
    34curl -X POST -H "Content-Type: application/json" --data-binary @'+ json_filename +' ' + self.restURL + ':' + str(self.restPort) + '/projects/' + self.proj_name + '/users
     5}}}
    46
    5 When I do a GET of  http://emmy9.casa.umass.edu:8002/users/geni-dbhat[[BR]]
     7When I do a GET of 
     8{{{
     9http://emmy9.casa.umass.edu:8002/users/geni-dbhat
     10}}}
    611
    712It does not return the project that the user belongs to.[[BR]]
    813
    9 When I do http://emmy9.casa.umass.edu:8002/projects/GIMITesting/users/ , I get geni-dbhat as a member of Project GIMITesting.[[BR]]
     14When I do [[BR]]
     15{{{
     16http://emmy9.casa.umass.edu:8002/projects/GIMITesting/users/
     17}}}
     18I get geni-dbhat as a member of Project GIMITesting.[[BR]]
    1019
    1120I believe this is what is causing the problem that I have. Is there anything wrong with the POST and GET I am using?[[BR]]
     
    13222. The iRODs server is now geni-renci.org. Hence, the GENI Portal names and the iRODs user names are now geni-<username>.[[BR]]
    1423To solve this I added a hack in labwiki/lib/labwiki/session_init.rb at line 18[[BR]]
     24
     25{{{
    1526id = 'geni-' + user.split('=').last
     27}}}