Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-14180

Add support for Bandana globbing/wildcards

    XMLWordPrintable

Details

    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    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

          Activity

            People

              barconati BillA
              15d9a6950818 Igor Minar
              Votes:
              6 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: