You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "RJ Nowling (JIRA)" <ji...@apache.org> on 2015/07/08 05:32:04 UTC
[jira] [Updated] (BIGTOP-1918) Add product enumeration to BPS data
generator
[ https://issues.apache.org/jira/browse/BIGTOP-1918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
RJ Nowling updated BIGTOP-1918:
-------------------------------
Attachment: BIGTOP-1918.patch
This patch:
1. Removes code for reading products from the JSON file and the JSON file itself.
2. Adds a new ProductGenerator subsystem which includes routines for computing cartesian products, a simple boolean logic system, iterators for building and filtering products, and a conversion of the JSON file into a class for using the new ProductGenerator.
> Add product enumeration to BPS data generator
> ---------------------------------------------
>
> Key: BIGTOP-1918
> URL: https://issues.apache.org/jira/browse/BIGTOP-1918
> Project: Bigtop
> Issue Type: New Feature
> Components: blueprints
> Affects Versions: 0.8.0
> Reporter: RJ Nowling
> Assignee: RJ Nowling
> Attachments: BIGTOP-1918.patch
>
>
> The BigPetStore data generator currently reads products from a JSON file. Manually creating entries is time consuming and limits our ability to add products with lots of fields. We want more fields so we can generate a wider range of patterns.
> I suggest adding a product generator which takes a description of every field and its possible values and generates a Cartesian product of every possible product. Logical rules for be used for filtering out certain combinations. This will significantly reduce the effort required to add a large number of products.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)