GithubHelp home page GithubHelp logo

Comments (4)

kellerb avatar kellerb commented on June 5, 2024

To build and install (example based on Ubuntu 14 iRODS 4.1.6):

  1. Install the appropriate iRODS development package:
    • wget ftp://ftp.renci.org/pub/irods/releases/4.1.6/ubuntu14/irods-dev-4.1.6-ubuntu14-x86_64.deb
    • sudo dpkg -i irods-dev-4.1.6-ubuntu14-x86_64.deb
  2. git clone https://github.com/irods/contrib
  3. cd contrib/microservices/administration/
  4. fakeroot ./packaging/build.sh
  5. sudo dpkg -i build/irods-contrib-microservices-administration-1.0.deb

This will enable the use of msifree_microservice_out() in rules.

msiExecCmd("hello", "null", "null", "null", "null", *exec_cmd_out);
msiGetStdoutInExecCmdOut(*exec_cmd_out, *stdout);
msifree_microservice_out(*exec_cmd_out); # DO NOT use *exec_cmd_out after this
writeLine("stdout", *stdout); # Note that *stdout can still be used
*i = errorcode(msifree_microservice_out(*stdout)); # Free'ing unsupported types is an error
if *i != -323000 then fail(-1) else 0

from contrib.

erastova avatar erastova commented on June 5, 2024

Hi @kellerb ,

I want to confirm that all my tests went well. Thanks for providing this microservice!
I wonder do you plan to include it in 4.1.8?

cheers,
elena

from contrib.

kellerb avatar kellerb commented on June 5, 2024

Thank you for testing and replying.

The plan is to leave it in contrib, so that we can advance it independently from the main server software. This will allow us to release updates to the microservice that handle the cleanup of other types of microservice out variables, without requiring users to upgrade their entire installation.

from contrib.

erastova avatar erastova commented on June 5, 2024

ok! thanks!

from contrib.

Related Issues (20)

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.