summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/ng2/services/onboarding.service.ts
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-ui/src/app/ng2/services/onboarding.service.ts')
-rw-r--r--catalog-ui/src/app/ng2/services/onboarding.service.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/catalog-ui/src/app/ng2/services/onboarding.service.ts b/catalog-ui/src/app/ng2/services/onboarding.service.ts
index 51a7fc4c7f..638603f94a 100644
--- a/catalog-ui/src/app/ng2/services/onboarding.service.ts
+++ b/catalog-ui/src/app/ng2/services/onboarding.service.ts
@@ -112,6 +112,7 @@ export class OnboardingService {
newMetadata.csarUUID = csar.packageId;
newMetadata.csarPackageType = csar.packageType;
newMetadata.csarVersion = csar.version;
+ newMetadata.csarVersionId = csar.versionId;
newMetadata.packageId = csar.packageId;
newMetadata.description = csar.description;
newMetadata.selectedCategory = selectedCategory && selectedSubCategory ? selectedCategory.name + "_#_" + selectedSubCategory.name : '';
@@ -121,6 +122,7 @@ export class OnboardingService {
newMetadata.tags = [];
newMetadata.icon = DEFAULT_ICON;
newMetadata.iconSprite = "sprite-resource-icons";
+ newMetadata.models = csar.models;
return newMetadata;
};