Changes between Version 32 and Version 33 of NewTestbedAPISpec


Ignore:
Timestamp:
May 1, 2015 4:54:08 PM (9 years ago)
Author:
faber
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NewTestbedAPISpec

    v32 v33  
    99 * Users
    1010 * Projects
    11  * Resources
    1211 * Experiments
    1312 * Libraries
     13 * Resources
     14 * Realizations
    1415
    1516We discuss each in detail and provide links to the detailed javadoc of the implementation, where applicable and available.
     
    17301731Users can add and delete keys:
    17311732
    1732 * '''Service:''' Resources
     1733 * '''Service:''' Resources
    17331734 * '''Operation:''' addKey
    17341735 * '''Input Parameters:'''
     
    17501751   * Userid - the user making the request
    17511752   * Name - a string, the name of this key
     1753
     1754== Realizations ==
     1755
     1756A realization is a binding of an Experiment and a Circle to Resources.  Intuitively, it is an experiment in progress.  A researcher manipulates a realization using the Realizations service.
     1757
     1758=== Viewing Realizations ===
     1759
     1760One or more realizations - experiments in progress - can be viewed by an authorized user assuming that user has the proper permissions.  The search can be scoped by circle, and a regular expression matched against the experiment name.  To view realizations, call:
     1761
     1762 * '''Service:''' Realizations
     1763 * '''Operation:''' viewRealizations
     1764 * '''Input Parameters:'''
     1765   * Userid - a string, if given return all experiments this user can see
     1766   * Circle - a string, the name of a circle.  Only experiments realized in that circle will be returned
     1767   * Regex - a string containing a regular expression matched against experiment names
     1768 * '''Return Values:'''
     1769   * One or more structures with the following fields
     1770     * Name - a string containing the realization name (scoped by owner name)
     1771     * Owner - a string containing the owner's userid
     1772     * Circle - the circle that the experiment is realized in
     1773     * State - one of:
     1774       * initializing
     1775       * changing
     1776       * active
     1777       * terminating
     1778     * Mapping - a list of structures of the format
     1779       * Element name - the name of the element from the experiment's layout aspect
     1780       * Resource name - the name of the resource to which the element is mapped
     1781
     1782
     1783=== Creating A Realization ===
     1784
     1785A researcher creates a realization - starts an experiment - using the realizeExperiment operation.
     1786
     1787 * '''Service:''' Realizations
     1788 * '''Operation:''' realizeExperiment
     1789 * '''Input Parameters:'''
     1790   * Userid - the user making the request (the owner on success)
     1791   * Owner - an optional string the computer owner
     1792   * Circle - the circle under which the experiment is being created
     1793   * Experiment - the experiment being realized
     1794   * Name - an optional string, the name of this realization (system will assign if omitted) - scoped by owner name
     1795 * '''Return Values:'''
     1796   * Success or failure
     1797
     1798Though none are yet specified, constraint aspects on the experiment may influence the realization.
     1799
     1800
     1801