spinscale / cookiecutter-elasticsearch-ingest-processor

A cookiecutter template for an elasticsearch ingest processor plugin
47 stars 21 forks source link

Help with 7.17.1 and later #18

Closed p4paul closed 2 years ago

p4paul commented 2 years ago

Thank you so much for the work on this repo I have been using it as a reference for some time to help upgrade my ES plugin.

Unfortunately ES did something strange between 1.17.0 and 1.17.1 and I now get the gradle error on the line: apply plugin: 'elasticsearch.esplugin'

A problem occurred evaluating script.
> ARTIFACT_TYPE_ATTRIBUTE

In 84015 it mentions...

ArtifactAttributes.ARTIFACT_FORMAT has been deprecated in favor of public available ArtifactTypeDefinition.ARTIFACT_TYPE_ATTRIBUTE

Perhaps this is a bug on ES - I can't see what would need to be added on the plugin side?

p4paul commented 2 years ago

Just found https://github.com/elastic/elasticsearch/issues/86113 I'll try and update my gradle version...

p4paul commented 2 years ago

Upgrading to Gradle 7.4.2 resolved the issue.