Options
All
  • Public
  • Public/Protected
  • All
Menu

Deployer service for bots, themes, ai and more.

Hierarchy

  • GBDeployer

Implements

  • IGBDeployer

Index

Constructors

constructor

Properties

core

core: IGBCoreService

Reference to the core service.

importer

importer: GBImporter

Reference to the importer service.

Static deployFolder

deployFolder: string = "packages"

Where should deployer look into for general packages.

Static workFolder

workFolder: string = "work"

The work folder used to download artifacts from bot storage.

Methods

botExists

  • botExists(botId: string): Promise<boolean>

callGBAppCompiler

  • callGBAppCompiler(gbappPath: string, core: IGBCoreService, appPackages?: any[], appPackagesProcessed?: number): Promise<number>
  • Invokes Type Script compiler for a given .gbapp package (Node.js based).

    Parameters

    • gbappPath: string
    • core: IGBCoreService
    • Default value appPackages: any[] = undefined
    • Default value appPackagesProcessed: number = 0

    Returns Promise<number>

Private deployAppPackages

  • deployAppPackages(gbappPackages: string[], core: any, appPackages: any[]): Promise<number>

deployBlankBot

  • deployBlankBot(botId: string): Promise<any>

deployBotFromLocalPath

  • deployBotFromLocalPath(localPath: string, publicAddress: string): Promise<void>

deployBotFull

  • deployBotFull(instance: IGBInstance, publicAddress: string): Promise<IGBInstance>

deployPackage

  • deployPackage(min: GBMinInstance, localPath: string): Promise<any>

deployPackageToStorage

  • deployPackageToStorage(instanceId: number, packageName: string): Promise<GuaribasPackage>

deployPackages

  • deployPackages(core: IGBCoreService, server: any, appPackages: IGBPackage[]): Promise<void>

downloadFolder

  • downloadFolder(min: GBMinInstance, localPath: string, remotePath: string, baseUrl?: string, client?: any): Promise<any>
  • Loads all para from tabular file Config.xlsx.

    Parameters

    • min: GBMinInstance
    • localPath: string
    • remotePath: string
    • Default value baseUrl: string = null
    • Default value client: any = null

    Returns Promise<any>

getStoragePackageByName

  • getStoragePackageByName(instanceId: number, packageName: string): Promise<GuaribasPackage>

Private isSystemPackage

  • isSystemPackage(name: string): Boolean

loadParamsFromTabular

  • loadParamsFromTabular(min: GBMinInstance): Promise<any>

mountGBKBAssets

  • mountGBKBAssets(packageName: any, botId: string, filename: string): void

publishNLP

  • publishNLP(instance: IGBInstance): Promise<void>

rebuildIndex

  • rebuildIndex(instance: IGBInstance, searchSchema: any): Promise<void>
  • Performs automation of the Indexer (Azure Search) and rebuild its index based on .gbkb structure.

    Parameters

    • instance: IGBInstance
    • searchSchema: any

    Returns Promise<void>

refreshNLPEntity

  • refreshNLPEntity(instance: IGBInstance, listName: any, listData: any): Promise<void>

setupDefaultGBUI

  • setupDefaultGBUI(): void

trainNLP

  • trainNLP(instance: IGBInstance): Promise<void>

undeployBot

  • undeployBot(botId: string, packageName: string): Promise<void>

undeployPackageFromLocalPath

  • undeployPackageFromLocalPath(instance: IGBInstance, localPath: string): Promise<void>

Static getConnectionStringFromInstance

  • getConnectionStringFromInstance(instance: IGBInstance): string

Static internalGetDriveClient

  • internalGetDriveClient(min: GBMinInstance): Promise<any[]>

Generated using TypeDoc