service-ui icon indicating copy to clipboard operation
service-ui copied to clipboard

subpath support

Open colmaengus opened this issue 2 years ago • 2 comments

Hi,

I would like to run reportportal on a subpath (e.g. /reportportal). I'm using kubernetes and have other applications that need to co-exist so I can't use the root path. I can configure the ingress rules but it seems that the UI is expecting to be hosted at / Any guidance as to how I would go about configuring the service-ui to work at a subpath?

Regards

Colm A

colmaengus avatar Apr 08 '22 15:04 colmaengus

Hello @colmaengus ! By default configuration service-ui hosted on ui subpath, check it out on our demo env - https://demo.reportportal.io/ui/. @Cyberglamdring Am I right?

AmsterGet avatar Apr 12 '22 10:04 AmsterGet

Hi @AmsterGet, for sure each service is hosted at its own subpath but it you want to run reportportal alongside another application in the same kubernetes cluster you run into problems. If you configure the ingress to route /reportportal/ui to the ui service its almost works but the UI expects to be at / with some of the routes hardcoded as such. For example /composite/info which should be /report/composite/info

colmaengus avatar Apr 12 '22 17:04 colmaengus

Looks like it is the same issue, as described here. I'll close this one. Please track the progress via the link mentioned above.

AmsterGet avatar Oct 31 '22 13:10 AmsterGet