SimpleWAWS
Running:
Minimum requirements for settings:
TryUserName
TryPassword
Subscriptions
comma separatedEnableAuth
TryUserName
and TryPassword
are the credentials for a user that has Owner
or Co-Admin
access on the Subscriptions
.
Subscriptions
can either be a comma separated list of SubscriptionId
or a comma separated list of the subscriptions displayName
EnableAuth
set to False
if you don't care about testing the Authentication module.
Settings for testing authentication module
EnableAuth
set toTrue
to enable Auth. Not defined meansTrue
BaseLoginUrl
AAD base login url. Use:https://login.microsoftonline.com/{tenantId}/oauth2/authorize
AADAppId
Your AAD AppId. You can create a web application from Azure Portal in your AAD tenantLoginErrorPage
The page to return in case of a login error. Set to/Sorry
FacebookAppId
Facebook AppId. Create a Facebook App fromhttps://developers.facebook.com
GoogleAppId
Google AppId. Create a Google App fromhttps://developers.google.com
AADIssuerKeys
Url for AAD keys. Usehttps://login.microsoftonline.com/common/discovery/keys
GoogleIssuerCerts
Url for Google Cert. Use:https://www.googleapis.com/oauth2/v1/certs
VkClientSecret
Vk.com ClientSecret. Create a Vk.com app fromhttps://vk.com/dev
VkClientId
Vk.com ClientId. Create a Vk.com app fromhttps://vk.com/dev
You don't have to create all the different Apps. You can only create the ones you're interested in testing.
Settings for testing RBAC
RBAC doesn't work if ran locally
Code and branches
Branches
master: (https://tryappservice.azure.com)
This is connected to production. After all scenarios are validated on next deploy to production and merge into master
dev: (https://tryappservice-next.azure.com)
This is the next environment. This is never swapped, instead changes from dev get merged into master.
Development workflow
# make sure you're working on the dev branch
> git checkout dev
# create your own personal branch based on dev
> git checkout -b ahmels-work
# make all your changes in your branch
# commit and push these changes to github
> git push origin ahmels-work -u
# open a pull request.
# once everything is good, merge, rebase and push
> git checkout dev
> git merge ahmels-work
> git pull --rebase
# fix any conflicts
> git push origin dev
This will get merged into master after validations in -next.
Other settings for other features
TryTenantId
used for RBAC scenariosTryTenantName
used for RBAC scenariosSiteExpiryMinutes
number of minutes before the resource expires. Default:59
GeoRegions
The geoRegions to use to create resources. Default:East US,West US,North Europe,West Europe,South Central US,North Central US,East Asia,Southeast Asia,Japan West,Japan East,Brazil South
FreeSitesIISLogsBlob
Blob container name for saving logsFreeSitesIISLogsQueue
Azure storage queue to inform aggregation webJob of a new item in the blob storage aboveStorageConnectionString
connection string for storage used for logs aboveDocumentDbUrl
Used for DocumentDb loggingDocumentDbKey
Used for DocumentDb loggingFromEmail
Used for alert emailsEmailServer
Used for alert emailsEmailUserName
Used for alert emailsEmailPassword
Used for alert emailsToEmail
Used for alert emailsSearchServiceName
Required for the Azure Search template to workSearchServiceApiKeys
Required for the Azure Search template to workExtendedResourceExpireHours
number of hours that thatSiteExpiryMinutes
can be extended to. Default:24