* Changed name & product-name to id in get method to fetch NS & VNF packages
Change-Id: Iae2b599ebaf31e40ddbdff410720db3ac4cc8bc3
Signed-off-by: Barath Kumar R <barath.r@tataelxsi.co.in>
this.primitiveList = [];
this.primitiveParameter = [];
this.getFormControl('primitive').setValue(null);
this.primitiveList = [];
this.primitiveParameter = [];
this.getFormControl('primitive').setValue(null);
- const apiUrl: string = environment.VNFPACKAGES_URL + '?product-name=' + vnfdRef;
+ const apiUrl: string = environment.VNFPACKAGES_URL + '?id=' + vnfdRef;
this.isLoadingResults = true;
this.restService.getResource(apiUrl)
.subscribe((vnfdInfo: VNFD[]): void => {
this.isLoadingResults = true;
this.restService.getResource(apiUrl)
.subscribe((vnfdInfo: VNFD[]): void => {
this.primitiveList = [];
this.primitiveParameter = [];
this.getFormControl('primitive').setValue(null);
this.primitiveList = [];
this.primitiveParameter = [];
this.getFormControl('primitive').setValue(null);
- const apiUrl: string = environment.NSDESCRIPTORS_URL + '?name=' + nsdRef;
+ const apiUrl: string = environment.NSDESCRIPTORS_URL + '?id=' + nsdRef;
this.isLoadingResults = true;
this.restService.getResource(apiUrl)
.subscribe((nsdInfo: {}): void => {
this.isLoadingResults = true;
this.restService.getResource(apiUrl)
.subscribe((nsdInfo: {}): void => {