Skip to content

Commit

Permalink
[mgmt] add Sanitized rule and update changelog template to fix ci fai… (
Browse files Browse the repository at this point in the history
  • Loading branch information
kazrael2119 authored Sep 6, 2024
1 parent 677f19b commit 9281493
Show file tree
Hide file tree
Showing 316 changed files with 1,626 additions and 881 deletions.
10 changes: 5 additions & 5 deletions sdk/advisor/arm-advisor/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## 3.2.0 (2023-08-03)

**Features**
### Features Added

- Class AdvisorManagementClient has a new signature
- Interface RecommendationsListNextOptionalParams no longer has parameter filter
Expand All @@ -13,27 +13,27 @@

## 3.1.0 (2022-11-14)

**Features**
### Features Added

- Added Interface ConfigData
- Added Interface ResourceRecommendationBase
- Added Interface SuppressionContract

## 3.0.3 (2022-10-08)

**Bugs Fixed**
### Bugs Fixed

- revert credential scopes

## 3.0.2 (2022-09-30)

**Bugs Fixed**
### Bugs Fixed

- fix better user experience of credential scopes in government cloud

## 3.0.1 (2022-03-22)

**features**
### Features Added

- bug fix

Expand Down
6 changes: 5 additions & 1 deletion sdk/advisor/arm-advisor/test/advisor_operations_test.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ const replaceableVariables: Record<string, string> = {
};

const recorderOptions: RecorderStartOptions = {
envSetupForPlayback: replaceableVariables
envSetupForPlayback: replaceableVariables,
removeCentralSanitizers: [
"AZSDK3493", // .name in the body is not a secret and is listed below in the beforeEach section
"AZSDK3430", // .id in the body is not a secret and is listed below in the beforeEach section
],
};

export const testPollingOptions = {
Expand Down
6 changes: 3 additions & 3 deletions sdk/agrifood/arm-agrifood/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,19 @@

## 1.0.0-beta.4 (2022-11-14)

**Features**
### Features Added

- Bugs Fixed

## 1.0.0-beta.3 (2022-10-08)

**Bugs Fixed**
### Bugs Fixed

- revert credential scopes

## 1.0.0-beta.2 (2022-09-30)

**Bugs Fixed**
### Bugs Fixed

- fix better user experience of credential scopes in government cloud

Expand Down
12 changes: 8 additions & 4 deletions sdk/agrifood/arm-agrifood/test/sampleTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,22 +22,26 @@ const replaceableVariables: Record<string, string> = {
};

const recorderOptions: RecorderStartOptions = {
envSetupForPlayback: replaceableVariables
envSetupForPlayback: replaceableVariables,
removeCentralSanitizers: [
"AZSDK3493", // .name in the body is not a secret and is listed below in the beforeEach section
"AZSDK3430", // .id in the body is not a secret and is listed below in the beforeEach section
],
};

describe("My test", () => {
let recorder: Recorder;

beforeEach(async function(this: Context) {
beforeEach(async function (this: Context) {
recorder = new Recorder(this.currentTest);
await recorder.start(recorderOptions);
});

afterEach(async function() {
afterEach(async function () {
await recorder.stop();
});

it("sample test", async function() {
it("sample test", async function () {
console.log("Hi, I'm a test!");
});
});
6 changes: 3 additions & 3 deletions sdk/analysisservices/arm-analysisservices/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,19 @@

## 4.1.2 (2022-10-08)

**Bugs Fixed**
### Bugs Fixed

- revert credential scopes

## 4.1.1 (2022-09-30)

**Bugs Fixed**
### Bugs Fixed

- fix better user experience of credential scopes in government cloud

## 4.1.0 (2022-06-29)

**Features**
### Features Added

- Added Interface AnalysisServicesServer
- Added Interface AnalysisServicesServerProperties
Expand Down
12 changes: 8 additions & 4 deletions sdk/analysisservices/arm-analysisservices/test/sampleTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,22 +22,26 @@ const replaceableVariables: Record<string, string> = {
};

const recorderOptions: RecorderStartOptions = {
envSetupForPlayback: replaceableVariables
envSetupForPlayback: replaceableVariables,
removeCentralSanitizers: [
"AZSDK3493", // .name in the body is not a secret and is listed below in the beforeEach section
"AZSDK3430", // .id in the body is not a secret and is listed below in the beforeEach section
],
};

describe("My test", () => {
let recorder: Recorder;

beforeEach(async function(this: Context) {
beforeEach(async function (this: Context) {
recorder = new Recorder(this.currentTest);
await recorder.start(recorderOptions);
});

afterEach(async function() {
afterEach(async function () {
await recorder.stop();
});

it("sample test", async function() {
it("sample test", async function () {
console.log("Hi, I'm a test!");
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ const replaceableVariables: Record<string, string> = {
};

const recorderOptions: RecorderStartOptions = {
envSetupForPlayback: replaceableVariables
envSetupForPlayback: replaceableVariables,
removeCentralSanitizers: [
"AZSDK3493", // .name in the body is not a secret and is listed below in the beforeEach section
"AZSDK3430", // .id in the body is not a secret and is listed below in the beforeEach section
],
};

export const testPollingOptions = {
Expand Down
10 changes: 5 additions & 5 deletions sdk/appconfiguration/arm-appconfiguration/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

## 4.0.0 (2023-04-06)

**Features**
### Features Added

- Added operation group Replicas
- Added Interface Replica
Expand All @@ -34,27 +34,27 @@
- Interface ConfigurationStoresListNextOptionalParams no longer has parameter skipToken
- Interface OperationsListNextOptionalParams no longer has parameter skipToken

**Breaking Changes**
### Breaking Changes

- Removed operation KeyValues.listByConfigurationStore


## 3.1.0 (2022-11-15)

**Features**
### Features Added

- Added Interface ConfigurationStore
- Added Interface TrackedResource

## 3.0.2 (2022-10-08)

**Bugs Fixed**
### Bugs Fixed

- revert credential scopes

## 3.0.1 (2022-09-30)

**Bugs Fixed**
### Bugs Fixed

- fix better user experience of credential scopes in government cloud

Expand Down
12 changes: 8 additions & 4 deletions sdk/appconfiguration/arm-appconfiguration/test/sampleTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,22 +22,26 @@ const replaceableVariables: Record<string, string> = {
};

const recorderOptions: RecorderStartOptions = {
envSetupForPlayback: replaceableVariables
envSetupForPlayback: replaceableVariables,
removeCentralSanitizers: [
"AZSDK3493", // .name in the body is not a secret and is listed below in the beforeEach section
"AZSDK3430", // .id in the body is not a secret and is listed below in the beforeEach section
],
};

describe("My test", () => {
let recorder: Recorder;

beforeEach(async function(this: Context) {
beforeEach(async function (this: Context) {
recorder = new Recorder(this.currentTest);
await recorder.start(recorderOptions);
});

afterEach(async function() {
afterEach(async function () {
await recorder.stop();
});

it("sample test", async function() {
it("sample test", async function () {
console.log("Hi, I'm a test!");
});
});
12 changes: 8 additions & 4 deletions sdk/applicationinsights/arm-appinsights/test/sampleTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,22 +22,26 @@ const replaceableVariables: Record<string, string> = {
};

const recorderOptions: RecorderStartOptions = {
envSetupForPlayback: replaceableVariables
envSetupForPlayback: replaceableVariables,
removeCentralSanitizers: [
"AZSDK3493", // .name in the body is not a secret and is listed below in the beforeEach section
"AZSDK3430", // .id in the body is not a secret and is listed below in the beforeEach section
],
};

describe("My test", () => {
let recorder: Recorder;

beforeEach(async function(this: Context) {
beforeEach(async function (this: Context) {
recorder = new Recorder(this.currentTest);
await recorder.start(recorderOptions);
});

afterEach(async function() {
afterEach(async function () {
await recorder.stop();
});

it("sample test", async function() {
it("sample test", async function () {
console.log("Hi, I'm a test!");
});
});
8 changes: 4 additions & 4 deletions sdk/appplatform/arm-appplatform/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

## 3.0.0 (2024-01-10)

**Features**
### Features Added

- Added operation group ApiPortalCustomDomains
- Added operation group ApiPortals
Expand Down Expand Up @@ -481,7 +481,7 @@
[propertyName: string]: Record<string, unknown>;
}

**Breaking Changes**
### Breaking Changes

- Type of parameter bindingParameters of interface BindingResourceProperties is changed from {
[propertyName: string]: Record<string, unknown>;
Expand All @@ -493,7 +493,7 @@

## 3.0.0-beta.1 (2023-03-28)

**Features**
### Features Added

- Added operation group ApiPortalCustomDomains
- Added operation group ApiPortals
Expand Down Expand Up @@ -870,7 +870,7 @@
- Interface DeploymentsListForClusterNextOptionalParams no longer has parameter version
- Interface DeploymentsListNextOptionalParams no longer has parameter version

**Breaking Changes**
### Breaking Changes

- Type of parameter addonConfigs of interface AppResourceProperties is changed from {
[propertyName: string]: {
Expand Down
6 changes: 5 additions & 1 deletion sdk/appplatform/arm-appplatform/test/appplatform_examples.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ const replaceableVariables: Record<string, string> = {
};

const recorderOptions: RecorderStartOptions = {
envSetupForPlayback: replaceableVariables
envSetupForPlayback: replaceableVariables,
removeCentralSanitizers: [
"AZSDK3493", // .name in the body is not a secret and is listed below in the beforeEach section
"AZSDK3430", // .id in the body is not a secret and is listed below in the beforeEach section
],
};

export const testPollingOptions = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

## 2.1.0 (2022-12-16)

**Features**
### Features Added

- Added Interface AppServicePlan
- Added Interface AppServicePlanPatchResource
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,22 +22,26 @@ const replaceableVariables: Record<string, string> = {
};

const recorderOptions: RecorderStartOptions = {
envSetupForPlayback: replaceableVariables
envSetupForPlayback: replaceableVariables,
removeCentralSanitizers: [
"AZSDK3493", // .name in the body is not a secret and is listed below in the beforeEach section
"AZSDK3430", // .id in the body is not a secret and is listed below in the beforeEach section
],
};

describe("My test", () => {
let recorder: Recorder;

beforeEach(async function(this: Context) {
beforeEach(async function (this: Context) {
recorder = new Recorder(this.currentTest);
await recorder.start(recorderOptions);
});

afterEach(async function() {
afterEach(async function () {
await recorder.stop();
});

it("sample test", async function() {
it("sample test", async function () {
console.log("Hi, I'm a test!");
});
});
6 changes: 5 additions & 1 deletion sdk/astro/arm-astro/test/astro_operations_test.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ const replaceableVariables: Record<string, string> = {
};

const recorderOptions: RecorderStartOptions = {
envSetupForPlayback: replaceableVariables
envSetupForPlayback: replaceableVariables,
removeCentralSanitizers: [
"AZSDK3493", // .name in the body is not a secret and is listed below in the beforeEach section
"AZSDK3430", // .id in the body is not a secret and is listed below in the beforeEach section
],
};

export const testPollingOptions = {
Expand Down
Loading

0 comments on commit 9281493

Please sign in to comment.