Spaces:
Sleeping
Sleeping
Create ingest/registry.py
Browse files- ingest/registry.py +5 -16
ingest/registry.py
CHANGED
|
@@ -1,9 +1,6 @@
|
|
| 1 |
from ingest.adapters.public_agencies import (
|
| 2 |
-
CIAAdapter,
|
| 3 |
-
|
| 4 |
-
NSAAdapter,
|
| 5 |
-
DoDAdapter,
|
| 6 |
-
NROAdapter,
|
| 7 |
HostedCollectionAdapter
|
| 8 |
)
|
| 9 |
|
|
@@ -14,21 +11,13 @@ def get_all_adapters():
|
|
| 14 |
NSAAdapter(),
|
| 15 |
DoDAdapter(),
|
| 16 |
NROAdapter(),
|
|
|
|
|
|
|
|
|
|
| 17 |
|
| 18 |
-
# Hosted / historical public collections
|
| 19 |
HostedCollectionAdapter(
|
| 20 |
label="AATIP (Public Releases)",
|
| 21 |
host_agency="DoD",
|
| 22 |
host_url="https://media.defense.gov"
|
| 23 |
),
|
| 24 |
-
HostedCollectionAdapter(
|
| 25 |
-
label="Special Access Program Records (Public)",
|
| 26 |
-
host_agency="CIA",
|
| 27 |
-
host_url="https://www.cia.gov/readingroom"
|
| 28 |
-
),
|
| 29 |
-
HostedCollectionAdapter(
|
| 30 |
-
label="Special Activities (Declassified)",
|
| 31 |
-
host_agency="CIA",
|
| 32 |
-
host_url="https://www.cia.gov/readingroom"
|
| 33 |
-
)
|
| 34 |
]
|
|
|
|
| 1 |
from ingest.adapters.public_agencies import (
|
| 2 |
+
CIAAdapter, FBIAdapter, NSAAdapter, DoDAdapter, NROAdapter,
|
| 3 |
+
DOJAdapter, DHSAdapter, StateDeptAdapter,
|
|
|
|
|
|
|
|
|
|
| 4 |
HostedCollectionAdapter
|
| 5 |
)
|
| 6 |
|
|
|
|
| 11 |
NSAAdapter(),
|
| 12 |
DoDAdapter(),
|
| 13 |
NROAdapter(),
|
| 14 |
+
DOJAdapter(),
|
| 15 |
+
DHSAdapter(),
|
| 16 |
+
StateDeptAdapter(),
|
| 17 |
|
|
|
|
| 18 |
HostedCollectionAdapter(
|
| 19 |
label="AATIP (Public Releases)",
|
| 20 |
host_agency="DoD",
|
| 21 |
host_url="https://media.defense.gov"
|
| 22 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
]
|