Skip to content
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

Temporary object store credentials endpoint #544

Merged
merged 8 commits into from
Apr 21, 2020

Conversation

hardbyte
Copy link
Collaborator

This PR adds an endpoint to retrieve temporary object store credentials.

The design is documented here. The main thrust of this is complete, but I still haven't finished the k8s deployment side of things. In particular I'd like to get the k8s initialization working and remove any object store credentials before adding support to open the minio object store to the internet.

@hardbyte hardbyte requested a review from wilko77 April 20, 2020 05:31
@hardbyte hardbyte force-pushed the temporary-object-store-credentials-endpoint branch from 271f417 to f2176e8 Compare April 20, 2020 20:49
@hardbyte hardbyte force-pushed the temporary-object-store-credentials-endpoint branch 2 times, most recently from 642805b to 3807e4e Compare April 20, 2020 23:42
@hardbyte hardbyte force-pushed the temporary-object-store-credentials-endpoint branch from 3807e4e to 8a569fd Compare April 21, 2020 00:03
Copy link
Collaborator

@wilko77 wilko77 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see comments

backend/entityservice/api_def/openapi.yaml Outdated Show resolved Hide resolved
backend/entityservice/api_def/openapi.yaml Show resolved Hide resolved
backend/entityservice/api_def/openapi.yaml Outdated Show resolved Hide resolved
backend/entityservice/api_def/openapi.yaml Show resolved Hide resolved
backend/entityservice/views/objectstore.py Outdated Show resolved Hide resolved
@@ -16,14 +15,19 @@ services:
image: data61/anonlink-app:${TAG:-latest}
environment:
- SERVER=http://nginx:8851
- INITIAL_DELAY=20
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you removed the env var INITIAL_DELAY in a couple of places. Who uses this? What is it defaulting to now?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is an optional environment variable used by both the integration tests and end to end tests - I probably shouldn't have deleted them as they serve as documentation.

Note I also added a small sleep in the docker command for the integrationtests container

@hardbyte hardbyte merged commit 4e2653d into develop Apr 21, 2020
@hardbyte hardbyte deleted the temporary-object-store-credentials-endpoint branch April 21, 2020 03:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants