-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Setup Azure delivery to use data factory
Use compatible psycopg2 package. Adds transfer_uuid for securing azure deliveries. Upgrade to python 3.8 Python 3.9 had an error building greenlet Upgrade gunicorn for async keyword bug Fixes error described here: benoitc/gunicorn#1823 Use Storage-as-a-Service to check recipient container url Checks the container url entered in the acceptance web form is owned by the recipient(current user). This is done using the SAAS `/api/FileSystems/{account}/{container}` API endpoint. Currently this endpoint fails with a 500 for storage accounts it cannot find. See microsoft/storage-as-a-service#111
- Loading branch information
1 parent
d1276ad
commit d6bc6f1
Showing
19 changed files
with
569 additions
and
560 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,4 +1,4 @@ | ||
FROM python:3.6.8 | ||
FROM python:3.8 | ||
MAINTAINER dan.leehr@duke.edu | ||
|
||
# Set timezone | ||
|
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
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# -*- coding: utf-8 -*- | ||
# Generated by Django 1.11.29 on 2022-06-08 15:39 | ||
from __future__ import unicode_literals | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('d4s2_api', '0043_auto_20220323_2036'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='emailtemplateset', | ||
name='storage', | ||
field=models.CharField(choices=[('dds', 'Duke Data Service'), ('azure', 'Azure Blob Storage'), ('s3', 'S3')], default='dds', max_length=64), | ||
), | ||
migrations.AlterField( | ||
model_name='useremailtemplateset', | ||
name='storage', | ||
field=models.CharField(choices=[('dds', 'Duke Data Service'), ('azure', 'Azure Blob Storage'), ('s3', 'S3')], default='dds', max_length=64), | ||
), | ||
] |
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# -*- coding: utf-8 -*- | ||
# Generated by Django 1.11.29 on 2022-06-13 15:50 | ||
from __future__ import unicode_literals | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('d4s2_api', '0044_auto_20220608_1539'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='azdelivery', | ||
name='fund_code', | ||
field=models.CharField(blank=True, help_text='Fund code used to bill storage costs.', max_length=255), | ||
), | ||
migrations.AddField( | ||
model_name='historicalazdelivery', | ||
name='fund_code', | ||
field=models.CharField(blank=True, help_text='Fund code used to bill storage costs.', max_length=255), | ||
), | ||
] |
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# -*- coding: utf-8 -*- | ||
# Generated by Django 1.11.29 on 2022-06-22 19:22 | ||
from __future__ import unicode_literals | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('d4s2_api', '0045_auto_20220613_1550'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='azdelivery', | ||
name='transfer_uuid', | ||
field=models.UUIDField(help_text='UUID field used with transfer webhook.', null=True), | ||
), | ||
migrations.AddField( | ||
model_name='historicalazdelivery', | ||
name='transfer_uuid', | ||
field=models.UUIDField(help_text='UUID field used with transfer webhook.', null=True), | ||
), | ||
] |
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
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.