[Oslc-Automation] Actions 2.0 - Dialog scenarios
Martin P Pain
martinpain at uk.ibm.com
Thu Nov 7 12:00:24 EST 2013
Here are some scenarios for the usage of dialogs:
------------
A) Executing an action through a UI
Actors: user, consumer, provider
Steps:
1) The user navigates to a page on the consumer's UI which shows resources
from the provider.
2) The user selects a resource (e.g. AutomationResult)
3) The consumer shows the user the list of actions that are available on
that resource (e.g. including teardown)
4) The user selects one to execute (e.g. teardown)
5) The consumer displays, to the user, a dialog provided by the provider
6) The user enters any parameters or input required (e.g. "This will
<...>. Are you sure?") and clicks a button on the dialog to execute the
action.
7) The provider executes the action
8) (Simultaneously) the consumer is notified that the dialog has closed.
------------
B) Configuring an action through a UI, executing it later. (Specific to
the Automation profile).
(I want to consider these "execute later" scenarios in-scope, as they
apply to the teardown scenario, but I hope that we can get the "for free"
with minimal changes to the proposed spec, using the Automation Plan and
template creation dialogs.)
Actors: user, consumer, provider
Steps:
1) The user navigates to a page on the consumer's UI which shows resources
from the provider.
2) The user selects a resource (e.g. AutomationResult)
3) The consumer shows the user the list of actions that are available on
that resource (e.g. including teardown)
4) The user selects one (e.g. teardown) and opts to execute it later (e.g.
on a schedule)
5) The consumer displays, to the user, a dialog provided by the provider
6) The user enters any parameters or input required and clicks a button on
the dialog to submit their input.
7) The provider creates a temporary AutoRequest with the user's details -
but does not queue it for execution - and returns the URL to the consumer.
(Apologies for the technical details here, as most of these scenarios'
steps are technically agnostic. For a technically agnostic scenario, just
omit steps 7 through 9 and skip straight to 10.)
8) The consumer retrieves the temporary resource and stores it.
Later, when the scheduled time arrives (these steps are performed with no
UI and no user present):
9) The consumer submits the stored AutomationRequest to the provider.
10) The provider executes the action (by executing the AutomationRequest).
------------
C) Configuring through a UI an action that is not yet available, executing
it later. (Specific to Automation profile)
Actors: user, consumer, provider
Steps:
1) The consumer displays a list of deployment AutomationPlans from the
provider to the user.
2) The user selects one to add to a list of plans to execute at a later
time.
3) The consumer asks the user if they wish the deployment to be torn down
when all the plans in the list have finished.
4) The user indicates that they do.
5) The consumer displays, to the user, a dialog provided by the provider
which asks for parameters related to the teardown.
6) The user enters the required information and submits the dialog.
7) The user adds more plans to the list...
Later, when the scheduled time arrives (these steps are performed with no
UI and no user present):
8) All the plans on the list are executed
9) When the list is finished, the consumer requests that the provider
performs the "teardown" action on the resource that was deployed by the
plan selected in steps 2-6.
-----------
I've got ideas about how this can be covered in the spec, but I'm not sure
about how to do the last one. We can discuss this on the call today, if we
get time.
Kind regards,
Martin Pain
Software Developer - Green Hat
Rational Test Virtualization Server, Rational Test Control Panel
Open Services for Lifecycle Collaboration - Automation WG joint chair
E-mail: martinpain at uk.ibm.com
Find me on: and within IBM on:
IBM United Kingdom Limited
Registered in England and Wales with number 741598
Registered office: PO Box 41, North Harbour, Portsmouth, Hants. PO6 3AU
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number
741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number
741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://open-services.net/pipermail/oslc-automation_open-services.net/attachments/20131107/63442dc0/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 518 bytes
Desc: not available
URL: <http://open-services.net/pipermail/oslc-automation_open-services.net/attachments/20131107/63442dc0/attachment.jpe>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 1208 bytes
Desc: not available
URL: <http://open-services.net/pipermail/oslc-automation_open-services.net/attachments/20131107/63442dc0/attachment-0001.jpe>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 360 bytes
Desc: not available
URL: <http://open-services.net/pipermail/oslc-automation_open-services.net/attachments/20131107/63442dc0/attachment.gif>
More information about the Oslc-Automation
mailing list