You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "pvillard31 (via GitHub)" <gi...@apache.org> on 2025/11/24 12:12:51 UTC
[PR] NIFI-15247 - Bump GeoIP2 to 5.0.0, Jedis to 7.1.0, JSON Flattener to 0.18.0, and others [nifi]
pvillard31 opened a new pull request, #10558:
URL: https://github.com/apache/nifi/pull/10558
# Summary
NIFI-15247 - Bump GeoIP2 to 5.0.0, Jedis to 7.1.0, JSON Flattener to 0.18.0, and others
- geoip2 from 4.4.0 to 5.0.0 - https://github.com/maxmind/GeoIP2-java/releases/tag/v5.0.0
- jedis from 7.0.0 to 7.1.0 - https://github.com/redis/jedis/releases/tag/v7.1.0
- SNMP4J Agent from 3.8.2 to 3.8.3 - https://snmp4j.org/agent/CHANGES.txt
- JSON Flattener from 0.17.4 to 0.18.0 - https://github.com/wnameless/json-flattener/releases/tag/json-flattener-0.18.0
- FlywayDB from 11.17.0 to 11.17.1 - https://github.com/flyway/flyway/releases/tag/flyway-11.17.1
- AWS SDK v2 from 2.39.0 to 2.39.2 - https://github.com/aws/aws-sdk-java-v2/blob/master/CHANGELOG.md
- Docker Maven Plugin from 0.47.0 to 0.48.0 - https://github.com/fabric8io/docker-maven-plugin/releases/tag/v0.48.0
- Checkstyle from 12.1.1 to 12.1.2 - https://github.com/checkstyle/checkstyle/releases/tag/checkstyle-12.1.2
- Maven JAR Plugin from 3.4.2 to 3.5.0 - https://github.com/apache/maven-jar-plugin/releases/tag/maven-jar-plugin-3.5.0
+ code changes to deal with deprecations for GeoIP2 and SNMP4J Agent.
# Tracking
Please complete the following tracking steps prior to pull request creation.
### Issue Tracking
- [ ] [Apache NiFi Jira](https://issues.apache.org/jira/browse/NIFI) issue created
### Pull Request Tracking
- [ ] Pull Request title starts with Apache NiFi Jira issue number, such as `NIFI-00000`
- [ ] Pull Request commit message starts with Apache NiFi Jira issue number, as such `NIFI-00000`
### Pull Request Formatting
- [ ] Pull Request based on current revision of the `main` branch
- [ ] Pull Request refers to a feature branch with one commit containing changes
# Verification
Please indicate the verification steps performed prior to pull request creation.
### Build
- [ ] Build completed using `./mvnw clean install -P contrib-check`
- [ ] JDK 21
- [ ] JDK 25
### Licensing
- [ ] New dependencies are compatible with the [Apache License 2.0](https://apache.org/licenses/LICENSE-2.0) according to the [License Policy](https://www.apache.org/legal/resolved.html)
- [ ] New dependencies are documented in applicable `LICENSE` and `NOTICE` files
### Documentation
- [ ] Documentation formatting appears as expected in rendered files
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@nifi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] NIFI-15247 - Bump GeoIP2 to 5.0.0, Jedis to 7.1.0, JSON Flattener to 0.18.0, and others [nifi]
Posted by "dan-s1 (via GitHub)" <gi...@apache.org>.
dan-s1 commented on PR #10558:
URL: https://github.com/apache/nifi/pull/10558#issuecomment-3570947195
It looks like many methods were deprecated in the upgraded version of geoip2 as seen in the logs below. Can you please see if there are alternatives to these methods?
```
2025-11-24T12:34:30.3864090Z [WARNING] /Users/runner/work/nifi/nifi/nifi-extension-bundles/nifi-enrich-bundle/nifi-enrich-processors/src/main/java/org/apache/nifi/processors/GeoEnrichIP.java:[174,93] [removal] getCity() in CityResponse has been deprecated and marked for removal
2025-11-24T12:34:30.3966810Z [WARNING] /Users/runner/work/nifi/nifi/nifi-extension-bundles/nifi-enrich-bundle/nifi-enrich-processors/src/main/java/org/apache/nifi/processors/GeoEnrichIP.java:[174,103] [removal] getName() in City has been deprecated and marked for removal
2025-11-24T12:34:30.4071130Z [WARNING] /Users/runner/work/nifi/nifi/nifi-extension-bundles/nifi-enrich-bundle/nifi-enrich-processors/src/main/java/org/apache/nifi/processors/GeoEnrichIP.java:[176,40] [removal] getLocation() in CityResponse has been deprecated and marked for removal
2025-11-24T12:34:30.4172570Z [WARNING] /Users/runner/work/nifi/nifi/nifi-extension-bundles/nifi-enrich-bundle/nifi-enrich-processors/src/main/java/org/apache/nifi/processors/GeoEnrichIP.java:[176,54] [removal] getLatitude() in Location has been deprecated and marked for removal
2025-11-24T12:34:30.4276850Z [WARNING] /Users/runner/work/nifi/nifi/nifi-extension-bundles/nifi-enrich-bundle/nifi-enrich-processors/src/main/java/org/apache/nifi/processors/GeoEnrichIP.java:[181,41] [removal] getLocation() in CityResponse has been deprecated and marked for removal
2025-11-24T12:34:30.4379720Z [WARNING] /Users/runner/work/nifi/nifi/nifi-extension-bundles/nifi-enrich-bundle/nifi-enrich-processors/src/main/java/org/apache/nifi/processors/GeoEnrichIP.java:[181,55] [removal] getLongitude() in Location has been deprecated and marked for removal
2025-11-24T12:34:30.4482740Z [WARNING] /Users/runner/work/nifi/nifi/nifi-extension-bundles/nifi-enrich-bundle/nifi-enrich-processors/src/main/java/org/apache/nifi/processors/GeoEnrichIP.java:[186,41] [removal] getLocation() in CityResponse has been deprecated and marked for removal
2025-11-24T12:34:30.4588070Z [WARNING] /Users/runner/work/nifi/nifi/nifi-extension-bundles/nifi-enrich-bundle/nifi-enrich-processors/src/main/java/org/apache/nifi/processors/GeoEnrichIP.java:[186,55] [removal] getAccuracyRadius() in Location has been deprecated and marked for removal
2025-11-24T12:34:30.4711490Z [WARNING] /Users/runner/work/nifi/nifi/nifi-extension-bundles/nifi-enrich-bundle/nifi-enrich-processors/src/main/java/org/apache/nifi/processors/GeoEnrichIP.java:[192,46] [removal] getSubdivisions() in CityResponse has been deprecated and marked for removal
2025-11-24T12:34:30.4814050Z [WARNING] /Users/runner/work/nifi/nifi/nifi-extension-bundles/nifi-enrich-bundle/nifi-enrich-processors/src/main/java/org/apache/nifi/processors/GeoEnrichIP.java:[193,111] [removal] getName() in Subdivision has been deprecated and marked for removal
2025-11-24T12:34:30.4916630Z [WARNING] /Users/runner/work/nifi/nifi/nifi-extension-bundles/nifi-enrich-bundle/nifi-enrich-processors/src/main/java/org/apache/nifi/processors/GeoEnrichIP.java:[194,119] [removal] getIsoCode() in Subdivision has been deprecated and marked for removal
2025-11-24T12:34:30.5044370Z [WARNING] /Users/runner/work/nifi/nifi/nifi-extension-bundles/nifi-enrich-bundle/nifi-enrich-processors/src/main/java/org/apache/nifi/processors/GeoEnrichIP.java:[197,96] [removal] getCountry() in CityResponse has been deprecated and marked for removal
2025-11-24T12:34:30.5163980Z [WARNING] /Users/runner/work/nifi/nifi/nifi-extension-bundles/nifi-enrich-bundle/nifi-enrich-processors/src/main/java/org/apache/nifi/processors/GeoEnrichIP.java:[197,109] [removal] getName() in Country has been deprecated and marked for removal
2025-11-24T12:34:30.5288060Z [WARNING] /Users/runner/work/nifi/nifi/nifi-extension-bundles/nifi-enrich-bundle/nifi-enrich-processors/src/main/java/org/apache/nifi/processors/GeoEnrichIP.java:[198,104] [removal] getCountry() in CityResponse has been deprecated and marked for removal
2025-11-24T12:34:30.5404700Z [WARNING] /Users/runner/work/nifi/nifi/nifi-extension-bundles/nifi-enrich-bundle/nifi-enrich-processors/src/main/java/org/apache/nifi/processors/GeoEnrichIP.java:[198,117] [removal] getIsoCode() in Country has been deprecated and marked for removal
2025-11-24T12:34:30.5507460Z [WARNING] /Users/runner/work/nifi/nifi/nifi-extension-bundles/nifi-enrich-bundle/nifi-enrich-processors/src/main/java/org/apache/nifi/processors/GeoEnrichIP.java:[199,99] [removal] getPostal() in CityResponse has been deprecated and marked for removal
2025-11-24T12:34:30.5614990Z [WARNING] /Users/runner/work/nifi/nifi/nifi-extension-bundles/nifi-enrich-bundle/nifi-enrich-processors/src/main/java/org/apache/nifi/processors/GeoEnrichIP.java:[199,111] [removal] getCode() in Postal has been deprecated and marked for removal
2025-11-24T12:34:30.5619020Z [WARNING] /Users/runner/work/nifi/nifi/nifi-extension-bundles/nifi-enrich-bundle/nifi-enrich-processors/src/main/java/org/apache/nifi/processors/GeoEnrichIPRecord.java:[383,27] [removal] getCity() in CityResponse has been deprecated and marked for removal
2025-11-24T12:34:30.5723210Z [WARNING] /Users/runner/work/nifi/nifi/nifi-extension-bundles/nifi-enrich-bundle/nifi-enrich-processors/src/main/java/org/apache/nifi/processors/GeoEnrichIPRecord.java:[387,64] [removal] getCity() in CityResponse has been deprecated and marked for removal
2025-11-24T12:34:30.5825850Z [WARNING] /Users/runner/work/nifi/nifi/nifi-extension-bundles/nifi-enrich-bundle/nifi-enrich-processors/src/main/java/org/apache/nifi/processors/GeoEnrichIPRecord.java:[387,74] [removal] getName() in City has been deprecated and marked for removal
2025-11-24T12:34:30.5930190Z [WARNING] /Users/runner/work/nifi/nifi/nifi-extension-bundles/nifi-enrich-bundle/nifi-enrich-processors/src/main/java/org/apache/nifi/processors/GeoEnrichIPRecord.java:[388,70] [removal] getCountry() in CityResponse has been deprecated and marked for removal
2025-11-24T12:34:30.6035310Z [WARNING] /Users/runner/work/nifi/nifi/nifi-extension-bundles/nifi-enrich-bundle/nifi-enrich-processors/src/main/java/org/apache/nifi/processors/GeoEnrichIPRecord.java:[388,83] [removal] getName() in Country has been deprecated and marked for removal
2025-11-24T12:34:30.6139520Z [WARNING] /Users/runner/work/nifi/nifi/nifi-extension-bundles/nifi-enrich-bundle/nifi-enrich-processors/src/main/java/org/apache/nifi/processors/GeoEnrichIPRecord.java:[389,70] [removal] getCountry() in CityResponse has been deprecated and marked for removal
2025-11-24T12:34:30.6228680Z [WARNING] /Users/runner/work/nifi/nifi/nifi-extension-bundles/nifi-enrich-bundle/nifi-enrich-processors/src/main/java/org/apache/nifi/processors/GeoEnrichIPRecord.java:[389,83] [removal] getIsoCode() in Country has been deprecated and marked for removal
2025-11-24T12:34:30.6336640Z [WARNING] /Users/runner/work/nifi/nifi/nifi-extension-bundles/nifi-enrich-bundle/nifi-enrich-processors/src/main/java/org/apache/nifi/processors/GeoEnrichIPRecord.java:[390,67] [removal] getLocation() in CityResponse has been deprecated and marked for removal
2025-11-24T12:34:30.6442470Z [WARNING] /Users/runner/work/nifi/nifi/nifi-extension-bundles/nifi-enrich-bundle/nifi-enrich-processors/src/main/java/org/apache/nifi/processors/GeoEnrichIPRecord.java:[390,81] [removal] getLatitude() in Location has been deprecated and marked for removal
2025-11-24T12:34:30.6544740Z [WARNING] /Users/runner/work/nifi/nifi/nifi-extension-bundles/nifi-enrich-bundle/nifi-enrich-processors/src/main/java/org/apache/nifi/processors/GeoEnrichIPRecord.java:[391,68] [removal] getLocation() in CityResponse has been deprecated and marked for removal
2025-11-24T12:34:30.6646970Z [WARNING] /Users/runner/work/nifi/nifi/nifi-extension-bundles/nifi-enrich-bundle/nifi-enrich-processors/src/main/java/org/apache/nifi/processors/GeoEnrichIPRecord.java:[391,82] [removal] getLongitude() in Location has been deprecated and marked for removal
2025-11-24T12:34:30.6749740Z [WARNING] /Users/runner/work/nifi/nifi/nifi-extension-bundles/nifi-enrich-bundle/nifi-enrich-processors/src/main/java/org/apache/nifi/processors/GeoEnrichIPRecord.java:[392,73] [removal] getPostal() in CityResponse has been deprecated and marked for removal
2025-11-24T12:34:30.6848390Z [WARNING] /Users/runner/work/nifi/nifi/nifi-extension-bundles/nifi-enrich-bundle/nifi-enrich-processors/src/main/java/org/apache/nifi/processors/GeoEnrichIPRecord.java:[392,85] [removal] getCode() in Postal has been deprecated and marked for removal
2025-11-24T12:34:30.6950950Z [WARNING] /Users/runner/work/nifi/nifi/nifi-extension-bundles/nifi-enrich-bundle/nifi-enrich-processors/src/main/java/org/apache/nifi/processors/ISPEnrichIP.java:[116,22] [removal] getAutonomousSystemNumber() in IspResponse has been deprecated and marked for removal
2025-11-24T12:34:30.7053580Z [WARNING] /Users/runner/work/nifi/nifi/nifi-extension-bundles/nifi-enrich-bundle/nifi-enrich-processors/src/main/java/org/apache/nifi/processors/ISPEnrichIP.java:[117,111] [removal] getAutonomousSystemNumber() in IspResponse has been deprecated and marked for removal
2025-11-24T12:34:30.7154110Z [WARNING] /Users/runner/work/nifi/nifi/nifi-extension-bundles/nifi-enrich-bundle/nifi-enrich-processors/src/main/java/org/apache/nifi/processors/ISPEnrichIP.java:[119,38] [removal] getAutonomousSystemOrganization() in IspResponse has been deprecated and marked for removal
2025-11-24T12:34:30.7256840Z [WARNING] /Users/runner/work/nifi/nifi/nifi-extension-bundles/nifi-enrich-bundle/nifi-enrich-processors/src/main/java/org/apache/nifi/processors/ISPEnrichIP.java:[124,39] [removal] getIsp() in IspResponse has been deprecated and marked for removal
2025-11-24T12:34:30.7357370Z [WARNING] /Users/runner/work/nifi/nifi/nifi-extension-bundles/nifi-enrich-bundle/nifi-enrich-processors/src/main/java/org/apache/nifi/processors/ISPEnrichIP.java:[129,44] [removal] getOrganization() in IspResponse has been deprecated and marked for removal
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@nifi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] NIFI-15247 - Bump GeoIP2 to 5.0.0, Jedis to 7.1.0, JSON Flattener to 0.18.0, and others [nifi]
Posted by "pvillard31 (via GitHub)" <gi...@apache.org>.
pvillard31 commented on PR #10558:
URL: https://github.com/apache/nifi/pull/10558#issuecomment-3571289383
Took care of the deprecations I missed for GeoIP2 and reverted the changes on SNMP Agent. It's way more involved than what I initially thought on the integration tests.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@nifi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] NIFI-15247 - Bump GeoIP2 to 5.0.0, Jedis to 7.1.0, JSON Flattener to 0.18.0, and others [nifi]
Posted by "exceptionfactory (via GitHub)" <gi...@apache.org>.
exceptionfactory merged PR #10558:
URL: https://github.com/apache/nifi/pull/10558
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@nifi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org