liferay-hotfix-data-service

1.0.0 • Public • Published

liferay-hotfix-data-service

A wrapper for the internal Liferay Hotfix Data Service API

Usage

First, require the module, which will give you the class constructor.

const HotfixDataService = require('liferay-hotfix-data-service');

Then you can use that constructor:

cosnt hds = new HotfixDataService(host, user, password);

And then you can call the method:

hds.getHotfix('405-7010', '/metadata/git-revision')
	.then(console.log)
// should print 8fde56147ae2954447bbaaa8fa54bb16df402364

getHotfix returns a native Javascript Promise.

Package Sidebar

Install

npm i liferay-hotfix-data-service

Weekly Downloads

3

Version

1.0.0

License

MIT

Unpacked Size

5.71 kB

Total Files

7

Last publish

Collaborators

  • cleydyr