I have been exploring the Data Miner Diagram feature in the latest beta. From my limited experimentation, and EA experience, i suspect this feature will see allot of use. I suggest those of you with a 15 Beta experiment with it, so that you will not have to wait for the next release for changes when you see how useful it is.
It seems to be an off the shelf tool for importing model-to-model mapping and syncing information from other systems in your IT Landscape. I have yet to get a diagram working, the documentation is a bit thin, and the model wizards (as yet) do not have common tasks such as 'mine CSV file' or 'mine JSON REST URL' examples.
I've created this thread for others experimenting to share their experience, and report any issues or tips.
If you need an URL for a JSON REST API, you can use github:
https://api.github.com/If you need a URL for a CSV file, you can use:
https://www.rba.gov.au/statistics/tables/csv/a6-data-prior-to-1984.csv?v=2019-06-14-09-44-55Or find something else here:
https://github.com/n0shake/Public-APIsCurrent documentation on this feature:
https://sparxsystems.com/enterprise_architect_user_guide/15.0/model_publishing/data_miner.htmlI expect it uses the new "Dynamic Model Add-Ins" mentioned here:
https://www.sparxsystems.com/products/ea/15/history.htmlAnd documented here.
https://sparxsystems.com/enterprise_architect_user_guide/15.0/automation/modeladdins.htmlThe transformation from source to set is done with a script that uses the DataMiner Package. The new DataMiner package docs are here:
https://sparxsystems.com/enterprise_architect_user_guide/15.0/automation/data_miner_package.htmlQuestions i have yet to answer.
- can i put together multiple DMConnections, sets, and scripts in a single diagram to collate information?
- can i use a DMscript (as a DMconnect in the workflow) to create DMsets?
- can i, as a file DMConnect source, trigger the creation of the external CSV/Json files (e.g. generate via external scripts such as in LINQpad) ?
- Are there examples on how to tie these 'diagram workflows' to Automation model based triggers.
- Can i add a CSV exchange specification (Publish->Model Exchange-> CSV -> CSV Import Export) as a DMScript?
- Can i not use my local repository for EA Repository source (if i want to mine my own repository to transform elements)?
- How do i manage per-user credentials and admin credentials defined in a DMConnection element in a Diagram?
- How do i process a directory of files in the file processor?