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

Feature/query microservices #3

Open
wants to merge 207 commits into
base: main
Choose a base branch
from
Open

Conversation

jwomeara
Copy link
Collaborator

No description provided.

jwomeara and others added 30 commits May 25, 2022 13:20
… via the spring boot datawave query starter.
 - 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.
…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.
@ConfigurationPropertiesBinding
public class StringToTypeConverter implements Converter<String,Type> {
@Override
public Type convert(String source) {
Copy link

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.

Copy link
Collaborator Author

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.

pom.xml Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants