-
Notifications
You must be signed in to change notification settings - Fork 378
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
feat: Orchestrator Integration #4852
Conversation
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) => { |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done.
Description
This is the full local e2e flow for Orchestrator
What is here:
What isn't:
Task Item
Closes #4390 , #4209
Screenshots