Changes between Version 20 and Version 21 of UniformClearinghouseAPIV2


Ignore:
Timestamp:
11/13/13 10:38:32 (6 years ago)
Author:
mbrinn@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UniformClearinghouseAPIV2

    v20 v21  
    503503Additionally, the Registry API supports the following methods:
    504504
    505 The following method maps object URN's to authority URN's. Note that the transformation from the URN's of objects (e.g. slice, project, member) to the URN's of their authority is a simple one, for example:
     505{{{
     506#!python
     507# Return list of trust roots (certificates) associated with this Federation.
     508#
     509# Often this is a concatenatation of the trust roots of the included authorities.
     510#
     511# Arguments:
     512#   None
     513#
     514# Return:
     515#   List of certificates representing trust roots of this Federation.
     516def get_trust_roots()
     517}}}
     518
     519{{{
     520#!python
     521# Lookup the authorities for a given URNs
     522#
     523# There should be at most one (potentially none) per URN.
     524#
     525# This requires extracting the authority from the URN and then looking up the authority in the Registry's set of services.
     526#
     527# Arguments:
     528#   urns: URNs of entities for which the authority is requested
     529#
     530# Return:
     531#   List of dictionaries {urn : url} mapping URLs of Authorities to given URN's
     532def lookup_authorities_for_urns(urns)
     533}}}
     534
     535The ''lookup_authorities_for_urns'' method maps object URN's to authority URN's. Note that the transformation from the URN's of objects (e.g. slice, project, member) to the URN's of their authority is a simple one, for example:
    506536
    507537|| '''Type''' || '''Object URN''' || '''Authority URN''' ||
     
    509539|| Member || urn:publicid:IDN+ma_name+user+user_name || urn:publicid:IDN+ma_name+authority+ma ||
    510540
    511 {{{
    512 #!python
    513 # Lookup the authorities for a given URNs
    514 #
    515 # There should be at most one (potentially none) per URN.
    516 #
    517 # This requires extracting the authority from the URN and then looking up the authority in the Registry's set of services.
    518 #
    519 # Arguments:
    520 #   urns: URNs of entities for which the authority is requested
    521 #
    522 # Return:
    523 #   List of dictionaries {urn : url} mapping URLs of Authorities to given URN's
    524 def lookup_authorities_for_urns(urns)
    525 }}}
    526 
    527 {{{
    528 #!python
    529 # Return list of trust roots (certificates) associated with this Federation.
    530 #
    531 # Often this is a concatenatation of the trust roots of the included authorities.
    532 #
    533 # Arguments:
    534 #   None
    535 #
    536 # Return:
    537 #   List of certificates representing trust roots of this Federation.
    538 def get_trust_roots()
    539 }}}
    540541
    541542== Slice Authority API ==