Skip to content

Commit

Permalink
added $..name removable sanitizer
Browse files Browse the repository at this point in the history
  • Loading branch information
samvaity committed May 10, 2024
1 parent 16400a3 commit a67c5c4
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ public class TestProxyUtils {
private static final HttpHeaderName X_RECORDING_SKIP = HttpHeaderName.fromString("x-recording-skip");
private static final String REDACTED_VALUE = "REDACTED";
private static final String URL_REGEX = "(?<=http://|https://)([^/?]+)";
// Removing `Operation-Location` and `$..id` from the default list of sanitizers as they are used in the SDK.
// Removing `Operation-Location`, `$..id` and `$..name` from the default list of sanitizers as they are used in the SDK.
public static final List<String> DEFAULT_REMOVE_SANITIZER_LIST
= Collections.unmodifiableList(Arrays.asList("AZSDK2030", "AZSDK3430"));
= Collections.unmodifiableList(Arrays.asList("AZSDK2030", "AZSDK3430", "AZSDK3493"));

// These are prepended with "$.." creating a Jsonpath expression.
private static final List<String> JSON_BODY_KEYS_TO_REDACT = Arrays.asList("authHeader", "accountKey",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
import static com.azure.ai.documentintelligence.TestUtils.DISPLAY_NAME_WITH_ARGUMENTS;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertTrue;

public class DocumentModelAdministrationClientTest extends DocumentAdministrationClientTestBase {
private DocumentIntelligenceAdministrationClient client;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
import com.azure.ai.formrecognizer.models.LengthUnit;
import com.azure.ai.formrecognizer.models.RecognizedForm;
import com.azure.ai.formrecognizer.models.SelectionMarkState;
import com.azure.ai.formrecognizer.models.TextStyleName;
import com.azure.ai.formrecognizer.training.FormTrainingClientBuilder;
import com.azure.core.http.HttpClient;
import com.azure.core.http.policy.HttpLogDetailLevel;
Expand Down
8 changes: 4 additions & 4 deletions sdk/monitor/azure-monitor-ingestion/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,10 @@
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-test</artifactId>
<version>1.25.0</version> <!-- {x-version-update;com.azure:azure-core-test;dependency} -->
<scope>test</scope>
<groupId>com.azure</groupId>
<artifactId>azure-core-test</artifactId>
<version>1.26.0-beta.1</version> <!-- {x-version-update;unreleased_com.azure:azure-core-test;dependency} -->
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.projectreactor</groupId>
Expand Down
2 changes: 1 addition & 1 deletion sdk/monitor/azure-monitor-opentelemetry-exporter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-test</artifactId>
<version>1.25.0</version> <!-- {x-version-update;com.azure:azure-core-test;dependency} -->
<version>1.26.0-beta.1</version> <!-- {x-version-update;unreleased_com.azure:azure-core-test;dependency} -->
<scope>test</scope>
</dependency>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion sdk/storage/azure-storage-file-datalake/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-test</artifactId>
<version>1.25.0</version> <!-- {x-version-update;com.azure:azure-core-test;dependency} -->
<version>1.26.0-beta.1</version> <!-- {x-version-update;unreleased_com.azure:azure-core-test;dependency} -->
<scope>test</scope>
</dependency>
<dependency>
Expand Down

0 comments on commit a67c5c4

Please sign in to comment.