Details
-
Suggestion
-
Resolution: Timed out
-
None
Description
NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.
Storage options for plugins in Confluence are pretty limited, so it would be great if Bandana was enhanced and the use of globbing/wildcards was allowed for data retrieval.
Let's say that we have these key:value pairs stored in bandana:
my.bandana.plugin.group1.subgroup1.subsubgroup1.id => { object a } my.bandana.plugin.group1.subgroup1.subsubgroup1.id => { object b } my.bandana.plugin.group1.subgroup2.subsubgroup1.id => { object c } my.bandana.plugin.group1.subgroup2.subsubgroup2.id => { object d } my.bandana.plugin.group2.subgroup1.subsubgroup1.id => { object e }
It would save plugin developers a lot of hassle, if it was possible to retrieve all values of subgrup1 with a single call:
bandanaManager.get("my.bandana.plugin.group1.subgroup1.*"));
In the call above * is a wildcard, and the query means that any value with a key that starts with "my.bandana.plugin.group1.subgroup1." should be returned.
For extra flexibility, it should be possible to place the wildcard at any position in the query string (not only at the end).
Related forums discussion: http://forums.atlassian.com/thread.jspa?messageID=257297398
Attachments
Issue Links
- relates to
-
CONFCLOUD-14180 Add support for Bandana globbing/wildcards
- Closed