-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix DRM / Refactor schema loader (#55)
* Adds a set of Descriptor classes. * A DescriptorGetter class allows DMM/DRM to load both a list of directories and a list of descriptor dictionaries. * Descriptor helper classes act as interfaces that encompass the relevant handling of the data type * Dependency inject sqlalchemy base to enable testing * Loads only json files - #44 * Add logging to conftest. * Fixes DRM error.
- Loading branch information
1 parent
3d5da74
commit 63f74df
Showing
19 changed files
with
1,019 additions
and
166 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,17 @@ | ||
FROM python:3.7.3-slim | ||
WORKDIR /data-resource | ||
ADD migrations migrations | ||
ADD schema schema | ||
ADD alembic.ini alembic.ini | ||
RUN apt-get update && apt-get install -y python3-dev build-essential &&\ | ||
pip install --upgrade pipenv | ||
ADD Pipfile Pipfile | ||
ADD Pipfile.lock Pipfile.lock | ||
RUN apt-get update && apt-get install -y python3-dev build-essential &&\ | ||
pip install --upgrade pipenv && pipenv install --system &&\ | ||
RUN pipenv install --system &&\ | ||
apt-get remove -y python3-dev build-essential | ||
ADD wsgi.py wsgi.py | ||
ADD alembic.ini alembic.ini | ||
ADD data_model_manager_runner.py data_model_manager_runner.py | ||
ADD cmd.sh cmd.sh | ||
RUN chmod a+x cmd.sh | ||
ADD migrations migrations | ||
ADD schema schema | ||
ADD data_resource_api data_resource_api | ||
ENTRYPOINT [ "/data-resource/cmd.sh" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.