Skip to content
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

change conductor root path and swagger ui not work #61

Open
dingliu1 opened this issue Feb 4, 2024 · 0 comments
Open

change conductor root path and swagger ui not work #61

dingliu1 opened this issue Feb 4, 2024 · 0 comments

Comments

@dingliu1
Copy link

dingliu1 commented Feb 4, 2024

Describe the bug
Change conductor root path and swagger ui html not work

Details
Conductor version:
Persistence implementation: Cassandra, Postgres, MySQL, Dynomite etc - Postgres
Queue implementation: Postgres, MySQL, Dynoqueues etc
Lock: Redis or Zookeeper?
Workflow definition:
Task definition:
Event handler definition:

As part of Netflix/conductor#3656 conductor support customize web app root by change homepage, however it seems this change miss swagger doc

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'ui/package.json', add one line - "homepage": "https://somedomain/conductor/"
  2. Build the image and deploy
  3. Access "https://somedomain/conductor/swagger-ui/index.html", the page show "failed to load remote configuration"
  4. After investigate, swagger-ui/swagger-initializer.js the "configUrl" : "/api-docs/swagger-config" use absolute address

Expected behavior
Swagger ui should work when customize root is configured. Can you do same change like issue 3656
Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant