Skip to content

Commit 02e3b42

Browse files
authored
Merge pull request #312583 from MicrosoftDocs/repo_sync_working_branch
Confirm merge from repo_sync_working_branch to main to sync with https://github.com/MicrosoftDocs/azure-docs (branch main)
2 parents 5abda6a + cc6bbdc commit 02e3b42

3 files changed

Lines changed: 43 additions & 39 deletions

File tree

articles/azure-functions/functions-app-settings.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -973,6 +973,7 @@ In the [Flex Consumption plan](./flex-consumption-plan.md), these site propertie
973973
| `WEBSITE_VNET_ROUTE_ALL` |Not used for networking in Flex Consumption|
974974
| `properties.alwaysOn` |Not valid|
975975
| `properties.containerSize` |Renamed as `instanceMemoryMB`|
976+
| `properties.dnsConfiguration` | Custom DNS servers configured in the Azure Virtual Network are automatically used|
976977
| `properties.ftpsState` | FTPS not supported |
977978
| `properties.isReserved` |Not valid|
978979
| `properties.IsXenon` |Not valid|

articles/azure-resource-manager/bicep/bicep-functions-parameters-file.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ For more information, see [Environment.SetEnvironmentVariable Method](/dotnet/ap
147147
The following examples show how to retrieve the values of environment variables:
148148

149149
```bicep
150-
use './main.bicep'
150+
using './main.bicep'
151151
152152
param adminPassword = readEnvironmentVariable('admin_password')
153153
param boolfromEnvironmentVariables = bool(readEnvironmentVariable('boolVariableName','false'))

articles/energy-data-services/how-to-deploy-osdu-admin-ui.md

Lines changed: 41 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -106,12 +106,13 @@ There are two deployment options for the OSDU Admin UI:
106106

107107
```bash
108108
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash && \
109-
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
110-
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" && \
111-
nvm install 14.17.3 && \
112-
export NG_CLI_ANALYTICS=false && \
109+
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")" && \
110+
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" && \
111+
nvm install 20.19.6 && \
112+
export NG_CLI_ANALYTICS=false && \
113113
npm install -g @angular/[email protected] && \
114-
apt-get install jq -y && \
114+
sudo apt-get update && \
115+
sudo apt-get install -y jq && \
115116
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
116117
```
117118
[![Screenshot that shows installation.](./media/how-to-deploy-osdu-admin-ui/install-screen.png)](./media/how-to-deploy-osdu-admin-ui/install-screen.png#lightbox)
@@ -222,37 +223,39 @@ export SCOPE="" # Scope of the ADME instance, i.e. "6ee7e0d6-0641-4b29-a283-541c
222223
export GRAPH_ENDPOINT="https://graph.microsoft.com/v1.0/" # Microsoft Graph API endpoint
223224
export APPINSIGHTS_INSTRUMENTATIONKEY="" # Optional. Application Insights instrumentation key
224225
export OSDU_CONNECTOR_API_ENDPOINT="" # Optional. API endpoint of the OSDU Connector API
225-
226-
227-
jq --arg data "$DATA_PARTITION_ID" \
228-
--arg domain "$DOMAIN_NAME" \
229-
--arg tenant "$TENANT_ID" \
230-
--arg client "$CLIENT_ID" \
231-
--arg redirect "$REDIRECT_URI" \
232-
--arg scope "$SCOPE" \
233-
--arg endpoint "$OSDU_ENDPOINT" \
234-
--arg graph "$GRAPH_ENDPOINT" \
235-
--arg appinnsights "$APPINSIGHTS_INSTRUMENTATIONKEY" \
236-
--arg connectorapi "$OSDU_CONNECTOR_API_ENDPOINT" \
237-
'.settings.appInsights.instrumentationKey = $appinnsights |
238-
.settings.data_partition = $data |
239-
.settings.domain_name = $domain |
240-
.settings.idp.tenant_id = $tenant |
241-
.settings.idp.client_id = $client |
242-
.settings.idp.redirect_uri = $redirect |
243-
.settings.idp.scope = $scope |
244-
.settings.api_endpoints.entitlement_endpoint = $endpoint |
245-
.settings.api_endpoints.storage_endpoint = $endpoint |
246-
.settings.api_endpoints.search_endpoint = $endpoint |
247-
.settings.api_endpoints.legal_endpoint = $endpoint |
248-
.settings.api_endpoints.schema_endpoint = $endpoint |
249-
.settings.api_endpoints.file_endpoint = $endpoint |
250-
.settings.api_endpoints.secrets_endpoint = $connectorapi |
251-
.settings.api_endpoints.graphAPI_endpoint = $graph |
252-
.settings.api_endpoints.workflow_endpoint = $endpoint |
253-
.settings.api_endpoints.secrets_endpoint = $endpoint |
254-
.settings.api_endpoints.wddms_endpoint = $endpoint' \
255-
src/config/config.json > src/config/temp.json
226+
export REDIRECT_URI="" # this is your static website you can find in your storage account example https://<storage account name>.z21.web.core.windows.net/"
227+
228+
229+
jq \
230+
--arg data "$DATA_PARTITION_ID" \
231+
--arg domain "$DOMAIN_NAME" \
232+
--arg tenant "$TENANT_ID" \
233+
--arg client "$CLIENT_ID" \
234+
--arg redirect "$REDIRECT_URI" \
235+
--arg scope "$SCOPE" \
236+
--arg endpoint "$OSDU_ENDPOINT" \
237+
--arg graph "$GRAPH_ENDPOINT" \
238+
--arg appinsights "$APPINSIGHTS_INSTRUMENTATIONKEY" \
239+
--arg connectorapi "$OSDU_CONNECTOR_API_ENDPOINT" \
240+
'
241+
.settings.appInsights.instrumentationKey = $appinsights |
242+
.settings.data_partition = $data |
243+
.settings.domain_name = $domain |
244+
.settings.idp.tenant_id = $tenant |
245+
.settings.idp.client_id = $client |
246+
.settings.idp.redirect_uri = $redirect |
247+
.settings.idp.scope = $scope |
248+
.settings.api_endpoints.entitlement_endpoint = $endpoint |
249+
.settings.api_endpoints.storage_endpoint = $endpoint |
250+
.settings.api_endpoints.search_endpoint = $endpoint |
251+
.settings.api_endpoints.legal_endpoint = $endpoint |
252+
.settings.api_endpoints.schema_endpoint = $endpoint |
253+
.settings.api_endpoints.file_endpoint = $endpoint |
254+
.settings.api_endpoints.secrets_endpoint = $connectorapi |
255+
.settings.api_endpoints.graphAPI_endpoint = $graph |
256+
.settings.api_endpoints.workflow_endpoint = $endpoint |
257+
.settings.api_endpoints.wddms_endpoint = $endpoint
258+
' src/config/config.json > src/config/temp.json && \
256259
mv src/config/temp.json src/config/config.json
257260
```
258261
@@ -295,14 +298,14 @@ Replace the values according to the explanation.
295298
296299
1. Build the web UI.
297300
```bash
298-
ng build
301+
ng build --configuration=azure-prod
299302
```
300303
301304
1. Upload the build to Storage Account.
302305
```azurecli
303306
az storage blob upload-batch \
304307
--account-name $WEBSITE_NAME \
305-
--source ./dist/OSDUApp \
308+
--source ./dist/OSDUApp/browser/ \
306309
--destination '$web' \
307310
--overwrite
308311
```

0 commit comments

Comments
 (0)