-
Notifications
You must be signed in to change notification settings - Fork 161
Conversation
Remove `loginToAzure` refs
Make plugins directory typescript compatible
"author": "Azure Functions", | ||
"scripts": { | ||
"test": "eslint **/*.js" | ||
"test": "eslint src/**/*.js", | ||
"prebuild": "rm lib/ -rf && npm test", |
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.
nit:rm -rf lib/
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.
Any advantage of putting flags before? My habit is to put them after.
bearer: 'Bearer ', | ||
functionAppApiPath: '/api/', | ||
functionAppDomain: '.azurewebsites.net', | ||
functionsAdminApiPath: '.azurewebsites.net/admin/functions/', | ||
functionsAdminApiPath: '/admin/functions/', |
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.
are function and functions referring to 2 different things?
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.
This is a partial path to one of the Kudu rest endpoints to retrieve functions in a function app.
bearer: 'Bearer ', | ||
functionAppApiPath: '/api/', | ||
functionAppDomain: '.azurewebsites.net', | ||
functionsAdminApiPath: '.azurewebsites.net/admin/functions/', | ||
functionsAdminApiPath: '/admin/functions/', | ||
functionsApiPath: '/api/functions', | ||
jsonContentType: 'application/json', | ||
logInvocationsApiPath: '/azurejobs/api/functions/definitions/', |
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.
consistency: some path end with /
and some don't
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.
I think it's because some of these will be appended to others. For example {functionAppDomain}
+ {functionsApiPath}
. The /
is included in the second one.
}; | ||
|
||
export default constants; |
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.
style: new line in file or not? we should decide on one and add to editorconfig
Login
plugin to handle azure loginAPIM
plugin for integration with Azure API managementDeploy
plugin