reva
reva copied to clipboard
make space registry match providerids with regexes
We generate provider IDs dynamically. Can you make these work with regexes?
"eoshome-[dlntz]" = { address = "localhost:16000" }
"eoshome-[agjkw]" = { address = "localhost:16001" }
"eoshome-[horsy]" = { address = "localhost:16002" }
"eoshome-[bemvx]" = { address = "localhost:16003" }
"eoshome-[cfipqu]" = { address = "localhost:16004" }
For example, provider IDs 1284d238-aa92-42ce-bdc4-0b000000[9157-9159] should go to localhost:11000
And doing a ListProviders without any filters should ideally return all of these:
[
{address: localhost:11000, provider_id: 1284d238-aa92-42ce-bdc4-0b0000009157},
{address: localhost:11000, provider_id: 1284d238-aa92-42ce-bdc4-0b0000009158},
{address: localhost:11000, provider_id: 1284d238-aa92-42ce-bdc4-0b0000009159}
]
Originally posted by @ishank011 in https://github.com/cs3org/reva/pull/2792#discussion_r867995757
Hi @butonic. What's the timeline for implementing this and improving path-based lookups?
I'm starting to work on it as it's urgently needed for us and I'd appreciate it if you could review and merge it soon.
@butonic is that ticket done with the commits? Please follow up.