Uploaded image for project: 'External API Framework'
  1. External API Framework
  2. EXTAPI-59

Can't pass "spaces" in category filtering for serviceSpecification API

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Beijing Release
    • Beijing Release
    • None
    • None

      Using the following URI (notice the space between Network and L1-3)

      http://<NBI_server>:8080/nbi/api/v1/serviceSpecification?category=Network L1-3

      or using the %20 instead of space:

      http://<NBI_server>:8080/nbi/api/v1/serviceSpecification?category=Network%20[L1-3|http://%3Cnbi_server%3E:8080/nbi/api/v1/serviceSpecification?distributionStatus=DISTRIBUTED&category=Network%20L1-3]

      always returns 404, even though services under that category exist.

      I have confirmed a query to SDC usign the same criteria works :

      http://\sdc_ip:30205/sdc/v1/catalog/services?category=Network L1-3

      or

      http://\sdc_ip:30205/sdc/v1/catalog/services?category=Network%20L1-3

            nilap nilap
            chiarelloa chiarelloa
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: