Skip to content

Commit 1b2cb27

Browse files
Merge pull request #302240 from MicrosoftDocs/main
Merged by Learn.Build PR Management system
2 parents 75e9079 + 660afb2 commit 1b2cb27

36 files changed

+395
-408
lines changed

articles/api-management/azure-openai-api-from-specification.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Import an Azure OpenAI API as REST API - Azure API Management
3-
description: How to import an Azure OpenAI API as a REST API from the Azure OpenAI in Foundry Models or from an OpenAPI specification.
3+
description: How to import an Azure OpenAI API as a REST API from Azure OpenAI in Foundry Models or from an OpenAPI specification.
44
ms.service: azure-api-management
55
author: dlepow
66
ms.author: danlep
@@ -20,7 +20,8 @@ You can import AI model endpoints deployed in [Azure OpenAI in Foundry Models](/
2020

2121
This article shows two options to import an Azure OpenAI API into an Azure API Management instance as a REST API:
2222

23-
- [Import an Azure OpenAI API directly from Azure OpenAI in Foundry Models](#option-1-import-api-from-azure-openai) (recommended)
23+
- [Import an Azure OpenAI API directly from Azure OpenAI](#option-1-import-api-from-azure-openai) (recommended)
24+
2425
- [Download and add the OpenAPI specification](#option-2-add-an-openapi-specification-to-api-management) for Azure OpenAI and add it to API Management as an OpenAPI API.
2526

2627
Learn more about managing AI APIs in API Management:
@@ -35,12 +36,12 @@ Learn more about managing AI APIs in API Management:
3536
Make a note of the ID (name) of the deployment. You'll need it when you test the imported API in API Management.
3637

3738
> [!NOTE]
38-
> API Management policies such as [azure-openai-token-limit](azure-openai-token-limit-policy.md) and [azure-openai-emit-token-metric](azure-openai-emit-token-metric-policy.md) are supported for certain API endpoints exposed through specific Azure OpenAI models. For more information, see [Supported Azure OpenAI in Foundry Models](azure-openai-token-limit-policy.md).
39+
> API Management policies such as [azure-openai-token-limit](azure-openai-token-limit-policy.md) and [azure-openai-emit-token-metric](azure-openai-emit-token-metric-policy.md) are supported for certain API endpoints exposed through specific Azure OpenAI models. For more information, see [Supported Azure OpenAI models](azure-openai-token-limit-policy.md#supported-azure-openai-in-foundry-models-models).
3940
4041
- Permissions to grant access to the Azure OpenAI resource from the API Management instance.
4142

42-
## Option 1. Import API from Azure OpenAI
43-
43+
## Option 1. Import API from Azure OpenAI
44+
4445
You can import an Azure OpenAI API directly from Azure OpenAI to API Management.
4546

4647
[!INCLUDE [api-management-workspace-availability](../../includes/api-management-workspace-availability.md)]
@@ -135,8 +136,8 @@ To ensure that your Azure OpenAI API is working as expected, test it in the API
135136
1. Select an operation that's compatible with the model you deployed in the Azure OpenAI resource.
136137
The page displays fields for parameters and headers.
137138
1. In **Template parameters**, enter the following values:
138-
* `deployment-id` - the ID of a deployment in the Azure OpenAI
139-
* `api-version` - a valid Azure OpenAI API version, such as the API version you selected when you imported the API.
139+
* `deployment-id` - the ID of a deployment in Azure OpenAI
140+
* `api-version` - a valid Azure OpenAI API version, such as the API version you selected when you imported the API.
140141
:::image type="content" source="media/azure-openai-api-from-specification/test-azure-openai-api.png" alt-text="Screenshot of testing an Azure OpenAI API in the portal." lightbox="media/azure-openai-api-from-specification/test-azure-openai-api.png" :::
141142
1. Enter other parameters and headers as needed. Depending on the operation, you might need to configure or update a **Request body**.
142143
> [!NOTE]

articles/azure-app-configuration/enable-dynamic-configuration-java-spring-app.md

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ author: mrm9084
77
ms.service: azure-app-configuration
88
ms.devlang: java
99
ms.topic: tutorial
10-
ms.date: 12/04/2024
10+
ms.date: 06/18/2025
1111
ms.custom: devx-track-java, devx-track-extended-java
1212
ms.author: mametcal
1313
#Customer intent: As a Java Spring developer, I want to dynamically update my app to use the latest configuration data in App Configuration.
@@ -29,7 +29,7 @@ Refresh allows you to update your configuration values without having to restart
2929

3030
To use manual refresh, start with a Spring Boot app that uses App Configuration, such as the app you create by following the [Spring Boot quickstart for App Configuration](quickstart-java-spring-app.md).
3131

32-
App Configuration exposes `AppConfigurationRefresh`, which can be used to check if the cache is expired. If it's expired, a refresh is triggered.
32+
App Configuration exposes `AppConfigurationRefresh`, which checks if the refresh interval has passed. If the refresh interval has passed, it triggers a refresh.
3333

3434
1. To use `AppConfigurationRefresh`, update HelloController.
3535

@@ -59,6 +59,13 @@ App Configuration exposes `AppConfigurationRefresh`, which can be used to check
5959

6060
`AppConfigurationRefresh`'s `refreshConfigurations()` returns a `Mono` that is true if a refresh is triggered, and false if not. False means either the cache expiration time isn't expired, there was no change, or another thread is currently checking for a refresh.
6161

62+
> [!NOTE]
63+
> For libraries such as Spring WebFlux that require non-blocking calls, `refreshConfigurations()` needs to be wrapped in a thread as loading configurations requires a blocking call.
64+
>
65+
> ```java
66+
> new Thread(() -> refresh.refreshConfigurations()).start();
67+
> ```
68+
6269
1. To enable refresh update `bootstrap.properties`:
6370

6471
```properties
@@ -106,8 +113,8 @@ App Configuration exposes `AppConfigurationRefresh`, which can be used to check
106113

107114
1. Refresh the browser page twice to see the new message displayed. The first time triggers the refresh, the second loads the changes.
108115

109-
> [!NOTE]
110-
> The library only checks for changes on the after the refresh interval has passed. If the period hasn't passed then no change is displayed. Wait for the period to pass, then trigger the refresh check.
116+
> [!NOTE]
117+
> The library checks for changes only after the refresh interval passes. If the refresh interval hasn't passed, it doesn't check for changes. Wait for the interval to pass, then trigger the refresh check.
111118

112119
## Use automated refresh
113120

@@ -119,7 +126,7 @@ Then, open the *pom.xml* file in a text editor and add a `<dependency>` for `spr
119126
<dependency>
120127
<groupId>com.azure.spring</groupId>
121128
<artifactId>spring-cloud-azure-appconfiguration-config-web</artifactId>
122-
<version>5.18.0</version>
129+
<version>5.22.0</version>
123130
</dependency>
124131
```
125132

@@ -170,8 +177,8 @@ Then, open the *pom.xml* file in a text editor and add a `<dependency>` for `spr
170177

171178
1. Refresh the browser page twice to see the new message displayed. The first time triggers the refresh, the second loads the changes, as the first request returns using the original scope.
172179

173-
> [!NOTE]
174-
> The library only checks for changes on after the refresh interval has passed. If the refresh interval hasn't passed, then it doesn't check for changes. Wait for the interval to pass, then trigger the refresh check.
180+
> [!NOTE]
181+
> The library checks for changes only after the refresh interval passes. If the refresh interval hasn't passed, it doesn't check for changes. Wait for the interval to pass, then trigger the refresh check.
175182

176183
## Next steps
177184

articles/azure-app-configuration/enable-dynamic-configuration-java-spring-push-refresh.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.service: azure-app-configuration
99
ms.devlang: java
1010
ms.custom: devx-track-extended-java
1111
ms.topic: tutorial
12-
ms.date: 12/04/2024
12+
ms.date: 06/18/2025
1313
ms.author: mametcal
1414
#Customer intent: I want to use push refresh to dynamically update my app to use the latest configuration data in App Configuration.
1515
---
@@ -63,7 +63,7 @@ In this tutorial, you learn how to:
6363
<dependency>
6464
<groupId>com.azure.spring</groupId>
6565
<artifactId>spring-cloud-azure-dependencies</artifactId>
66-
<version>5.18.0</version>
66+
<version>5.22.0</version>
6767
<type>pom</type>
6868
<scope>import</scope>
6969
</dependency>

articles/azure-app-configuration/feature-flag-telemetry-reference.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ In this document, you:
2121
2222
## Feature evaluation
2323

24-
The Feature evaluation event is emitted whenever a feature flag that has telemetry enabled is evaluated in your application. This event, named `EvaluationEvent`, occurs each time your code checks a feature flag's status or gets a variant. The event captures the evaluation result, variant assignment details, and contextual information about why specific decisions were made.
24+
The Feature evaluation event is emitted whenever a feature flag that has telemetry enabled is evaluated in your application. This event, named `FeatureEvaluation`, occurs each time your code checks a feature flag's status or gets a variant. The event captures the evaluation result, variant assignment details, and contextual information about why specific decisions were made.
2525

2626
This event contains the following fields:
2727

@@ -54,4 +54,4 @@ The full schema can be found in the [App Configuration Feature Evaluation Event
5454

5555
## Next steps
5656

57-
In this document, you learned about the telemetry data available for feature flags. To learn about how to use the telemetry data in your applications, continue to the following document for your language or platform.
57+
In this document, you learned about the telemetry data available for feature flags. To learn about how to use the telemetry data in your applications, continue to the following document for your language or platform.

0 commit comments

Comments
 (0)