-
Notifications
You must be signed in to change notification settings - Fork 2
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
U-DS Data Bucket in marketplace #144
Comments
Blocked by unity-sds/unity-cs#373 for now |
/unity/ds/data/bucket/primary-data-bucket --> needs project/venue name |
@ngachung and/or @mike-gangl we think this can be closed. Is there anything left to do on this in your minds? |
@ngachung and/or @mike-gangl ping. |
@galenatjpl IIRC we kept this open because using a zip of the terraform doesn't work? |
This is probably REALLY close to being closed, but i wanted to ensure that we had the process for adding the venue bucket to the shared-services system documented, as well as the hooks/triggers to support automated cataloging. |
@mike-gangl @ngachung I'm going to try this now on a new management console, and just see where we are. It looks like we have marketplace integration, and I'll see what happens: |
@mike-gangl @ngachung @brianlee731 @GodwinShen @wphyojpl , I was able to deploy. It seemed to work, and I think this ticket can be closed? Please let me know if you want me to show you what I did to deploy via the MC and Marketplace. |
I'd like to make sure, to close out this ticket, we add the Validation/ Integration testing. gherkin: Feature: Data-Services Bucket via Management Console
feature to define the validation for the bucket deployment through management console.
@develop @test
Scenario: Check for bucket creation and configuration
Given access to the venue AWS account
And a market_bucket__notification_prefix of stage_out
And bucket is deployed via the marketplace with specified bucketname #to be referenced in env files
When I query the buckets via AWS
Then i can see the bucket in the bucket listing
And i can query bucket details for bucketname #to be referenced in env files
And i can see an SNS event notifications for .json file in the stage_out prefix The Given section is where the bucket is actually created- this can be defined as a manual test if it cannot be automated by using the @Manual decorator (currently not used next to develop, test). |
As I learn more about gherkin and behave (the python framework that runs the tests), there's a chance we use a before_feature and after_feature hook that would do the bucket creation via marketplace and the bucket deletion (via marketplace). This would allow us to create a number of features for checking things like the setup, add a file to see if a .json notification is sent, etc and then delete the bucket when completed. |
@ngachung Galen provide status that U-CS completed their respective scope for this ticket. Please proceed with U-DS scope of work. |
This ticket, I think is basically done from a core U-CS and "integration into the marketplace" perspective. There are some remaining items to do (that mostly fall under the purview of the U-DS Team), that are unrelated to the actual integration into the marketplace. See Acceptance criteria section in the description of this issue. |
@ngachung I marked the "Make this bucket available to other services (e.g. Jupyter for read access, SPS for read/write access)" checkbox as complete, since I think the bucket should be accessible to Jupyter and SPS, no problem in this venue. Let me know if you have concerns. I didn't actually test this access out, but I think @LucaCinquini can from SPS somehow? @LucaCinquini let me know if you want to setup such a test. |
Gherkin Case: unity-monorepo/tests/system-tests/features/data_catalog/managed_service.feature This test will be executed manually - will not implement via selenium; will require a lot of code change to just test deployment. |
@galenatjpl I am not convinced that Jupyter read access happens "automatically" after the bucket is deployed. |
@ngachung What I mean, is that usually read access to buckets are allowed under the base IAM roles that a user would have under the exact same account. Since Jupyter is in the same account and region as the bucket, I assume it would work, but I could be wrong, and it should be tested. I think we should ask @mcduffie to test. |
If it helps, I can confirm it doesn't work. A newly created bucket in unity venue prod is not accessible from Jupyter. Jupyter uses a different IAM role. Somewhat related ticket unity-sds/unity-ads-deployment#177 |
U-DS Data Bucket in marketplace
Allow users to create a data bucket in a given venue. Eventually this will be 'multiple' buckets, but for now, a single bucket should be created.
Acceptance Criteria
Acceptance criteria required to implement the epic
Proj
)/unity/${var.project}/${var.venue}/ds/datastore-bucket
Work Tickets
Link to work tickets required to implement the epic
Dependencies
Other epics or outside tickets required for this to work
Associated Risks
links to risk issues associated with this epic
The text was updated successfully, but these errors were encountered: