Activity
From 02/10/2016 to 03/10/2016
03/10/2016
- 03:54 PM Revision 9554 (metacat): Fix a bug in testing the validity of the CGI Session. It can't be empty or expired.
- refs https://github.nceas.ucsb.edu/KNB/arctic-data/issues/42
03/09/2016
- 05:41 PM Revision 9553 (metacat): Change the version to 2.6.0
- 05:39 PM Revision 9552 (metacat): Change the version to 2.6.0
- 12:10 PM Revision 9551 (metacat): 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 <metadataProvide...
03/08/2016
- 04:30 PM Revision 9550 (metacat): Change the version of d1_common_java to 2.2.
- 04:29 PM Revision 9549 (metacat): Change the version of d1_cn_index_processor to 2.2
- 04:29 PM Revision 9548 (metacat): Change the version of d1_portal to 2.2
- 02:35 PM Revision 9547 (metacat): Changed the d1_libclient_java from 2.1 to 2.2
03/07/2016
- 04:29 PM Revision 9546 (metacat): Change the number of fields in the test
- 04:15 PM Revision 9545 (metacat): Modify getCredentials() to support token-based credentials.
- refs https://github.nceas.ucsb.edu/KNB/arctic-data/issues/42
- 01:32 PM Revision 9544 (metacat): Close the input stream object on the MN.replicate method.
03/04/2016
- 11:06 AM Revision 9542 (metacat): use SM.fileName if we have it. https://projects.ecoinformatics.org/ecoinfo/issues/6970
- 10:31 AM Revision 9541 (metacat): ensure there is a file extension included for the data files in a package download. https://projects.ecoinformatics.org/ecoinfo/issues/6970
03/02/2016
- 10:04 AM Revision 9540 (metacat): And don't forget the alternate Redhat instructions.
- refs https://github.nceas.ucsb.edu/KNB/arctic-data/issues/42
- 09:58 AM Revision 9539 (metacat): 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.
- refs https://github.nceas.ucsb.edu/KNB/arctic-data/issues/42
02/29/2016
02/26/2016
- 03:47 PM Revision 9537 (metacat): 1. Set knb to version 2.
- 2. Centralize the lter tests into one class.
- 08:42 AM Revision 9536 (metacat): 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.
refs https://github.nceas.ucsb.edu/K... - 08:34 AM Revision 9535 (metacat): 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.
02/25/2016
- 04:29 PM Revision 9534 (metacat): 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
- 08:33 AM Revision 9533 (metacat): 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.
- refs https://github.nceas.ucsb.edu/KNB/arctic-data/issues/42
02/23/2016
- 11:39 AM Revision 9532 (metacat): Fix a couple of syntax issues.
- refs https://github.nceas.ucsb.edu/KNB/arctic-data/issues/42
- 11:13 AM Revision 9531 (metacat): Don't forget to set the token variable from the HTTP_AUTHORIZATION environment variable.
- refs https://github.nceas.ucsb.edu/KNB/arctic-data/issues/42
- 10:19 AM Revision 9530 (metacat): 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.
- Also, add two methods that will be used for parsing the JWT authentication token: getSigningCertificate() and getToke...
- 10:07 AM Revision 9529 (metacat): 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
02/19/2016
- 05:25 PM Revision 9528 (metacat): Add a new chechsum for the new solr schema.
- 03:41 PM Revision 9527 (metacat): Add beans for the iso index.
- 03:40 PM Revision 9526 (metacat): Add a bean file for the iso index.
- 03:39 PM Revision 9525 (metacat): Add a bean file for the iso index.
- 03:34 PM Revision 9524 (metacat): Add more fields for the iso index.
- 12:32 PM Revision 9523 (metacat): In the isScienceMetacata method, the ServiceFailure exception shouldn't be caught anymore, since the code doesn't throw it.
- 12:04 PM Revision 9522 (metacat): Change its mime type from binary to text.
02/16/2016
- 08:41 AM Revision 9521 (metacat): 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.
- refs https://github.nceas.ucsb.edu/KNB/arctic-data/issues/42
Also available in: Atom