Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace Strings util package with OpenSearch core Strings package #675

Conversation

naveentatikonda
Copy link
Member

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

  • New functionality includes testing.
  • New functionality has been documented.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff.
  • Public documentation issue/PR created.

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.

Signed-off-by: Naveen Tatikonda <navtat@amazon.com>
@naveentatikonda naveentatikonda merged commit d8fcdae into opensearch-project:main Aug 20, 2024
28 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Aug 20, 2024
Signed-off-by: Naveen Tatikonda <navtat@amazon.com>
(cherry picked from commit d8fcdae)
naveentatikonda added a commit that referenced this pull request Aug 20, 2024
…) (#676)

Signed-off-by: Naveen Tatikonda <navtat@amazon.com>
(cherry picked from commit d8fcdae)

Co-authored-by: Naveen Tatikonda <navtat@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x Backport PR to 2.x branch skip-changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants