{"id":15466085,"url":"https://github.com/orientechnologies/orientdb-neo4j-importer-plugin","last_synced_at":"2025-04-14T07:08:36.701Z","repository":{"id":57714384,"uuid":"97706184","full_name":"orientechnologies/orientdb-neo4j-importer-plugin","owner":"orientechnologies","description":"Neo4j importer for OrientDB runnable as plugin inside the server.","archived":false,"fork":false,"pushed_at":"2025-04-14T01:32:18.000Z","size":475,"stargazers_count":4,"open_issues_count":4,"forks_count":3,"subscribers_count":7,"default_branch":"develop","last_synced_at":"2025-04-14T07:08:29.099Z","etag":null,"topics":["etl","graph","graphdb","importer","neo4j","orientdb"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/orientechnologies.png","metadata":{"files":{"readme":"README.md","changelog":"history-orientdb-neo4j-importer.txt","contributing":null,"funding":null,"license":"LICENSE-orientdb-neo4j-importer","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}},"created_at":"2017-07-19T10:56:00.000Z","updated_at":"2023-12-01T22:55:56.000Z","dependencies_parsed_at":"2023-01-30T18:16:39.151Z","dependency_job_id":"637bee8c-fb78-4ff1-9a30-634a851efbd2","html_url":"https://github.com/orientechnologies/orientdb-neo4j-importer-plugin","commit_stats":{"total_commits":276,"total_committers":10,"mean_commits":27.6,"dds":0.6702898550724637,"last_synced_commit":"b62f8517e0b4dbffec70dfe2b4b466521d009f73"},"previous_names":[],"tags_count":134,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orientechnologies%2Forientdb-neo4j-importer-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orientechnologies%2Forientdb-neo4j-importer-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orientechnologies%2Forientdb-neo4j-importer-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orientechnologies%2Forientdb-neo4j-importer-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/orientechnologies","download_url":"https://codeload.github.com/orientechnologies/orientdb-neo4j-importer-plugin/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248837281,"owners_count":21169374,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["etl","graph","graphdb","importer","neo4j","orientdb"],"created_at":"2024-10-02T01:04:53.285Z","updated_at":"2025-04-14T07:08:36.675Z","avatar_url":"https://github.com/orientechnologies.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"Develop: [![Build Status](http://helios.orientdb.com/view/multibranch/job/orientdb-neo4j-importer-multibranch/job/develop/badge/icon)](http://helios.orientdb.com/view/multibranch/job/orientdb-neo4j-importer-multibranch/job/develop/) 2.2.x:  [![Build Status](http://helios.orientdb.com/view/multibranch/job/orientdb-neo4j-importer-multibranch/job/2.2.x/badge/icon)](http://helios.orientdb.com/view/multibranch/job/orientdb-neo4j-importer-multibranch/job/2.2.x/) plugin-2.2.x [![Build Status](http://helios.orientdb.com/job/orientdb-neo4j-importer-multibranch/job/plugin-2.2.x/badge/icon)](http://helios.orientdb.com/job/orientdb-neo4j-importer-multibranch/job/plugin-2.2.x/) plugin-develop [![Build Status](http://helios.orientdb.com/job/orientdb-neo4j-importer-multibranch/job/plugin-develop/badge/icon)](http://helios.orientdb.com/job/orientdb-neo4j-importer-multibranch/job/plugin-develop/)\n\n# Neo4j to OrientDB Importer\n\n## Documentation\n\nhttp://orientdb.com/docs/last/OrientDB-Neo4j-Importer.html\n\n\n## Internals\n\n### Compile\n\n```\nmvn clean install\n```\n\nTo skip tests:\n\n```\nmvn clean install -DskipTests\n```\n\nTo run only a specific test, e.g. `shouldImportEmptyDb`:\n\n```\nmvn -Dtest=ONeo4jImporterTest#shouldImportEmptyDb test\n```\n\n\n### Tests\n\nThe test databases are created using the following queries:\n\n\n#### graphdb\\_empty\\_db (test `shouldImportEmptyDb`)\n\nEmpty database\n\n\n#### graphdb\\_unique_constraints\\_only (test `shouldImportUniqueConstraintsOnlyDb`)\n\n```\nCREATE CONSTRAINT ON (n:NodeLabelA) ASSERT n.p_number   IS UNIQUE\nCREATE CONSTRAINT ON (n:NodeLabelB) ASSERT n.p_string   IS UNIQUE\nCREATE CONSTRAINT ON (n:NodeLabelC) ASSERT n.p_boolean  IS UNIQUE\n```\n\n#### graphdb\\_nodes\\_only (test `shouldImportNodesOnlyDb`)\n\n```\nforeach(x in range(1,10) | create (:NodeLabelA {p_number:x, other_property: \"NodeLabelA-\"+x}))\nforeach(x in range(1,10) | create (:NodeLabelB {p_string:\"string_value_\" + x, other_property: \"NodeLabelB-\"+x}))\nforeach(x in range(1,5)  | create (:NodeLabelC {p_boolean:false, other_property: \"NodeLabelC-\"+x}))\nforeach(x in range(6,10) | create (:NodeLabelC {p_boolean:true, other_property: \"NodeLabelC-\"+x}))\n```\n\n#### graphdb\\_nodes\\_only\\_no\\_labels (test `shouldImportNodesOnlyNoLabelsDb`)\n\n```\nforeach(x in range(1,10) | create ( {p_number:x, other_property: \"string-\"+x}))\nforeach(x in range(1,10) | create ( {p_string:\"string_value_\" + x, other_property: \"string-\"+x}))\nforeach(x in range(1,5)  | create ( {p_boolean:false, other_property: \"string-\"+x}))\nforeach(x in range(6,10) | create ( {p_boolean:true, other_property: \"string-\"+x}))\n```\n\n#### graphdb\\_nodes\\_only\\_mixed\\_labels\\_and\\_no\\_labels (test `shouldImportNodesOnlyMixedLabelsNoLabelsDb`)\n\n```\nforeach(x in range(1,10) | create (:NodeLabelA {p_number:x, other_property: \"NodeLabelA-\"+x}))\nforeach(x in range(1,10) | create ( {p_string:\"string_value_\" + x, other_property: \"string-\"+x}))\nforeach(x in range(1,5)  | create (:NodeLabelC {p_boolean:false, other_property: \"NodeLabelC-\"+x}))\nforeach(x in range(6,10) | create ( {p_boolean:true, other_property: \"string-\"+x}))\n```\n\n#### graphdb\\_nodes\\_only\\_label\\_case\\_test (test `shouldImportNodesOnlyLabelCaseDb`)\n\n```\nforeach(x in range(1,10) | create (:NodeLabelA {p_number:x, other_property: \"NodeLabelA-\"+x}))\nforeach(x in range(1,10) | create (:NodeLABELA {p_string:\"string_value_\" + x, other_property: \"NodeLABELA-\"+x}))\nforeach(x in range(1,5)  | create (:NodeLabelC {p_boolean:false, other_property: \"NodeLabelC-\"+x}))\nforeach(x in range(6,10) | create ( {p_boolean:true, other_property: \"string-\"+x}))\n```\n\n\n#### graphdb\\_nodes\\_only\\_label\\_case\\_test\\_constraints (test `shouldImportNodesOnlyLabelCaseConstraintsDb`)\n\n```\nCREATE CONSTRAINT ON (n:NodeLabelA) ASSERT n.p_number        IS UNIQUE\nCREATE CONSTRAINT ON (n:NodeLabelB) ASSERT n.p_number        IS UNIQUE\nCREATE CONSTRAINT ON (n:NodeLABELB) ASSERT n.p_number        IS UNIQUE\n\nforeach(x in range(1,10) | create (:NodeLabelA {p_number:x, other_property: \"NodeLabelA-\"+x}))\nforeach(x in range(1,10) | create (:NodeLABELA {p_string:\"string_value_\" + x, other_property: \"NodeLABELA-\"+x}))\nforeach(x in range(1,10) | create (:NodeLabelB {p_number:x, other_property: \"NodeLabelB-\"+x}))\nforeach(x in range(1,10) | create (:NodeLABELB {p_number:x, other_property: \"NodeLABELB-\"+x}))\n```\n\n\n#### graphdb\\_nodes\\_only\\_multiple\\_labels (test `shouldImportNodesOnlyMultipleLabelsDb`)\n\n```\nforeach(x in range(1,10) | create (:NodeLabelA:NodeLabelB {p_number:x, other_property: \"NodeLabelA-NodeLabelB-\"+x}))\nforeach(x in range(1,10) | create (:NodeLabelC:NodeLabelD {p_string:\"string_value_\" + x, other_property: \"NodeLabelC-NodeLabelD\"+x}))\nforeach(x in range(1,10) | create (:NodeLabelE {p_boolean:true, other_property: \"NodeLabelE-\"+x}))\n```\n\n#### graphdb\\_multiple\\_labels\\_and\\_constraints (test `shouldImportMultipleLabelsAndConstraintsDb`)\n\n```\nCREATE CONSTRAINT ON (n:NodeLabelA) ASSERT n.p_number        IS UNIQUE\nCREATE CONSTRAINT ON (n:NodeLabelB) ASSERT n.p_number        IS UNIQUE\nCREATE CONSTRAINT ON (n:NodeLabelC) ASSERT n.p_string        IS UNIQUE\nCREATE CONSTRAINT ON (n:NodeLabelE) ASSERT n.other_property  IS UNIQUE\n\nforeach(x in range(1,10) | create (:NodeLabelA:NodeLabelB {p_number:x, other_property: \"NodeLabelA-NodeLabelB-\"+x}))\nforeach(x in range(11,20) | create (:NodeLabelB {p_number:x, other_property: \"NodeLabelB-\"+x}))\nforeach(x in range(1,10) | create (:NodeLabelC:NodeLabelD {p_string:\"string_value_\" + x, other_property: \"NodeLabelC-NodeLabelD\"+x}))\nforeach(x in range(1,10) | create (:NodeLabelE {p_boolean:true, other_property: \"NodeLabelE-\"+x}))\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forientechnologies%2Forientdb-neo4j-importer-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Forientechnologies%2Forientdb-neo4j-importer-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forientechnologies%2Forientdb-neo4j-importer-plugin/lists"}