[
https://issues.apache.org/jira/browse/FINERACT-1238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17267284#comment-17267284
]
Michael Vorburger edited comment on FINERACT-1238 at 1/18/21, 1:38 PM:
-----------------------------------------------------------------------
[~davidyaha] re. your comment in (unrelated)
https://github.com/vorburger/www.fineract.dev/issues/5 about "population of
demo data for each tenant", we have this issue here about that.
I had briefly toyed with Postman, and noticed its built in JS scripting has
[nice and simple support for Faker like "bulk demo data generation" (i.e.
"random name, phone number" and such
things)|https://learning.postman.com/docs/writing-scripts/script-references/variables-list/]
that look great for this.
If you guys have anything internal you could potentially be willing to share
upstream with Apache Fineract, this issue could be a good place to
propose/discuss it.
was (Author: vorburger):
[~davidyaha] re. your comment in (unrelated)
https://github.com/vorburger/www.fineract.dev/issues/5 about "population of
demo data for each tenant", we have this issue here about that.
I had briefly toyed with Postman, and noticed its built in JS scripting API has
a library with nice support for "bulk demo data generation" (i.e. "random name,
phone number" and such things) that look great for this.
If you guys have anything internal you could potentially be willing to share
upstream with Apache Fineract, this issue could be a good place to
propose/discuss it.
> Automated Demo Data creation tooling
> ------------------------------------
>
> Key: FINERACT-1238
> URL: https://issues.apache.org/jira/browse/FINERACT-1238
> Project: Apache Fineract
> Issue Type: New Feature
> Reporter: Michael Vorburger
> Priority: Major
>
> It would be nice, and very useful, if we had a reasonably easy way to
> automatically "create Demo Data" for Fineract. This makes sense both for
> scale testing, but perhaps even more importantly in the short term, to have
> local dev and demo instances like https://www.fineract.dev which are "not so
> empty" as they normally are.
> This has come up e.g. on https://github.com/openMF/web-app/pull/1256 as on
> argument why the https://github.com/openMF/web-app/ maintainers still prefer
> using the old https://staging.mifos.io instead of https://www.fineract.dev.
> FINERACT-1170 is related to this, but this is more specific & focused - a
> pre-requisite for that, really.
> There are 2 dimensions here: WHAT to create, and HOW to create it.
> Re. WHAT, it would be good to have someone help with specifying this.. could
> even be a simple as a list of bullet points in an email thread?
> Re. HOW, I can think of a few options, and maybe others can think of more:
> A. SQL scripts from dump of an existing installation. I personally don't like
> this very much, because such dumps could contain anything - not what the REST
> API programmatically created, but what people providing such a dump fiddled
> around with in the DB.
> B. JSON files to feed the REST API, e.g. a Collection of example Postman
> scripts that create "one of", with some to be built tooling making "many like
> that". Or not using Postman, just... manual JSON with a bit of Java that
> sends it to the API using whatever Java HTTP client.
> C. Scripting for the REST API using some tool. Building this using our brand
> new Fineract Client Java API.
> I would like to say "let's do C." but seeing that [there still are issues
> with the Fineract Client Java
> API|https://issues.apache.org/jira/issues/?jql=project%20%3D%20FINERACT%20AND%20component%20%3D%20SDK],
> hacking something using a B. like approach would likely lead to results
> faster.
> [~aleks] how much more than me :P do you understand of the "functionality" to
> possibly help on this front?
> [~ptuomola] any thoughts about this? Do you have any interest (time) to do
> anything on this front?
> [~edcable] how did you traditionally populate demo instances?
> [~jdailey] ([~jamespdailey]?) is this something you would enjoy helping with?
> Anyone else reading this wanting to jump on helping with this?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)