Change the configuration path according to the change of the class.
Use the class path configuration of spring to replace the file configuration. We can reuse the application context files in the d1_cn_index_processor jar.
fixed a bug that the setup method deleted a result file.
Add a method to count how many documents in a specified solr server.
Fixed a bug that the missed id is not writtent to the file.
Add a class to compare ids in the solr and metacat.
add MapStore/Loader test for the IndexEvents -- adding and removing events in the DB table through hazelcast. https://projects.ecoinformatics.org/ecoinfo/issues/5944
Add code to test getIdentifierSet method.
Change the code since the ApplicationController's constructor was changed.
Add code to wait the readiness of the hazelcast service.
Add a class to get distributed maps such as the system metadata map.
Catch a new exception base on the change of the calling method.
use the sharing code from the metacat-common.
Use an update method to replace the insert and update methods in the SolrIndex class.
Add code to generate index during the servlet initialization.
Add code to start hazelcast.
Add a junit test for the IndexGenerator class.
Add code to get all doc ids in the solr server.
Add a remove(List) method in the class and an obsoletes list parameter in the update method.
Read the solr configuration file name and collection name from the property file.
Print out the solr query result in the xml format.
naive version of SolrServerFactory - no reflection. It returns an EmbeddedSolrServer implementation based on the solr.homeDir set in Settings class. https://projects.ecoinformatics.org/ecoinfo/issues/5883
simplify testing with embedded solr server locations -- no need to copy solr-home or set system properties. Still more to do (factory method) but this is getting cleaner.
rely on Settings loaded from test resources config rather than hardcoding the paths in code. https://projects.ecoinformatics.org/ecoinfo/issues/5918
use integration-test ("mvn verify") to test things that require Metacat to be running. These classes should end be named "*IT.java" and unit tests that do not require metacat to be running can be named "*Test.java" - https://projects.ecoinformatics.org/ecoinfo/issues/5918
Comment out the testRemove method temporarily.
Temporarily to comment out the remove test.
Add a test method to test the update method.
Set the test solr home in the target directory.
Set the hazelcast.xml path for the test.
Add a query method in the test.
Add the solr home directory.
Change one parameter type of the insert method from the InputStream to the SystemMetadata.
Use the EmbeddedSolrServer to replace HttpSolrServer. Now it still has some issues.
Add junit test class to test the SolrIndex class.
Remove the file generated by the wizard.
Figured out to read beans from the configuration file.
add the metacat-index component. It has nothing right now.