new(basic.gblib): API online for GB.
This commit is contained in:
parent
adac385b5a
commit
5ed835afdb
3 changed files with 1 additions and 3 deletions
|
@ -108,7 +108,6 @@ export class AzureDeployerService implements IGBInstallationDeployer {
|
|||
|
||||
public static async createInstanceWithCredentials(deployer: GBDeployer, freeTier: boolean = true,
|
||||
subscriptionId: string, username: string, password: string): Promise<AzureDeployerService> {
|
||||
const service = new AzureDeployerService();
|
||||
const credentials = await GBAdminService.getADALCredentialsFromUsername(username, password);
|
||||
return await this.createInstanceWithADALCredentials(deployer, freeTier, subscriptionId, credentials);
|
||||
}
|
||||
|
|
|
@ -1002,7 +1002,7 @@ export class GBConversationalService {
|
|||
|
||||
const keepText: string = min.core.getParam(min.instance, 'Keep Text', '');
|
||||
let keepTextList = [];
|
||||
if (keepTextList) {
|
||||
if (keepTextList && keepText) {
|
||||
keepTextList = keepTextList.concat(keepText.split(';'));
|
||||
}
|
||||
const replacements = [];
|
||||
|
|
|
@ -139,7 +139,6 @@ export class GBServer {
|
|||
const core: IGBCoreService = new GBCoreService();
|
||||
const importer: GBImporter = new GBImporter(core);
|
||||
const deployer: GBDeployer = new GBDeployer(core, importer);
|
||||
const subscriptionId = GBConfigService.get('CLOUD_SUBSCRIPTIONID');
|
||||
let azureDeployer: AzureDeployerService;
|
||||
|
||||
// Ensure that local proxy is setup.
|
||||
|
|
Loading…
Add table
Reference in a new issue