aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-ui/test-utils/factories/softwareProduct/SoftwareProductValidationFactory.js
diff options
context:
space:
mode:
authorVodafone <onap@vodafone.com>2019-04-05 15:49:06 +0530
committerOren Kleks <orenkle@amdocs.com>2019-04-10 06:41:37 +0000
commit18750938b1513ee32d4d68f0871ec90efdf3ddfd (patch)
treefae174b2b4d42cf5fa60312c78ced935c318cd25 /openecomp-ui/test-utils/factories/softwareProduct/SoftwareProductValidationFactory.js
parentef0e8be1453e3959b38c9832e3e729e4e86a9e04 (diff)
VSP Compliance Check for Compute Flavor
Change-Id: I04768a20413393026606a3f5b200e959e37c1410 Issue-ID: SDC-2051 Co-authored-by: rahul.ghugikar@vodafone.com, soumyarup.paul@vodafone.com Signed-off-by: Vodafone <onap@vodafone.com>
Diffstat (limited to 'openecomp-ui/test-utils/factories/softwareProduct/SoftwareProductValidationFactory.js')
-rw-r--r--openecomp-ui/test-utils/factories/softwareProduct/SoftwareProductValidationFactory.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/openecomp-ui/test-utils/factories/softwareProduct/SoftwareProductValidationFactory.js b/openecomp-ui/test-utils/factories/softwareProduct/SoftwareProductValidationFactory.js
index 2ae9249ff7..c763e9d3e7 100644
--- a/openecomp-ui/test-utils/factories/softwareProduct/SoftwareProductValidationFactory.js
+++ b/openecomp-ui/test-utils/factories/softwareProduct/SoftwareProductValidationFactory.js
@@ -263,7 +263,7 @@ export const VSPTestsMapFactory = new Factory().attrs({
name: 'vspId',
description: 'VSP ID',
type: 'text',
- defaultValue: '',
+ defaultValue: '$vspid',
isOptional: true,
metadata: {
maxLength: 36,
@@ -275,7 +275,7 @@ export const VSPTestsMapFactory = new Factory().attrs({
name: 'vspVersion',
description: 'Previous VSP Version',
type: 'text',
- defaultValue: '',
+ defaultValue: '$vspPreviousVersion',
isOptional: true,
metadata: {
maxLength: 36,
@@ -315,7 +315,7 @@ export const VSPChecksFactory = new Factory().attrs({
name: 'vspId',
description: 'VSP ID',
type: 'text',
- defaultValue: '',
+ defaultValue: '$vspid',
isOptional: true,
metadata: {
maxLength: 36,
@@ -327,7 +327,7 @@ export const VSPChecksFactory = new Factory().attrs({
name: 'vspVersion',
description: 'Previous VSP Version',
type: 'text',
- defaultValue: '',
+ defaultValue: '$vspPreviousVersion',
isOptional: true,
metadata: {
maxLength: 36,