A Node module for Oozie in Typescript
- Node 10+
Install the dependencies and devDependencies and start the server.
$ npm install --save oozie-api
import {client} from 'oozie-api'; or const CLIENT = require('oozie-api').client;
let _client = new CLIENT||client({
oozieUrl: 'http://127.0.0.1:11000/oozie'
});
_client.buildVersion().then(result => console.log(result));
import * as OozieAPIEnums from 'oozie-api/dist/types' or const OOZIEAPI_ENUMS = require('oozie-api/dist/types');
Want to contribute? Great! Make a Pr! Open your favorite Terminal and run these commands.
To release in javascript. The output is dumped in the dist folder:
$ npm run build
-
Uses Jest, Supertest, Chai - Integration Tests needed
npm test