infobloxopen / atlas-app-toolkit

This repository provides common Go utilities and helpers that are reusable from project-to-project. The goal is to prevent code duplication by encouraging teams to use and contribute to toolkit libraries. The toolkit is not a framework. Rather, it is a set of (mostly gRPC-related) plugins and helpers.
Apache License 2.0
99 stars 115 forks source link

Support conversion of encoded and full-string bloxid #350

Open gshirazi opened 1 year ago

gshirazi commented 1 year ago

when encoded, the new BloxID format documented here cannot be converted to the original string

This leads to these filters not to work:

i.e., the following works for legacy bloxid format

_filter=id in ["hxfnyyg3qinx24g2k5qbp5origfnzpov"]
_filter=id=="hxfnyyg3qinx24g2k5qbp5origfnzpov"

but the following does not work for the new BloxID format :

_filter=id in ["blox0.infra.template.dev-0.hxfnyyg3qinx24g2k5qbp5origfnzpov"]
_filter=id=="blox0.infra.template.dev-0.hxfnyyg3qinx24g2k5qbp5origfnzpov"