Add a test method to test v1.getFormat.
It is tricky to determine if the type works since v2.SystemMetadata extends from v1.SystemMetadata.We have to set true that the return object is v1.SystemMetadata, also set false that the return object is not v2.SystemMetadata.
Add the test code for v1 api.
Completed the 18 test cases.
Add more test cases for the method getHeadVersion.
Add test cases for the method getHeadPID.
Add a test case for testing sid chains.
Add the code to test only 512 characters can be written to db.
Add the code to make sure that the event, ip address, principal and userAgent were recorded.
Handle the IOException which was added to MockCNode constructor.
Change the constructor's signature since the super class - MultipartDCNode was changed.
Add the test case 18. Refer https://redmine.dataone.org/issues/6734.
Add two more test cases. Refer https://redmine.dataone.org/issues/6734.
Used the new concept - end to determine the head object of an SID chain.
Add the case 15 refrence the page https://epad.dataone.org/pad/p/201501-MaintenanceStandup.
Add more test cases from the page https://epad.dataone.org/pad/p/201501-MaintenanceStandup
Added the more test cases to get the head version of a SID. See https://epad.dataone.org/pad/p/201501-MaintenanceStandup
Added a test case and fixed a bug.
Add the code to check a system metadata having the missing obsolescence field rather than to modify system metadata.
Implemented 4 rules to determine the head version of a sid chain.Add the test case 14 for testing.
Add a junit test for the converter.
Add the code to test series id in the archive, delete, isAuthorized and systemMetadataChanged method.
Add the code to test the create and update methods using invalid sid in the system metadata.
Add the code to test getChecksum.
Add the test code for getSystemMetadata(sid) and describe(sid).
Add two updates on the testGetSID method.
Add the code to test getting test series ids.
Change methods'name base on the change on the source code.
Add the code to test the methods of determining if a sid or guid exists.
Add a test method to the method to get head version of a sid.
Change the test method base on the change of throwing a new sql exception on the getLocalId method.
add Annotator Store implementation -- pass through to D1 API for the AnnotatorJS API
remove annotator service test -- this feature has been moved upstream
Overwrite the default node id (which value is metacat) from the metacat.properties. Otherwise, the test will fail.
Add junit test method for saving a metadata document with unmatched xml encoding declaration.
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).
Remove an import.
Removed an import.
Added the junit tests to test the NotFoundException having the deleted information.
Add a test method to test the method determining if there is a delete event for the given id.
In InsertORETest: Set the format ID of the metadata object to an EML formatId so that it gets indexed correctly.
Add a test class that inserts an ORE with PROV relationships
use mock CN for testing metacat implementations
remove unused tests
add support for v2 DataONE API.
handle login/logout when testing using metacat client (recent refactoring to use more standard http client code)
remove dependency on HttpMessage that was in the utilities project but is now removed in favor of newer (standard) http client library code.
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
use separate surName and givenNames to lookup ORCIDs.
Create a derived data and metadata in the OrePackageTest
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.
correct glaring erros -- still needs to be honed, but at least it runs without NPE and Jena/foresite errors
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
adjust tests for production service -- more "real" information shows additional return values from the query.
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
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.
add 'test' for indexing annotations without actually storing the RDF of the generated annotation.
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.
switch to use FIleUpload instead of O'Reilly COS library for handling chunked file uploads. https://projects.ecoinformatics.org/ecoinfo/issues/6517
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
include BioPortal lookup for Entity matches using the data table description. TODO: only associate measurements to the entity observation if they apply.
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.
add test for BioPortal annotator service.
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.
include code to generate random annotations for UI testing. Effective, but can be confusing to see so many unrelated concepts on duplicate EML packages.
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
Add the test class for the pisco account.
Remove the test method for the pisco account since it maybe fails because of the fire wall issue.
Add the login test of the pisco account.
Add the pisco account.
Add a comment to warn the users not to change the password file path to a production one since it will be deleted.
clear test password file so subsequent runs will not fail -- tests assume blank file to begin with.
Change the password.
uncomment other tests in suite.
add a few more checks while debugging test
Use D1client for communication with CN (for integration test)
add test for invalid dryad content -- should be rejected because it is not schema valid.
clean up dryad test doc - only use D1 api. https://projects.ecoinformatics.org/ecoinfo/issues/6419
test for inserting dryad instance doc. https://projects.ecoinformatics.org/ecoinfo/issues/6419
add test to check sync of access policies of data object referenced in EML 2.0.1 docs
initial basic test of inserting dryad metadata. NOTE: uses metacat api, not dataone api. https://projects.ecoinformatics.org/ecoinfo/issues/6419
include a few tests for isEqual method. https://projects.ecoinformatics.org/ecoinfo/issues/6407
Use client.MetacatClient instance for all metacat api calls
Test syncing of access policies when updated with legacy metacat api
Add a method to test an alias account in the ldap server.
Add a group for the testing.
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.
Change the test file according to the change on the constructor.
Made changes according the changes in the AuthFile class.
Add the test method for the getUserInfo method.
Modified the junit test file according to the change in the class.
Change the test file according to the change made in the class.
Change the addGroup method since the API was changed.
Add the test method for the getPrincipals.
Add test methods for changing passwords.
Add method to test the getusers method.
Add a test method to test authentication.
Add an test method for adding a user.