This pull request introduces a new health check resource and integrates it into the Marquez application. Additionally, it includes updates to the MarquezApp, MarquezContext, and NamespaceService classes to support this new feature.
"Update dependency versions to fix security vulnerabilities and enhance project security. The following packages were updated:
@babel/traverse to version 7.25.6
async to version 3.2.6
body-parser to version 1.20.3
express to version 4.20.0
follow-redirects to version 1.15.9
micromatch to version 4.0.8
webpack to version 5.94.0"
This message highlights that the dependency updates were made to address security issues and improve performance.
This pull request introduces a new health check resource and integrates it into the Marquez application. Additionally, it includes updates to the
MarquezApp
,MarquezContext
, andNamespaceService
classes to support this new feature.New Health Check Resource:
api/src/main/java/marquez/api/NuHealthCheckResource.java
: Added a newNuHealthCheckResource
class to provide a health check endpoint at/ops/health
.Integration into Marquez Application:
api/read-only-replacements/MarquezApp.java
: Integrated the new health check resource into the application initialization and setup process.api/read-only-replacements/MarquezContext.java
: Added the new health check resource to theMarquezContext
class and registered it as part of the application's resources. [1] [2] [3] [4] [5]Namespace Service Updates:
api/read-only-replacements/NamespaceService.java
: Added Prometheus metrics to track namespace creation and updated thecreateOrUpdate
method to increment the counter.Testing:
api/src/test/java/marquez/api/NuHealthCheckResourceTest.java
: Added a new test class forNuHealthCheckResource
to verify the health check endpoint functionality."Update dependency versions to fix security vulnerabilities and enhance project security. The following packages were updated:
@babel/traverse to version 7.25.6 async to version 3.2.6 body-parser to version 1.20.3 express to version 4.20.0 follow-redirects to version 1.15.9 micromatch to version 4.0.8 webpack to version 5.94.0" This message highlights that the dependency updates were made to address security issues and improve performance.