kentfredric / ElasticSearchX-Model-Generator

Generate Model definitions from ElasticSearch _mapping records.
1 stars 0 forks source link

mcpan.t fails (v0 api gone?) #1

Open eserte opened 7 years ago

eserte commented 7 years ago

mcpan.t started to fail:

Failed to fetch mapping:
    status=410
    reason=Gone
 at /tmpfs/.cpan-build-cpansand/2017061518/ElasticSearchX-Model-Generator-0.1.8-0/blib/lib/ElasticSearchX/Model/Generator.pm line 107.
    ElasticSearchX::Model::Generator::_build__mapping_content(ElasticSearchX::Model::Generator=HASH(0x2cfb3c8)) called at (eval 31) line 18
    ElasticSearchX::Model::Generator::_mapping_content(ElasticSearchX::Model::Generator=HASH(0x2cfb3c8)) called at /tmpfs/.cpan-build-cpansand/2017061518/ElasticSearchX-Model-Generator-0.1.8-0/blib/lib/ElasticSearchX/Model/Generator.pm line 131
    ElasticSearchX::Model::Generator::_build__mapping_data(ElasticSearchX::Model::Generator=HASH(0x2cfb3c8)) called at (eval 33) line 18
    ElasticSearchX::Model::Generator::_mapping_data(ElasticSearchX::Model::Generator=HASH(0x2cfb3c8)) called at /tmpfs/.cpan-build-cpansand/2017061518/ElasticSearchX-Model-Generator-0.1.8-0/blib/lib/ElasticSearchX/Model/Generator.pm line 139
    ElasticSearchX::Model::Generator::index_names(ElasticSearchX::Model::Generator=HASH(0x2cfb3c8)) called at /tmpfs/.cpan-build-cpansand/2017061518/ElasticSearchX-Model-Generator-0.1.8-0/blib/lib/ElasticSearchX/Model/Generator.pm line 183
    ElasticSearchX::Model::Generator::documents(ElasticSearchX::Model::Generator=HASH(0x2cfb3c8)) called at t/mcpan.t line 15
t/mcpan.t ................................................................. 
Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run 

The '410 Gone' response looks familiar, looks like the test is using the now removed v0 metacpan api.

kentfredric commented 7 years ago

Yeah, Thanks. Will have to migrate this.