diff options
author | 2017-07-18 19:45:38 +0300 | |
---|---|---|
committer | 2017-07-18 19:45:38 +0300 | |
commit | b8e2faf476202b6ffe61bc3a9a37df1304881d40 (patch) | |
tree | f78b8c0517d8e16c5ae610bf8b49f68ea8a312a1 /openecomp-ui/test-utils/factories/softwareProduct/SoftwareProductComponentsComputeFactory.js | |
parent | 75aacbbe1acf78fa53378f07f0a8c7769449a17e (diff) |
[SDC] Onboarding 1710 rebase.
Change-Id: If3b6b81d221fde13908f1e8160db6f7d9433c535
Signed-off-by: Avi Ziv <avi.ziv@amdocs.com>
Diffstat (limited to 'openecomp-ui/test-utils/factories/softwareProduct/SoftwareProductComponentsComputeFactory.js')
-rw-r--r-- | openecomp-ui/test-utils/factories/softwareProduct/SoftwareProductComponentsComputeFactory.js | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/openecomp-ui/test-utils/factories/softwareProduct/SoftwareProductComponentsComputeFactory.js b/openecomp-ui/test-utils/factories/softwareProduct/SoftwareProductComponentsComputeFactory.js index 58e5db7a7d..6e751dcc53 100644 --- a/openecomp-ui/test-utils/factories/softwareProduct/SoftwareProductComponentsComputeFactory.js +++ b/openecomp-ui/test-utils/factories/softwareProduct/SoftwareProductComponentsComputeFactory.js @@ -14,8 +14,9 @@ * permissions and limitations under the License. */ import {Factory} from 'rosie'; +import randomstring from 'randomstring'; -export default new Factory() +export const ComputeFlavorQData = new Factory() .attrs({ 'vmSizing':{ 'numOfCPUs': 3, @@ -26,6 +27,19 @@ export default new Factory() } }); +export const ComputeFlavorBaseData = new Factory() + .attrs({ + name: () => randomstring.generate(), + description: () => randomstring.generate(), + id: randomstring.generate() + }); + +export const ComponentComputeFactory = new Factory() + .attrs({ + computesList: [], + computeEditor: {} + }); + export const VSPComponentsComputeDataMapFactory = new Factory() .attrs({ |