Skip to content

Commit

Permalink
Merge pull request #27 from archesproject/fixes-lingo-package-for-new…
Browse files Browse the repository at this point in the history
…-structure

Fixes lingo package for new structure
  • Loading branch information
johnatawnclementawn authored Jun 12, 2024
2 parents 3e5cb5b + 1cb09ed commit 605b4cd
Show file tree
Hide file tree
Showing 28 changed files with 685 additions and 146 deletions.
18 changes: 17 additions & 1 deletion arches_lingo/etl_modules/migrate_to_lingo.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,22 @@
CONCEPTS_BROADER_NODEGROUP_ID = uuid.UUID("bf73e5f5-4888-11ee-8a8d-11afefc4bff7")
CONCEPTS_PART_OF_SCHEME_NODEGROUP_ID = uuid.UUID("bf73e60a-4888-11ee-8a8d-11afefc4bff7")

details = {
"etlmoduleid": "11cad3ca-e155-44b1-9910-c50b3def47f6",
"name": "Migrate to Lingo",
"description": "Migrate schemes and concepts from the RDM to Arches Lingo",
"etl_type": "import",
"component": "views/components/etl_modules/migrate-to-lingo",
"componentname": "migrate-to-lingo",
"modulename": "migrate_to_lingo.py",
"classname": "RDMMtoLingoMigrator",
"config": {"bgColor": "#ffa564", "circleColor": "#ffd2b1", "show": True},
"icon": "fa fa-usb",
"slug": "migrate-to-lingo",
"helpsortorder": 6,
"helptemplate": "migrate-to-lingo-help",
}


class RDMMtoLingoMigrator(BaseImportModule):
def __init__(self, request=None, loadid=None):
Expand Down Expand Up @@ -329,4 +345,4 @@ def run_load_task_async(self, request):
cursor.execute(
"""UPDATE load_event SET taskid = %s WHERE loadid = %s""",
(migrate_rdm_to_lingo_task.task_id, self.loadid),
)
)
69 changes: 0 additions & 69 deletions arches_lingo/migrations/0002_rdm_to_lingo_etl_module.py

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 605b4cd

Please sign in to comment.