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

Add UI and API docs custom context path support #12923

Closed

Commits on Mar 6, 2021

  1. Use relative URLs for client app to enable context-based deployments

     * inject <base href="./"> instead of <base href="/"> into index.html via Webpack
     * use '../swagger-resources' for axios-request in SwaggerUI
     * use '..' + resource.location for Resource-URLs displayed in SwaggerUI
    clocken authored and PierreBesson committed Mar 6, 2021
    Configuration menu
    Copy the full SHA
    ffdb2fe View commit details
    Browse the repository at this point in the history
  2. change api-docs and management api docs include patterns default valu…

    …es to take into account the application context-path
    
    fixes jhipster#12649
    PierreBesson committed Mar 6, 2021
    Configuration menu
    Copy the full SHA
    514f9df View commit details
    Browse the repository at this point in the history
  3. Use relative base href in index.html

    Directly set it in the template and remove webpack.common.js.ejs as client app now uses AngularCLI.
    clocken authored and PierreBesson committed Mar 6, 2021
    Configuration menu
    Copy the full SHA
    b03c44d View commit details
    Browse the repository at this point in the history
  4. Remove quotes around management api doc include pattern default value

    Be consistent with the default api doc pattern :)
    clocken authored and PierreBesson committed Mar 6, 2021
    Configuration menu
    Copy the full SHA
    04bdb3d View commit details
    Browse the repository at this point in the history
  5. Use relative paths in Vue client

    Emit relative paths for hashed resources from webpack asset modules
    clocken authored and PierreBesson committed Mar 6, 2021
    Configuration menu
    Copy the full SHA
    d544ac8 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    abbaaa5 View commit details
    Browse the repository at this point in the history
  7. Revert base-href to absolute path

    clocken authored and PierreBesson committed Mar 6, 2021
    Configuration menu
    Copy the full SHA
    a70c97b View commit details
    Browse the repository at this point in the history
  8. Revert "change jhipster dependency to 7.0.0-SNAPSHOT"

    This reverts commit 641f991.
    PierreBesson committed Mar 6, 2021
    Configuration menu
    Copy the full SHA
    2b71b32 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    b2a7050 View commit details
    Browse the repository at this point in the history
  10. fix bad rebase

    PierreBesson committed Mar 6, 2021
    Configuration menu
    Copy the full SHA
    c8c630b View commit details
    Browse the repository at this point in the history
  11. Update generators/generator-constants.js

    Co-authored-by: Marcelo Shima <marceloshima@gmail.com>
    PierreBesson and mshima authored Mar 6, 2021
    Configuration menu
    Copy the full SHA
    e2b6001 View commit details
    Browse the repository at this point in the history