Create Image service uses $scope captured in a closure var `scope` to pass the upload progress of the local image file to Glance service into modal form controller. Implements blueprint: horizon-glance-large-image-upload Change-Id: I98711e6a5e59c91ef71a726a6ff094767d421ef7
17 lines
751 B
YAML
17 lines
751 B
YAML
---
|
|
features:
|
|
- Create from a local file feature is added to the Angular
|
|
Create Image workflow. It works either in a 'legacy' mode
|
|
which proxies an image upload through Django, or in a new
|
|
'direct' mode, which in turn implements
|
|
[`blueprint horizon-glance-large-image-upload
|
|
<https://blueprints.launchpad.net/horizon/+spec/horizon-glance-large-image-upload>`_].
|
|
To use the direct mode HORIZON_IMAGES_UPLOAD_MODE setting
|
|
should be changed to 'direct' value along with changing
|
|
glance-api.conf cors.allowed_origin parameter to the URL
|
|
from which Horizon is served.
|
|
deprecations:
|
|
- HORIZON_IMAGES_ALLOW_UPLOAD setting is deprecated and
|
|
should be gradually replaced with
|
|
HORIZON_IMAGES_UPLOAD_MODE setting.
|