-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve local development/testing configuration #79
Comments
Documenting my current approach for testing interactively (cc @johnbradley):
Now, when I visit |
For this to work with DukeDSClient, I added Has to be a better way 😄 |
Some thoughts/ideas:
So a few ways to address:
|
Auth has been moved out to a separate app. Perhaps a mock DDS API server is the best thing to have. |
A related trick I use for testing the web service is to log into the DukeDS API explorer and get a token. Then I put that token in the D4S2 django database connected to my user. It's good for a couple hours and doesn't require hosts file forgeries. |
- Restructures ownership views as class-based views, allowing the base class to build template context and fetch the delivery. easily extendable to support S3Delivery in addition to DDSDelivery - Functionality to actually accept/decline a delivery is not implemented - Adds a 'declined' url to render the decline page after a redirect - Updates dds_util to authenticate with a DDSUserCredential if found (for #79, depends on https://github.com/Duke-GCB/gcb-web-auth/tree/cleanup-default-endpoints)
While local django accounts can be used for authentication, transferring projects expects to authenticate with DukeDS by providing an OAuth token.
We should include a mechanism to use the D4S2 application without a running DukeDS instance or OAuth service
The text was updated successfully, but these errors were encountered: