-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ggrushka/DAR-385/tableau url limitation #131
Conversation
@mrostan can you take a look, see if this hack makes sense? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@grgilad I think this is fine, but just wondering, what if we check for the path starting with "/" and use {baseurl}{path}
in that case? that way we wouldn't be sending a whole url and potentially connecting to any other site
From the DC code it seems all paths we send are not starting with "/"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
Thanks! |
@grgilad just in case you missed it, this is the release process for the agent: https://github.com/monte-carlo-data/apollo-agent?tab=readme-ov-file#release-process |
Thanks, will do, want to wait a bit and see if more changes are required. |
Tableau API requests are limited to the following format -
url = f"{self._server.baseurl}/sites/{self._server.site_id}/{path}"
I'm introducing a new URL call which does not have sites in it's path. Since changing the code in it's entirety is a no go (both data-collector and apollo-agent), this allows to send the full path from the dc code.