-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Add support for Azure Blob Storage connection string authentication #4649
Add support for Azure Blob Storage connection string authentication #4649
Conversation
Hi, @suzusuzu, thanks for the contribution! Are you still going to contribute to us? If so, could you please resolve conflicts in this PR? |
…o feature/blob_connection_string
@Marishka17 Thanks for the reply, I resolved the conflict. Please check it out. |
/check |
❌ Some checks failed |
@kirill-sizov Can you look to full-check run? Looks like it does not work for 3rd-party PRs. |
…o feature/blob_connection_string
bd456b2
to
b9dcd85
Compare
/check |
✔️ All checks completed successfully |
@Marishka17 Have you already reviewed this PR? Or it requires additional review? |
Unfortunately, I haven't, but that was planned. Need to review and test it with a container on Azure. |
@Marishka17 , let's try to find sometime next week to review the PR. |
@nmanovic, Ok, but in this case, I need an account on Azure for testing. I forgot to ask this again in our last meeting about this question. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@suzusuzu, Thanks for the contribution!
Could you please fix several minor comments and also update cvat-core/src/cloud-storage.ts
implementation by adding a connection string like other attributes implementation? (otherwise, the connection string will not be transferred from the client to the server)
cvat-ui/src/components/create-cloud-storage-page/cloud-storage-form.tsx
Outdated
Show resolved
Hide resolved
@suzusuzu, One more thing, when I attach the Azure container and go to update cloud storage page field with connection string is empty.(Need add fake credentials for connection string.) |
@SpecLad , your check is working :). Should @Marishka17 just update it in the case? |
…vat-ai#4649) This is a change to support Connection String authentication for Azure Blob Storage. For example, Connection String Authentication allows for Azure Blob Storage running on the IoT Edge of an edge device. ### How has this been tested? <!-- Please describe in detail how you tested your changes. Include details of your testing environment, and the tests you ran to see how your change affects other areas of the code, etc. --> I tested it by actually running it as shown in the next image, I could not find where the E2E test for cloudstorage was done. <img width="1001" alt="cvat_blob_connection_string" src="https://user-images.githubusercontent.com/10334593/169458508-cfa4030a-578f-4aad-bfd9-fa01c9ca8230.png">
Merging both cvat-ai#4649 and cvat-ai#5855 broke migrations.
Motivation and context
This is a change to support Connection String authentication for Azure Blob Storage. For example, Connection String Authentication allows for Azure Blob Storage running on the IoT Edge of an edge device.
How has this been tested?
I tested it by actually running it as shown in the next image, I could not find where the E2E test for cloudstorage was done.
Checklist
develop
branchcvat-core, cvat-data and cvat-ui)
License
Feel free to contact the maintainers if that's a concern.