GitHub user cestella opened a pull request: https://github.com/apache/metron/pull/921
METRON-1441: Create complementary Solr schemas for the main sensors ## Contributor Comments We have ES templates for bro, snort, yaf, and error, we need corresponding solr schemas for these collections. Right now this is tested via the SchemaTranslatorTest, which spins up the current version of Solr loads the schemas and writes sample data and ensures they come back properly. Note: This is an intermediate move to getting full solr support. These schemas will be refined more, likely. ## Pull Request Checklist Thank you for submitting a contribution to Apache Metron. Please refer to our [Development Guidelines](https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=61332235) for the complete guide to follow for contributions. Please refer also to our [Build Verification Guidelines](https://cwiki.apache.org/confluence/display/METRON/Verifying+Builds?show-miniview) for complete smoke testing guides. In order to streamline the review of the contribution we ask you follow these guidelines and ask you to double check the following: ### For all changes: - [x] Is there a JIRA ticket associated with this PR? If not one needs to be created at [Metron Jira](https://issues.apache.org/jira/browse/METRON/?selectedTab=com.atlassian.jira.jira-projects-plugin:summary-panel). - [x] Does your PR title start with METRON-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character. - [x] Has your PR been rebased against the latest commit within the target branch (typically master)? #### Note: Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible. It is also recommended that [travis-ci](https://travis-ci.org) is set up for your personal repository such that your branches are built there before submitting a pull request. You can merge this pull request into a Git repository by running: $ git pull https://github.com/cestella/incubator-metron solr_schemas Alternatively you can review and apply these changes as the patch at: https://github.com/apache/metron/pull/921.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #921 ---- commit c86421739f230cfc23b2a5092af53a32348dbaef Author: merrimanr <merrimanr@...> Date: 2018-01-24T16:35:33Z initial commit commit 76455986a14d12ed720a83c091616a1904ffb2b1 Author: merrimanr <merrimanr@...> Date: 2018-01-24T19:07:46Z initial commit commit f996ee1a3069116cf1063e70c7d4a2b562da9b97 Author: merrimanr <merrimanr@...> Date: 2018-01-24T19:16:15Z Merge branch 'METRON-1429' into solr-dao # Conflicts: # metron-platform/metron-elasticsearch/src/test/java/org/apache/metron/elasticsearch/integration/ElasticsearchSearchIntegrationTest.java # metron-platform/metron-indexing/src/test/java/org/apache/metron/indexing/dao/SearchIntegrationTest.java commit a29ed14c39a79ce5918212baa9b075706319e4de Author: merrimanr <merrimanr@...> Date: 2018-01-24T20:31:11Z added back metaalert test data commit 92cc5640e7cacf4cc3b4941c3bc7d559aa7b8380 Author: merrimanr <merrimanr@...> Date: 2018-01-24T20:31:49Z Merge branch 'METRON-1429' into solr-dao commit 3a17b4d9d18efe4431197521124b13cb0dc4f9e3 Author: merrimanr <merrimanr@...> Date: 2018-01-24T22:32:52Z resolved merge conflicts commit 5c6293dd5302cddf3f212a982fed8c2d0ec2e391 Author: merrimanr <merrimanr@...> Date: 2018-01-24T22:33:53Z Merge remote-tracking branch 'mirror/master' into METRON-1429 commit bb8efc16f60147ed8198604923c391c360376859 Author: merrimanr <merrimanr@...> Date: 2018-01-24T22:49:36Z Merge branch 'METRON-1429' into solr-dao commit 016403323cda9959c8edcdbe0e6a6e8d7cda9340 Author: merrimanr <merrimanr@...> Date: 2018-01-25T16:37:10Z Merge remote-tracking branch 'mirror/master' into solr-dao # Conflicts: # metron-platform/metron-elasticsearch/src/test/java/org/apache/metron/elasticsearch/integration/ElasticsearchSearchIntegrationTest.java # metron-platform/metron-indexing/src/test/java/org/apache/metron/indexing/dao/SearchIntegrationTest.java commit d4c99e1521f7c638ab81d388b0cb8c55cc548561 Author: merrimanr <merrimanr@...> Date: 2018-01-26T22:21:38Z dao refactor and group implementation commit 8fc77dff00a695f09ea6777aada9e23f7e89f6ee Author: merrimanr <merrimanr@...> Date: 2018-01-26T22:25:15Z Merge remote-tracking branch 'mirror/master' into solr-dao # Conflicts: # metron-platform/metron-elasticsearch/src/test/java/org/apache/metron/elasticsearch/integration/ElasticsearchSearchIntegrationTest.java # metron-platform/metron-elasticsearch/src/test/java/org/apache/metron/elasticsearch/integration/ElasticsearchUpdateIntegrationTest.java commit 32d8867b9e5c18c4982213ff08250b2eea7bf8a4 Author: merrimanr <merrimanr@...> Date: 2018-01-26T22:30:22Z resolved merge conflicts commit eb605ef723528688a178242eeb73a62bb08dd6cb Author: merrimanr <merrimanr@...> Date: 2018-01-26T23:10:16Z column metadata dao should accept zkHost commit 186fb5a3680e8d4a289d629dfce6bedc80d65893 Author: merrimanr <merrimanr@...> Date: 2018-01-27T01:25:31Z column metadata dao should accept zkHost commit 2d9a4f218b82466e3892d6018fb5ee75592d5cb5 Author: merrimanr <merrimanr@...> Date: 2018-01-27T01:30:13Z need to set default collection commit 89adb71fee887a1cdf997bff82e10d335f98cc7e Author: cstella <cestella@...> Date: 2018-01-30T18:15:19Z schema translator commit 4fa5b97c61f03c019eff96a3019f74cc2f2d074c Author: cstella <cestella@...> Date: 2018-01-30T18:16:40Z Merge branch 'feature/METRON-1416-upgrade-solr' into solr_schemas commit 03de7884c93e46d8c6b83e87bd9a5b25fbace599 Author: cstella <cestella@...> Date: 2018-01-30T21:39:09Z Updating translator to work. Test is bogus still. commit c721f71feabaa246fa138e5eabb725a3fc1cf345 Author: cstella <cestella@...> Date: 2018-01-30T21:40:05Z Merge remote-tracking branch 'ryan/solr-dao' into solr_schemas commit ef0d6933d39c636cebefa51930e442730d7c59cf Author: cstella <cestella@...> Date: 2018-01-30T23:51:23Z Updating to include the schemas. commit 914b9b4baeb44765506dab8d1612e2ccd41eb13c Author: cstella <cestella@...> Date: 2018-02-01T21:05:58Z Schemas with test. ---- ---