Use a new class to overwrite the class RdfXmlSubprocessor in d1-processor since that one has a method to use solr http server directly.
use input stream instead of Document for resource map processing test
update to use v2 types for indexing
use default "metacat" context name for metacat-index testing.
use a non-public rightsHolder for both EML and Annotation test documents now that the RDF subprocessor checks each annotation to see that it came from a user that as write permission for the object being annotated.
test for update using the updated EML file, not the original. Also add the SM to the shared map so that the indexing process can consult SM.accessPolicy when indexing annotations that assert things about those test documents.
ignore the metacat/solr comparator tests - they are one-offs.
pass around the object file path rather than the data stream so that multiple subprocessors can index the same object and not consume the stream before it gets to the next one. In preparation for extending the assertions stored in OREs. https://projects.ecoinformatics.org/ecoinfo/issues/6548
use Matthew Jones for test creator since he has an ORCID in their staging environment.
augment annotation indexing test/sample to include orcid annotation. https://projects.ecoinformatics.org/ecoinfo/issues/6267https://projects.ecoinformatics.org/ecoinfo/issues/6423
switch to index standard since it is more likely we will be able to determine this from our existing EML attribute information. https://projects.ecoinformatics.org/ecoinfo/issues/6253
Do a more thorough check that the characteristic annotation was successfully indexed as expected (semtools)
switch to the OpenAnnotation (OA) model for annotating datapackages with measurements/characteristics (semtools)
test that obsoleted objects remain indexed, but are marked as obsoleted. https://projects.ecoinformatics.org/ecoinfo/issues/6424
uncomment the original tests now that the "field" test is working.
allow indexing of RDF documents - provide a sparql query that will return values for the field name. Using measurement_sm initially (a dynamic multivalued solr field). https://projects.ecoinformatics.org/ecoinfo/issues/6253
Unify solr indexing with an IndexTask that is added to the queue -- allows us to send more than just the systemMetadata to the indexer. Initially this is for READ event counts for each document. https://projects.ecoinformatics.org/ecoinfo/issues/6346
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.