influx-cli
influx-cli copied to clipboard
feat: init api server configs with path of host
Reason: If the influxdb server runs behind a reverse proxy with url e.g. "https://anyhost/influxdb" the influx-cli could not access the url because the host base path of the api url is always empty.
Idea: The information of the base can be passed in the cli with the host parameter like this:
influx backup --host "https://anyhost/influxdb"
Implementation:
The base path is available in the parameter params.Host.Path
and could be forwarded to the OperationServers of the generated client API
Hi @jeffreyssmith2nd i saw you created the last release. Maybe you can take a look at this PR?
Thank you :)
Hi @srebhan can you support us here? I think it is less effort then the last one ;-)
If not, whom can we contact here? Best Regards Johannes
@albrecht-j sorry but this is not my field of expertise. ;-)
Hey @albrecht-j, I'm the right person for this. My apologies, I just lost track of this PR. I will get it reviewed before the next release.
Hey @jeffreyssmith2nd any updates to this PR? If we need to change something please let us know :)
Hi @jeffreyssmith2nd, have you already reviewed the PR? Please let us know if something need to be changed. Thank you!
Hi @jeffreyssmith2nd,
do you have a schedule for the next release?
Seems a function duplicatie to https://github.com/influxdata/influx-cli/pull/530.
But the InfluxDB team doesn't care. I can have my fork but perhaps switch to some SDK.
I remember Python SDK v1 has such path. Not sure if v2 has.
Hi, what is the current state of this PR?
Thanks.