Loading Records Through the Registry’s REST Interface

Slides:



Advertisements
Similar presentations
Materials Data Curation System
Advertisements

Resource Discovery Module DigiTool Version 3.0. Resource Discovery 2 Deposit Approval Search & Index Dispatcher & Viewers Single & Bulk Web Services DigiTool.
LHCbPR V2 Sasha Mazurov, Amine Ben Hammou, Ben Couturier 5th LHCb Computing Workshop
RSS RSS is a method that uses XML to distribute web content on one web site, to many other web sites. RSS allows fast browsing for news and updates.
Form Builder Iteration 2 User Acceptance Testing (UAT) Denise Warzel Semantic Infrastructure Operations Team Presented to caDSR Curation Team March.
Overview of Mini-Edit and other Tools Access DB Oracle DB You Need to Send Entries From Your Std To the Registry You Need to Get Back Updated Entries From.
© 2012 Boise State University1 WordPress Training February 14, 2013.
RMG Study Group Session I: Git, Sphinx, webRMG Connie Gao 9/20/
A Scalable Application Architecture for composing News Portals on the Internet Serpil TOK, Zeki BAYRAM. Eastern MediterraneanUniversity Famagusta Famagusta.
CaDSR Software Development Update Denise Warzel Semantic Infrastructure Operations Team Presented to caDSR Content team November 2012.
Building service testbeds on FIRE D5.2.5 Virtual Cluster on Federated Cloud Demonstration Kit August 2012 Version 1.0 Copyright © 2012 CESGA. All rights.
Classroom User Training June 29, 2005 Presented by:
Tutorial 10 Adding Spry Elements and Database Functionality Dreamweaver CS3 Tutorial 101.
Metadata Harvesting The Hague, 13 & 14 January 2009 Julie Verleyen Scientific Coordinator, Europeana Office EuropeanaLocal Knowledge Sharing Workshop.
OCLC Online Computer Library Center CONTENTdm ® Digital Collection Management Software Ron Gardner, OCLC Digital Services Consultant ICOLC Meeting April.
® IBM Software Group © 2009 IBM Corporation Rational Publishing Engine RQM Multi Level Report Tutorial David Rennie, IBM Rational Services A/NZ
© 2012 Boise State University1 WordPress Training February 14, 2013.
Astrogrid Resource Registry Querying the Registry 1.Mullard Space Science Laboratory, University College London, Holmbury St. Mary, Dorking, Surrey RH5.
Training Guide for Inzalo SOP Users. This guide has been prepared to demonstrate the use of the Inzalo Intranet based SOP applications. The scope of this.
1 Schema Registries Steven Hughes, Lou Reich, Dan Crichton NASA 21 October 2015.
Submit for Evaluation Step 1: Create a Project – You can create a new project on the Synapse home page once you are logged in to hold your work for the.
T HE I NTERNATIONAL V IRTUAL O BSERVATORY ALLIANCE 28 May 2009 IVOA Interoperability Meeting -- Strasbourg NVO Registry Curation and Validation Tools NVO.
Training Guide for Inzalo SOP Posting. This guide has been prepared to demonstrate the use of the Inzalo Intranet based SOP Posting applications. The.
SOAP-based Web Services Telerik Software Academy Software Quality Assurance.
ICM – API Server & Forms Gary Ratcliffe.
GPO’s Future Digital System (FDsys) November 2, 2006 LS&CM CENDI Presentation.
Web-based Front End for Kraken Jing Ai Jingfei Kong Yinghua Hu.
A Project of the University Libraries Ball State University Libraries A destination for research, learning, and friends.
This material is based upon work supported by the U.S. Department of Energy Office of Science under Cooperative Agreement DE-SC Michigan State.
Storing digital assets on Grid/EGI FedCloud with gLibrary Giuseppe La Rocca, INFN DARIAH ERIC.
Live. learn. work. play Superior Avenue Suite 310 Cleveland Ohio Tel: Fax:
Developing our Metadata: Technical Considerations & Approach Ray Plante NIST 4/14/16 NMI Registry Workshop BIPM, Paris 1 …don’t worry ;-) or How we concentrate.
Validation of Metadata XML files SeaDataNet Training, June 2008 Presented by with contributions from Karen Vickers (BODC) Presented by Michèle Fichaut.
Lesson 11: Web Services and API's
Data Visualization with Tableau
Application program interface (API)
NIST Office of Data and Informatics (ODI) of the Material Measurement Laboratory Robert Hanisch, director Ray Plante, interoperability expert ODI has responsibility.
Architecture Review 10/11/2004
Software & Technologies: an overview
Web Programming Language
Integrating ArcSight with Enterprise Ticketing Systems
Integrating ArcSight with Enterprise Ticketing Systems
RDA Europe: Views about PID Systems
Business Directory REST API
Database System Concepts and Architecture
LMEvents SharePoint Portal How-to Guide
StratusLab Tutorial (Bordeaux, France)
Lesson 11: Web Services & API's
Steering Group Member, Link Digital
All about social networking
Software Quality Assurance
Applied Cyber Infrastructure Concepts Fall 2017
Data Type Registries (DTR)
WP3 – SA1 Service activities in support of deployment of IVOA protocols and standards Christophe ARVISET, ESA.
A step-by-step guide to DOI registration
CDISC SHARE API v1.0 CAC Update 22 February 2018
How to upload documents to your blog
Enforcing Interoperability with the Open Archives Initiative Repository Explorer Hussein Suleman, Digital Library Research Laboratory Virginia.
Testing RESTful Web APIs
Tech introduction.
Consult America Technology Consulting Services
Datasets in CRM Site Proposal
JISC Information Environment Service Registry (IESR)
Rational Publishing Engine RQM Multi Level Report Tutorial
Programmatic interaction with the Invenio-based NADRE Repository
Programmatic interaction with the Invenio-based NADRE Repository
Advanced hands-on on programmatic access to an Open Access Repository
Eurostat Unit B3 – IT and standards for data and metadata exchange
SDMX IT Tools SDMX Registry
Presentation transcript:

Loading Records Through the Registry’s REST Interface Ray Plante National Institute of Standards and Technology (NIST) NIST Software Development Team: Mary Brady, Alden Dima, Guillaume Sousa Amaral, Ben Long, Pierre Francois Rigodiat, Xavier Schmitt, Sharief Youssef

Why use the REST Interface? You have more than a few records you would like to publish You have the metadata describing your data assets already stored in a local data management system You wish to programmatically to convert that metadata into the format appropriate for loading into the registry. You want to automatically update or create resource descriptions as you holdings evolve 5 April 2017 RDA Plenary 9 -- Barcelona

Overview of the Process Create a login account with the registry Create a script to format resource metadata into XML using the resource description XML Schema used by the registry Validate that the generated records comply with the schema Upload each record into the registry through its REST interface Use our Python client module Review the records through web browser interface; make any desired changes Publish the results Makes them discoverable to the search interface Records are shared with other registries through the harvesting interface 5 April 2017 RDA Plenary 9 -- Barcelona

Documentation and tools Will post tutorial documentation and pointers to tools to WG RDA web page rd-alliance.org -> Groups -> Working Groups -> Materials Resource Registries https://www.rd-alliance.org/groups/working-group-international-materials-resource-registries.html How-to XML Schema, example records XML validater Python Client (script and library) 5 April 2017 RDA Plenary 9 -- Barcelona

RDA Plenary 9 -- Barcelona XML Schema Schema is available from GitHub github.com/usnistgov/mgi-resmd Master branch = aspirational, standards-oriented, extensible Branch feb2017 contains version currently in use schemas/xml/res-md.xsd Example records: examples/xml XML Validation If you work with XML, you probably already have a tool that validates XML against a schema If not, try Junx github.com/RayPlante/junx – a library of XML utilities that includes a Schema validater Based Java Xerxes validating parser Type: validate –S schemaLocation.txt yourfile.xml schemaLocation.txt gives the location of the res-md.xml on your local disk 5 April 2017 RDA Plenary 9 -- Barcelona

The Registry’s REST Interface See /docs/api 5 April 2017 RDA Plenary 9 -- Barcelona

Using the curate operation Inputs title – a unique name to give to the record schema – internal id for the resource type Available from the /rest/templates/select/all operation For public registry at NIST, we will include these in the documentation Bake the look-up into the Python client content – XML text of the record as a string POST as form-encoded parameters Use username, password authentication curl –F title=myfile –F schema= 58e3b0febd2a3d29d1250123 –F ‘content=<myfile.xml’ \ --user mylogin https://matsci.nist.gov/rest/curate 5 April 2017 RDA Plenary 9 -- Barcelona

RDA Plenary 9 -- Barcelona Using a Python client (Registry is based on the Materials Data Curation System application) Zachary Trautt’s MDCS-api-tools: a general Python client for MDCS Provides a Python library and command line script for more easily working with the REST interface: At GitHub: github.com/MDCS-community/MDCS-api-tools Will be posting a branch for specifically interacting with Registry Don’t need to know IDs or indicate the type of resource registry-api -u mylogin –url https://matsci.nist.gov –curate myfile.xml 5 April 2017 RDA Plenary 9 -- Barcelona

Check results through the browser Browse your unpublished records through the Dashboard 5 April 2017 RDA Plenary 9 -- Barcelona

RDA Plenary 9 -- Barcelona Click “Publish” At the moment, it’s not possible to ”publish” from the REST API 5 April 2017 RDA Plenary 9 -- Barcelona