[SDC] Onboarding 1710 rebase.
[sdc.git] / openecomp-ui / test-utils / factories / softwareProduct / SoftwareProductComponentsComputeFactory.js
index 58e5db7..6e751dc 100644 (file)
@@ -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({