opensearch-project / geospatial

Future home of Geospatial features for OpenSearch
Apache License 2.0
33 stars 34 forks source link

Replace Strings util package with OpenSearch core Strings package #675

Closed naveentatikonda closed 3 weeks ago

naveentatikonda commented 3 weeks ago

Description

Replace org.apache.logging.log4j.util.Strings with org.opensearch.core.common.Strings to fix failing CI. https://github.com/opensearch-project/geospatial/actions/runs/10207619595/job/28962936440?pr=671

> Task :forbiddenApisResources
Forbidden class/interface use: org.apache.logging.log4j.util.Strings [use org.opensearch.core.common.Strings instead.]

  in org.opensearch.geospatial.ip2geo.dao.GeoIpDataDao (GeoIpDataDao.java:233)
> Task :forbiddenApisMain FAILED
Scanned 126 class file(s) for forbidden API invocations (in 0.29s), 1 error(s).

> Task :generateTestEffectiveLombokConfig
FAILURE: Build failed with an exception.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
* What went wrong:

Execution failed for task ':forbiddenApisMain'.

Check List

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.