{"id":33179080,"url":"https://github.com/nhl/link-move","last_synced_at":"2026-01-14T02:36:14.447Z","repository":{"id":19624725,"uuid":"22876447","full_name":"nhl/link-move","owner":"nhl","description":"A model-driven dynamically-configurable framework to acquire data from external sources and save it to your database.","archived":false,"fork":false,"pushed_at":"2025-04-19T13:28:50.000Z","size":1866,"stargazers_count":36,"open_issues_count":24,"forks_count":16,"subscribers_count":13,"default_branch":"main","last_synced_at":"2025-07-23T22:05:10.435Z","etag":null,"topics":["cayenne","etl","etl-framework"],"latest_commit_sha":null,"homepage":"","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/nhl.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":"2014-08-12T12:27:10.000Z","updated_at":"2025-07-16T09:59:57.000Z","dependencies_parsed_at":"2025-04-19T14:49:54.893Z","dependency_job_id":null,"html_url":"https://github.com/nhl/link-move","commit_stats":null,"previous_names":[],"tags_count":39,"template":false,"template_full_name":null,"purl":"pkg:github/nhl/link-move","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nhl%2Flink-move","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nhl%2Flink-move/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nhl%2Flink-move/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nhl%2Flink-move/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nhl","download_url":"https://codeload.github.com/nhl/link-move/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nhl%2Flink-move/sbom","scorecard":{"id":683925,"data":{"date":"2025-08-11","repo":{"name":"github.com/nhl/link-move","commit":"06190e8e0a3fb72db08a3e01abe530ae8a6feac3"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.8,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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":"Code-Review","score":0,"reason":"Found 0/30 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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/maven.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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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:16: update your workflow using https://app.stepsecurity.io/secureworkflow/nhl/link-move/maven.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/maven.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/nhl/link-move/maven.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/maven.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/nhl/link-move/maven.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/maven.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/nhl/link-move/maven.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/maven.yml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/nhl/link-move/maven.yml/main?enable=pin","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party 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":"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":"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 'main'"],"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":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/maven.yml:28"],"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":"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-22T00:06:25.518Z","repository_id":19624725,"created_at":"2025-08-22T00:06:25.518Z","updated_at":"2025-08-22T00:06:25.518Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28408711,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T01:52:23.358Z","status":"online","status_checked_at":"2026-01-14T02:00:06.678Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["cayenne","etl","etl-framework"],"created_at":"2025-11-16T03:00:36.822Z","updated_at":"2026-01-14T02:36:14.440Z","avatar_url":"https://github.com/nhl.png","language":"Java","funding_links":[],"categories":["大数据"],"sub_categories":[],"readme":"[![Build Status](https://github.com/nhl/link-move/workflows/build%20test%20deploy/badge.svg)](https://github.com/nhl/link-move/actions)\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.nhl.link.move/link-move/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.nhl.link.move/link-move/)\n\n## LinkMove\n\nLinkMove is a model-driven dynamically-configurable framework to acquire data from external sources and save it in your \ndatabase. Its primary motivation is to facilitate \n[domain-driven design](https://en.wikipedia.org/wiki/Domain-driven_design) architectures. In DDD terms LinkMove is a \ntool to synchronize data between related models from different [\"bounded contexts\"](http://martinfowler.com/bliki/BoundedContext.html). \nIt can also be used as a general purpose ETL framework.\n\nLinkMove connects data models in a flexible way that anticipates independent changes between sources and targets. It \nwill reuse your existing ORM mapping for the _target_ database, reducing configuration to just describing the _source_. \nIt supports JDBC, XML, JSON, CSV sources out of the box.\n\n## Support\n\nThere are two options:\n\n* Post your question on the [GitHub Discussions](https://github.com/nhl/link-move/discussions)\n* If you think you encountered a bug, open a [GitHub issue](https://github.com/nhl/link-move/issues)\n\n## Getting Started\n\nAdd LinkMove dependency:\n```XML\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.nhl.link.move\u003c/groupId\u003e\n    \u003cartifactId\u003elink-move\u003c/artifactId\u003e\n    \u003cversion\u003e3.0.0-RC3\u003c/version\u003e\n\u003c/dependency\u003e\n```\nThe core module above supports relational and XML sources. The following optional modules may be added if you need to work with other formats:\n\n```XML\n\u003c!-- for JSON --\u003e\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.nhl.link.move\u003c/groupId\u003e\n    \u003cartifactId\u003elink-move-json\u003c/artifactId\u003e\n    \u003cversion\u003e3.0.0-RC3\u003c/version\u003e\n\u003c/dependency\u003e\n```\n```XML\n\u003c!-- for CSV --\u003e\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.nhl.link.move\u003c/groupId\u003e\n    \u003cartifactId\u003elink-move-csv\u003c/artifactId\u003e\n    \u003cversion\u003e3.0.0-RC3\u003c/version\u003e\n\u003c/dependency\u003e\n```\nUse it:\n\n```Java\n// bootstrap shared runtime that will run tasks\nDataSource srcDS = // define how you'd connect to data source \nServerRuntime targetRuntime = // Cayenne setup for data target .. targets are mapped in Cayenne \nFile rootDir = .. // this is a parent dir of XML descriptors\n\nLmRuntime lm = LmRuntime.builder()\n          .connector(JdbcConnector.class, \"myconnector\", new DataSourceConnector(srcDS))\n          .targetRuntime(targetRuntime)\n          .extractorModelsRoot(rootDir)\n          .build();\n\n// create a reusable task for a given transformation\nLmTask task = lm.getTaskService()\n         .createOrUpdate(MyTargetEntity.class)\n         .sourceExtractor(\"my-etl.xml\")\n         .matchBy(MyTargetEntity.NAME).task();\n\n// run task, e.g. in a scheduled job\nExecution e = task.run();\n```\n\n## Extractor XML Format\n\nExtractor XML format is described by a formal schema: https://nhl.github.io/link-move/xsd/extractor_config_3.xsd\n\nAn example using JDBC connector for the source data:\n\n```XML\n\u003c?xml version=\"1.0\" encoding=\"utf-8\"?\u003e\n\u003cconfig xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n        xsi:schemaLocation=\"https://nhl.github.io/link-move/xsd/extractor_config_3.xsd https://nhl.github.io/link-move/xsd/extractor_config_3.xsd\"\n        xmlns=\"https://nhl.github.io/link-move/xsd/extractor_config_3.xsd\"\u003e\n\t\n\t\u003ctype\u003ejdbc\u003c/type\u003e\n\t\u003cconnectorId\u003emyconnector\u003c/connectorId\u003e\n\t\n\t\u003cextractor\u003e\n\t\t\u003c!-- Optional source to target attribute mapping --\u003e\n\t\t\u003cattributes\u003e\n\t\t\t\u003cattribute\u003e\n\t\t\t\t\u003ctype\u003ejava.lang.Integer\u003c/type\u003e\n\t\t\t\t\u003csource\u003eAGE\u003c/source\u003e\n\t\t\t\t\u003ctarget\u003edb:age\u003c/target\u003e\n\t\t\t\u003c/attribute\u003e\n\t\t\t\u003cattribute\u003e\n\t\t\t\t\u003ctype\u003ejava.lang.String\u003c/type\u003e\n\t\t\t\t\u003csource\u003eDESCRIPTION\u003c/source\u003e\n\t\t\t\t\u003ctarget\u003edb:description\u003c/target\u003e\n\t\t\t\u003c/attribute\u003e\n\t\t\t\u003cattribute\u003e\n\t\t\t\t\u003ctype\u003ejava.lang.String\u003c/type\u003e\n\t\t\t\t\u003csource\u003eNAME\u003c/source\u003e\n\t\t\t\t\u003ctarget\u003edb:name\u003c/target\u003e\n\t\t\t\u003c/attribute\u003e\n\t\t\u003c/attributes\u003e\n\t\t\u003c!-- JDBC connector properties. --\u003e\n\t\t\u003cproperties\u003e\n\t\t\t\u003c!-- Query to run against the source. Supports full Cayenne \n\t\t\t     SQLTemplate syntax, including parameters and directives.\n\t\t\t--\u003e\n\t\t\t\u003cextractor.jdbc.sqltemplate\u003e\n\t\t\t       SELECT age, description, name FROM etl1\n\t\t\t\u003c/extractor.jdbc.sqltemplate\u003e\n\t\t\u003c/properties\u003e\n\t\u003c/extractor\u003e\n\u003c/config\u003e\n```\n\n## Logging Configuration\n\nLinkMove uses Slf4J abstraction for logging, that will work with most common logging frameworks (Log4J2, Logback, etc.).\nWith any framework you use, you will need to configure the following log levels depending on the desired verbosity of\nyour ETL tasks.\n\n### Logging ETL Progress\n\nYou need to configure the `com.nhl.link.move.log` logger to log the progress of the ETL tasks. The following table \nshows what is logged at each log level:\n\n|Log Level| What is Logged                                                                |\n|---------|-------------------------------------------------------------------------------|\n| WARN    | Nothing                                                                       |\n| INFO    | Task start/stop with stats                                                    |\n| DEBUG   | Same as INFO, but also includes start/stop of each segment with segment stats |\n|TRACE|Same as DEBUG, but also includes IDs of all affected target objects (deleted, created, updated)|\n\n\n\n### Logging SQL\n\nETL-related SQL generated by Cayenne is extremely verbose and barely human-readable. You need to configure the \n`org.apache.cayenne.log` logger to turn it on and off:\n\n|Log Level| What is Logged                                                          |\n|---------|-------------------------------------------------------------------------|\n| WARN    | Nothing                                                                 |\n| INFO    | Cayenne-generated SQL queries and updates|\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnhl%2Flink-move","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnhl%2Flink-move","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnhl%2Flink-move/lists"}