Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace GeneratorFormat by something more scalable #12

Open
mgoeminne opened this issue Mar 27, 2019 · 0 comments
Open

Replace GeneratorFormat by something more scalable #12

mgoeminne opened this issue Mar 27, 2019 · 0 comments

Comments

@mgoeminne
Copy link
Contributor

Currently, be.cetic.tsimulus.config.GeneratorFormat is used for mapping a JSON object to a time series generator. This object is basically a big map checking the value of the "type" attribute.

The idea is to provide something better, that would avoid to get this big list continuously growing as the number of generator increases.

An idea would be to place the responsibility to determine if a generator complies with the JSON object to the generator itself, which totally makes sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant