{"id":19654098,"url":"https://github.com/dynamiatools/module-importer","last_synced_at":"2026-02-06T10:42:22.993Z","repository":{"id":48163301,"uuid":"318534218","full_name":"dynamiatools/module-importer","owner":"dynamiatools","description":"DynamiaTools extension to work with excel files for import data","archived":false,"fork":false,"pushed_at":"2025-07-02T15:32:00.000Z","size":305,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-05T01:06:35.927Z","etag":null,"topics":["data","dynamia","excel","import","java","zk"],"latest_commit_sha":null,"homepage":"https://dynamia.tools","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dynamiatools.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-12-04T14:04:22.000Z","updated_at":"2025-07-02T15:31:48.000Z","dependencies_parsed_at":"2025-01-17T17:23:51.213Z","dependency_job_id":"ea52fd15-ec8c-4499-8d80-d2066fb080ff","html_url":"https://github.com/dynamiatools/module-importer","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/dynamiatools/module-importer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dynamiatools%2Fmodule-importer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dynamiatools%2Fmodule-importer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dynamiatools%2Fmodule-importer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dynamiatools%2Fmodule-importer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dynamiatools","download_url":"https://codeload.github.com/dynamiatools/module-importer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dynamiatools%2Fmodule-importer/sbom","scorecard":{"id":362332,"data":{"date":"2025-08-11","repo":{"name":"github.com/dynamiatools/module-importer","commit":"b73dcdaaf6222a638576ab00fc8e116aaf4a14d9"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.2,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/maven.yml:1","Warn: no topLevel permission defined: .github/workflows/release.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/maven.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/dynamiatools/module-importer/maven.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/maven.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/dynamiatools/module-importer/maven.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/dynamiatools/module-importer/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/dynamiatools/module-importer/release.yml/master?enable=pin","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Maintained","score":4,"reason":"5 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 4","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/24 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/release.yml:12"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 9 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-18T11:07:25.672Z","repository_id":48163301,"created_at":"2025-08-18T11:07:25.673Z","updated_at":"2025-08-18T11:07:25.673Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29158237,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T07:18:23.844Z","status":"ssl_error","status_checked_at":"2026-02-06T07:13:32.659Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data","dynamia","excel","import","java","zk"],"created_at":"2024-11-11T15:16:06.872Z","updated_at":"2026-02-06T10:42:22.985Z","avatar_url":"https://github.com/dynamiatools.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Maven Central](https://img.shields.io/maven-central/v/tools.dynamia.modules/tools.dynamia.modules.importer)](https://search.maven.org/search?q=tools.dynamia.modules.importer)\n![Java Version Required](https://img.shields.io/badge/java-21-blue)\n[![Maven Build](https://github.com/dynamiatools/module-importer/actions/workflows/maven.yml/badge.svg)](https://github.com/dynamiatools/module-importer/actions/workflows/maven.yml)\n\n# Importer Module\n\nThis [DynamiaTools](https://dynamia.tools) extension allow you easily import and process Excel files. It provides async\nupload and processing, progress monitor, allow user to stop importing process and more.\n\nYou can add your own `ImportAction` to process other file types\n\n## Modules\n\n- Core: Entities, Services and API implementation\n- UI: Actions and views for user interface integration.\n\n## Installation\n\nAdd the following dependencies to project classpath\n\n**Maven**\n\n```xml\n\n\u003cdependency\u003e\n    \u003cgroupId\u003etools.dynamia.modules\u003c/groupId\u003e\n    \u003cartifactId\u003etools.dynamia.modules.importer\u003c/artifactId\u003e\n    \u003cversion\u003e3.3.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n```xml\n\n\u003cdependency\u003e\n    \u003cgroupId\u003etools.dynamia.modules\u003c/groupId\u003e\n    \u003cartifactId\u003etools.dynamia.modules.importer.ui\u003c/artifactId\u003e\n    \u003cversion\u003e3.3.0\u003c/version\u003e\n\u003c/dependency\u003e\n\n```\n\n**Gradle**\n\n```groovy\ncompile 'tools.dynamia.modules:tools.dynamia.modules.importer:3.3.0'\ncompile 'tools.dynamia.modules:tools.dynamia.modules.importer.ui:3.3.0'\n```\n\n## Usage\n\nThe `Importer` class is a ZK `Window` to show user the Excel format they need to import and show actions to process the\nfile. You can map columns to POJO properties\n\n```java\nimport tools.dynamia.actions.ActionEvent;\nimport tools.dynamia.crud.AbstractCrudAction;\nimport tools.dynamia.modules.importer.ui.Importer;\nimport tools.dynamia.modules.importer.ImportExcelAction;\nimport myproject.Person;\n\n@InstallAction\nclass ImportPeopleAction extends AbstractCrudAction {\n\n    public ImportPeopleAction() {\n        setName(\"Import\");\n        setApplicableClass(Person.class);\n    }\n\n    public void actionPerformed(ActionEvent evt) {\n\n        var importer = new Importer();\n        importer.addColumn(\"Code\");\n        importer.addColumn(\"Name\");\n        importer.addColumn(\"Last Name\", \"name2\"); //map to property name2\n        importer.addColumn(\"Start Date\", \"dateOfStart\");\n        importer.addAction(new ImportPeopleAction()); //custom import action\n\n        importer.show(\"Import People\"); // show the import window to user\n    }\n\n}\n\nclass ImportPeopleAction extends ImportExcelAction\u003cPerson\u003e {\n\n    @Override\n    public List\u003cPerson\u003e importFromExcel(InputStream excelFile, ProgressMonitor monitor) throws Exception {\n\n        var result = new ArrayList\u003cPerson\u003e();\n\n        ImportUtils.readExcel(excelFile, monitor, row -\u003e {\n\n            var code = ImportUtils.getCellValue(row, 0); //get string value from column A\n            var name = ImportUtils.getCellValue(row, 1); //get string value from column B\n            var lastName = ImportUtils.getCellValue(row, 2); //get string value from column C\n            var startDate = ImportUtils.getCellValueObject(row, 3); //get object value from column D\n\n            var person = new Person();\n            person.setCode(code);\n            person.setName(name);\n            person.setName2(lastName);\n            if (startDate instanceof Date) {\n                person.setDateOfStart((Date) startDate);\n            }\n\n            result.add(person);\n        });\n\n        return result;\n    }\n}\n```\n## License\n\nDynamiaTools Importer is available under Apache 2 License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdynamiatools%2Fmodule-importer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdynamiatools%2Fmodule-importer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdynamiatools%2Fmodule-importer/lists"}