Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces significant changes to the Marquez project, including the addition of new classes and methods to enhance functionality and improve the codebase. The most important changes include the creation of the
MarquezApp
class, theMarquezContext
class, and theNamespaceService
class.New Classes and Methods:
api/read-only-replacements/MarquezApp.java
: Added a newMarquezApp
class which sets up the application, initializes various components, and registers resources, servlets, and filters. This class also includes methods to enable Sentry for error tracking and to configure Jdbi for database interactions.api/read-only-replacements/MarquezContext.java
: Introduced a newMarquezContext
class that encapsulates DAOs and services, providing a centralized context for the application. This class also includes a builder for easy instantiation and configuration.api/read-only-replacements/NamespaceService.java
: Added a newNamespaceService
class that extendsDelegatingNamespaceDao
and includes methods to create or update namespaces. This class also integrates Prometheus metrics to track namespace creation invocations.