Swagger firstGlueEndpointMap

Nico Stark
Nico Stark Posts: 4 🧑🏻‍🚀 - Cadet

Hey there :)
In our project we have installed the Glue Storefront next to the Glue and we have installed the Docu-generator. We now have the problem that we cannot adjust this Url.

If we set the ENV variable for the new scheme of the storefront, the URL mentioned above is always displayed first with the old scheme. But as soon as we adjust the URL to ... glue-storefront... the correct scheme is displayed.
Is there a solution to adjust this so that the new URL is automatically included/loaded?

Many thanks in advanced :)

Comments

  • amansilla
    amansilla Sprykee Posts: 20 🪐 - Explorer

    Hi @Nico Stark , sadly I don't have good news for you :|.

    As far as I remember this is a configuration to the Spryker docker/sdk setup that currently only allows to provide one single domain and OpenAPI yaml document, so I can not guide you to any final solution.

    Most probably it makes sense to extend this part of the docker/sdk so that it takes into account all Glue APIs: Glue, Glue Storefront, and Glue Backend.

    https://github.com/spryker/docker-sdk/blob/master/docs/06-configuring-services.md#swagger-ui

    Maybe someone responsible for the docker/sdk can provide more accurate information in this regard.

    Thanks and cheers ;)

  • fsmeier
    fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,052 ⚖️ - Guardians (admin)

    Heyhey,
    I brought this topic to the dedicated product team some time and also created already a PR for it. It is pending review, I can not promise anything, but if nothing more high prioritised comes into the teams agenda they promised me to have a look 🤞

    https://github.com/spryker/docker-sdk/pull/468

    All the best,

    Florian

  • Nico Stark
    Nico Stark Posts: 4 🧑🏻‍🚀 - Cadet

    Thank you both for reply. So we have to wait 😂

    I wish you two a merry Christmas and a Happy new year

  • fsmeier
    fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,052 ⚖️ - Guardians (admin)

    Heyhey,
    it should now be available after you update your docker-sdk:
    https://github.com/spryker/docker-sdk/releases/tag/1.60.0

    Hope this solves the issue :)

    All the best,

    Florian