allow Metacat API calls to be made by clients providing their identity with a DataONE auth token. https://github.nceas.ucsb.edu/KNB/arctic-data/issues/43
comment out (duplicate) EML download link since it does not apply in the CN context and the same functionality exists elsewhere in the MetacatUI rendering. https://redmine.dataone.org/issues/7639
Removed the sepcified path for the ldap ca file.
If the user doesn's specify the ldap ca file path on the metacat.properties, it will use the default one.
Remove the bypass button.
Update the ezid configuration screenshot.
Add the help icons on the page.
Use a new screenshot with the help icon.
Fixed a typo.
Add the ezid section.
Add the section for ezid.
Updated the screenshot for the configuration pages.
Add the items for the ezid backup.
Change the label.
fixed a label issue.
Add the java code to handle the ezid configuration.
Add a new property to show the status of configuration of the ezid service.
Add a page for configuring the ezid.
remove the password of the doi user.
The getPackage method should throw an exception since the id is a data object.
Put a detal code on the InvalidRequest exception in the getPackage method.
If the pid it is a package id in the getPackage method, the method will throw an InvalidRequest exception.
Make sure to close the prepared statement on the final statement.
Close the result and connection in the finally clause to make sure they being closed.
add warning when exception encountered loading SM into map.
Add the dataone create event mapping to the select clause.
map the metacat log event INSERT, upload and UPLOAD to the dataone log event "create"
comment out the party annotation-target - don't think we'll be using this anytime soon (had been for annotating with orcids)
set authoritative MN to origin MN if the client did not set it on mn.create. https://projects.ecoinformatics.org/ecoinfo/issues/6938
remove ant commands in harvester configuration instructions. https://projects.ecoinformatics.org/ecoinfo/issues/6937
include metacat context in the redirect after successful harvester registration login. https://projects.ecoinformatics.org/ecoinfo/issues/6936
Add a policy_id in the smReplicationPolicy table to help preserver the order of the nodes list.
Use the "order by" to preserve the nodes order in the replication policy.
Use the ServiceFailure to replace the InvalidRequest when it is the read-only mode (CN throws the exception).
In the replicate method, the checking of the read-only mode was moved from MNodeService class to the MNResourceHandler class since it is asynchronized.
The systemmetadataChanged method is asynchronized, so we put the read-only checking on the ResourceHandler class.
Add the code to check if the mn is on the read-only mode.
Add the code to check if the metacat is in the read-only mode.
In the clean method, the metacatui build directory will be deleted as well.
Add the code to handle the read-only mode.
Add a junit test.
Add a class to determine if the metacat is in the readonly mode.
Add a new property named application.readOnlyMode.
Add the check that only the administrator can shrink the connection pool.
'Change the verion of the production CN from the v1 to the v2.
Add two new test methods to test systemMetadataPIDExists and systemMetadataSIDExists.
Close the sql statements on the four methods - getGUID, getHeadPID, systemMetadataSIDExist and systemMetadataPIDExist.
Close some prepared sql statement in the summarize method.
include expiration configuration option for NCEAS accounts to prevent errors during account registration. https://projects.ecoinformatics.org/ecoinfo/issues/6917
merge from 2.0 branch: use updated node list information from cn-dev so that test will match current state of env. https://redmine.dataone.org/issues/7534
merge from 2.0 branch: initialize mock cn for test to run successfully.
merge from branch: only check for d1 rightsholder when checking permissions in original metacat code base, otherwise legacy access control tests in metcat begin to fail. https://redmine.dataone.org/issues/7560
include check for d1 rightsholder when checking permissions in original metacat code base. https://redmine.dataone.org/issues/7560
Change the version to 2.6.0
Set the metacat to 2.6.0 and add the db upgrade scripts.
Add the sql file for the upgrading.
merge jing's commit from the 2.5 branch to include the 2.5.1 upgrade utility in properties file.
Removed the jar file since it is replaced by the jar file from the maven.
merge from 2.5.x branch: neglected to replace solr schema during 2.5.0 upgrade - this will do it for 2.5.1.
Escape the user names, group name and other information in the xml format.
Change the metacatui to 1.8.1
Add the keyword "select" into the list.
Reset the xml_catalog_id sequence value to the max value of the table.
merge from branch: use hash for latest solr schema
add checks on archived flag to avoid NPE.
only consult fields to merge if there was an existing referenced doc
remove "al" prefix from subquery since we are only querying one table and do not need to use a prefix.
added 4 new schema fields so need to account for them in the test case.
subclass AnnotatorSubprocessor for use in metacat-index (uses embedded solr server and solrj for retrieving/merging existing documents).
bump trunk to 2.6.0-SNAPSHOT and pull in d1 dependencies at 2.1.0-SNAPSHOT to continue trunk development.
merge from 2.5 branch
add fileName, mediaType and mediaTypeProperties to solr schema and v2 system metadata processor
merge from 2.5 branch: use subquery to do paging before joining to identifier table. https://redmine.dataone.org/issues/7491
Add more statement to debug the query performance.
refactor v2 context bean to use the v1 pattern used in metacat
include seriesId in solr schema and context file (v2 system metadata)
rollback to use entity/attribute id for the tab-pane (so it will work) and include new div id for the annotatable attribute section.
restructure attribute and party sections so that the annotatable div does not have DOM children.
Mrge from 2.5 branch: Clean up the admin and doc page styles, update all the screenshot images, and include a link to the MetacatUI Github
Use conditional method for retrieving server URL (http vs https). When metacat is configured to force SSL communication we get the https url, otherwise we get http. this allows us to use the DBTransform on localhosts that are not using SSL.
add section for CN vs MN endpoints for MetacatUI. https://projects.ecoinformatics.org/ecoinfo/issues/6532
Fixed a bug that the publish method should throw an io exception.
use stable EZID 1.0.1 release tag for dependency. https://projects.ecoinformatics.org/ecoinfo/issues/6440
Move the editScienceMetadata method to the MNodeService class - only update packageId in EML on publish()
update documentation to reference Tomcat 7, Java 7 and newer apache config file name conventions. https://projects.ecoinformatics.org/ecoinfo/issues/6855
Fixed a bug in the condition check for the archive field in the updateSystemMetadata method.
The archived field can't be reset to false if it is true in the systemMetadataChanged method.
Doesn't allow to reset the archived field to be false if the field is true in the updateSystemMetadata method.
In the systemMetadataChanged method, we will update system metadata when the local serial version is less than or equals the comming one.
In order to make jenkins work, switch back to maven.
refs #7453: modified the metacatLog message from mn.synchronizationFailed to include the syncFailed.message field. Also increased the log level to WARN.
Change the maven home to maven2 which is more popular.
Rearrange some test cases.
Add a new test to test the checksum matching for mn.update.
Remove the method editScienceMetadata from the update method. This method will add a packageId attribute into the eml document. Lauren will add the method to the publish method.
In the systemMetadataChanged method, the object will be archived if the new archive value is true and old value is false.The log event is recorded in the systemMetadataChanged method as well.
Make the isAuthoritativeNode throw exception if some value is null.
In the updateSystemMetadata method, we avoid to log the event twice for archive=true.
In the hasReservation method, it doesn't throw the IdentifierNotUnqiue exception.
In the setReplicationStatus method, it only notified the replicas when the status is completed. Now we added the status - failed and invalid.