dimas-b opened a new issue, #4927:
URL: https://github.com/apache/polaris/issues/4927

   Suppose a deployment maps `http://localhost:8181/server1` to a particular 
IRC base URI.
   
   Trying to list namespaces via CLI yields a 404:
   
   ```
   $ .venv/bin/polaris --base-url http://localhost:8181/server1 --access-token 
$POLARIS_TOKEN namespaces list --catalog polaris --debug
   Request: GET http://localhost:8181/server1/api/catalog/v1/polaris/namespaces
   Headers: {'Accept': 'application/json', 'User-Agent': 
'OpenAPI-Generator/1.0.0/python', 'Authorization': 'Bearer ***'}
   ```
   
   Notice that the CLI appended the `/api/catalog` path segment. However, in my 
env. `http://localhost:8181/server1` is already mapped to the root of the IRC 
catalog in the appropriate server. 
   
   The CLI is not usable in this env. because it assumes the `/api/catalog` 
base URI suffix.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to