Hello Jean,

We had a Swagger documentation available for webadmin, but it was outrageously out of date, as the support for it on top of "spark-java" was a hack. It could not have had been used for anything relevant and as such was dropped.

Thread: https://www.mail-archive.com/server-dev@james.apache.org/msg71155.html

Regarding your question, I am not sure I can get to a more relevant answer.

I agree the choice of "spark-java" is a poor choice, as this library is no longer (really) maintained, and that it might need to be eventually re-challenged... If somebody in the community is looking for being a technical dept hero...

Best regards,

Benoit

On 15/08/2022 23:53, Jean Helou wrote:
Hello,

Le lun. 15 août 2022 à 12:27, Benoit TELLIER <btell...@apache.org> a écrit :


    Thus we propose to set up a new maven module,
    `webadmin-http-client` for
    hosting this feign+jackson library, which `webadmin-cli` can
    depend on.

    As part of this effort, we will also contribute the API calls for
    configuring quotas at the domain level.

    Would this seem like a good move to you?


I'm in favor of this change. Reading your proposal led me to check the code and the initial CLI ADR because I was surprised that you felt the need to share the http client.

As far as I can tell the webadmin doesn't expose any kind of contract (such as an openapi specification) that could be used to generate raw client code. I couldn't find an ADR discussing this choice either even though it seems quite significant
Do you have any background info on this ?

Thanks
Jean





    Best regards,

    Benoit Tellier


    ---------------------------------------------------------------------
    To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
    For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to