Add a junit test to test the querySystemMetadata method.
Use MetacatUI 1.7.1 tag in Metacat build
Use the NodeReference object to replace the replicaStatus to restrict the listObjects method.
[re]register DOI when system metadata is updated (typically access policy). https://projects.ecoinformatics.org/ecoinfo/issues/6796
Change the signature of listObject method - remove replicaStatus and add nodeId.
Add the code to call cn.synchroinize at the method of updateSystemMetadata.
Throw an exception if the request doesn't specify the name of the theme in the view method.
use objectFormat.extension in cases where we need to construct a filename for download. https://redmine.dataone.org/issues/3312
Add the code to insert entries in xml_catalog for the iso119139 objects.
Add a junit test class to test the insert of iso119139 object.
Add the sql command to insert schemas for iso119139.
Add the schemas for ISO-119139/isotc211.object.
use v1 and v2 xsl as appropriate for rendering d1 types (object format list, mostly)
Add an iso text file.
use MediaType from v2.SystemMetadata and v2.ObjectFormat to better determine mime-type, charset and filename for the get() method. https://redmine.dataone.org/issues/3309
correct logout method (old change still in workspace)
Add a junit test case to test the write/read of new fields in the system metadata.
Add the test suite.
Fixed a bug that two columns were missing in the sql command.
Add the code to read/write the new system metadata fields - file name, media type and media type properties into the db tables.
Add code to update smmediatypeproperties table.
add logout implementation - calls server and clears cookie jar.
Add the code to create smMediaTypeProperties table.
Add the code to create a new table smMediaTypeProperties.
Change the name of the foreign key on the smMediaTypeProperties.
Add a new table smMediaTypeProperties to store the properties associated with a media type.
Add a new version of the schema.
Throw an exception if the saving system metadata fails.
Add the code to roll back the saved system metadata if the object can't be saved.
Add the media_type and file_name columns.
Add two columns media_type and file_name.
Index science metadata fields for the Dublin Core Extended metadata format. - Use d1_cn_index_processor 1.4.5 in metacat-index and update beans with new dcx subprocessor and xsi namespace
Add the code to add dataone schema v2 in the xml_catalog table.
Add the code to add dataone schema v2 in the xml_catalog table.Fixed the bug the new column should be series_id rather than guid.
Add the data schema from dataone svn trunk. It maybe needs to be updated in future.
Add a hash of a new index schema.
Don't use ssClient as a class field. Now it is a local variable. This fixed an issue that two statements using the client caused the exception - java.net.SocketTimeoutException: Read timed out.
Uncomment the code to copy the log4j.properties file to web-inf.
refs: #7092. found another unclosed inputStream, this time in ReplicationService.handleForceReplicationDataFileRequest(...).
fixes #7092: added finally clause to ReplicationHandler.update method to unconditionally close the inputStreams it keeps in a Vector. Needs testing.
Use the wild card in the class path. So it will not be pain if the jar files were changed.
Add the code to test scenario that a user tries to update an archived object.
Add the code to check if the client is trying to update an archived object. If it is, reject it.
Move the dataset metadata label for metacatui EML
Mark the entity metadata sections in metacatui EML transformations
Use the ecogrid 1.2.3 tag to replace the branch.
Fixed an null pointer issue in this class.
Changed the FGDC MetacatUI theme translation so that it displays nicely in MetacatUI and works correctly
comment the statement related to the removed file lib/oa4mp_client.xml.
Add a new method -updateSystemMetadata. It only can be called by CNs.
Add more scenario for check isAuthorized.
Refactory the authorize methods on D1NodeService.Add the check for whom can call mn.updatesystemMetadata.
Committed the change which Andreit did. 1. Add the code for synchronize(not implemented)2. Add the code for addForm.
Make target and source code to be compatiable to java 1.7 rather than 1.6.
Get the node id from the metacat.properties instead of the hard coded one.
Modified the dataone.nodeid from blank to urn:node:METACAT_TEST. Now the mn.updateSystemMetadata only allows be called on the authoritative node of a pid. In order to make junit test work, we need to have a value there.
Remove the obsoleted test class.
Removed the obsoleted test class.
remove portal servlet and configuration - no need for this if we are supporting auth tokens from authentication service.
defer to D1 PortalCertificateManager to pull authentication credentials from the request before defering to old Metacat cookie session
Now for the untrusted certificate, the client throws an exception rather than returning null.
Add a initial test.
Add a test in it. Otherwise it failed and said there is not tests found.
Add the code to check the authorization of the client which is reindexing a pid.
Created the updateSystemMetadata method.
Add the code to check if the current node is the authoritative node for the the given pid.
Add the check of permission to update the system metadata.
include 2.4.3 release notes from branch
add whoami endpoint to make debugging authn/authz easier as we use additional mechanisms for proving identity.
include 2.4.3 upgrade scripts in the trunk (merged from branch)
Change the test case base on the change on checking sid of the create method.
Remove the code to check sid on create and registerSystemMetadata.
remove d1_annotator servlet from web xml - not used anymore
Fixed a bug that put the detail code in a wrong position.
Add the junit test for testing the updateSystemMetadata method.
Add the code to check if a user tries to modify an immutable field on system metadata.
If an Event object is null in the v1 log entry, we won't add it to the log.
use singleton for getting JWT token - refactor in d1_portal project
Remove the "#none" href attribute from links in the MetacatUI metadata entry form.
add notes about when metacat-index.war and metacatui.war files should be deployed.
use secure context url for loading XSLTs in db transform
remove d1_annotator and tests from project -- should be used elsewhere.
include d1_annotator dependency
Add a code to test the getLogRecord method handling SID.
Change the schema test according the change on the schema itself.
ReplicationServices.getUrlStream(url) callers were not closing the inputstream properly, as was revealed when switching to libclient v2 (a pooling connection manager in HttpClient) and encountering reasource leaks.
merge CN annotation context files to metacat (MN) to support semantic index fields.
merge CN solr schema to metacat (MN) to support prov and semantic index fields.
remove classes annotator classes that have moved to a different project under dataone's github.
bullet-proofed exception handling in ReplicationService.getURLStream, to make sure client communication exceptions are handled and logged.
fixed getSSLClient method.
fixed class name typo.
fixed private getSSLClient method for HttpClient v4.3 compatibility. Now also caching the RestClient for reuse to save overhead.
Make the REST api work for views.