aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/vnfs/build-artifacts/parameter-definitions
diff options
context:
space:
mode:
authorLiu <yongqiang.liu@nokia-sbell.com>2020-01-27 10:59:12 +0800
committerTaka Cho <takamune.cho@att.com>2020-02-05 09:48:24 -0500
commit700ac8a7ec822f1b7a0505319e4c453ca045d2ed (patch)
tree628c687faf129b6c3f87fe1e6b9b5c11fc2417ac /src/app/vnfs/build-artifacts/parameter-definitions
parent773f970c50772cddf75f7c7918935315e55d4e2d (diff)
add new action configscalein for cdt
Change-Id: I2f05079b7c2428351332ac84c1ea56f31d4a38d9 Issue-ID: APPC-1760 Signed-off-by: Taka Cho <takamune.cho@att.com>
Diffstat (limited to 'src/app/vnfs/build-artifacts/parameter-definitions')
-rw-r--r--src/app/vnfs/build-artifacts/parameter-definitions/parameter.component.html2
-rw-r--r--src/app/vnfs/build-artifacts/parameter-definitions/parameter.component.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/app/vnfs/build-artifacts/parameter-definitions/parameter.component.html b/src/app/vnfs/build-artifacts/parameter-definitions/parameter.component.html
index 9cddc8e..2ff2b9b 100644
--- a/src/app/vnfs/build-artifacts/parameter-definitions/parameter.component.html
+++ b/src/app/vnfs/build-artifacts/parameter-definitions/parameter.component.html
@@ -49,7 +49,7 @@ limitations under the License.
<div class="col-lg-3 col-sm-6 col-md-3 col-xs-12">
<label>Protocol</label><input class="form-control" type="text" disabled value="{{protocol}}" />
</div>
- <div *ngIf="(action === 'ConfigScaleOut')" class="col-lg-3 col-sm-6 col-md-3 col-xs-12">
+ <div *ngIf="(action === 'ConfigScaleOut' || action === 'ConfigScaleIn')" class="col-lg-3 col-sm-6 col-md-3 col-xs-12">
<label>Template Identifier</label><input class="form-control" type="text" disabled value="{{template_id}}" />
</div>
</div>
diff --git a/src/app/vnfs/build-artifacts/parameter-definitions/parameter.component.ts b/src/app/vnfs/build-artifacts/parameter-definitions/parameter.component.ts
index ad0adf3..64f1159 100644
--- a/src/app/vnfs/build-artifacts/parameter-definitions/parameter.component.ts
+++ b/src/app/vnfs/build-artifacts/parameter-definitions/parameter.component.ts
@@ -142,7 +142,7 @@ export class ParameterComponent implements OnInit {
console.log( this.clName+": "+methName+": have vnfcType:["+
this.vnfcType+"]");
}
- if( this.action === 'ConfigScaleOut'){
+ if( this.action === 'ConfigScaleOut' || this.action === 'ConfigScaleIn'){
// this.template_id = this.selectedActionReference.templateId;
this.template_id = this.mappingEditorService.identifier;
}