orchestracities / anubis

Anubis: a flexible policy enforcement solution for NGSI APIs (and beyond!)
https://anubis-pep.readthedocs.org
Apache License 2.0
7 stars 5 forks source link

Can't get service paths by tenant name #226

Closed c0c0n3 closed 1 year ago

c0c0n3 commented 1 year ago

Describe the bug As of release 0.7.1 you can't retrieve service paths by tenant name anymore.

To Reproduce Steps to reproduce the behavior:

  1. Browse to https://api.ekz.orchestracities.com/tenants/dietikon/service-paths
  2. See error: {"detail":"Not Found"}.

Expected behavior You should be able to use a tenant's name to fetch all the service paths of that tenant.

c0c0n3 commented 1 year ago

@Cerfoglg this isn't a bug actually, it was me using the wrong URL! If you browse to the right URL, it works like a charm

Notice the underscore instead of the dash in the service paths part of the URL.