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

Enhance COS event Subscription doc for Cos object prefix and suffix #31

Open
karanibm6 opened this issue Nov 26, 2024 · 0 comments
Open

Comments

@karanibm6
Copy link

karanibm6 commented Nov 26, 2024

Backgroud :

Existing doc : https://cloud.ibm.com/docs/codeengine?topic=codeengine-eventing-cosevent-producer

While creating the cos event subscription in codeengine, one can specify a prefix and a suffix for the objects in the COS buckets. It just mentions the term prefix and suffix, but doesn't tells you what it supports and what it doesn't support.

While testing out the various possibilities with prefix and suffix, we observed :

  • One cannot use the wildcards while specifying the prefix/suffix. (For e.g if you put *.json as suffix, it won't work for all json files. it would only work if you just put json as suffix). Also regular expressions are also not supported.

  • One more point is that the file name includes its extension. For e.g if someone specifies json as suffix, then the event will be handled for files like abc.json, not for abcjson.txt.

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

No branches or pull requests

1 participant