horizon/openstack_dashboard/static/app/core/images/actions
Richard Jones f9b3bc7b2b Remove use of scope from action service
The scope being handed to (and retained on) the action
service was being used for two purposes:

1. handing data down to the underlying wizard steps, and
2. receiving data back from the underlying wizard steps.

This patch provides a mechanism for passing data down through
injection, and removes the need for event-based data return
by explicitly passing the captured wizard data to the submit()
resolution.

It also adds the controller scope to the allowed() and
perform() action service handlers to grant access to
contextual information without needing to attach state
to the service.

Change-Id: Ieb293d0a849cd84d15e7aae0a68558fde80fd2c2
Fixes-Bug: 1640049
2016-11-24 18:42:49 +11:00
..
actions.module.js Place Create Image in global actions, not batch actions 2016-06-27 10:01:51 -06:00
actions.module.spec.js Place Create Image in global actions, not batch actions 2016-06-27 10:01:51 -06:00
create-volume.service.js Remove use of scope from action service 2016-11-24 18:42:49 +11:00
create-volume.service.spec.js Remove use of scope from action service 2016-11-24 18:42:49 +11:00
create.action.service.js [NG] Enhance Create Image workflow with upload tracking 2016-08-09 14:17:47 +03:00
create.action.service.spec.js Fix jasmine test failures due to missing ngRoute, schema-form dep 2016-08-19 10:12:33 -07:00
create.workflow.service.js Adding Create Image Action to angular images panel 2016-05-12 06:05:13 +00:00
create.workflow.service.spec.js Adding Create Image Action to angular images panel 2016-05-12 06:05:13 +00:00
delete-image.service.js Merge "Cleaning up lint warnings for Image work" 2016-05-11 19:23:19 +00:00
delete-image.service.spec.js Using registration for auto-generation of Image feature 2016-06-21 17:37:57 +00:00
edit.action.service.js Fixes issue where metadata is always removed on edit 2016-07-14 12:33:16 -06:00
edit.action.service.spec.js Add unit tests to edit-image to improve coverage 2016-08-17 12:18:13 -06:00
edit.workflow.service.js Adding Edit Image Action to angular images panel 2016-04-15 16:02:08 +00:00
edit.workflow.service.spec.js Adding Edit Image Action to angular images panel 2016-04-15 16:02:08 +00:00
launch-instance.service.js Merge "Cleaning up lint warnings for Image work" 2016-05-11 19:23:19 +00:00
launch-instance.service.spec.js Images tables uses action promises 2016-05-05 14:06:18 -06:00
update-metadata.action.service.js Trivial: Remove unused 'horizon.app.core.images.events' 2016-06-16 20:41:19 +08:00
update-metadata.action.service.spec.js Images tables uses action promises 2016-05-05 14:06:18 -06:00