vigneshio opened a new pull request, #4936: URL: https://github.com/apache/polaris/pull/4936
feat(cli): support custom IRC base URIs via --catalog-url (#4927) The CLI always appended `/api/catalog` (and `/v1`) on top of `--base-url`. This made it unusable when a proxy or deployment maps a custom path (e.g. `http://localhost:8181/server1`) directly to the Iceberg REST Catalog root. Solution: - Add `--catalog-url` (also works via profiles). - When set, it is used **verbatim** as the catalog host. - Falls back to `--base-url` + `/api/catalog` when not set (per reporter feedback). - `--access-token + --catalog-url` works for namespaces/tables/etc. - No server changes. ## Checklist - [x] Don't disclose security issues! (contact [email protected]) - [x] Clearly explained why the changes are needed, or linked related issues - [x] Added/updated tests with good coverage, or manually tested (and explained how) - [x] Added comments for complex logic - [x] Updated `CHANGELOG.md` (if needed) - [ ] Updated documentation in `site/content/in-dev/unreleased` (if needed) -- 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]
