[
https://issues.apache.org/jira/browse/METRON-1421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16432348#comment-16432348
]
ASF GitHub Bot commented on METRON-1421:
----------------------------------------
Github user nickwallen commented on the issue:
https://github.com/apache/metron/pull/970
> I'd like to know what specific problems we're going to solve that merit
that level of change in this PR.
The fundamental problem here is a lack of good unit tests on these search
DAOs. That is why I am interested in refactoring this.
What I don't want to repeat is #832 or [the recent issue found in Full Dev
on this PR](https://github.com/apache/metron/pull/970#issuecomment-379753506).
Are these clues that we don't have sufficient testing?
We really need quality tests here in particular, because this is a complex
and difficult to implement feature. Because it is so difficult, we need to
have **especially** good automated testing around this.
I completely appreciate not wanting to expand scope too much. But when
adding a big chunk of net-new functionality, you inherently have to refactor to
keep things maintainable. To what degree refactoring is needed, is a judgement
call of course.
> Create a SolrMetaAlertDao
> -------------------------
>
> Key: METRON-1421
> URL: https://issues.apache.org/jira/browse/METRON-1421
> Project: Metron
> Issue Type: Sub-task
> Reporter: Justin Leet
> Assignee: Justin Leet
> Priority: Major
>
> Create an implementation of the MetaAlertDao for Solr. This will involve
> implementing the various MetaAlertDao methods using the SolrJ library and
> also providing a SolrMetaAlertIntegrationTest (similar to
> ElasticsearchMetaAlertIntegrationTest).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)