| 1753 | |
| 1754 | == Realizations == |
| 1755 | |
| 1756 | A 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 | |
| 1760 | One 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 | |
| 1785 | A 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 | |
| 1798 | Though none are yet specified, constraint aspects on the experiment may influence the realization. |
| 1799 | |
| 1800 | |
| 1801 | |