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

Release 3.6.0 #114

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ A deployment guide is available from the Fortinet Document Library:
* [Azure Application Insights requirement](docs/azure_application_insights.md)
## Launch a demo

<a href="https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.luolix.top%2Ffortinet%2Ffortigate-autoscale-azure%2F3.5.2%2Ftemplates%2Fdeploy_fortigate_autoscale.hybrid_licensing.json" target="_blank"><img src="http://azuredeploy.net/deploybutton.png"/></a>
<a href="https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.luolix.top%2Ffortinet%2Ffortigate-autoscale-azure%2F3.6.0%2Ftemplates%2Fdeploy_fortigate_autoscale.hybrid_licensing.json" target="_blank"><img src="http://azuredeploy.net/deploybutton.png"/></a>

# Support

Expand Down
3 changes: 3 additions & 0 deletions autoscale-shared/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,15 @@ export async function autoscaleHandler(
env,
proxy
);
proxy.logAsInfo('Alex is testing release 360 new dependencies');
proxy.logAsInfo('Request:', req);
const res = await autoscale.handleAutoscaleRequest(proxy, platform, env);
// NOTE: it requires the following env var to save logs
if (process.env.DEBUG_SAVE_CUSTOM_LOG) {
await platform.saveLogs(proxy.allLogs);
}

proxy.logAsInfo('Response:', res);
// pass the response back to Azure Function context
context.res = res;
// output bindings
Expand Down
2 changes: 1 addition & 1 deletion host.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"extensionBundle": {
"id": "Microsoft.Azure.Functions.ExtensionBundle",
"version": "[2.*, 3.0.0)"
"version": "[4.0.0, 5.0.0)"
},
"watchDirectories": ["dist"]
}
Loading
Loading