From: Laurence Maultsby Date: Wed, 25 Jan 2017 20:43:28 +0000 (-0500) Subject: Config Parameter Map enhancements X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=7d5f8997f9efa65cb5e6c6f9486d8440d348bdb6;p=osm%2FUI.git Config Parameter Map enhancements Signed-off-by: Laurence Maultsby --- diff --git a/skyquake/plugins/composer/src/src/components/ConfigPrimitiveParameters/ConfigPrimitiveParameters.js b/skyquake/plugins/composer/src/src/components/ConfigPrimitiveParameters/ConfigPrimitiveParameters.js index 912895c63..4c7bbdde9 100644 --- a/skyquake/plugins/composer/src/src/components/ConfigPrimitiveParameters/ConfigPrimitiveParameters.js +++ b/skyquake/plugins/composer/src/src/components/ConfigPrimitiveParameters/ConfigPrimitiveParameters.js @@ -157,16 +157,16 @@ const ConfigPrimitiveParameters = React.createClass({ return (
-
-
-
- Request -
-
- Source -
-
+
+
+
+ Primitive Parameter Request +
+
+ Data Source +
+
{ MapData.Requests.map(function(r, i) { let currentValue = {}; @@ -181,7 +181,9 @@ const ConfigPrimitiveParameters = React.createClass({ requestValue: r.name, requestIndex: r.vnfdIndex } - SourceOptions.push() + if (r.vnfdIndex !== s.vnfdIndex) { + SourceOptions.push() + } }) //Finds current value NSContainer.model['config-parameter-map'] && NSContainer.model['config-parameter-map'].map((c)=>{ @@ -202,7 +204,7 @@ const ConfigPrimitiveParameters = React.createClass({ let currentMapIndex = (mapCounter > 0) ? (mapCounter) - 1: 0; return (
-
{`${r.vnfdName} (${r.vnfdIndex}) / ${r.parameter && r.parameter[0]['config-primitive-name-ref']} / ${r.parameter && r.parameter[0]['config-primitive-parameter-ref']}`}
+
{`${r.vnfdName} (${r.vnfdIndex}): ${r.name}`}