Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Orchestrator Integration #4852

Merged
merged 21 commits into from
Nov 18, 2020

Conversation

taicchoumsft
Copy link
Member

@taicchoumsft taicchoumsft commented Nov 17, 2020

Description

This is the full local e2e flow for Orchestrator

What is here:

  1. Orchestrator behind feature flag
  2. Orchestrator schema, recognizer flow, and UI improvements by @lei9444 (thanks Leilei)
  3. Orchestrator packaging tested on Electron Windows 10, Mac (10.15.7), Linux (Ubuntu 20.04) from CI builds
  4. Orchestrator e2e local publish flow on the C# WebApp runtime only

What isn't:

  1. Remote publishing flows
  2. Ability for runtime to independently manage model (Base model management in runtime for Orchestrator #4215)
  3. Runtime support for anything but the C# WebApp runtime

Task Item

Closes #4390 , #4209

Screenshots

image
image

const bluFilePath = Path.resolve(this.generatedFolderPath, dialog.id.replace('.lu', '.blu'));
snapshots[dialog.id.replace('.lu', '').replace(/[-.]/g, '_')] = bluFilePath;

writeFile(bluFilePath, Buffer.from(dialog.snapshot), (err) => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not using the "promisified" writeFile from fs-extra and await?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @hatpick, I completely missed this. Fixed this and the pathExists function on line 138.

orchestratorSettings.orchestrator.snapshots = snapshots;
const orchestratorSettingsPath = Path.resolve(this.generatedFolderPath, 'orchestrator.settings.json');

writeFile(orchestratorSettingsPath, JSON.stringify(orchestratorSettings), (err) => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done.

@taicchoumsft taicchoumsft merged commit 7297501 into feature/orchestrator Nov 18, 2020
@taicchoumsft taicchoumsft deleted the tachou/orchE2EIntegration branch November 18, 2020 01:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants