Project

General

Profile

Statistics
| Revision:

# Date Author Comment
8952 11/03/2014 04:15 PM Jing Tao

Add junit test method for saving a metadata document with unmatched xml encoding declaration.

8951 11/03/2014 04:14 PM Jing Tao

Add a test file for unmatched xml encoding declaration.

8946 10/31/2014 05:09 PM ben leinfelder

look up annotations when reindexing a given pid. still very much a prototype in that we are looking up annotations from an external annotator-store. TODO: add pid filtering to query when annotateit.org supports it (pending upgrade on their site).

8908 10/15/2014 04:56 PM Jing Tao

Remove an import.

8907 10/15/2014 04:56 PM Jing Tao

Removed an import.

8906 10/15/2014 04:49 PM Jing Tao

Added the junit tests to test the NotFoundException having the deleted information.

8905 10/15/2014 04:49 PM Jing Tao

Added the junit tests to test the NotFoundException having the deleted information.

8897 10/14/2014 01:45 PM Jing Tao

Add a test method to test the method determining if there is a delete event for the given id.

8848 09/11/2014 09:26 AM Lauren Walker

In InsertORETest: Set the format ID of the metadata object to an EML formatId so that it gets indexed correctly.

8835 08/15/2014 01:25 PM Lauren Walker

Add a test class that inserts an ORE with PROV relationships

8834 08/07/2014 02:28 PM ben leinfelder

use mock CN for testing metacat implementations

8833 08/07/2014 02:12 PM ben leinfelder

remove unused tests

8817 07/30/2014 11:24 AM Lauren Walker

Fix XML validation errors in the metacatui confirmData template for the registry. Add a test script that submits multiple datasets to the registry.

8810 07/23/2014 04:19 PM ben leinfelder

add support for v2 DataONE API.

8806 06/01/2014 08:48 AM ben leinfelder

handle login/logout when testing using metacat client (recent refactoring to use more standard http client code)

8802 05/29/2014 02:53 PM ben leinfelder

remove dependency on HttpMessage that was in the utilities project but is now removed in favor of newer (standard) http client library code.

8795 05/22/2014 01:59 PM ben leinfelder

take advantage of the ezidclient for multi-threaded/asynchronous DOI registration. This will be most useful for doing large batch updates and not so much for the one-at-a-time publish actions but works in either context. https://projects.ecoinformatics.org/ecoinfo/issues/6440

8788 05/19/2014 02:21 PM ben leinfelder

use separate surName and givenNames to lookup ORCIDs.

8785 05/16/2014 10:03 AM Lauren Walker

Create a derived data and metadata in the OrePackageTest

8784 05/15/2014 03:17 PM ben leinfelder

all full-text queries for ORCID, but it isn't that great because we might have a"PISCO" creator that shows us in may different orcid profiles...false matches.

8783 05/15/2014 11:55 AM ben leinfelder

correct glaring erros -- still needs to be honed, but at least it runs without NPE and Jena/foresite errors

8782 05/15/2014 11:29 AM ben leinfelder

stub for testing ORE augmentation - this generates an ORE, adds a "wasDerivedFrom" triple and saves to Metacat MN for indexing. https://projects.ecoinformatics.org/ecoinfo/issues/6548

8776 05/14/2014 11:43 AM ben leinfelder

adjust tests for production service -- more "real" information shows additional return values from the query.

8775 05/14/2014 09:18 AM ben leinfelder

switch to the production ORCID server for looking up orcid matches for our creators.
add test to summarize how many creator matches we can actually find. https://projects.ecoinformatics.org/ecoinfo/issues/6423

8763 05/02/2014 04:39 PM ben leinfelder

simplify lookup for classes and orcid. remove the "random" annotation code branches -- just too confusing to look at those bogus classes especially now that we have "real" generated annotations.

8762 04/30/2014 03:47 PM ben leinfelder

add 'test' for indexing annotations without actually storing the RDF of the generated annotation.

8757 04/29/2014 04:54 PM ben leinfelder

first pass at direct EML->semantic index method. Still produces an RDF model, but does not persist it in Metacat, only in the triplestore. Allows us to re-run without adding stale RDF to the MN store.

8748 04/24/2014 01:28 PM ben leinfelder

switch to use FIleUpload instead of O'Reilly COS library for handling chunked file uploads. https://projects.ecoinformatics.org/ecoinfo/issues/6517

8745 04/23/2014 10:19 AM ben leinfelder

correct the ORE lookup query syntax and add junit assertion to check that it continues to function as expected. https://projects.ecoinformatics.org/ecoinfo/issues/6529

8743 04/22/2014 11:43 AM ben leinfelder

include BioPortal lookup for Entity matches using the data table description. TODO: only associate measurements to the entity observation if they apply.

8725 04/02/2014 03:40 PM ben leinfelder

add "test" for generating annotations based on the entity/attribute details of a datapackage. This iterates through all current EML revisions and either updates or creates annotations based on what it finds. It does add content to your metacat deployment (RDF files) but it can be safely re-run when each time we change our annotation algorithm.

8721 03/31/2014 04:04 PM ben leinfelder

include sample data package for generating annotations. This is the classic Datos Meteorologicos set, but with Matthew Jones as the creator so that we can look up his ORCID in their sandbox environment. https://projects.ecoinformatics.org/ecoinfo/issues/6267

8717 03/31/2014 10:31 AM ben leinfelder

add test for BioPortal annotator service.

8716 03/28/2014 03:51 PM ben leinfelder

refactor web service calls to bioportal and orcid outside of the annotator class. test with orcid sandbox server. include orcid uri for the annotations being generated (we can index these and drive our searches on these values down the road). related to this: https://projects.ecoinformatics.org/ecoinfo/issues/6423 and also some semtools tasks.

8709 03/23/2014 12:11 AM ben leinfelder

include code to generate random annotations for UI testing. Effective, but can be confusing to see so many unrelated concepts on duplicate EML packages.

8702 03/14/2014 10:59 AM ben leinfelder

first pass at generating annotations from EML attribute information. uses the OpenAnnotation model that the metacat-index tests assume which allows us to populate dynamic index fields for the annotation class[es]. There is still much to be done with finding appropriate concepts for each attribute. https://projects.ecoinformatics.org/ecoinfo/issues/6256

8697 03/04/2014 10:23 AM Jing Tao

Add the test class for the pisco account.

8696 03/04/2014 10:22 AM Jing Tao

Remove the test method for the pisco account since it maybe fails because of the fire wall issue.

8695 03/04/2014 09:48 AM Jing Tao

Add the login test of the pisco account.

8694 03/04/2014 09:47 AM Jing Tao

Add the pisco account.

8677 02/28/2014 01:53 PM Jing Tao

Add a comment to warn the users not to change the password file path to a production one since it will be deleted.

8675 02/28/2014 01:11 PM ben leinfelder

clear test password file so subsequent runs will not fail -- tests assume blank file to begin with.

8649 02/25/2014 05:44 PM Jing Tao

Change the password.

8635 02/21/2014 11:35 AM ben leinfelder

uncomment other tests in suite.

8632 02/21/2014 10:35 AM ben leinfelder

add a few more checks while debugging test

8631 02/21/2014 10:04 AM Peter Slaughter

Use D1client for communication with CN (for integration test)

8625 02/20/2014 01:37 PM ben leinfelder

add test for invalid dryad content -- should be rejected because it is not schema valid.

8624 02/20/2014 12:42 PM ben leinfelder

clean up dryad test doc - only use D1 api. https://projects.ecoinformatics.org/ecoinfo/issues/6419

8622 02/20/2014 10:35 AM ben leinfelder

test for inserting dryad instance doc. https://projects.ecoinformatics.org/ecoinfo/issues/6419

8621 02/19/2014 05:04 PM Peter Slaughter

add test to check sync of access policies of data object referenced in EML 2.0.1 docs

8620 02/19/2014 04:43 PM ben leinfelder

initial basic test of inserting dryad metadata. NOTE: uses metacat api, not dataone api. https://projects.ecoinformatics.org/ecoinfo/issues/6419

8618 02/19/2014 02:52 PM Chris Jones

Add an example Dryad Metadata Profile instance document to test inserts of this schema type.

8614 02/19/2014 12:54 PM ben leinfelder

include a few tests for isEqual method. https://projects.ecoinformatics.org/ecoinfo/issues/6407

8612 02/18/2014 04:50 PM Peter Slaughter

Use client.MetacatClient instance for all metacat api calls

8611 02/18/2014 02:49 PM Peter Slaughter

Test syncing of access policies when updated with legacy metacat api

8559 02/03/2014 04:35 PM Jing Tao

Add a method to test an alias account in the ldap server.

8507 01/17/2014 11:58 AM Jing Tao

Add a group for the testing.

8506 01/16/2014 05:00 PM Jing Tao

Add users which are needed in the junit tests when the metacat is file-based authentication.
If users have been added, it just print out the exception.

8494 01/13/2014 01:42 PM Jing Tao

Change the test file according to the change on the constructor.

8479 01/09/2014 09:16 AM Jing Tao

Made changes according the changes in the AuthFile class.

8477 01/08/2014 05:18 PM Jing Tao

Add the test method for the getUserInfo method.

8472 01/08/2014 03:08 PM Jing Tao

Modified the junit test file according to the change in the class.

8466 01/07/2014 05:04 PM Jing Tao

Change the test file according to the change made in the class.

8435 12/12/2013 04:44 PM Jing Tao

Change the addGroup method since the API was changed.

8432 12/11/2013 04:35 PM Jing Tao

Add the test method for the getPrincipals.

8430 12/11/2013 11:45 AM Jing Tao

Add test methods for changing passwords.

8428 12/10/2013 04:12 PM Jing Tao

Add method to test the getusers method.

8423 12/10/2013 09:39 AM Jing Tao

Add a test method to test authentication.

8422 12/09/2013 10:40 AM Jing Tao

Add an test method for adding a user.

8420 12/06/2013 05:57 PM Jing Tao

Add a junit test for the AuthFile

8311 10/11/2013 02:42 PM Jing Tao

Fixed compile error that an ioexception should be caught.

8304 10/09/2013 11:52 PM Matt Jones

Reviewed code for all uses of FileInputStream, checking to see if the method should be closing the stream, and if so, closing it in the method as well as in the finally clause to ensure we don't leak file descriptors.

8265 09/23/2013 03:54 PM ben leinfelder

Refer to metacat.war deployments since those are now the default. https://projects.ecoinformatics.org/ecoinfo/issues/6082

8209 09/16/2013 04:19 PM ben leinfelder

test that d1 node admin is allowed all permissions. https://projects.ecoinformatics.org/ecoinfo/issues/6086

8204 09/16/2013 02:22 PM ben leinfelder

test for configured target url template on metadata using the default #view url. https://projects.ecoinformatics.org/ecoinfo/issues/6092

8189 09/12/2013 01:45 PM ben leinfelder

implement ORE check method to actually query the MN for OREs that reference the given pid.
https://projects.ecoinformatics.org/ecoinfo/issues/6061

8178 09/10/2013 03:17 PM ben leinfelder

check both previous and current data revisions when updating packages. https://projects.ecoinformatics.org/ecoinfo/issues/5647

8103 08/01/2013 01:27 PM ben leinfelder

default to non-https when testing localhost. If the developer has a hostname configured with https, it will correctly use this configured baseUrl, otherwise it will just use http://localhost.

8102 08/01/2013 12:12 PM ben leinfelder

do not use a URL that could resolve when testing the Metacat inaccessible exception.

8099 07/31/2013 11:34 PM ben leinfelder

use shared metacatContextDir variable for calls to Harvester.loadProperties(metacatContextDir);

7853 07/05/2013 06:33 PM ben leinfelder

MN.getPackage() - test with ORE that includes 2 data files and a "metadata" file (still should be using EML for that test). https://projects.ecoinformatics.org/ecoinfo/issues/6026

7850 07/04/2013 12:33 PM ben leinfelder

First pass at MN.getPackage() implementation using Bagit library from LOC. https://projects.ecoinformatics.org/ecoinfo/issues/6026

7849 07/03/2013 09:58 PM ben leinfelder

add method for publishing existing object (usually assumed to be scimeta) with a DOI. https://projects.ecoinformatics.org/ecoinfo/issues/6014

7843 07/03/2013 10:13 AM ben leinfelder

add Metacat servlet action to force the reindexing of one or more or all pids in the system. https://projects.ecoinformatics.org/ecoinfo/issues/5945

7839 07/02/2013 04:41 PM ben leinfelder

add simple test for the IndexEventDAO class -- adding, removing, listing events in the DB table. https://projects.ecoinformatics.org/ecoinfo/issues/5944

7816 06/21/2013 11:11 AM ben leinfelder

correct regex for whitespace in D1 identifier.

7693 05/14/2013 06:10 PM Jing Tao

Add code to test title for the query result.

7692 05/14/2013 05:51 PM Jing Tao

Rewrite some methods, so the query result can be processed many times.

7686 05/10/2013 03:02 PM Jing Tao

Removed the commented out text cases and add a test for archvied document.

7679 05/09/2013 12:19 AM Jing Tao

Call setting certificate location to be the test one after getting the MN baseurl.
The method to getting MN baseurl somehow calls CN and it set the certificate location to be /var/metacat/certs/METACAT1.pem.

7676 05/08/2013 04:53 PM Jing Tao

Add a distrusted certificate for the testing.

7675 05/08/2013 04:53 PM Jing Tao

Use the MNode to query the server when we use certificates to set up the session.

7674 05/08/2013 03:34 PM Jing Tao

Add the code to test the user with a distrusted certificate.

7670 05/08/2013 10:42 AM Jing Tao

Add tests to test group and rightsholder.

7668 05/07/2013 08:34 PM Jing Tao

Change the delete to archive.

7667 05/07/2013 06:52 PM Jing Tao

Add a test for testing access control for the solr query.

7622 04/24/2013 07:34 PM ben leinfelder

use maven to manage most jar dependencies in Metacat.
Exceptions include: LSID, Datamamager (EML),

7516 03/13/2013 05:11 PM ben leinfelder

lookup the title for EML files when registering DOIs.
lookup the creator from DataONE CN (if available).
add EML-based test. http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5513

7513 03/12/2013 04:45 PM ben leinfelder

include the create test in the suite

7510 03/12/2013 03:20 PM ben leinfelder

Correctly mint and register DOIs in teh MN API implementation. Add tests to exercise minting and creating. http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5513