Renamed the test class.
Rename the IndexGenerator to IndexGeneratorTimerTask.
If an object was archived, the solr index will be removed for it.
Remove the obsoletes chain from the update method in the SolrIndex class.
Add a junit test to test resourcemap subprocessor.
Add the property of dataone.hazelcast.location.clientconfig.
Make the method getSolrindex to be public.
change the configuration path.
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.
Add a new property for the log class name.
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 some new properties for the test.
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 a system metadata for archiving.
Add code to generate index during the servlet initialization.
Add the names of the system metadata and the data object imaps.
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.
Change the default solr endpoint to be the localhost.
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
include test resource bundles to be loaded into Settings configuration during testing.
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.
Add documents for updating solr index.
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.