FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

save-cloud/save-api-cli at master · saveourtool/save-cloud · GitHub

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Save Cloud API CLI

General information

Current module provides the basic example of using API for execution submission process.

According specified information from config files, it will automatically build and submit
execution requests and received results, like it could be done manually at saveourtool.com

For proper usage you should be registered at saveourtool.com and create at least one project in your organization.

Configuration

The general configuration represents the properly filled configuration files:

  1. web-client.properties
  2. evaluated-tool.properties

While first of them should contain only proper URLs of SAVE-cloud server, the second one is more complicated.

evaluated-tool.properties contains three main sections, all fields in them correspondingly marked as required/optional:

  • General: in this section you need to provide general information about your organization and project, which should be tested. Data should be the same with one, that were specified, when you registered it at saveourtool.com
  • Git: current section should contain corresponding information about your tool, if you would like to test it in the GIT mode
  • Standard: this section should contain configuration for STANDARD mode if you would like to test it in corresponding mode

Note optional fields should be commented or not provided at all for proper execution,
if you won't use such configuration. If you use only one mode of git/standard, required fields from another section could have empty values.

Execution:

Current API required few cli arguments for execution:

  -m execution mode: git or standard
  -u username in SAVE-cloud system
  -o oauth2 source, by which the registration in SAVE-cloud system was performed, i.e. `github`
  -t token, generated by SAVE-cloud system

Example:

./gradlew save-api-cli:run --args='-u user -o github -t token -m git'

Back | FazBrowse Home | New Git URL