/** smart table Header Colums @public */
public generateColumns(): void {
this.columnLists = {
- shortName: { title: this.translateService.instant('SHORTNAME'), width: '15%', sortDirection: 'asc' },
- identifier: { title: this.translateService.instant('IDENTIFIER'), width: '20%' },
+ name: { title: this.translateService.instant('NAME'), width: '15%', sortDirection: 'asc' },
+ identifier: { title: this.translateService.instant('IDENTIFIER'), width: '30%' },
description: { title: this.translateService.instant('DESCRIPTION'), width: '25%' },
- vendor: { title: this.translateService.instant('VENDOR'), width: '15%' },
- version: { title: this.translateService.instant('VERSION'), width: '10%' },
+ version: { title: this.translateService.instant('VERSION'), width: '15%' },
Actions: {
name: 'Actions', width: '15%', filter: false, sort: false, type: 'custom',
title: this.translateService.instant('ACTIONS'),
/** Generate nsData object from loop and return for the datasource @public */
public generateNSData(nsdpackagedata: NSDDetails): NSData {
return {
- shortName: nsdpackagedata['short-name'],
+ name: nsdpackagedata.name,
identifier: nsdpackagedata._id,
description: nsdpackagedata.description,
- vendor: nsdpackagedata.vendor,
version: nsdpackagedata.version
};
}
/** smart table Header Colums @public */
public generateColumns(): void {
this.columnLists = {
- shortName: { title: this.translateService.instant('SHORTNAME'), width: '15%', sortDirection: 'asc' },
+ productName: { title: this.translateService.instant('PRODUCTNAME'), width: '15%', sortDirection: 'asc' },
identifier: { title: this.translateService.instant('IDENTIFIER'), width: '20%' },
type: {
title: this.translateService.instant('TYPE'),
]
}
},
- width: '10%'
+ width: '15%'
},
- description: { title: this.translateService.instant('DESCRIPTION'), width: '20%' },
- vendor: { title: this.translateService.instant('VENDOR'), width: '10%' },
+ description: { title: this.translateService.instant('DESCRIPTION'), width: '25%' },
version: { title: this.translateService.instant('VERSION'), width: '10%' },
Actions: {
name: 'Action', width: '15%', filter: false, sort: false, type: 'custom',
/** Generate nsData object from loop and return for the datasource @public */
public generatevnfdData(vnfdpackagedata: VNFDDetails): VNFData {
return {
- shortName: vnfdpackagedata['short-name'],
+ productName: vnfdpackagedata['product-name'],
identifier: vnfdpackagedata._id,
type: vnfdpackagedata._admin.type,
description: vnfdpackagedata.description,
- vendor: vnfdpackagedata.vendor,
version: vnfdpackagedata.version
};
}
"MODIFIED": "Geändert",
"NODATAMSG": "Keine Daten in der Tabelle verfügbar",
"SHORTNAME": "Kurzer Name",
+ "PRODUCTNAME":"Produktname",
"IDENTIFIER": "Kennung",
"DESCRIPTION": "Beschreibung",
"VENDOR": "Verkäuferin",
"MODIFIED": "Modified",
"NODATAMSG": "No data available in table",
"SHORTNAME": "Short Name",
+ "PRODUCTNAME":"Product Name",
"IDENTIFIER": "Identifier",
"DESCRIPTION": "Description",
"VENDOR": "Vendor",
"MODIFIED": "Modificado",
"NODATAMSG": "No hay datos disponibles en la tabla",
"SHORTNAME": "Nombre corto",
+ "PRODUCTNAME":"Nombre del producto",
"IDENTIFIER": "Identificador",
"DESCRIPTION": "Descripción",
"VENDOR": "Vendedor",
"PACKAGES": "Pacotes",
"NODATAMSG": "Sem dados disponíveis na tabela",
"SHORTNAME": "Nome curto",
+ "PRODUCTNAME":"Nome do Produto",
"IDENTIFIER": "Identificador",
"DESCRIPTION": "Descrição",
"VENDOR": "Fornecedor",
/** Interface for NSData */
export interface NSData {
- shortName: string;
+ shortName?: string;
identifier: string;
description: string;
- vendor: string;
+ vendor?: string;
version: string;
page?: string;
name?: string;
_admin: VNFDAdminDetails;
'short-name': string;
vendor: string;
+ 'product-name'?: string;
}
/** Interface for MGMT */
export interface VNFData {
name?: string;
id?: string;
- shortName: string;
+ shortName?: string;
identifier: string;
description: string;
- vendor: string;
+ vendor?: string;
version: string;
'type'?: string;
+ productName?: string;
}
/** Interface for the Tick */