Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

 Example: Hive Enhanced Configs

Hive Enhanced ConfigsImage Modified

Features

  • Define theme with custom layout of configs

    • Tabs

    • Sections

    • Sub-sections

  • Place selected configs in the layout defined above

  • Associate UI widget to use for a config

    • Radio Buttons

    • Slider

    • Combo

    • Time Interval Spinner

    • Toggle

    • Directory

    • Directories

    • List

    • Password

    • Text Field

    • Checkbox

    • Text Area

  • Automatic unit conversion for configs which have to be shown in units different from the units being saved as.

    • Memory - B, KB, MB, GB, TB, PB

    • Time - milliseconds, seconds, minutes, hours, days, months, years

    • Percentage - float, percentage

  • Ability to define dependencies between configurations across services (depends-on, depended-by).

  • Ability to dynamically update values of other depended-by configs when a config is changed.

 

Enable Enhanced Configs - Steps

 

Step 1 - Create Theme (UI Metadata)

The first step is to create a theme for your service in the stack definition folder. A theme provides necessary information of the UI to construct the enhanced configs. UI information like layout (tabs, sections, sub-sections), placement of configs in the sub-sections, and which widgets and units to use for each config

Screen Shot 2015-07-13 at 3.32.59 PM.pngImage Added