Home Manual Reference Source Test Repository
import BundleFinder from 'opengate-js/src/bundles/BundleFinder.js'
public class | source

BundleFinder

Extends:

GenericFinderProvisionGenericFinder → BundleFinder

This class allow make get request to certificate resource into Opengate North API.

Constructor Summary

Public Constructor
public

Constructor

Method Summary

Public Methods
public

Download a specific bundle by its name and version.

Public Constructors

public constructor(Reference: InternalOpenGateAPI) source

Constructor

Override:

ProvisionGenericFinder#constructor

Params:

NameTypeAttributeDescription
Reference InternalOpenGateAPI

to the API object.

Public Methods

public findByNameAndVersion(name: string, version: string): Promise source

Download a specific bundle by its name and version. This execute a GET http method

Params:

NameTypeAttributeDescription
name string

bundle name .

version string

bundle version.

Return:

Promise