SUSE-Enceladus / blue-horizon

web-based user interface to terraforming the public cloud
GNU General Public License v3.0
11 stars 8 forks source link

Simplify options handling #158

Closed bear454 closed 3 years ago

bear454 commented 3 years ago

Resolves https://github.com/SUSE-Enceladus/blue-horizon/issues/155

bear454 commented 3 years ago

Given a variable defined as:

        "deployment_type": {
            "type": "string",
            "default": "Simple",
            "description": "Select to deploy a simple server or a clustered environment with 2 servers with System replication and HA capabilities<!-- Options=[Simple,HA] [group:HANA configuration] -->"
        }

image

codecov[bot] commented 3 years ago

Codecov Report

Merging #158 into master will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #158   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           26        26           
  Lines          706       706           
=========================================
  Hits           706       706           
Impacted Files Coverage Δ
app/helpers/variables_helper.rb 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update c101d2e...7504b47. Read the comment docs.