[data processing] Add data source substitution toggles to configure tab on job launch

Bug #1445467 reported by Trevor McKay
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Invalid
Undecided
Unassigned

Bug Description

There are two boolean configuration values that enable substitution of data source objects for custom urls or uuids in configs, args, and params when jobs are submitted:

* edp.substitute_data_source_for_name -- substitute data source objects for urls of the form datasource://name

* edp.substitute_data_source_for_uuid -- substitute data source objects for strings identified as uuids by oslo_utils.uuidutils.is_uuid_like()

It would be nice if users could simply check a box to set these configs. Currently, a user must add these configs on the configure tab by hand.

Both values could be set by a single toggle, or an overall toggle with subtoggles could be used (one toggle to set both, and individual toggles for each). Probably a single toggle to set both is adequate -- the edge case will be when a user wants to pass a literal uuid as an argument to a job, or even less likely a "datasource://name" string. If a user really wants to set only one or the other, the toggle can be turned off and the config value can be added by hand (manual config values should supersede the toggle).

The label on a single box can be something like "Reference datasources by name or uuid".

Default should probably be True.

Revision history for this message
Trevor McKay (tmckay) wrote :

Importance can be "Wish list"

Chad Roberts (croberts)
Changed in horizon:
assignee: nobody → Chad Roberts (croberts)
Chad Roberts (croberts)
Changed in horizon:
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/188422

Changed in horizon:
status: Confirmed → In Progress
Changed in horizon:
assignee: Chad Roberts (croberts) → Vitaly Gridnev (vgridnev)
Chad Roberts (croberts)
Changed in horizon:
assignee: Vitaly Gridnev (vgridnev) → Chad Roberts (croberts)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on horizon (master)

Change abandoned by Chad Roberts (<email address hidden>) on branch: master
Review: https://review.openstack.org/188422
Reason: Sahara dashboard now lives in a separate repository.

Revision history for this message
Thierry Carrez (ttx) wrote : Fix included in openstack/sahara-dashboard 4.0.0.0b2

This issue was fixed in the openstack/sahara-dashboard 4.0.0.0b2 development milestone.

Revision history for this message
Rob Cresswell (robcresswell-deactivatedaccount) wrote :

As noted above, issue has been fixed in sahara dashboard, so marking invalid for Horizon.

Changed in horizon:
status: In Progress → Invalid
assignee: Chad Roberts (croberts) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.