merge from 2.6 branch: use group subject (not name) when translating Session.subjectInfo into group list for Metacat's DocumentImpl. https://github.nceas.ucsb.edu/KNB/arctic-data/issues/163
Add more information on the error message if the client's certificate is not trusted.
Change the tomcat.build.dir to /usr/share/tomcat7 in order to fix the compilation issue on Jenkins.
Merge the changes from the 2.6 branch into the trunk, fixing filename construction.
refs https://github.nceas.ucsb.edu/KNB/arctic-data/issues/151
merge from 2.6 branch: add support for EML 2.1.1 in OAI-PMH provider. https://projects.ecoinformatics.org/ecoinfo/issues/7009
merge from 2.6 branch: add method for retrieving access control block from metacat api
Remove the servlet part from knb metacat url on the morpho screen.
Add a test case on the getHeadPID method to test the messing time stamps.
Fixed a bug to use an identifier object to get a value in a vector.
Check the chain end if obsoleted by another object.See ticket https://redmine.dataone.org/issues/7624
Use sql command to get some information rather than hazelcast.
merge changes to accommodate multiple alternative identifiers into trunk from 2.6 branch.
Use a hashmap to replace a sql query to improve performance in the getHeadPID method.
In the getHeadPID method, we got the field obsoletedBy from the systemmetadata table rather than the hazelcast service.
Reformat the create and update method.
Close the input stream on the create/update method when the code aborts.
Close the the input stream from the method parameter in the create method.
Merge registry changes into the trunk.
Made the ssl http client not moinitor the stale connections.
Add two properteis which d1_libclient_java will use them for http client.
Use the new AutoCloseInputStream wrapper for replication. It will close but http client and input stream when the inputStream.close method is called.
Add a junit test to test using the noaa format id to validate a xml object.
Add a noaa metadata object.
Add a noaa system metadata test document.
Merge minor registry changes from the 2.6 branch back to the trunk.
refs https://github.nceas.ucsb.edu/KNB/arctic-data/issues/107
If a format id in the system metadata is registered in the xml_catalog table, we will use the schema location for the format id to validate the xml instance;otherwise, we will use our previous way.
Add a statement to help diagnose issues.
use the noaa version.
Add noaa schema items on the xml_catalog table and set the version to 2.7.0
Add the format_id column on the xml_catalog table.
Add the upgrade script which add a new column format_id on the xml_catalog table.It also adds the items for the noaa schema on the xml_catalog table.
Remove the directory which doesn't exit on noaa.
Remove the directory which is not in the noaa.
Change the version to 2.7.0 and add a upgrade sql script.
Change it to 2.7 version
Change it to 2.7.0 snapshot.
Change it to 2.7.0-snapshot
Layout the study area descriptors a bit better in a table as opposed to a div. This also accommodates the name_or_id attribute (as the Code column), whereas the div didn't handle it. Needs som work on the citation column.
refs https://github.nceas.ucsb.edu/KNB/arctic-data/issues/42
Add project-level rendering into the eml-dataset XSLT. Convert the older table-based layout to use the Bootstrap 2.x classes for labels and divs.
Added a version of noaa to svn.Note: 1. gml311 and gml211 is from the standard version.2. the xlinks.xsd is base on the version of skye's. I added the simpleLink, extenededLink and et al.
Add a funding input textbox into the entry form (not hidden per Matt), and add the hidden inputs into the confirmData and genericResponse templates for maintaining state across stages.
Add a fundingElement() method to insert the funding element into the generted EML. Ensure it is added to the template variables hash for maintaining state across stages.
Fixed an issue the maven home was messed up.
update documentation to use 2.6.0 release number.
Fix a bug in testing the validity of the CGI Session. It can't be empty or expired.
Change the version to 2.6.0
Validate the session during the modification stage, rather than just assuming a CGI session (support tokens too).
Also, fix the XML document validation issue where an <additionalParty> element is added prior to the <metadataProvider> element. This seems to be an intermittent issue, and may be due to more recent versions of perl returning hash contents more randomly than previous versions. The %orig hash passed in to personnelList() is assumed to be random now, and I just ensured the metadataProvider is first in the produced string....
Change the version of d1_common_java to 2.2.
Change the version of d1_cn_index_processor to 2.2
Change the version of d1_portal to 2.2
Changed the d1_libclient_java from 2.1 to 2.2
Change the number of fields in the test
Modify getCredentials() to support token-based credentials.
Close the input stream object on the MN.replicate method.
use SM.fileName if we have it. https://projects.ecoinformatics.org/ecoinfo/issues/6970
ensure there is a file extension included for the data files in a package download. https://projects.ecoinformatics.org/ecoinfo/issues/6970
And don't forget the alternate Redhat instructions.
We ended up not being able to use IO::Socket::SSL, so I removed the import statement. Also, add the new Perl module dependencies to the installation documentation.
Add code to print the the stack trace on the getPackage method in order to help us to identity some tmp file issues.
1. Set knb to version 2.2. Centralize the lter tests into one class.
Change getUsername() to also support adding usernames into an EML access element from the authentication token's 'sub' claim.Also, add a bit of debugging output for tracing the flow of the XML generation.
Modify the Metacat.pm upload() method to use the correct Content-Type for the form. RFC 2388 specifies that the Content-Type should be "multipart/form-data", and that the Content-Disposition should be "form-data", along with the "name" parameter.
Also handle authentication tokens when uploading data (action=upload) by using Ben's RequestUtil.getSessionData() changes.
refs https://github.nceas.ucsb.edu/KNB/arctic-data/issues/43
dd the hasValidAuthToken() method to determine if the current token (if any) is valid. Use this and validateSession() within the script to determine if we need to call Metacat->login() or not. Add some minor debugging to work through the code stages using auth tokens....
Fix a couple of syntax issues.
Don't forget to set the token variable from the HTTP_AUTHORIZATION environment variable.
Add a setAuthToken() method. when the HTTP_AUTHORIZATION environment variable is set, set the value as the `auth_token_header` instance variable in the Metacat instance passed in. This requires that the Apache installation includes an HTTP rewrite rule to pass the header on to an CGI processing the request. Call this method whenever we instantiate a Metacat object....
Modify the Metacat.pm sendData() method to include the Authorization HTTP header when it's available as an instance variable.
refs https://github.nceas.ucsb.edu/KNB/arctic-data/issues/41
Add a new chechsum for the new solr schema.
Add beans for the iso index.
Add a bean file for the iso index.
Add more fields for the iso index.
In the isScienceMetacata method, the ServiceFailure exception shouldn't be caught anymore, since the code doesn't throw it.
Change its mime type from binary to text.
In order to access the JWT authentication token, we need to configure the Apache installation to pass the Authorization header on to CGI scripts. Do this with mod_rewrite.
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.