Project

General

Profile

Statistics
| Revision:
  • svn:ignore: build
  • svn:mergeinfo: /branches/D1_0_6_2_BRANCH:6107-6121 /branches/METACAT_2_6_BRANCH:9560-9586

# Date Author Comment
9601 03/30/2016 09:32 AM Jing Tao

Reformat the create and update method.

9600 03/30/2016 09:19 AM Jing Tao

Close the input stream on the create/update method when the code aborts.

9599 03/29/2016 02:01 PM Jing Tao

Close the the input stream from the method parameter in the create method.

9598 03/29/2016 07:42 AM Chris Jones

Merge registry changes into the trunk.

9596 03/28/2016 04:46 PM Jing Tao

Made the ssl http client not moinitor the stale connections.

9595 03/28/2016 03:12 PM Jing Tao

Add two properteis which d1_libclient_java will use them for http client.

9594 03/28/2016 02:53 PM Jing Tao

Use the new AutoCloseInputStream wrapper for replication. It will close but http client and input stream when the inputStream.close method is called.

9590 03/25/2016 10:44 AM Jing Tao

Add a junit test to test using the noaa format id to validate a xml object.

9589 03/25/2016 10:43 AM Jing Tao

Add a noaa metadata object.

9588 03/25/2016 10:42 AM Jing Tao

Add a noaa system metadata test document.

9587 03/24/2016 04:16 PM Chris Jones

Merge minor registry changes from the 2.6 branch back to the trunk.

refs https://github.nceas.ucsb.edu/KNB/arctic-data/issues/107

9583 03/23/2016 03:57 PM Jing Tao

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.

9582 03/23/2016 03:50 PM Jing Tao

Add a statement to help diagnose issues.

9581 03/23/2016 03:42 PM Jing Tao

use the noaa version.

9577 03/21/2016 02:13 PM Jing Tao

Add noaa schema items on the xml_catalog table and set the version to 2.7.0

9576 03/21/2016 02:12 PM Jing Tao

Add the format_id column on the xml_catalog table.

9575 03/21/2016 02:11 PM Jing Tao

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.

9574 03/21/2016 01:57 PM Jing Tao

Remove the directory which doesn't exit on noaa.

9573 03/21/2016 01:55 PM Jing Tao

Remove the directory which is not in the noaa.

9572 03/21/2016 01:31 PM Jing Tao

Change the version to 2.7.0 and add a upgrade sql script.

9571 03/21/2016 01:23 PM Jing Tao

Change it to 2.7 version

9570 03/21/2016 01:21 PM Jing Tao

Change it to 2.7.0 snapshot.

9569 03/21/2016 01:21 PM Jing Tao

Change it to 2.7.0 snapshot.

9568 03/21/2016 01:20 PM Jing Tao

Change it to 2.7.0-snapshot

9564 03/17/2016 09:34 AM Chris Jones

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

9561 03/16/2016 04:17 PM Chris Jones

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.

refs https://github.nceas.ucsb.edu/KNB/arctic-data/issues/42

9559 03/15/2016 02:18 PM Jing Tao

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.

9558 03/15/2016 08:14 AM Chris Jones

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.

refs https://github.nceas.ucsb.edu/KNB/arctic-data/issues/42

9557 03/15/2016 08:12 AM Chris Jones

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.

refs https://github.nceas.ucsb.edu/KNB/arctic-data/issues/42

9556 03/11/2016 12:23 PM Jing Tao

Fixed an issue the maven home was messed up.

9555 03/11/2016 11:14 AM ben leinfelder

update documentation to use 2.6.0 release number.

9554 03/10/2016 03:54 PM Chris Jones

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

9553 03/09/2016 05:41 PM Jing Tao

Change the version to 2.6.0

9552 03/09/2016 05:39 PM Jing Tao

Change the version to 2.6.0

9551 03/09/2016 12:10 PM Chris Jones

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....

9550 03/08/2016 04:30 PM Jing Tao

Change the version of d1_common_java to 2.2.

9549 03/08/2016 04:29 PM Jing Tao

Change the version of d1_cn_index_processor to 2.2

9548 03/08/2016 04:29 PM Jing Tao

Change the version of d1_portal to 2.2

9547 03/08/2016 02:35 PM Jing Tao

Changed the d1_libclient_java from 2.1 to 2.2

9546 03/07/2016 04:29 PM Jing Tao

Change the number of fields in the test

9545 03/07/2016 04:15 PM Chris Jones

Modify getCredentials() to support token-based credentials.

refs https://github.nceas.ucsb.edu/KNB/arctic-data/issues/42

9544 03/07/2016 01:32 PM Jing Tao

Close the input stream object on the MN.replicate method.

9542 03/04/2016 11:06 AM ben leinfelder

use SM.fileName if we have it. https://projects.ecoinformatics.org/ecoinfo/issues/6970

9541 03/04/2016 10:31 AM ben leinfelder

ensure there is a file extension included for the data files in a package download. https://projects.ecoinformatics.org/ecoinfo/issues/6970

9540 03/02/2016 10:04 AM Chris Jones

And don't forget the alternate Redhat instructions.

refs https://github.nceas.ucsb.edu/KNB/arctic-data/issues/42

9539 03/02/2016 09:58 AM Chris Jones

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

9538 02/29/2016 10:54 AM Jing Tao

Add code to print the the stack trace on the getPackage method in order to help us to identity some tmp file issues.

9537 02/26/2016 03:47 PM Jing Tao

1. Set knb to version 2.
2. Centralize the lter tests into one class.

9536 02/26/2016 08:42 AM Chris Jones

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/KNB/arctic-data/issues/42

9535 02/26/2016 08:34 AM Chris Jones

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.

9534 02/25/2016 04:29 PM Chris Jones

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

9533 02/25/2016 08:33 AM Chris Jones

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....

9532 02/23/2016 11:39 AM Chris Jones

Fix a couple of syntax issues.

refs https://github.nceas.ucsb.edu/KNB/arctic-data/issues/42

9531 02/23/2016 11:13 AM Chris Jones

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

9530 02/23/2016 10:19 AM Chris Jones

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....

9529 02/23/2016 10:07 AM Chris Jones

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

9528 02/19/2016 05:25 PM Jing Tao

Add a new chechsum for the new solr schema.

9527 02/19/2016 03:41 PM Jing Tao

Add beans for the iso index.

9526 02/19/2016 03:40 PM Jing Tao

Add a bean file for the iso index.

9525 02/19/2016 03:39 PM Jing Tao

Add a bean file for the iso index.

9524 02/19/2016 03:34 PM Jing Tao

Add more fields for the iso index.

9523 02/19/2016 12:32 PM Jing Tao

In the isScienceMetacata method, the ServiceFailure exception shouldn't be caught anymore, since the code doesn't throw it.

9522 02/19/2016 12:04 PM Jing Tao

Change its mime type from binary to text.

9521 02/16/2016 08:41 AM Chris Jones

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

9520 02/09/2016 05:14 PM ben leinfelder

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

9518 02/05/2016 11:54 AM ben leinfelder

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

9515 02/03/2016 02:04 PM Jing Tao

Removed the sepcified path for the ldap ca file.

9514 02/03/2016 09:55 AM Jing Tao

If the user doesn's specify the ldap ca file path on the metacat.properties, it will use the default one.

9513 01/28/2016 05:14 PM Jing Tao

Remove the bypass button.

9512 01/28/2016 05:13 PM Jing Tao

Update the ezid configuration screenshot.

9510 01/28/2016 03:39 PM Jing Tao

Add the help icons on the page.

9509 01/28/2016 03:37 PM Jing Tao

Use a new screenshot with the help icon.

9507 01/28/2016 11:38 AM Jing Tao

Fixed a typo.

9506 01/28/2016 11:31 AM Jing Tao

Add the ezid section.

9505 01/28/2016 11:28 AM Jing Tao

Add the section for ezid.

9504 01/27/2016 04:24 PM Jing Tao

Updated the screenshot for the configuration pages.

9503 01/25/2016 03:06 PM Jing Tao

Add the items for the ezid backup.

9502 01/25/2016 03:05 PM Jing Tao

Change the label.

9501 01/22/2016 04:44 PM Jing Tao

fixed a label issue.

9500 01/22/2016 03:46 PM Jing Tao

Add the java code to handle the ezid configuration.

9499 01/22/2016 03:45 PM Jing Tao

Add a new property to show the status of configuration of the ezid service.

9498 01/22/2016 03:44 PM Jing Tao

Add a page for configuring the ezid.

9496 01/21/2016 02:20 PM Jing Tao

remove the password of the doi user.

9495 01/20/2016 11:30 AM Jing Tao

The getPackage method should throw an exception since the id is a data object.

9494 01/20/2016 11:17 AM Jing Tao

Put a detal code on the InvalidRequest exception in the getPackage method.

9493 01/20/2016 09:59 AM Jing Tao

If the pid it is a package id in the getPackage method, the method will throw an InvalidRequest exception.

9492 01/15/2016 05:17 PM Jing Tao

Make sure to close the prepared statement on the final statement.

9491 01/15/2016 11:57 AM Jing Tao

Close the result and connection in the finally clause to make sure they being closed.

9490 01/14/2016 01:28 PM ben leinfelder

add warning when exception encountered loading SM into map.

9489 01/13/2016 01:05 PM Jing Tao

Add the dataone create event mapping to the select clause.

9488 01/12/2016 03:48 PM Jing Tao

map the metacat log event INSERT, upload and UPLOAD to the dataone log event "create"

9487 01/12/2016 02:19 PM ben leinfelder

comment out the party annotation-target - don't think we'll be using this anytime soon (had been for annotating with orcids)

9486 01/12/2016 10:22 AM ben leinfelder

set authoritative MN to origin MN if the client did not set it on mn.create. https://projects.ecoinformatics.org/ecoinfo/issues/6938

9485 01/11/2016 10:07 AM ben leinfelder

remove ant commands in harvester configuration instructions. https://projects.ecoinformatics.org/ecoinfo/issues/6937

9484 01/11/2016 10:03 AM ben leinfelder

include metacat context in the redirect after successful harvester registration login. https://projects.ecoinformatics.org/ecoinfo/issues/6936

9483 01/06/2016 05:32 PM Jing Tao

Add a policy_id in the smReplicationPolicy table to help preserver the order of the nodes list.

9482 01/06/2016 05:28 PM Jing Tao

Use the "order by" to preserve the nodes order in the replication policy.

9481 01/05/2016 02:06 PM Jing Tao

Use the ServiceFailure to replace the InvalidRequest when it is the read-only mode (CN throws the exception).

9480 01/05/2016 09:42 AM Jing Tao

In the replicate method, the checking of the read-only mode was moved from MNodeService class to the MNResourceHandler class since it is asynchronized.

9479 01/04/2016 05:23 PM Jing Tao

The systemmetadataChanged method is asynchronized, so we put the read-only checking on the ResourceHandler class.