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.
add place-holder for using SolrServerFactory to get the correct SOlrServer impl during application init
clean up configuration initialization
clean up logging for hz config file error
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.
move hazelcast config file location code into the MetacatIndexServlet init method
do not skip tests during metacat-index package phase. 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
format before editing.
Comment out the testRemove method temporarily.
Temporarily to comment out the remove test.
Add a test method to test the update method.
Add the update method.
Add documents for updating solr index.
Add a solr.homeDir property.
Get the solr home dir from the metacat.properties.
Set the test solr home in the target directory.
Add the necessary files for the solr home.
Set the hazelcast.xml path for the test.
Add a query method in the test.
split the deployment of metacat-index.war copy into two different tasks so that the "install" target puts it in both the /dist and "deployment directory" whereas the "install-metacat-index" bypasses metacat building and kust rebuilds the metacat-index.war and puts it in the deply directory.
copy the metacat-index.war file to the app.deploy.dir rather than dist.dir.
correctly look up the context init parameter for the metacat properties file
Move this file to the solr home and rename it to the schema.xml.
Add the solr home directory.
include the objectPathMap name in the metacat.properties (used by metacat-index component) https://projects.ecoinformatics.org/ecoinfo/issues/5909
lookup the hz client connection information from the hazelcast.xml file being used by metacat. https://projects.ecoinformatics.org/ecoinfo/issues/5909
build metacat-index.war using maven and copy to the metacat /dist folder. https://projects.ecoinformatics.org/ecoinfo/issues/5907
start the SystemMetadataListener for each solr index configured (expecting only one).
Remove this obsoleted file.
draft for sharing the metacat.properties with the metacat-index webapp. https://projects.ecoinformatics.org/ecoinfo/issues/5909
add methods to set the SolrIndex instance and initialize the listener (includes overloaded constructor)
use SystemMetadata parameter for inserting into SolrIndex
Change one parameter type of the insert method from the InputStream to the SystemMetadata.
Add a file prefix to tell it is absolute path.
Excludes the slf4j-log4j12.jar for removing duplicated class.
The module will create a servlet class in a war file.
Add a web.xml file for the war.
add first pass at listening for SM events on HZ. Note that the configuration and even the call to solrIndex.insert() are not actually working.
Make EmbeddedServer work. It is for solr 3.4 since the d1_cn_index_processor depends on that version.
Use the EmbeddedSolrServer to replace HttpSolrServer. Now it still has some issues.
Add junit test class to test the SolrIndex class.
Add insert method for SolrIndex.
Remove the file generated by the wizard.
use updated EML stylesheet tag. https://projects.ecoinformatics.org/ecoinfo/issues/5903
Figured out to read beans from the configuration file.
use more modern approach for web.xml: schema instead of dtd for web-app declaration. https://projects.ecoinformatics.org/ecoinfo/issues/2237
Add the dependency of solr-solrj.
Add the repository and dependency of the d1_cn_index_processor.
add the metacat-index component. It has nothing right now.
remove explicit reference to KNB when Metacat may not be deployed as the KNB node. This has bothered my for a while, too. https://projects.ecoinformatics.org/ecoinfo/issues/3736
Add a new class ApplicationController.
allow verification date to be updated for replicas (patch from Skye). https://redmine.dataone.org/issues/3699
(generated image commit) add ObjectPathMap reference for an indication about how we might read the bytes of a science metadata file for generating the index events.
add ObjectPathMap reference for an indication about how we might read the bytes of a science metadata file for generating the index events.
add new Stand-alone indexer component that can utilize more of the cn-index-processor code (Spring configuration) as is. Include Hazelcast reference to illustrate listener mechanism for responding to events that affect the index.
Add an example of the solr index configuration file.
Change the name of the class SolrFieldParser to IDocumentSubprocessorFactory.
Add SolrDoc and SolrElementField class.
Add a new class SolrFieldParser and remove some classes like GenericIndex.
include class diagram for components in the cn-index-processor packaage (dataone), metacat, and solr library.
switch to non-snapshot EZID client jar.
use new, dedicated, LTER test account for LDAP referral test.
added more classes to the index diagram to reflect current state of the code - needs to be updated to include plan for implementation (e.g., DocType object is not what we want). http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5884
enable plantuml generation when building the sphinx documentation. note that you do need to have graphviz installed, but hopefully that is all.
select only distinct guids (synch may have failed more than once for any given guid)https://redmine.dataone.org/issues/3539
include xml_revisions.do not allow removal of server_location = 1 documents (these are not replicas).https://redmine.dataone.org/issues/3539
add README note about DOI support http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5513
include size and format datcite elements (optional) and use more general resourceType without formatId in them (Dataset/metadata and Dataset/data). http://schema.datacite.org/meta/kernel-2.2/doc/DataCite-MetadataKernel_v2.2.pdf
lookup the title for EML files when registering DOIs.lookup the creator from DataONE CN (if available).add EML-based test. http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5513
Set the session to null so that the call uses the CN certificate when calling MN.systemMetadataChanged();
To keep all nodes up to date with regard to system metadata changes, add the broadcastSystemMetadataChange() method that finds replica MNs in the node list and calls systemMetadataChanged(). Modify setReplicationStatus() and updateReplicationMetadata() to fire this off when a replica status changes to completed. We may decide to inform MNs at other times too, but this is a conservative amount of calls going to the MNs for now.
include the create test in the suite
refactor DOI registration into separate class. http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5513
refactor using ezid-client changes that split field names and values into separate enums. http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5513
Correctly mint and register DOIs in teh MN API implementation. Add tests to exercise minting and creating. http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5513
reference the correct metacat.properties entry for "guid.ezid.enabled"
use correct default ezid service baseURL
register DOIs with minimal DataCite metadata. still need to determine which details to include and when, but the plumbing is in place as we refine those rules. http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5513
class for removing failed/invalid replicas from target nodes that previously held replicated content (KNB/LTER/PISCO/etc). https://redmine.dataone.org/issues/3539
add section about behavior for deprecated Metacat API. http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5513
add DOI development page. http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5513
disable EZID/DOI minting by default since we do not yet have a means of tracking minted DOIs and augmenting metadata for them when we actually receive the object in a subsequent create() or update() call. http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5753
use utilities 1.3.0 tag
add solr index documentation outline. http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5884
wordsmith the identity mapping page. Not fundamentally different, but hopefully more concise. http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5814
use d1_libclient v1.2.1 (temp file creation fix)
tweak to pathquery/generic xpath handling
use utilities and eml style tag as we prep for release.
ready Metacat for 2.0.6 release (docs, db version, build files etc).
group user_owner clause as "AND (... OR .... OR ....)" to handle multiple pathquery <owner> elements. http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5880
accidentally added
typo
remove older lucene library and include ORE test to make sure that change does not prevent us from generating OREs. http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5874
Search and indexing with Lucene/SOLRRequires a manually configured SOLR installationNot currently used by the rest of metacat
PARC, OBFS, NRS: use only the paths that are indexed by default in metacat.properties. If deployments want to cusotmize these, they are free to do so, but we should ship skins that match the paths we index with a vanilla installation.
generate ID from UUID. http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5840