Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Az python sdk folder change #8999

Closed
wants to merge 37 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
6a75990
codegen onboard df for cli
qiaozha Feb 26, 2020
4f86a44
df changeback
qiaozha Feb 26, 2020
180fe8b
directive clicommon
qiaozha Mar 2, 2020
b14b4d3
move some configuration to commom
qiaozha Mar 3, 2020
54f65ff
try to flatten everything but base polymorphic class
qiaozha Mar 5, 2020
0fbdca8
datafactory change
qiaozha Mar 7, 2020
3a45f5d
datafactory change
qiaozha Mar 7, 2020
47585f4
test json
qiaozha Mar 8, 2020
b0131c5
remove x-ms-client-flatten directive
qiaozha Mar 9, 2020
06b118d
use clicommon flatten
qiaozha Mar 9, 2020
2a88370
for datafactory
qiaozha Mar 13, 2020
ab11210
python configuration
qiaozha Mar 18, 2020
380ff96
annotate clear-output-folder for the moment
qiaozha Mar 19, 2020
1ca9bcd
Merge branch 'master' into codegen-datafactory-onboard-cli
qiaozha Mar 21, 2020
3abb55b
Merge branch 'codegen-datafactory-onboard-cli' of github.com:Azure/az…
qiaozha Mar 21, 2020
5d8c366
support for poly config
qiaozha Mar 23, 2020
69dc20a
df poly setting
qiaozha Mar 23, 2020
c93b82f
test kusto
qiaozha Mar 29, 2020
d1f52c9
datafactory
qiaozha Apr 9, 2020
430ffa7
change python sdk path
qiaozha Apr 9, 2020
46cfca4
remove cli test
qiaozha Apr 9, 2020
9ed543b
change pythonsdk folder
qiaozha Apr 9, 2020
71095f0
merge master
qiaozha Apr 9, 2020
51bd017
Compress changes on env-test
Mar 20, 2020
4e08829
enable avocado0.6.3
ruowan Apr 3, 2020
e3ed0fe
update
Apr 8, 2020
829b09c
Update SDKAutomation.yml
xiaoxuqi-ms Apr 10, 2020
baff48f
Update SwaggerToSDK.yml
xiaoxuqi-ms Apr 10, 2020
2430892
Update specificationRepositoryConfiguration.json
xiaoxuqi-ms Apr 10, 2020
be2f3c0
Update package.json
xiaoxuqi-ms Apr 10, 2020
dbe8f90
Update specificationRepositoryConfiguration.json
xiaoxuqi-ms Apr 13, 2020
1785aad
Update specificationRepositoryConfiguration.json
xiaoxuqi-ms Apr 13, 2020
9571162
Merge branch 'master' into az-python-sdk-folder-change
qiaozha Apr 14, 2020
542e5e6
change for the new az codegen
qiaozha Apr 14, 2020
1bd98f0
Merge branch 'master' of github.com:Azure/azure-rest-api-specs
qiaozha Apr 16, 2020
b17b95d
Merge branch 'master' into az-python-sdk-folder-change
qiaozha Apr 16, 2020
d88d2d3
Merge branch 'master' into az-python-sdk-folder-change
qiaozha Apr 16, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions .azure-pipelines/SDKAutomation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,17 @@ pr:
autoCancel: false

variables:
IMAGE: azopenapi.azurecr.io/openapi/sdk-automation:prod
REGISTRY_ENDPOINT: azopenapi-registry
IMAGE: azopenapitest.azurecr.io/openapi/sdk-automation:test
REGISTRY_ENDPOINT: openapi platform test acr registry
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't include change in test repo


jobs:
- job: "SDKAutomation"
displayName: SDK
pool:
vmImage: 'Ubuntu 18.04'
# container:
# image: azopenapitest.azurecr.io/openapi/sdk-automation:test
# endpoint: openapi platform test acr registry
timeoutInMinutes: 180

variables:
Expand All @@ -37,6 +40,10 @@ jobs:
SDK_REPO_NAME: azure-cli-extensions
Go:
SDK_REPO_NAME: azure-sdk-for-go
AzCli:
SDK_REPO_NAME: azure-cli-extensions
Trenton:
SDK_REPO_NAME: azure-sdk-for-trenton
steps:
- checkout: none
- script: |
Expand All @@ -50,10 +57,12 @@ jobs:
displayName: Login into ACR
inputs:
command: login
containerRegistry: $(REGISTRY_ENDPOINT)
containerRegistry: openapi platform test acr registry
- script: |
docker pull $IMAGE
docker tag $IMAGE sdk-automation:latest
env:
IMAGE: azopenapitest.azurecr.io/openapi/sdk-automation:test
displayName: Pull SDK Automation Image
- script: |
docker run \
Expand Down
3 changes: 3 additions & 0 deletions .azure-pipelines/SwaggerToSDK.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ jobs:
go:
AZURE_SDK_REPO: azure-sdk-for-go
AZURE_SDK_PARAMS: '-o latest'
trenton:
AZURE_SDK_REPO: azure-sdk-for-trenton
AZURE_SDK_PARAMS: ''
pool:
vmImage: 'Ubuntu 16.04'
variables:
Expand Down
136 changes: 19 additions & 117 deletions .github/assignment.yml
Original file line number Diff line number Diff line change
@@ -1,143 +1,45 @@
---
- rule:
# data-plane PR
paths:
- "specification/**/data-plane/**"
paths: "documentation/**"
reviewers:
- anuchandy
- jhendrixMSFT
- lmazuel
- tjprescott

- rule:
paths:
- "specification/network/**"
reviewers:
- lirenhe
- MyronFanQiu

- rule:
paths:
- "specification/@(applicationinsights|operationalinsights)/**"
reviewers:
- MyronFanQiu

- rule:
paths: "specification/compute/**"
reviewers:
- ArcturusZhang
- fengzhou-msft
- yungezz
- ruowan
- raych1

- rule:
paths:
- "specification/machinelearningservices/**"
paths: "specification/**/Microsoft.Network/**"
reviewers:
- ArcturusZhang
- ruowan
- NullMDR
- Dreamgoing

- rule:
paths:
- "specification/authorization/**"
reviewers:
- qianwens
- yungezz

- rule:
paths:
- "specification/datafactory/**"
reviewers:
- qianwens

- rule:
paths:
- "specification/monitor/**"
reviewers:
- weidongxu-microsoft
- MyronFanQiu

- rule:
paths:
- "specification/storage/**"
- "specification/@(containerservice|databricks|containerregistry|compute)/**"
- "specification/@(docker)/**"
reviewers:
- qianwens
- Juliehzl
- ruowan
- Dreamgoing

- rule:
paths: "specification/mediaservices/**"
paths: "specification/**/date-plane/**"
reviewers:
- allenjzhang
- Dreamgoing

- rule:
paths:
- "specification/@(keyvault|notificationhubs)/**"
- "specification/@(databricks|containerregistry)/**"
reviewers:
- fengzhou-msft

- rule:
paths:
- "specification/@(containerservice|containerinstance)/**"
- "specification/**/resource-manager/**"
reviewers:
- NullMDR
- fengzhou-msft
- yungezz

- rule:
paths:
- "specification/mixedreality/**"
reviewers:
- leni-msft

- rule:
paths:
- "specification/portal/**"
reviewers:
- NullMDR

- rule:
paths:
- "specification/web/**"
reviewers:
- weidongxu-microsoft

- rule:
paths:
- "documentation/**"
reviewers:
- josefree
- akning-ms
- ruowan

- rule:
paths:
- "**/package.json"
- ".github/**"
- "**/azure-pipelines.yml"
- ".azure-pipelines/**"
- ".azure-pipelines-preproduction/**"
- "**/package.json"
- "package.json"
reviewers:
- akning-ms
- ruowan
- NullMDR

- rule:
# manager-plane PR
paths:
- "**"
paths: "**"
reviewers:
- yungezz
- zikalino
- erich-wang
- NullMDR
- raych1
- lirenhe
- weidongxu-microsoft
- ArcturusZhang
- xccc-msft
- ChenTanyi
- fengzhou-msft
- njuCZ
- akning-ms
- markcowl
- leni-msft
- qianwens
- allenjzhang
- ruowan
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"description": "Tests for Azure REST API Specifications",
"license": "MIT",
"devDependencies": {
"@azure/avocado": "^0.6.2",
"@azure/avocado": "^0.6.3",
"@azure/rest-api-specs-scripts": "^0.7.1",
"@ts-common/commonmark-to-markdown": "^1.2.0",
"@ts-common/fs": "0.2.0",
Expand Down
3 changes: 2 additions & 1 deletion specification/azure-kusto/resource-manager/readme.az.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ az:
extensions: kusto
namespace: azure.mgmt.kusto
package-name: azure-mgmt-kusto
python-sdk-output-folder: "$(output-folder)/src/kusto/azext_kusto/vendored_sdks/kusto"
az-output-folder: $(azure-cli-extension-folder)/src/attestation
python-sdk-output-folder: "$(az-output-folder)/azext_kusto/vendored_sdks/kusto"

cli:
cli-directive:
Expand Down
1 change: 1 addition & 0 deletions specification/azure-kusto/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ swagger-to-sdk:
- repo: azure-sdk-for-python
- repo: azure-sdk-for-go
- repo: azure-sdk-for-java
- repo: azure-sdk-for-js
- repo: azure-cli-extensions
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ az:
extensions: customproviders
namespace: azure.mgmt.customproviders
package-name: azure-mgmt-customproviders
python-sdk-output-folder: "$(output-folder)/src/customproviders/azext_customproviders/vendored_sdks/customproviders"
az-output-folder: $(azure-cli-extension-folder)/src/customproviders
python-sdk-output-folder: "$(az-output-folder)/azext_customproviders/vendored_sdks/customproviders"

#cli:
# cli-directive:
Expand Down
3 changes: 2 additions & 1 deletion specification/datashare/resource-manager/readme.az.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ az:
extensions: datashare
namespace: azure.mgmt.datashare
package-name: azure-mgmt-datashare
python-sdk-output-folder: "$(output-folder)/src/datashare/azext_datashare/vendored_sdks/datashare"
az-output-folder: $(azure-cli-extension-folder)/src/datashare
python-sdk-output-folder: "$(az-output-folder)/azext_datashare/vendored_sdks/datashare"

#cli:
# cli-directive:
Expand Down
3 changes: 2 additions & 1 deletion specification/logic/resource-manager/readme.az.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ az:
extensions: logic
namespace: azure.mgmt.logic
package-name: azure-mgmt-logic
python-sdk-output-folder: "$(output-folder)/src/logic/azext_logic/vendored_sdks/logic"
az-output-folder: $(azure-cli-extension-folder)/src/logic
python-sdk-output-folder: "$(az-output-folder)/azext_logic/vendored_sdks/logic"

# uncomment following to use json instead of flatten
#cli:
Expand Down
2 changes: 1 addition & 1 deletion specification/logic/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,9 @@ swagger-to-sdk:
- repo: azure-sdk-for-js
- repo: azure-sdk-for-node
- repo: azure-sdk-for-ruby
- repo: azure-cli-extensions
after_scripts:
- bundle install && rake arm:regen_all_profiles['azure_mgmt_logic']
- repo: azure-cli-extensions
```

## C#
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ az:
extensions: machinelearningservices
namespace: azure.mgmt.machinelearningservices
package-name: azure-mgmt-machinelearningservices
python-sdk-output-folder: "$(output-folder)/src/machinelearningservices/azext_machinelearningservices/vendored_sdks/machinelearningservices"
az-output-folder: $(azure-cli-extension-folder)/src/machinelearningservices
python-sdk-output-folder: "$(az-output-folder)/azext_machinelearningservices/vendored_sdks/machinelearningservices"

cli:
cli-directive:
Expand Down
3 changes: 2 additions & 1 deletion specification/portal/resource-manager/readme.az.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ az:
extensions: portal
namespace: azure.mgmt.portal
package-name: azure-mgmt-portal
python-sdk-output-folder: "$(output-folder)/src/portal/azext_portal/vendored_sdks/portal"
az-output-folder: $(azure-cli-extension-folder)/src/portal
python-sdk-output-folder: "$(az-output-folder)/azext_portal/vendored_sdks/portal"

#cli:
# cli-directive:
Expand Down
2 changes: 1 addition & 1 deletion specification/portal/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ swagger-to-sdk:
- repo: azure-sdk-for-node
- repo: azure-sdk-for-js
- repo: azure-sdk-for-ruby
- repo: azure-cli-extensions
after_scripts:
- bundle install && rake arm:regen_all_profiles['azure_mgmt_portal']
- repo: azure-cli-extensions
```

## Go
Expand Down
3 changes: 2 additions & 1 deletion specification/storagecache/resource-manager/readme.az.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ az:
extensions: storagecache
namespace: azure.mgmt.storagecache
package-name: azure-mgmt-storagecache
python-sdk-output-folder: "$(output-folder)/src/storagecache/azext_storagecache/vendored_sdks/storagecache"
az-output-folder: $(azure-cli-extension-folder)/src/storagecache
python-sdk-output-folder: "$(az-output-folder)/azext_storagecache/vendored_sdks/storagecache"

#cli:
# cli-directive:
Expand Down
2 changes: 1 addition & 1 deletion specification/storagecache/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ swagger-to-sdk:
- repo: azure-sdk-for-go
- repo: azure-sdk-for-js
- repo: azure-sdk-for-ruby
- repo: azure-cli-extensions
after_scripts:
- bundle install && rake arm:regen_all_profiles['azure_mgmt_storagecache']
- repo: azure-cli-extensions
```

## Python
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ az:
extensions: storageimportexport
package-name: azure-mgmt-storageimportexport
namespace: azure.mgmt.storageimportexport
python-sdk-output-folder: "$(output-folder)/src/storageimportexport/azext_storageimportexport/vendored_sdks/storageimportexport"
az-output-folder: $(azure-cli-extension-folder)/src/storageimportexport
python-sdk-output-folder: "$(az-output-folder)/azext_storageimportexport/vendored_sdks/storageimportexport"
cli:
cli-directive:
- where:
Expand Down
3 changes: 2 additions & 1 deletion specification/storagesync/resource-manager/readme.az.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ az:
extensions: storagesync
namespace: azure.mgmt.storagesync
package-name: azure-mgmt-storagesync
python-sdk-output-folder: "$(output-folder)/src/storagesync/azext_storagesync/vendored_sdks/storagesync"
az-output-folder: $(azure-cli-extension-folder)/src/storagesync
python-sdk-output-folder: "$(az-output-folder)/azext_storagesync/vendored_sdks/storagesync"

#cli:
# cli-directive:
Expand Down
3 changes: 2 additions & 1 deletion specification/subscription/resource-manager/readme.az.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ az:
extensions: account
package-name: azure-mgmt-subscription
namespace: azure.mgmt.subscription
python-sdk-output-folder: "$(output-folder)/src/account/azext_account/vendored_sdks/subscription"
az-output-folder: $(azure-cli-extension-folder)/src/subscription
python-sdk-output-folder: "$(az-output-folder)/azext_account/vendored_sdks/subscription"
```
Loading