Code Monkey home page Code Monkey logo

irods-uu-microservices's Introduction

iRODS UU Microservices

Miscellaneous iRODS microservices developed or modified by Utrecht University.

Included microservices

Developed at Utrecht University:

  • msiRegisterEpicPID: Register an EPIC PID

Developed at Donders Institute:

  • msi_json_objops: get, add and set values in a json object
  • msi_json_arrayops: get, add and set values in a json array. modified to handle arrays of arrays

The msi_json_arrayops and msi_json_objops microservices are derived from ork from the Donders Institute. The license in DONDERS-LICENSE applies

Developed at Maastricht University:

  • msi_add_avu: Microservice to add AVU
  • msi_rmw_avu: Microservice to remove AVU

Developed at Wageningen University & Research:

  • msiArchiveCreate: create an archive
  • msiArchiveExtract: extract from an archive
  • msiArchiveIndex: index an archive

Installation

iRODS UU microservices can be installed using the packages provided on the releases page.

You can also build the microservices yourself, see Building from source.

Building from source

This repository includes a Vagrant configuration for building irods-uu-microservices from source on either CentOS 7 (for the RPM package) or Ubuntu 18.04 LTS (for the DEB package). It can be found in vagrant/build. In order to build a package using Vagrant, edit the .env file in the Vagrant build directory. Adjust the BOXNAME and IRODS_VERSION vars as needed. Then run vagrant up to provision the VM. The VM has all dependencies pre-installed, as well as a clone of the irods-uu-microservices repository. Log in on the VM using vagrant ssh and create the package (see below).

To build from source without using the Vagrant configuration, the following build-time dependencies must be installed (package names may differ on your platform):

  • make
  • gcc-c++
  • irods-devel
  • irods-externals-cmake3.5.2-0
  • irods-externals-clang6.0-0
  • boost-devel
  • boost-locale
  • openssl-devel
  • libcurl-devel
  • libuuid-devel
  • jansson-devel
  • libarchive-devel
  • rpmdevtools (if you are creating an RPM)
sudo yum install make gcc-c++ irods-devel irods-externals-cmake3.5.2-0 irods-externals-clang6.0-0 boost-devel boost-locale openssl-devel libcurl-devel jansson-devel libuuid-devel libarchive-devel rpmdevtools

Follow these instructions to build from source:

  • First, browse to the directory where you have unpacked the source distribution.

  • Check whether your umask is set to a sane value. If the output of umask is not 0022, run umask 0022 to fix it. This is important for avoiding conflicts in created packages later on.

  • Compile the project

export PATH=/opt/irods-externals/cmake3.5.2-0/bin:$PATH
cmake .
make

Now you can either build an RPM or install the project without a package manager.

To create a package:

make package

That's it, you should now have an RPM in your build directory which you can install using yum.

To install without creating a package

make install

This will install the .so files into the microservice plugin directory.

irods-uu-microservices's People

Contributors

chstaiger avatar dworkin avatar lwesterhof avatar mcoonen avatar stsnel avatar tsmeele avatar

Stargazers

 avatar  avatar

Watchers

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