58 | | /* |
59 | | Perform method fed_func |
60 | | |
61 | | Arguments: |
62 | | argl : ... |
63 | | credentials : list of {type : credential} tuples representing credentials provided by caller to support AuthZ on method call. |
64 | | [NB: This argument will be omitted in descriptions below. ] |
65 | | options : … [ Recognized options: ….] |
66 | | |
67 | | Return: |
68 | | E.g. a list of dictionaries with these fields mandatory (…) and these fields optional (…) |
69 | | */ |
70 | | function fed_func (arg1, arg2, credentials, options) |
71 | | |
| 58 | #!python |
| 59 | # Perform method fed_func |
| 60 | # |
| 61 | # Arguments: |
| 62 | # argl : ... |
| 63 | # credentials : list of {type : credential} tuples representing credentials provided by caller to support AuthZ on method call. |
| 64 | # [NB: This argument will be omitted in descriptions below. ] |
| 65 | # options : … [ Recognized options: ….] |
| 66 | # |
| 67 | # Return: |
| 68 | # E.g. a list of dictionaries with these fields mandatory (…) and these fields optional (…) |
| 69 | def fed_func (arg1, arg2, credentials, options) |
370 | | /* |
371 | | |
372 | | Return information about all aggregates associated with the Federation |
373 | | |
374 | | Arguments: |
375 | | options: 'match' and 'filter' options as described in standard lookup methods |
376 | | |
377 | | Return: |
378 | | List of dictionaries of name/value pairs for each returned AM |
379 | | |
380 | | */ |
381 | | function lookup_aggregates(options) |
| 365 | #!python |
| 366 | # Return information about all aggregates associated with the Federation |
| 367 | # |
| 368 | # Arguments: |
| 369 | # options: 'match' and 'filter' options as described in standard lookup methods |
| 370 | # |
| 371 | # Return: |
| 372 | # List of dictionaries of name/value pairs for each returned AM |
| 373 | def lookup_aggregates(options) |
385 | | /* |
386 | | |
387 | | Return information about all MA’s associated with the Federation |
388 | | |
389 | | Arguments: |
390 | | options: 'match' and 'filter' options as described in standard lookup methods |
391 | | |
392 | | Return: |
393 | | List of dictionaries of name/value pairs for each returned MA |
394 | | |
395 | | */ |
396 | | function lookup_member_authorities(options) |
| 377 | #!python |
| 378 | # |
| 379 | # Return information about all MA’s associated with the Federation# |
| 380 | # |
| 381 | # Arguments: |
| 382 | # options: 'match' and 'filter' options as described in standard lookup methods |
| 383 | # |
| 384 | #Return: |
| 385 | # List of dictionaries of name/value pairs for each returned MA |
| 386 | def lookup_member_authorities(options) |
400 | | /* |
401 | | |
402 | | Return information about all SA’s associated with the Federation |
403 | | |
404 | | Arguments: |
405 | | options: 'match' and 'filter' options as described in standard lookup methods |
406 | | |
407 | | Return: |
408 | | List of dictionaries of name/value pairs for each returned SA |
409 | | |
410 | | */ |
411 | | function lookup_slice_authorities(options) |
| 390 | #!python |
| 391 | # Return information about all SA’s associated with the Federation |
| 392 | # |
| 393 | # Arguments: |
| 394 | # options: 'match' and 'filter' options as described in standard lookup methods |
| 395 | # |
| 396 | # Return: |
| 397 | # List of dictionaries of name/value pairs for each returned SA |
| 398 | def lookup_slice_authorities(options) |
422 | | /* |
423 | | |
424 | | Lookup the authorities for a given URNs |
425 | | |
426 | | There should be at most one (potentially none) per URN. |
427 | | |
428 | | This requires extracting the authority from the URN and then looking up the authority in the Registry's set of services. |
429 | | |
430 | | |
431 | | Arguments: |
432 | | urns: URNs of entities for which the authority is requested |
433 | | |
434 | | Return: |
435 | | List of dictionaries {urn : url} mapping URLs of Authorities to given URN's |
436 | | |
437 | | */ |
438 | | function lookup_authorities_for_urns(urns) |
| 409 | #!python |
| 410 | # Lookup the authorities for a given URNs |
| 411 | # |
| 412 | # There should be at most one (potentially none) per URN. |
| 413 | # |
| 414 | # This requires extracting the authority from the URN and then looking up the authority in the Registry's set of services. |
| 415 | # |
| 416 | # Arguments: |
| 417 | # urns: URNs of entities for which the authority is requested |
| 418 | # |
| 419 | # Return: |
| 420 | # List of dictionaries {urn : url} mapping URLs of Authorities to given URN's |
| 421 | def lookup_authorities_for_urns(urns) |