← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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.

** Affects: horizon
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1445467

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

Status in OpenStack Dashboard (Horizon):
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1445467/+subscriptions


Follow ups

References