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

[NR-265913] API Endpoint Phase 2 : Detect route of an endpoint for Jax-RS Framework #256

Merged
merged 36 commits into from
Jun 22, 2024

Conversation

IshikaDawda
Copy link
Contributor

@IshikaDawda IshikaDawda commented May 24, 2024

  • Add endpoint route to the generated event bean
  • Detect route of an endpoint for following Jax-RS based frameworks:
  1. CXF-JaxRS Framework
  2. Jersey Framework
  3. RestEasy Framework

Changelogs:

  • PR-256 Route detection of an incoming request for Jax-RS Framework. NR-265913
  • PR-259 Route detection of an incoming request for Spring-WebMVC Framework. NR-261653
  • PR-258 Route detection of an incoming request for Spring-WebFlux Framework. NR-273605

@IshikaDawda IshikaDawda added the endpoint-detect API endpoint detection feature label May 24, 2024
@IshikaDawda IshikaDawda requested a review from lovesh-ap May 24, 2024 11:17
@IshikaDawda IshikaDawda self-assigned this May 24, 2024
IshikaDawda and others added 21 commits May 26, 2024 10:57
Co-authored-by: Lovesh Baya <lbaya@newrelic.com>
Redefine Route Comparator
…ring-WebMVC Framework (#259)

API Endpoint Phase 2: Add Endpoint route in Spring-WebMVC Framework
…ring-WebFlux Framework (#258)

* API Endpoint Phase 2: Add Endpoint route in Spring-WebFlux Framework
IshikaDawda and others added 4 commits June 14, 2024 13:46
…Detection (#263)

* Normalize the endpoint path in API Endpoint detection
* API Endpoint : Support for sub resource case in CXF-JaxRS
* API Endpoint : Support for sub resource case in Jersey
* Add method to count segments in uri path
* API Endpoint 2: Support for sub resource case in RestEasy

Co-authored-by: Lovesh Baya <lbaya@newrelic.com>
# Conflicts:
#	newrelic-security-api/src/main/java/com/newrelic/api/agent/security/instrumentation/helpers/GenericHelper.java
@IshikaDawda IshikaDawda requested a review from harshit-ap June 22, 2024 04:15
harshit-ap
harshit-ap previously approved these changes Jun 22, 2024
…ech-NR-273607

[NR-273607] Fallback mechanism for route calculation
harshit-ap
harshit-ap previously approved these changes Jun 22, 2024
# Conflicts:
#	gradle.properties
#	newrelic-security-agent/src/main/java/com/newrelic/api/agent/security/Agent.java
@IshikaDawda IshikaDawda merged commit 5d26d5a into main Jun 22, 2024
9 checks passed
@IshikaDawda IshikaDawda deleted the feature/api-endpoint/JaxRS-NR-265913 branch June 22, 2024 05:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
endpoint-detect API endpoint detection feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants