wiki:GEMINIv3/gd_parser_server_usage

Version 2 (modified by Hussamuddin Nasir, 10 years ago) (diff)

--

Navigation: Up

Description

This server acts as a PHP based API interface that performs AM , Slice authority and Clearinghouse API operations on behalf of the user. In addition it also performs Manifest parsing for GEMINI and GENIDesktop so that each of the GEMINI team member does not parse rspecs making their code independent of rspec format/data changes. The PHP API calls accept data as POST/GET values and returns JSON objects of the form { "code" : <0 for success, non-zero for error> "output" : object/text }

Most of the operations require the user to authenticate themselves using a token that they can obtain on the initial communication. We will briefly explain each parser operation in the section below. This server utilizes data stored in a MySQL DB as well as data files stored on the hard disk.

Usage

getUserinfo.php

getSliceinfo.php

getUserinfo.php

clearUserinfo.php

fetchUserCred.php

fetchSliceCred.php

updateSliceCred.php

createMySlivers.php

createSlice.php

parseManifest.php

getAllManifests.php

manifest_parsing_json.php

getSliceExpiry.php

getSliverExpiry.php

getSliverStatus.php

listMySlivers.php

renewSlicenSlivers.php

showManifests.php

opendb.php

closedb.php

logger.php

utils.db

bind_rspec_to_am.php

getAMlist.php

getLNUinfo.php

downloadManifest.php

createImage.php

deleteImage.php

getImageList.php