Skip to content

Commit

Permalink
migrator: move existing files, awards and funders to invenio-rdm-migr…
Browse files Browse the repository at this point in the history
…ator
  • Loading branch information
Pablo Panero committed Jul 6, 2023
1 parent 66c24ab commit de653db
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 126 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
from invenio_rdm_migrator.load.postgresql.transactions.generators import (
TransactionGroupGenerator,
)

from invenio_rdm_migrator.streams.transactions import (
FilesBucketTableGenerator,
)
Expand Down
21 changes: 0 additions & 21 deletions site/zenodo_rdm/migrator/load/__init__.py

This file was deleted.

31 changes: 0 additions & 31 deletions site/zenodo_rdm/migrator/load/awards.py

This file was deleted.

35 changes: 0 additions & 35 deletions site/zenodo_rdm/migrator/load/files.py

This file was deleted.

32 changes: 0 additions & 32 deletions site/zenodo_rdm/migrator/load/funders.py

This file was deleted.

12 changes: 6 additions & 6 deletions site/zenodo_rdm/migrator/stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@
"""Migrator stream definitions."""

from invenio_rdm_migrator.streams import StreamDefinition
from invenio_rdm_migrator.streams.awards import ZenodoAwardsLoad
from invenio_rdm_migrator.streams.communities import CommunityCopyLoad
from invenio_rdm_migrator.streams.files import ZenodoFilesLoad
from invenio_rdm_migrator.streams.funders import ZenodoFundersLoad
from invenio_rdm_migrator.streams.oauth import (
OAuthClientCopyLoad,
OAuthRemoteTokenTransform,
Expand All @@ -18,13 +21,10 @@
from invenio_rdm_migrator.streams.requests import RequestCopyLoad
from invenio_rdm_migrator.streams.users import UserCopyLoad


from .extract import JSONLExtract
from .load import (
ZenodoAwardsLoad,
ZenodoFilesLoad,
ZenodoFundersLoad,
ZenodoTransactionLoad,
)

from .load import ZenodoTransactionLoad
from .transform import (
ZenodoCommunityTransform,
ZenodoRecordTransform,
Expand Down

0 comments on commit de653db

Please sign in to comment.