aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-ui/test-utils/factories/licenseModel/EntitlementPoolFactories.js
diff options
context:
space:
mode:
authorAvi Ziv <AVIZI@amdocs.com>2017-07-26 17:37:57 +0300
committerAvi Ziv <avi.ziv@amdocs.com>2017-07-26 18:27:22 +0300
commit61070c9c6b665fdea79b3ccdfeafc3a6b50d262e (patch)
treedfe9c169cfac91d6c72ac9ff23375f2aafac6405 /openecomp-ui/test-utils/factories/licenseModel/EntitlementPoolFactories.js
parentb824a997e19f6ee9627cb1b1e124c756bd8183fc (diff)
[SDC] Full OnBoard health-check and NFoD support
Change-Id: I606f8a52c7e6d2bd5558f824957d890e552c5423 Signed-off-by: Avi Ziv <avi.ziv@amdocs.com>
Diffstat (limited to 'openecomp-ui/test-utils/factories/licenseModel/EntitlementPoolFactories.js')
-rw-r--r--openecomp-ui/test-utils/factories/licenseModel/EntitlementPoolFactories.js12
1 files changed, 5 insertions, 7 deletions
diff --git a/openecomp-ui/test-utils/factories/licenseModel/EntitlementPoolFactories.js b/openecomp-ui/test-utils/factories/licenseModel/EntitlementPoolFactories.js
index 14df58e4c2..a28245e8bc 100644
--- a/openecomp-ui/test-utils/factories/licenseModel/EntitlementPoolFactories.js
+++ b/openecomp-ui/test-utils/factories/licenseModel/EntitlementPoolFactories.js
@@ -19,9 +19,7 @@ import {overviewEditorHeaders} from 'sdc-app/onboarding/licenseModel/overview/Li
Factory.define('EntitlementPoolBaseFactory')
.attrs({
name: 'EntitlementPoolName',
- description: 'description',
- entitlementMetric: {'choice': 'User', 'other': ''},
- manufacturerReferenceNumber: '123'
+ description: 'description'
});
Factory.define('EntitlementPoolExtendedBaseFactory')
@@ -29,10 +27,10 @@ Factory.define('EntitlementPoolExtendedBaseFactory')
.attrs({
thresholdValue: 75,
thresholdUnits: '%',
- increments: 'string',
- aggregationFunction: {'choice': 'Average', 'other': ''},
- operationalScope: {'choices': ['Other'], 'other': 'blabla'},
- time: {'choice': 'Hour', 'other': ''}
+ increments: 'string',
+ operationalScope: {'choices': ['Other'], 'other': 'blabla'},
+ startDate: (new Date()).getTime(),
+ expiryDate: (new Date()).getTime()
});
export const EntitlementPoolListItemFactory = new Factory()