0.4.9 • Published 8 years ago

iron_titan v0.4.9

Weekly downloads
40
License
Apache-2.0
Repository
-
Last release
8 years ago

iron_titan

IronTitan - JavaScript client for iron_titan The ultimate, language agnostic, container based job processing framework. This SDK is automatically generated by the Swagger Codegen project:

  • API version: 0.4.9
  • Package version: 0.4.9
  • Build date: 2016-06-21T18:33:20.525Z
  • Build package: class io.swagger.codegen.languages.JavascriptClientCodegen

Installation

For Node.js

npm

To publish the library as a npm, please follow the procedure in "Publishing npm packages".

Then install it via:

npm install iron_titan --save

git

If the library is hosted at a git repository, e.g. https://github.com/YOUR_USERNAME/iron_titan then install it via:

    npm install YOUR_USERNAME/iron_titan --save

For browser

The library also works in the browser environment via npm and browserify. After following the above steps with Node.js and installing browserify with npm install -g browserify, perform the following (assuming main.js is your entry file):

browserify main.js > bundle.js

Then include bundle.js in the HTML pages.

Getting Started

Please follow the installation instruction and execute the following JS code:

var IronTitan = require('iron_titan');

var api = new IronTitan.GroupsApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.groupsGet(callback);

Documentation for API Endpoints

All URIs are relative to https://localhost:8080/v1

ClassMethodHTTP requestDescription
IronTitan.GroupsApigroupsGetGET /groupsGet all group names.
IronTitan.GroupsApigroupsNameGetGET /groups/{name}Get information for a group.
IronTitan.GroupsApigroupsNamePutPUT /groups/{name}Create/update a job group.
IronTitan.GroupsApigroupsPostPOST /groupsPost new group
IronTitan.JobsApigroupsNameJobsGetGET /groups/{name}/jobsGet job list by group name.
IronTitan.JobsApigroupsNameJobsIdCancelPostPOST /groups/{name}/jobs/{id}/cancelCancel a job.
IronTitan.JobsApigroupsNameJobsIdDeleteDELETE /groups/{name}/jobs/{id}Delete the job.
IronTitan.JobsApigroupsNameJobsIdErrorPostPOST /groups/{name}/jobs/{id}/errorMark job as failed.
IronTitan.JobsApigroupsNameJobsIdGetGET /groups/{name}/jobs/{id}Gets job by id
IronTitan.JobsApigroupsNameJobsIdLogGetGET /groups/{name}/jobs/{id}/logGet the log of a completed job.
IronTitan.JobsApigroupsNameJobsIdLogPostPOST /groups/{name}/jobs/{id}/logSend in a log for storage.
IronTitan.JobsApigroupsNameJobsIdRetryPostPOST /groups/{name}/jobs/{id}/retryRetry a job.
IronTitan.JobsApigroupsNameJobsIdStartPostPOST /groups/{name}/jobs/{id}/startMark job as started, ie: status = 'running'
IronTitan.JobsApigroupsNameJobsIdSuccessPostPOST /groups/{name}/jobs/{id}/successMark job as succeeded.
IronTitan.JobsApigroupsNameJobsIdTouchPostPOST /groups/{name}/jobs/{id}/touchExtend job timeout.
IronTitan.JobsApigroupsNameJobsPostPOST /groups/{name}/jobsEnqueue Job
IronTitan.JobsApijobsGetGET /jobsGet next job.
IronTitan.RunnerApigroupsNameJobsIdErrorPostPOST /groups/{name}/jobs/{id}/errorMark job as failed.
IronTitan.RunnerApigroupsNameJobsIdStartPostPOST /groups/{name}/jobs/{id}/startMark job as started, ie: status = 'running'
IronTitan.RunnerApigroupsNameJobsIdSuccessPostPOST /groups/{name}/jobs/{id}/successMark job as succeeded.

Documentation for Models

Documentation for Authorization

All endpoints do not require authorization.

0.4.9

8 years ago

0.4.6

8 years ago

0.4.4

8 years ago

0.4.3

8 years ago

0.4.2

8 years ago

0.4.1

8 years ago

0.4.0

8 years ago

0.3.10

8 years ago

0.3.8

8 years ago

0.3.7

8 years ago

0.3.5

8 years ago

0.3.0

8 years ago

0.2.17

8 years ago

0.2.15

8 years ago

0.2.11

8 years ago

0.2.9

8 years ago

0.2.8

8 years ago

0.2.7

8 years ago

0.2.0

8 years ago

0.1.1

8 years ago