Giter Site home page Giter Site logo

tibhannover / export_ie_from_rosetta Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 5 KB

Export digitally preserved data from Ex Libris Rosetta via SOAP API

License: MIT License

Perl 58.17% Shell 41.83%
rosetta exlibris soap-client code4lib digital-preservation library-automation long-term-preservation

export_ie_from_rosetta's Introduction

Description

Example client implementations for the exportIE() method of the Ex Libris Rosetta SOAP API DataManagerServicesWS which is unfortunately not covered by the official Ex Libris Java SDK.

One client is a bash script using curl. The other is implemented as a perl script. Using SOAP::Lite, obtainable via CPAN or apt install libsoap-lite-perl on debian based linux distros.

Usage

Usage perl script:

perl export_ie_from_rosetta.pl --user_name=<user_name> --institution_code=<institution_code> --pass_word=<pass_word> --proxy_url=<proxy_url> --ie_pid=<ie_pid> --path=<path>

All arguments are named. All arguments are mandatory.

Usage bash script:

bash export_ie_from_rosetta.sh <user_name> <institution_code> <pass_word> <proxy_url> <ie_pid> <path>

All arguments are positional. All arguments are mandatory.

Caveat

These examples work with a Rosetta installation that allows for local authentication. If your Rosetta installation authenticates via PDS you need to provide the PDS handle instead of the local authentication in the HTTP header. PDS authentication is not possible with these examples, you would have to modify them accordingly.

The SOAP API is deprecated. Use REST instead. REST API exportIE() supports additional arguments group_name and permissions. Use like this: https://rosetta.example.com/rest/v0/ies/IE123456789?op=export&export_path=/path/to/file&group_name=awesome_group&permissions=775

export_ie_from_rosetta's People

Contributors

letztes avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.