GOCDB / gocdb

Grid Operations Configuration Management Database. A Repository, Portal and REST style API for managing Grid and Cloud topology objects including; projects, administrative domains, sites, services, service-endpoints, service-groups, downtimes, users, roles and business rules.
Apache License 2.0
12 stars 28 forks source link

GOC DB filtering not working correctly (API) #340

Closed pjcon closed 2 years ago

pjcon commented 2 years ago

https://ggus.eu/index.php?mode=ticket_info&ticket_id=156539

I tried to filter site data I'm retrieving from GOC DB by using the "scope" attribute. I used this URL: https://goc.egi.eu/gocdbpi/private/?method=get_site&exclude_certification_status=Closed&scope=EGI,wlcg&scope_match=any for retrieving only sites with scope "EGI" or "wlcg". However it looks like GOC DB returns the whole set of sites. For examle I get data for this site although it has nor scope "EGI" neither "wlcg":

113055G0 ..... Local EOSCCore Am I missing something or is the filtering not working as expected and documented in the API documentation?
pjcon commented 2 years ago

It looks like this issue may be on their end.