Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

State of api.cpantesters.org

1 view
Skip to first unread message

Alceu Rodrigues de Freitas Junior via cpan-testers-discuss

unread,
Jun 17, 2022, 4:45:03 PM6/17/22
to cpan-teste...@perl.org
Hello folks,

I was receiving the Swagger generated for the CPAN testers API version 3
to submit test reports:

http://api.cpantesters.org/docs/?url=/v3#/Report

To my surprise, the standard API client that submits the report is still
using v1 of this API:

https://metacpan.org/pod/CPAN::Reporter::Config#Transport-(required)

Checking the both URL's, I found out that is actually pointing to the
same IP address:

$ host metabase.cpantesters.org
metabase.cpantesters.org is an alias for osff2.map.fastly.net.

$ host api.cpantesters.org
api.cpantesters.org is an alias for osff2.map.fastly.net.
osff2.map.fastly.net has address 199.232.114.217

Do we already have the required tooling to submit reports using v3?

I wondering that because I couldn't find a client and the current one is
actually parsing the report itself as text (not sure if v1 uses JSON):

https://metacpan.org/dist/Test-Reporter/source/lib/Test/Reporter.pm#L341

I also tried to find out the YAML related to the Swagger editor so I
could try to generate code for a client automatically (that's the only
way I know to do it), but couldn't find, it is available at all.

Any directions would be appreciated.

Thanks in advance,

Alceu


0 new messages