noobaa-core
noobaa-core copied to clipboard
quick fix for create triggers not working with namespaced bucket #6575 [draft]
Explain the changes
- Quick implementation for missing create triggers on namespaced buckets
Issues: Fixed #xxx / Gap #xxx
- #6575
- Only fixes ObjectCreated triggers on simple upload and multipart upload
Testing Instructions:
- Create function
- Create bucket
- Add ObjectCreated trigger with function to trigger
- Upload object to bucket, which fires trigger
- Verify trigger was called
Hi @lallinger-arbeit Thanks for this PR, I have written some comments. Once they are done, you need to sign the commit in order to resolve the DCO. regarding the fail tests, they are lint errors, but the changes I asked for should resolve them. If there will be another lint error we will resolve them too.
Hi @lallinger-arbeit Thanks for this PR, I have written some comments. Once they are done, you need to sign the commit in order to resolve the DCO.
Hi @liranmauda as discussed in the community meeting this is just my quick and dirty implementation, and should only be seen as draft, which does not need to get merged. I think it is best you implement the neccessary changes for all the triggers, so also ObjectRead and ObjectRemoved, as you have way deeper insight in the code. And also it is not a problem for us if it takes a few weeks, as this implementation is currently working for our use case
Hi @liranmauda as discussed in the community meeting this is just my quick and dirty implementation, and should only be seen as draft, which does not need to get merged. I think it is best you implement the neccessary changes for all the triggers, so also ObjectRead and ObjectRemoved, as you have way deeper insight in the code. And also it is not a problem for us if it takes a few weeks, as this implementation is currently working for our use case
This is a great PR, And we can marge it after we address the changes above. We will probably do the same + adding the missing parts.