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
Feature/query microservices #3
base: main
Are you sure you want to change the base?
Conversation
… via the spring boot datawave query starter.
… datawave ws common
…e, cancel locking logic.
… the hazelcast cache
…ory structure for the query-executor.
- Updated Query Json Serialization to be polymorphic. - Updated Query Json Serialization to serialize the query as a string. - Created a ProxiedUserEntity-specific AuthorizationsUtil to avoid usage of DatawavePrincipal. - Updated all query microservices to use the spring-boot provided log4j dependencies. - Moved Local query storage cache implementation to test and created a test jar. - Renamed the query cache dependency to query-storage to be consistent with the api and parent modules. - Renamed various application launcher classes to be consistent with our existing microservices. - Removed Autowired injection for components where a constructor would suffice. - Updated QueryTaskNotification to have it be published via the spring cloud bus. - Many other various changes/improvements.
…pdated QueryStorageCacheTest to work with an external rabbitmq
… action. Renamed the query status cache to CachedQueryStatus.
…equest objects instead of TaskNotification objects.
…ryid and query pool to be String objects for avoid excessive object creations and conversions.
… been retrieved for a query.
…is closed. Updated to adjust the number of results to generate capped by max results. Added test cases to verify we generate results as appropriate (ShouldGenerateResultsTest) Updated a bunch of javadoc to remove all warnings
Fixed some kafka query queue manager mechanisms and reenabled tests.
… and updated the query service to include that file as a resource.
src/main/java/datawave/microservice/query/storage/QueryStatus.java
Outdated
Show resolved
Hide resolved
@ConfigurationPropertiesBinding | ||
public class StringToTypeConverter implements Converter<String,Type> { | ||
@Override | ||
public Type convert(String source) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there not method like this in a library? Not necessarily saying we use it, just seems like it would be code that is duplicated. Maybe thats ok.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmmm, i'm not sure. This is specifically used to map yaml spring properties to actual datawave Types, so im not sure that's something we've done before. Looking in the type-utils project, I'm not seeing anything at first glance that could serve this purpose.
No description provided.