Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
3ca0f16
change default version to be 2019-04 (#7176)
hytao Sep 11, 2019
31c56ab
[Batch] Update documentation around app packages (#7177)
bgklein Sep 11, 2019
ea148fd
Add short url for all api resources (#6884)
bizarreWizard Sep 11, 2019
f6d0142
regenerated all-api-versions
Sep 11, 2019
be08bc9
Updating ListVMSizesResult example (#7178)
Sep 11, 2019
1213672
fixing readmes in resources (#7163)
Sep 11, 2019
4aa7040
regenerated all-api-versions
Sep 11, 2019
5e79c09
Increase sdk automation timeout to 3h (#7179)
Sep 11, 2019
6e6a651
Rename errorResponse to align with other RPs (#7120)
zfchen95 Sep 11, 2019
4f10e08
Run spellcheck against changed json file in PR (#7140)
Sep 11, 2019
d46d469
Change containerservice code owner to yangl900 (#7160)
mboersma Sep 11, 2019
88c2c6e
ServiceBus: added NetworkRuleSets list API (#7050)
Sep 11, 2019
bbe98ad
fix: Double word "the" in imds (#7182)
nschonni Sep 11, 2019
e68ede9
fix: Double word "the" in datalake-analytics (#7181)
nschonni Sep 11, 2019
e44be33
[DataFactory] Add a alternateKeyName property in dynamics sink (#7185)
sjtuxzq Sep 11, 2019
49a38e6
Remove node in swagger to SDK (#7186)
michaeljqzq Sep 11, 2019
8b3322c
Orphan property removed (#6844)
VitaliyKurokhtin Sep 11, 2019
d3f2c3d
fix: Double word "the" in iothub (#7183)
nschonni Sep 12, 2019
4aba8b5
Update ManagedNetwork (#7192)
yanfa317 Sep 12, 2019
9ad13a2
chore: jsonfmt servicebus (#7194)
nschonni Sep 12, 2019
776c019
Fix SpellCheck Swagger Specification (#7112)
sarangan12 Sep 12, 2019
af5ce4c
Replace common domain in examples. (#7198)
LTA-Thinking Sep 13, 2019
453ae24
Fix Local Search Swagger (#7113)
sarangan12 Sep 13, 2019
a3a1f28
Network August release (#7208)
anton-evseev Sep 13, 2019
3d752bf
regenerated all-api-versions
Sep 13, 2019
725c0d9
Generate storage admin spec for 2019-08-08 (#6957)
wenjlu-lgy Sep 15, 2019
eabdd8a
regenerated all-api-versions
Sep 15, 2019
c06babd
chore: jsonfmt network (#7216)
nschonni Sep 16, 2019
a6c827e
Cases API Deprecation Note (#7187)
dosegal Sep 16, 2019
0d2f02e
fixing example in sig (#7215)
Sep 16, 2019
e8d0764
missing section for compute 2019-07-01 (#7193)
Sep 16, 2019
38818b1
[Hub Generated] Review request for Microsoft.Devices to add version p…
congkun-ck Sep 16, 2019
7c87d29
regenerated all-api-versions
Sep 16, 2019
d56b7d2
Updated 2019-02-01-preview api version to include operation.g (#7203)
jimmyca15 Sep 16, 2019
53538c6
fix: Double word "the" in automation (#7180)
nschonni Sep 16, 2019
09aacbb
Correct the version (#6955)
mmyyrroonn Sep 16, 2019
e0d9ceb
Add purge API details. (#7157)
yoramsinger Sep 16, 2019
df2d7c7
Remove http scheme from Datalake storage (#7213)
sarangan12 Sep 16, 2019
69674f9
Amaga/update customer policy (#7210)
amagams Sep 16, 2019
a917b27
DataBox Edge - Rename from edgegateway to databoxedge, added a new ve…
anponnet Sep 17, 2019
6375d45
regenerated all-api-versions
Sep 17, 2019
486e89b
add openapi-sla-bot config (#7195)
ruowan Sep 17, 2019
fa35bb5
Network: add java readme (#7226)
ChenTanyi Sep 17, 2019
9e4f363
fix: Double word "the" in resources (#7184)
nschonni Sep 17, 2019
0f75a7a
Support DataLakeStorage 10-31-19 version (#7032)
DadanielZ Sep 17, 2019
3b9c0d0
regenerated all-api-versions
Sep 17, 2019
eaff690
Add 2019-07 version to network go code generation (#7225)
ArcturusZhang Sep 17, 2019
5ace989
Adding kinds for AlertRules endpoints, updating AlertRuleTemplates en…
yoshkedi Sep 18, 2019
317aaa0
Adding SQL managedDatabases swagger for API v2018-06-01-preview (#7172)
misosic-msft Sep 18, 2019
6263085
regenerated all-api-versions
Sep 18, 2019
7685f61
[ACR] Scope map updates (#7223)
ankurkhemani Sep 18, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .azure-pipelines-preproduction/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
},
"scripts": {
"test": "tsc && mocha -t 500000 --reporter min",
"spellcheck": "cspell \"specification/**/*.json\"",
"spellcheck": "ts-node ./scripts/spellcheck.ts",
"tsc": "tsc",
"multiapi": "ts-node ./scripts/multiapi.ts"
}
Expand Down
7 changes: 2 additions & 5 deletions .azure-pipelines/SwaggerToSDK.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
jobs:
- job: "SDK"
timeoutInMinutes: 120
timeoutInMinutes: 180
strategy:
matrix:
java:
Expand All @@ -9,9 +9,6 @@ jobs:
javascript:
AZURE_SDK_REPO: azure-sdk-for-js
AZURE_SDK_PARAMS: ''
node:
AZURE_SDK_REPO: azure-sdk-for-node
AZURE_SDK_PARAMS: ''
python:
AZURE_SDK_REPO: azure-sdk-for-python
AZURE_SDK_PARAMS: ''
Expand All @@ -25,4 +22,4 @@ jobs:
steps:
- script: echo $(NODE_OPTIONS)
- script: "scripts/swagger-to-sdk.sh Azure/$(AZURE_SDK_REPO) -v $(AZURE_SDK_PARAMS)"
displayName: "Swagger to SDK script"
displayName: "Swagger to SDK script"
15 changes: 15 additions & 0 deletions .github/reviewer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# This file is openapi-email-bot to store reviewer email address.
---
- group:
name: default
users:
- githubID: ruowan
email: ruowan@microsoft.com
- githubID: raych1
email: raychen@microsoft.com
- githubID: MyronFanQiu
email: fanqiu@microsoft.com
- githubID: yungezz
email: yungez@microsoft.com
- githubID: lirenhe
email: Renhe.Li@microsoft.com
25 changes: 25 additions & 0 deletions .github/sla.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
- scheduleTask:
action: sendEmailToAssignee
args:
ignoredLabels:
- WaitForARMFeedback
- DoNotMerge
- WaitingForAzureAPIBoard
limit: 48h
message: '<p> Dear Swagger reviewer, <br> <br> Please response to the PR ${PR_URL}. The PR isn''t updated in 48 hours. <br> <hr /> <br> Quick info. <ul> <li>If no response from ARM review board, please send email to armapireview@microsoft.com.</li> <li>If need immediate ARM review, please get ARM review oncall contact point from ICM https://icm.ad.msft.net/imp/v3/oncall/current under Service "Azure Resource Manager" and Team "RP Manifest Approvers"</li> <li>If no response from Azure API review board, please send email to azureapirbcore@microsoft.com.</li> <li>If you have problem to fix CI task errors, please send email to Visual Studio China Swagger and Tool team vscswagger@microsoft.com.</li> <li>If you want to opt out from Swagger reviewing for out of office period, please set vacation date at https://inframonitorweb1.azurewebsites.net/Home/MyView.</li> <li>Pls refer to <a href="onenote:https://microsoft.sharepoint.com/teams/IoTToolingTeam/SiteAssets/IoT Tooling Team Notebook/Azure Management Experience - transition.one#Swagger%20reviewing%20process§ion-id={ECE847C4-519B-4448-A1A0-8E84A7EFE8AB}&page-id={F6E345FE-46E1-420F-B837-6BF76167DE05}&end">Swagger review process (onenote)</a> for more about Swagger review process.</li> </ul> Best regards, <br> Azure Management Experience </p>'
subject: "Action Required: Please respond to PR ${PR_URL}"
description: "None initial response in 48 hours"
name: no-initial-response
- scheduleTask:
action: sendEmailToAssignee
args:
ignoredLabels:
- WaitForARMFeedback
- DoNotMerge
- WaitingForAzureAPIBoard
limit: 5d
message: '<p> Dear Swagger reviewer, <br> <br> Please response to the PR ${PR_URL}. The PR isn''t updated in 5 days. <br> <hr /> <br> Quick info. <ul> <li>If no response from ARM review board, please send email to armapireview@microsoft.com.</li> <li>If need immediate ARM review, please get ARM review oncall contact point from ICM https://icm.ad.msft.net/imp/v3/oncall/current under Service "Azure Resource Manager" and Team "RP Manifest Approvers"</li> <li>If no response from Azure API review board, please send email to azureapirbcore@microsoft.com.</li> <li>If you have problem to fix CI task errors, please send email to Visual Studio China Swagger and Tool team vscswagger@microsoft.com.</li> <li>If you want to opt out from Swagger reviewing for out of office period, please set vacation date at https://inframonitorweb1.azurewebsites.net/Home/MyView.</li> <li>Pls refer to <a href="onenote:https://microsoft.sharepoint.com/teams/IoTToolingTeam/SiteAssets/IoT Tooling Team Notebook/Azure Management Experience - transition.one#Swagger%20reviewing%20process§ion-id={ECE847C4-519B-4448-A1A0-8E84A7EFE8AB}&page-id={F6E345FE-46E1-420F-B837-6BF76167DE05}&end">Swagger review process (onenote)</a> for more about Swagger review process.</li> </ul> Best regards, <br> Azure Management Experience </p>'
subject: "Action Required: Please respond to PR ${PR_URL}"
description: "None update in PR in 5 days"
name: no-update-in-5d
4 changes: 2 additions & 2 deletions CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
/specification/consumption/ @kjeur @panda-wang
/specification/containerinstance/ @samkreter
/specification/containerregistry/ @djyou
/specification/containerservice/ @mboersma
/specification/containerservice/ @yangl900
/specification/cosmos-db/ @dmakwana
/specification/customer-insights/ @tjlvtao
/specification/datafactory/ @zhangyd2015
Expand Down Expand Up @@ -43,7 +43,7 @@
/specification/mobileengagement/ @pshrosbree
/specification/monitor/ @gucalder
/specification/mysql/ @qingqingyuan
/specification/network/ @MikhailTryakhov
/specification/network/ @MikhailTryakhov @number213
/specification/notificationhubs/ @amolr @smithab
/specification/operationalinsights/ @sw47
/specification/operationsmanagement/ @dashimi16
Expand Down
3 changes: 3 additions & 0 deletions custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -496,6 +496,7 @@ featurized
Featurizer
feedbacktype
FHIR
filegroup
filepath
fileserver
fileservers
Expand Down Expand Up @@ -1219,6 +1220,7 @@ scalesets
scanability
SCMS
SCOM
scopemap
SCSV
sdks
searchindex
Expand Down Expand Up @@ -1487,6 +1489,7 @@ Unprovisions
Unpublish
Unregistering
Unregisters
unrestorable
unsubstituted
untagged
Untracked
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"scripts": {
"postinstall": "scripts/switch-to-preproduction.sh",
"test": "tsc && mocha -t 500000 --reporter min",
"spellcheck": "cspell \"specification/**/*.json\"",
"spellcheck": "ts-node ./scripts/spellcheck.ts",
"tsc": "tsc",
"multiapi": "ts-node ./scripts/multiapi.ts"
}
Expand Down
68 changes: 68 additions & 0 deletions scripts/spellcheck.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
import { devOps, cli, childProcess } from '@azure/avocado';
import { ExecOptions } from 'child_process';

const logToAzureDevops = (msg: string, type: string) => {
const lines = msg.split('\n');
for (const line of lines) {
console.log(`##vso[task.logissue type=${type}]${line}`);
}
}

const logError = (msg: string) => logToAzureDevops(msg, 'error');
const logWarn = (msg: string) => logToAzureDevops(msg, 'warning');

const verboseExec = async (commandLine: string, options: ExecOptions = {}) => {
console.log(commandLine);
let result: any = {};
try {
result = await childProcess.exec(commandLine, options);
} catch (e) {
result = e;
}

if (!result.code) {
return 0;
}

if (result.stdout) {
logError(result.stdout);
}
if (result.stderr) {
console.error(result.stderr);
}
return result.code;
}

const main = async () => {
const config = cli.defaultConfig();
const pr = await devOps.createPullRequestProperties(config);
if (pr === undefined) {
logWarn("Not in CI environment. Run against all the spec json.");
return verboseExec(`cspell "specification/**/*.json"`);
}

const changedJsonFiles = await pr.structuralDiff()
.filter(filePath => filePath.endsWith('.json') && filePath.startsWith('specification/'))
.toArray();
if (changedJsonFiles.length === 0) {
logWarn("No changed spec json file");
return 0;
}

let retCode = 0;
for (const jsonFile of changedJsonFiles) {
const code = await verboseExec(`cspell ${jsonFile}`);
if (code !== 0) {
retCode = code;
}
}

return retCode;
}

main().then(retCode => {
if (retCode !== 0) {
logError('Please fix the error or add words to ./custom-words.txt');
}
process.exit(retCode);
});
Original file line number Diff line number Diff line change
Expand Up @@ -850,10 +850,6 @@
"openid": {
"$ref": "#/definitions/OpenIdAuthenticationSettingsContract",
"description": "OpenID Connect Authentication Settings"
},
"subscriptionKeyRequired": {
"type": "boolean",
"description": "Specifies whether subscription key is required during call to this API, true - API is included into closed products only, false - API is included into open products alone, null - there is a mix of products."
}
},
"description": "API Authentication Settings."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -497,6 +497,57 @@
"nextLinkName": "nextLink"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/listKeyValue": {
"post": {
"tags": [
"ConfigurationStores"
],
"description": "Lists a configuration store key-value.",
"operationId": "ConfigurationStores_ListKeyValue",
"parameters": [
{
"$ref": "#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/ConfigStoreNameParameter"
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"name": "listKeyValueParameters",
"in": "body",
"description": "The parameters for retrieving a key-value.",
"required": true,
"schema": {
"$ref": "#/definitions/ListKeyValueParameters"
}
}
],
"responses": {
"200": {
"description": "The request was successful; the request was well-formed and received properly.",
"schema": {
"$ref": "#/definitions/KeyValue"
}
},
"default": {
"description": "Error response describing why the operation failed",
"schema": {
"$ref": "#/definitions/Error"
}
}
},
"x-ms-examples": {
"ConfigurationStores_ListKeyValue": {
"$ref": "./examples/ConfigurationStoresListKeyValue.json"
}
}
}
}
},
"definitions": {
Expand Down Expand Up @@ -703,6 +754,73 @@
}
}
},
"ListKeyValueParameters": {
"description": "The parameters used to list a configuration store key-value",
"required": [
"key"
],
"type": "object",
"properties": {
"key": {
"description": "The key to retrieve.",
"type": "string"
},
"label": {
"description": "The label of the key.",
"type": "string"
}
}
},
"KeyValue": {
"description": "The result of a request to retrieve a key-value from the specified configuration store.",
"type": "object",
"properties": {
"key": {
"description": "The primary identifier of a key-value.\r\nThe key is used in unison with the label to uniquely identify a key-value.",
"type": "string",
"readOnly": true
},
"label": {
"description": "A value used to group key-values.\r\nThe label is used in unison with the key to uniquely identify a key-value.",
"type": "string",
"readOnly": true
},
"value": {
"description": "The value of the key-value.",
"type": "string",
"readOnly": true
},
"contentType": {
"description": "The content type of the key-value's value.\r\nProviding a proper content-type can enable transformations of values when they are retrieved by applications.",
"type": "string",
"readOnly": true
},
"eTag": {
"description": "An ETag indicating the state of a key-value within a configuration store.",
"type": "string",
"readOnly": true
},
"lastModified": {
"format": "date-time",
"description": "The last time a modifying operation was performed on the given key-value.",
"type": "string",
"readOnly": true
},
"locked": {
"description": "A value indicating whether the key-value is locked.\r\nA locked key-value may not be modified until it is unlocked.",
"type": "boolean",
"readOnly": true
},
"tags": {
"description": "A dictionary of tags that can help identify what a key-value may be applicable for.",
"type": "object",
"additionalProperties": {
"type": "string"
},
"readOnly": true
}
}
},
"OperationDefinitionListResult": {
"description": "The result of a request to list configuration store operations.",
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"parameters": {
"subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882",
"resourceGroupName": "myResourceGroup",
"configStoreName": "fayeh",
"api-version": "2019-02-01-preview",
"listKeyValueParameters": {
"key": "MaxRequests",
"label": "dev"
}
},
"responses": {
"200": {
"body": {
"key": "MaxRequests",
"label": "dev",
"value": "100",
"contentType": "",
"eTag": "4f6dd610dd5e4deebc7fbaef685fb903",
"lastModified": "2017-12-05T02:41:26+00:00",
"locked": false,
"tags": {
"t1": "value1",
"t2": "value2"
}
}
}
}
}
4 changes: 4 additions & 0 deletions specification/appconfiguration/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ directive:
from: appconfiguration.json
where: $.definitions.ApiKey.properties.readOnly
reason: We did consider using an enum instead but found it to not be helpful.
- suppress: EnumInsteadOfBoolean
from: appconfiguration.json
where: $.definitions.KeyValue.properties.locked
reason: This is data plane level information proxied through the RP and cannot be changed.
```

## Multi-API/Profile support for AutoRest v3 generators
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/purge": {
"post": {
"description": "Purges data in an Application Insights component by a set of user-defined filters.",
"description": "Purges data in an Application Insights component by a set of user-defined filters.\n\nIn order to manage system resources, purge requests are throttled at 50 requests per hour. You should batch the execution of purge requests by sending a single command whose predicate includes all user identities that require purging. Use the in operator to specify multiple identities. You should run the query prior to using for a purge request to verify that the results are expected.",
"operationId": "Components_Purge",
"parameters": [
{
Expand Down
Loading