@@ -207,82 +207,82 @@ There are two deployment options for the OSDU Admin UI:
207
207
208
208
#### [Code snippet](#tab/code)
209
209
210
- Replace the values of the environment variables with your values.
211
-
212
- ```bash
213
- export OSDU_ENDPOINT="" # Endpoint of the Azure Data Manager for Energy or OSDU instance to connect to
214
- export DATA_PARTITION_ID="" # ADME Data Partition ID (i.e. opendes)
215
- export DOMAIN_NAME=".dataservices.energy" # Domain name to use for the entitlements service. Use .dataservices.energy for any ADME deployment.
216
- export TENANT_ID="" # Entra ID tenant ID
217
- export CLIENT_ID="" # App Registration ID to use for the admin UI, usually the same as the ADME App Registration ID
218
- export SCOPE="" # Scope of the ADME instance, i.e. "6ee7e0d6-0641-4b29-a283-541c5d00655a/.default"
219
- export GRAPH_ENDPOINT="https://graph.microsoft.com/v1.0/" # Microsoft Graph API endpoint
220
- export APPINSIGHTS_INSTRUMENTATIONKEY="" # Optional. Application Insights instrumentation key
221
- export OSDU_CONNECTOR_API_ENDPOINT="" # Optional. API endpoint of the OSDU Connector API
222
-
223
-
224
- jq --arg data "$DATA_PARTITION_ID" \
225
- --arg domain "$DOMAIN_NAME" \
226
- --arg tenant "$TENANT_ID" \
227
- --arg client "$CLIENT_ID" \
228
- --arg redirect "$REDIRECT_URI" \
229
- --arg scope "$SCOPE" \
230
- --arg endpoint "$OSDU_ENDPOINT" \
231
- --arg graph "$GRAPH_ENDPOINT" \
232
- --arg appinnsights "$APPINSIGHTS_INSTRUMENTATIONKEY" \
233
- --arg connectorapi "$OSDU_CONNECTOR_API_ENDPOINT" \
234
- ' .settings.appInsights.instrumentationKey = $appinnsights |
235
- .settings.data_partition = $data |
236
- .settings.domain_name = $domain |
237
- .settings.idp.tenant_id = $tenant |
238
- .settings.idp.client_id = $client |
239
- .settings.idp.redirect_uri = $redirect |
240
- .settings.idp.scope = $scope |
241
- .settings.api_endpoints.entitlement_endpoint = $endpoint |
242
- .settings.api_endpoints.storage_endpoint = $endpoint |
243
- .settings.api_endpoints.search_endpoint = $endpoint |
244
- .settings.api_endpoints.legal_endpoint = $endpoint |
245
- .settings.api_endpoints.schema_endpoint = $endpoint |
246
- .settings.api_endpoints.file_endpoint = $endpoint |
247
- .settings.api_endpoints.secrets_endpoint = $connectorapi |
248
- .settings.api_endpoints.graphAPI_endpoint = $graph |
249
- .settings.api_endpoints.workflow_endpoint = $endpoint |
250
- .settings.api_endpoints.secrets_endpoint = $endpoint |
251
- .settings.api_endpoints.wddms_endpoint = $endpoint ' \
252
- src/config/config.json > src/config/temp.json
253
- mv src/config/temp.json src/config/config.json
254
- ```
210
+ Replace the values of the environment variables with your values.
211
+
212
+ ```bash
213
+ export OSDU_ENDPOINT="" # Endpoint of the Azure Data Manager for Energy or OSDU instance to connect to
214
+ export DATA_PARTITION_ID="" # ADME Data Partition ID (i.e. opendes)
215
+ export DOMAIN_NAME=".dataservices.energy" # Domain name to use for the entitlements service. Use .dataservices.energy for any ADME deployment.
216
+ export TENANT_ID="" # Entra ID tenant ID
217
+ export CLIENT_ID="" # App Registration ID to use for the admin UI, usually the same as the ADME App Registration ID
218
+ export SCOPE="" # Scope of the ADME instance, i.e. "6ee7e0d6-0641-4b29-a283-541c5d00655a/.default"
219
+ export GRAPH_ENDPOINT="https://graph.microsoft.com/v1.0/" # Microsoft Graph API endpoint
220
+ export APPINSIGHTS_INSTRUMENTATIONKEY="" # Optional. Application Insights instrumentation key
221
+ export OSDU_CONNECTOR_API_ENDPOINT="" # Optional. API endpoint of the OSDU Connector API
222
+
223
+
224
+ jq --arg data "$DATA_PARTITION_ID" \
225
+ --arg domain "$DOMAIN_NAME" \
226
+ --arg tenant "$TENANT_ID" \
227
+ --arg client "$CLIENT_ID" \
228
+ --arg redirect "$REDIRECT_URI" \
229
+ --arg scope "$SCOPE" \
230
+ --arg endpoint "$OSDU_ENDPOINT" \
231
+ --arg graph "$GRAPH_ENDPOINT" \
232
+ --arg appinnsights "$APPINSIGHTS_INSTRUMENTATIONKEY" \
233
+ --arg connectorapi "$OSDU_CONNECTOR_API_ENDPOINT" \
234
+ ' .settings.appInsights.instrumentationKey = $appinnsights |
235
+ .settings.data_partition = $data |
236
+ .settings.domain_name = $domain |
237
+ .settings.idp.tenant_id = $tenant |
238
+ .settings.idp.client_id = $client |
239
+ .settings.idp.redirect_uri = $redirect |
240
+ .settings.idp.scope = $scope |
241
+ .settings.api_endpoints.entitlement_endpoint = $endpoint |
242
+ .settings.api_endpoints.storage_endpoint = $endpoint |
243
+ .settings.api_endpoints.search_endpoint = $endpoint |
244
+ .settings.api_endpoints.legal_endpoint = $endpoint |
245
+ .settings.api_endpoints.schema_endpoint = $endpoint |
246
+ .settings.api_endpoints.file_endpoint = $endpoint |
247
+ .settings.api_endpoints.secrets_endpoint = $connectorapi |
248
+ .settings.api_endpoints.graphAPI_endpoint = $graph |
249
+ .settings.api_endpoints.workflow_endpoint = $endpoint |
250
+ .settings.api_endpoints.secrets_endpoint = $endpoint |
251
+ .settings.api_endpoints.wddms_endpoint = $endpoint ' \
252
+ src/config/config.json > src/config/temp.json
253
+ mv src/config/temp.json src/config/config.json
254
+ ```
255
255
256
256
#### [Manual](#tab/manual)
257
257
258
- Replace the values according to the explanation.
259
-
260
- ```json
261
- {
258
+ Replace the values according to the explanation.
259
+
260
+ ```json
261
+ {
262
+ ...
263
+ "domain_name": ".dataservices.energy", // Domain name to use for the entitlements service. Use .dataservices.energy for any ADME deployment.
264
+ "data_partition": "<adme_data_partition>", // ADME Data Partition ID (i.e. opendes)
265
+ "idp": {
262
266
...
263
- "domain_name": ".dataservices.energy", // Domain name to use for the entitlements service. Use .dataservices.energy for any ADME deployment.
264
- "data_partition": "<adme_data_partition>", // ADME Data Partition ID (i.e. opendes)
265
- "idp": {
266
- ...
267
- "tenant_id": "<tenant_id>", // Entra ID tenant ID
268
- "client_id": "<client_id>", // App Registration ID to use for the admin UI, usually the same as the ADME App Registration ID, i.e. "6ee7e0d6-0641-4b29-a283-541c5d00655a"
269
- "redirect_uri": "<redirect_uri>", // This is the website URL ($REDIRECT_URI), i.e. "https://contoso.z1.web.core.windows.net"
270
- "scope": "<client_id>/.default" // Scope of the ADME instance, i.e. "6ee7e0d6-0641-4b29-a283-541c5d00655a/.default"
271
- },
272
- "api_endpoints": { // Just replace contoso.energy.azure.com with your ADME_URL after removing https or wwww in all the API endpoints below.
273
- "entitlement_endpoint": "https://contoso.energy.azure.com/api/",
274
- "storage_endpoint": "https://contoso.energy.azure.com/api/",
275
- "search_endpoint": "https://contoso.energy.azure.com/api/",
276
- "legal_endpoint": "https://contoso.energy.azure.com/api/",
277
- "schema_endpoint": "https://contoso.energy.azure.com/api/",
278
- "osdu_connector_api_endpoint":"osdu_connector", // Optional. API endpoint of the OSDU Connector API*
279
- "file_endpoint": "https://contoso.energy.azure.com/api/",
280
- "graphAPI_endpoint": "https://graph.microsoft.com/v1.0/",
281
- "workflow_endpoint": "https://contoso.energy.azure.com/api/"
282
- }
283
- ...
267
+ "tenant_id": "<tenant_id>", // Entra ID tenant ID
268
+ "client_id": "<client_id>", // App Registration ID to use for the admin UI, usually the same as the ADME App Registration ID, i.e. "6ee7e0d6-0641-4b29-a283-541c5d00655a"
269
+ "redirect_uri": "<redirect_uri>", // This is the website URL ($REDIRECT_URI), i.e. "https://contoso.z1.web.core.windows.net"
270
+ "scope": "<client_id>/.default" // Scope of the ADME instance, i.e. "6ee7e0d6-0641-4b29-a283-541c5d00655a/.default"
271
+ },
272
+ "api_endpoints": { // Just replace contoso.energy.azure.com with your ADME_URL after removing https or wwww in all the API endpoints below.
273
+ "entitlement_endpoint": "https://contoso.energy.azure.com/api/",
274
+ "storage_endpoint": "https://contoso.energy.azure.com/api/",
275
+ "search_endpoint": "https://contoso.energy.azure.com/api/",
276
+ "legal_endpoint": "https://contoso.energy.azure.com/api/",
277
+ "schema_endpoint": "https://contoso.energy.azure.com/api/",
278
+ "osdu_connector_api_endpoint":"osdu_connector", // Optional. API endpoint of the OSDU Connector API*
279
+ "file_endpoint": "https://contoso.energy.azure.com/api/",
280
+ "graphAPI_endpoint": "https://graph.microsoft.com/v1.0/",
281
+ "workflow_endpoint": "https://contoso.energy.azure.com/api/"
284
282
}
285
- ```
283
+ ...
284
+ }
285
+ ```
286
286
287
287
---
288
288
0 commit comments