Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
modules parser xls2json added May 17, 2019
.gitignore first working code Apr 10, 2017
LICENSE-MIT licence added Apr 15, 2017
README.md added installation steps May 3, 2017
config.sample.json mssql oracle support added May 3, 2017
package.json parser xls2json added May 17, 2019
server.js mssql oracle support added May 3, 2017
utils.js first working code Apr 10, 2017
vars.json first working code Apr 10, 2017
vutil-swagger.yaml swagger updated Apr 15, 2017

README.md

vutil

vREST Utility which provides the following functions:

  • Executes a system command via REST API
  • Executes a DB query via REST API
  • Converts CSV to JSON via REST API
  • Fires multipart request
  • Reads Text files via REST API

Prerequisites:

Setup / Installation

Step by step guide to install vutil:

  • Clone / download the vutil repository in the directory of your choice.

    • If you have installed git, then you may clone the repository with the following command:

      $ git clone git@github.com:vrest-io/vutil.git

    • OR you may download the repository from github.

  • Now, copy the config-sample.json into config.json.

    $ cd vutil

    $ cp config-sample.json config.json

    Note: Whenever there is a change in config.json file, then you need to restart the vutil server.

  • Now, install the dependencies of the vutil module

    $ npm install

  • Now, vutil server is ready to start. Simply execute the following command to start the vutil server. You may change the port number with the following command.

    $ PORT=4080 node server.js

That's it. You may access vutil server on http://localhost:4080. This is also your vutilBaseURL which will be used in vREST test cases.

You can’t perform that action at this time.