influx-cli icon indicating copy to clipboard operation
influx-cli copied to clipboard

feat: init api server configs with path of host 

Open DonCamillo72 opened this issue 1 year ago • 9 comments

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

DonCamillo72 avatar May 11 '23 14:05 DonCamillo72

Hi @jeffreyssmith2nd i saw you created the last release. Maybe you can take a look at this PR?

Thank you :)

albrecht-j avatar Jul 12 '23 08:07 albrecht-j

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 avatar Aug 02 '23 08:08 albrecht-j

@albrecht-j sorry but this is not my field of expertise. ;-)

srebhan avatar Aug 02 '23 12:08 srebhan

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.

jeffreyssmith2nd avatar Aug 02 '23 14:08 jeffreyssmith2nd

Hey @jeffreyssmith2nd any updates to this PR? If we need to change something please let us know :)

albrecht-j avatar Oct 18 '23 06:10 albrecht-j

Hi @jeffreyssmith2nd, have you already reviewed the PR? Please let us know if something need to be changed. Thank you!

DonCamillo72 avatar Nov 27 '23 08:11 DonCamillo72

Hi @jeffreyssmith2nd,

do you have a schedule for the next release?

albrecht-j avatar Feb 26 '24 10:02 albrecht-j

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.

tisonkun avatar Mar 11 '24 20:03 tisonkun

Hi, what is the current state of this PR?

Thanks.

mapero avatar Jul 31 '24 08:07 mapero