Skip to content

Commit

Permalink
Added rest of the AppSettings (#80)
Browse files Browse the repository at this point in the history
Added all the AppSettings to the template so they don't get wiped when releasing with the ARM template. Fixes #75
  • Loading branch information
jfversluis committed Oct 6, 2018
1 parent 9e6c02a commit 479bb0a
Show file tree
Hide file tree
Showing 3 changed files with 94 additions and 4 deletions.
29 changes: 28 additions & 1 deletion Deployment/CFPExchange.prod.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"vaultName": {
"value": "cfpexchange-vault"
},
"FeatureToggle.HostOwnImages": {
"FeatureToggle:HostOwnImages": {
"value": false
},
"templateBaseUri": {
Expand All @@ -46,6 +46,33 @@
},
"functionAppName": {
"value": "cfpexchange-functions"
},
"AdminEmailaddress": {
"value": "cfpexchange@geraldversluis.nl"
},
"EmailSettings:ApiKey": {
"value": "YourAPIKey"
},
"EmailSettings:ApiUri": {
"value": "YorAPIUri"
},
"EmailSettings:From": {
"value": "No-Reply CFP Exchange <no-reply@cfp.exchange>"
},
"MapsApiKey": {
"value": "YourAzureMapsApiKey"
},
"TwitterConsumerKey": {
"value": "YourConsumerKey"
},
"TwitterConsumerSecret": {
"value": "YourConsumerSecret"
},
"TwitterOAuthToken": {
"value": "YourOAuthToken"
},
"TwitterOAuthTokenSecret": {
"value": "YourOAuthTokenSecret"
}
}
}
29 changes: 28 additions & 1 deletion Deployment/CFPExchange.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"vaultName": {
"value": "cfpexchange-vault"
},
"FeatureToggle.HostOwnImages": {
"FeatureToggle:HostOwnImages": {
"value": true
},
"templateBaseUri": {
Expand All @@ -46,6 +46,33 @@
},
"functionAppName": {
"value": "cfpexchange-functions-test"
},
"AdminEmailaddress": {
"value": "cfpexchange@geraldversluis.nl"
},
"EmailSettings:ApiKey": {
"value": "YourAPIKey"
},
"EmailSettings:ApiUri": {
"value": "YorAPIUri"
},
"EmailSettings:From": {
"value": "No-Reply CFP Exchange <no-reply@cfp.exchange>"
},
"MapsApiKey": {
"value": "YourAzureMapsApiKey"
},
"TwitterConsumerKey": {
"value": "YourConsumerKey"
},
"TwitterConsumerSecret": {
"value": "YourConsumerSecret"
},
"TwitterOAuthToken": {
"value": "YourOAuthToken"
},
"TwitterOAuthTokenSecret": {
"value": "YourOAuthTokenSecret"
}
}
}
40 changes: 38 additions & 2 deletions Deployment/complete-solution.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
"vaultName": {
"type": "string"
},
"FeatureToggle.HostOwnImages": {
"FeatureToggle:HostOwnImages": {
"type": "bool"
},
"servicebusEventImagesQueueConnectionString": {
Expand All @@ -106,6 +106,33 @@
},
"functionAppName": {
"type": "string"
},
"AdminEmailaddress": {
"type": "string"
},
"EmailSettings:ApiKey": {
"type": "securestring"
},
"EmailSettings:ApiUri": {
"type": "string"
},
"EmailSettings:From": {
"type": "string"
},
"MapsApiKey": {
"type": "securestring"
},
"TwitterConsumerKey": {
"type": "securestring"
},
"TwitterConsumerSecret": {
"type": "securestring"
},
"TwitterOAuthToken": {
"type": "securestring"
},
"TwitterOAuthTokenSecret": {
"type": "securestring"
}
},
"variables": {
Expand Down Expand Up @@ -170,7 +197,16 @@
},
"properties": {
"ServicebusEventImagesQueueConnectionString": "[parameters('servicebusEventImagesQueueConnectionString')]",
"FeatureToggle.HostOwnImages": "[parameters('FeatureToggle.HostOwnImages')]"
"FeatureToggle:HostOwnImages": "[parameters('FeatureToggle:HostOwnImages')]",
"AdminEmailaddress": "[parameters('AdminEmailaddress')]",
"EmailSettings:ApiKey": "[parameters('EmailSettings:ApiKey')]",
"EmailSettings:ApiUri": "[parameters('EmailSettings:ApiUri')]",
"EmailSettings:From": "[parameters('EmailSettings:From')]",
"MapsApiKey": "[parameters('MapsApiKey')]",
"TwitterConsumerKey": "[parameters('TwitterConsumerKey')]",
"TwitterConsumerSecret": "[parameters('TwitterConsumerSecret')]",
"TwitterOAuthToken": "[parameters('TwitterOAuthToken')]",
"TwitterOAuthTokenSecret": "[parameters('TwitterOAuthTokenSecret')]"
}
}
]
Expand Down

0 comments on commit 479bb0a

Please sign in to comment.