Java
21
191 commits
updated May 28, 2025
This is a Spring Boot "starter" class to build a DATAWAVE microservice. This starter provides custom default behavior that is useful for new services.
DatawaveUser objects.remoteauth profile is active, then this provides a Spring Security
configuration that uses the provided PKI information to authenticate to a
remote authorization service, provided no JWT was supplied instead.X-ProxiedEntitiesChain and X-ProxiedIssuersChain.server.outbound-ssl.enabled.Provides Spring Cloud discovery of the RabbitMQ instance backing the Spring Cloud Event bus.
Provides Accumulo configuration to access both the warehouse and metrics Accumulo clusters.
Provides default markings configuration including MarkingFunctions and
a caffeine cache manager to storing cached markings.
Provides DropWizard metrics configuration/reporting via the
metrics.reporter prefix. See MetricsConfigurationProperties.
Provides message converters for returning a formatted HTML page.
Reads/writes Google protobuf entities/responses using the protostuff library for messages implementing the protostuff Message interface.
RestExceptionHandler
returns a datawave VoidResponse upon receipt of an exception.
NotBlankIfFieldEquals validates that a field must not be blank if another field matches a specified value. RequiredValueIfFieldEquals validates that a field is set to a specified value if another field matches a specified value.
AuthorizationEvictionEvent is an event that is published to the event bus when user credential data is evicted from the authorization service's cache. Other services may want to respond to this event to refresh a display or force the user to re-authenticate.
A test certificate authority and user/server certificates for use in tests and/or demo applications. See the resources directory.
A default screen.css file is provided
for displaying tables in web apps.
A default datawave banner for display by Spring at application startup.
Java
21
191 commits
updated May 28, 2025
This is a Spring Boot "starter" class to build a DATAWAVE microservice. This starter provides custom default behavior that is useful for new services.
DatawaveUser objects.remoteauth profile is active, then this provides a Spring Security
configuration that uses the provided PKI information to authenticate to a
remote authorization service, provided no JWT was supplied instead.X-ProxiedEntitiesChain and X-ProxiedIssuersChain.server.outbound-ssl.enabled.Provides Spring Cloud discovery of the RabbitMQ instance backing the Spring Cloud Event bus.
Provides Accumulo configuration to access both the warehouse and metrics Accumulo clusters.
Provides default markings configuration including MarkingFunctions and
a caffeine cache manager to storing cached markings.
Provides DropWizard metrics configuration/reporting via the
metrics.reporter prefix. See MetricsConfigurationProperties.
Provides message converters for returning a formatted HTML page.
Reads/writes Google protobuf entities/responses using the protostuff library for messages implementing the protostuff Message interface.
RestExceptionHandler
returns a datawave VoidResponse upon receipt of an exception.
NotBlankIfFieldEquals validates that a field must not be blank if another field matches a specified value. RequiredValueIfFieldEquals validates that a field is set to a specified value if another field matches a specified value.
AuthorizationEvictionEvent is an event that is published to the event bus when user credential data is evicted from the authorization service's cache. Other services may want to respond to this event to refresh a display or force the user to re-authenticate.
A test certificate authority and user/server certificates for use in tests and/or demo applications. See the resources directory.
A default screen.css file is provided
for displaying tables in web apps.
A default datawave banner for display by Spring at application startup.