Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
commit 17117b5
Author: Rakshith Bhyravabhotla <[email protected]>
Date:   Mon Oct 4 13:27:53 2021 -0700

    Rename metrics result to metrics query result (Azure#21036)

commit d332e47
Author: catalinaperalta <[email protected]>
Date:   Mon Oct 4 15:14:11 2021 -0400

    run black on code (Azure#21033)

commit dc22490
Author: Krista Pratico <[email protected]>
Date:   Mon Oct 4 12:09:45 2021 -0700

    [formrecognizer] docs edits (Azure#21030)

    * readme edits

    * fix some docstrings

    * fix asyncitempaged docstring type

    * samples edits

    * remove unimported helper method from migration guide

    * update link on build model

commit 9922c0b
Author: catalinaperalta <[email protected]>
Date:   Mon Oct 4 13:38:18 2021 -0400

    adding terminology section, plus fixes (Azure#21031)

commit 60fb182
Author: Adam Ling (MSFT) <[email protected]>
Date:   Fri Oct 1 16:41:30 2021 -0700

    [Schema Registry] Update 3.10 and 2.7 disclaimer (Azure#20982)

    * update docs

    * update core dec

commit 9b2a640
Author: swathipil <[email protected]>
Date:   Fri Oct 1 15:38:35 2021 -0700

    [SchemaRegistry] remove all serializer caches (Azure#21020)

commit 3e72868
Author: Rakshith Bhyravabhotla <[email protected]>
Date:   Fri Oct 1 15:27:14 2021 -0700

    Monitor Prep release (Azure#21003)

    * Monitor Prep release

    * Update sdk/monitor/azure-monitor-query/README.md

    Co-authored-by: Scott Addie <[email protected]>

    Co-authored-by: Scott Addie <[email protected]>

commit 31f1e7b
Author: iscai-msft <[email protected]>
Date:   Fri Oct 1 18:16:33 2021 -0400

    [conversations] initial (Azure#21019)

    * Conversations first code gen

    * First tests

    * Running test

    * Latest swagger + autorest

    * Updated some tests

    * Updated tests

    * Removed qna samples

    * conversations SDK (Azure#20947)

    * make samples run

    * fix pipelines run from ci

    * add feature branch to trigger in ci.yml

    * fix safe names in ci

    * fix packaging files

    * try to fix broken links

    Co-authored-by: antisch <[email protected]>
    Co-authored-by: Mohamed Shaban <[email protected]>

commit 02db90a
Author: Rakshith Bhyravabhotla <[email protected]>
Date:   Fri Oct 1 15:00:12 2021 -0700

    Update setup.py (Azure#21021)

    * Update setup.py

    * Update README.md

commit fc95f8d
Author: McCoy Patiño <[email protected]>
Date:   Fri Oct 1 14:32:42 2021 -0700

    [Identity] Align samples with other languages (Azure#20966)

commit 5ed3bcc
Author: McCoy Patiño <[email protected]>
Date:   Fri Oct 1 14:32:15 2021 -0700

    [Identity] Update README based on consistency review (Azure#20780)

commit a826e0a
Author: Krista Pratico <[email protected]>
Date:   Fri Oct 1 14:06:55 2021 -0700

    [formrecognizer] update links (Azure#21016)

    * update with migration guide links

    * update links in changelog

    * fix changelog links

commit 6299e0f
Author: Azure SDK Bot <[email protected]>
Date:   Fri Oct 1 14:04:50 2021 -0700

    Update docker-start-proxy.ps1 (Azure#21018)

    Update to the latest version of the container

    Co-authored-by: Sean Kane <[email protected]>

commit 01d0b99
Author: Xiang Yan <[email protected]>
Date:   Fri Oct 1 13:20:37 2021 -0700

    Update Multi-Tenant support to incorporate Arch Board Feedback (Azure#20940)

    * Update Multi-Tenant support to incorporate Arch Board Feedback

    * update

    * update

    * updates

    * update

    * update

    * updates

    * update

    * update

    * update

    * Update sdk/identity/azure-identity/CHANGELOG.md

    Co-authored-by: McCoy Patiño <[email protected]>

    Co-authored-by: McCoy Patiño <[email protected]>

commit 14f9076
Author: catalinaperalta <[email protected]>
Date:   Fri Oct 1 16:16:04 2021 -0400

    [formrecognizer] Add migration guide (Azure#20960)

    * add migration guide

    * title fix

    * add more examples

    * update wording

    * some review feedback and fixes

    * more fixes

    * additional doc fixes

    * add full samples to guide

    * improve content table, add more info and change subheader

    * reorganize, add more info about model ids

    * fix links

    * fix relative links

    * fix spelling errors, add Mari's feedback

    * review feedback from Krista

    * grammar

    * add manage models section

    * more feedback

commit ca6dba4
Author: iscai-msft <[email protected]>
Date:   Fri Oct 1 16:12:25 2021 -0400

    Rebase after merge. (Azure#21014)

    Co-authored-by: Travis Prescott <[email protected]>

commit 6b33654
Author: swathipil <[email protected]>
Date:   Fri Oct 1 13:04:56 2021 -0700

    [SchemaRegistry] rename namespace (Azure#20965)

    fixes: Azure#20711

commit cfb945d
Author: catalinaperalta <[email protected]>
Date:   Fri Oct 1 14:57:48 2021 -0400

    [formrecognizer] Update changelog for release (Azure#20963)

    * update changelog for release

    * include snippet about new clients

commit bf0e40e
Author: Krista Pratico <[email protected]>
Date:   Fri Oct 1 11:17:58 2021 -0700

    [formrecognizer] updating docs with aka.ms links (Azure#21012)

    * add service links

    * update with the aka.ms links

commit 08b17d8
Author: Travis Prescott <[email protected]>
Date:   Fri Oct 1 13:04:30 2021 -0500

    [Search] Regenerate Search SDK (Azure#20977)

    * Update README and setup.py for Python 2.7 and 3.10 changes.

    * Regenerate with latest Autorest.

    * Search-specific updates.

    * Expose generated changes.

    * Reflect latest swagger updates.

    * Expose kwargs via custom client.

    * Update changelog.

commit 0481e9d
Author: AlonsoMondal <[email protected]>
Date:   Fri Oct 1 11:34:27 2021 -0600

    updating codeowners for azure communication services SMS & PhoneNumbers (Azure#20942)

    * updating codeowners for azure communication services SMS & PhoneNumbers

    * adding '/' to directories

commit 969195d
Author: Krista Pratico <[email protected]>
Date:   Fri Oct 1 09:06:04 2021 -0700

    add prebuilt document to readme examples + print styles (Azure#20996)

commit d23b8c9
Author: Rodrigo Souza <[email protected]>
Date:   Thu Sep 30 20:35:20 2021 -0700

    Update README.md (Azure#20992)

commit 40f3d19
Author: iscai-msft <[email protected]>
Date:   Thu Sep 30 21:04:50 2021 -0400

    ignore sample chat (Azure#21000)

commit f463e0b
Author: McCoy Patiño <[email protected]>
Date:   Thu Sep 30 17:26:49 2021 -0700

    [Key Vault] Add support for key rotation (Azure#20416)

commit 3f2a011
Author: iscai-msft <[email protected]>
Date:   Thu Sep 30 20:04:37 2021 -0400

    [cognitivelanguage] add live pipeline (Azure#20986)

commit 848cc57
Author: iscai-msft <[email protected]>
Date:   Thu Sep 30 19:59:54 2021 -0400

    [qna] address heath's comments (Azure#20998)

commit ebce185
Author: iscai-msft <[email protected]>
Date:   Thu Sep 30 19:28:56 2021 -0400

    [qna] regen with latest and implement design changes (Azure#20975)

commit abc9a1c
Author: Chidozie Ononiwu (His Righteousness) <[email protected]>
Date:   Thu Sep 30 15:55:59 2021 -0700

    Add PoliCheck (Azure#20776)

    * Add PoliCheck

    * Fix up some policheck issues

commit d1b2a62
Author: Rakshith Bhyravabhotla <[email protected]>
Date:   Thu Sep 30 15:38:06 2021 -0700

    Add credential Scope keyword  (Azure#20987)

    * Support for audience

    * Update CHANGELOG.md

    * Update sdk/monitor/azure-monitor-query/azure/monitor/query/_metrics_query_client.py

commit 5c3c625
Author: catalinaperalta <[email protected]>
Date:   Thu Sep 30 18:29:19 2021 -0400

    remove TODOs from samples (Azure#20994)

commit 6812755
Author: McCoy Patiño <[email protected]>
Date:   Thu Sep 30 15:17:46 2021 -0700

    [KV] Add Py 2.7 disclaimer, 3.10 classifier (Azure#20990)

commit 6aabc2e
Author: Krista Pratico <[email protected]>
Date:   Thu Sep 30 15:08:10 2021 -0700

    [formrecognizer] update sample readme (Azure#20961)

    * update sample readme

    * fix link

    * fix link

    * add v3.0.0 samples link

    * missing period

    * feedback + add migration guide link later

    * fix links again

commit 73f924f
Author: catalinaperalta <[email protected]>
Date:   Thu Sep 30 17:37:08 2021 -0400

    [formrecognizer] Update field schema links in v3 samples (Azure#20988)

    * update field schema links in v3 samples

    * update links in readme

commit 40f984e
Author: Rakshith Bhyravabhotla <[email protected]>
Date:   Thu Sep 30 14:01:14 2021 -0700

    Prep for release (Azure#20991)

commit 561d522
Author: Krista Pratico <[email protected]>
Date:   Thu Sep 30 11:48:12 2021 -0700

    reenable tests (Azure#20978)

commit 5069292
Author: Xiang Yan <[email protected]>
Date:   Thu Sep 30 11:24:34 2021 -0700

    Update 3.10 and 2.7 disclaimer (Azure#20979)

commit c912672
Author: Azure SDK Bot <[email protected]>
Date:   Thu Sep 30 11:03:49 2021 -0700

    Increment package version after release of azure-core (Azure#20980)

commit 8b1ec0b
Author: Leighton Chen <[email protected]>
Date:   Thu Sep 30 10:43:58 2021 -0700

    [Monitor exporter] Update OT Exporter to latest spec changes (Azure#20770)

commit 8b885da
Author: Krista Pratico <[email protected]>
Date:   Thu Sep 30 10:30:28 2021 -0700

    [formrecognizer] sample fixes (Azure#20964)

    * remove passing api_version in v3.1.x samples and uncomment list models

    * skip mgmt samples failing due to list models

commit 78a4a8a
Author: catalinaperalta <[email protected]>
Date:   Thu Sep 30 12:37:41 2021 -0400

    [formrecognizer] Small sample fixes (Azure#20959)

    * misc sample fixes

    * update docs

    * rename and updates

commit 7217219
Author: Krista Pratico <[email protected]>
Date:   Thu Sep 30 09:26:47 2021 -0700

    [formrecognizer] update readme (Azure#20868)

    * work in progress

    * few updates

    * fixes

    * some of paul's feedback

    * pr feedback

    * dup sentence

    * fix sentence

    * some edits to snippets

    * update links

    * fix

    * add changelog link

    * changes for this release cycle

    * more updates

    * add link later

commit a8b85fc
Author: Xiang Yan <[email protected]>
Date:   Thu Sep 30 07:21:13 2021 -0700

    update code owner for identity and synapse (Azure#20941)

commit 4e02ec4
Author: Azure CLI Bot <[email protected]>
Date:   Thu Sep 30 10:14:24 2021 +0800

    [AutoRelease] t2-quota-2021-09-07-50984 (Azure#20558)

    * CodeGen from PR 15918 in Azure/azure-rest-api-specs
    Updating tag value (Azure#15918)

    * version,CHANGELOG

    Co-authored-by: SDKAuto <[email protected]>
    Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
    Co-authored-by: msyyc <[email protected]>

commit 639d8fe
Author: Azure CLI Bot <[email protected]>
Date:   Thu Sep 30 10:13:59 2021 +0800

    [AutoRelease] t2-fluidrelay-2021-09-30-54645 (Azure#20962)

    * CodeGen from PR 16187 in Azure/azure-rest-api-specs
    change api version in readme for sdk release (Azure#16187)

    * Add blockchain to latest profile

    * Add additional types

    * api version change

    Co-authored-by: Mark Cowlishaw <[email protected]>
    Co-authored-by: Ping Zhu <[email protected]>

    * version,CHANGELOG

    Co-authored-by: SDKAuto <[email protected]>
    Co-authored-by: Mark Cowlishaw <[email protected]>
    Co-authored-by: Ping Zhu <[email protected]>
    Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>

commit c7ff91d
Author: catalinaperalta <[email protected]>
Date:   Wed Sep 29 21:16:56 2021 -0400

    [formrecognizer] Update doc strings for v3 (Azure#20920)

    * update docs based on Paul's feedback

    * improve bounding region docs

    * sample fixes

    * review feedback

    * spelling

commit ac10472
Author: Xiang Yan <[email protected]>
Date:   Wed Sep 29 18:03:35 2021 -0700

    update changelog (Azure#20958)

    * update changelog

    * updates

commit 6e10afe
Author: swathipil <[email protected]>
Date:   Wed Sep 29 18:00:11 2021 -0700

    [SchemaRegistry] add lru cache to avro serializer (Azure#20813)

    fixes: Azure#20712
    performance comparison results: Azure#20712 (comment)

commit 1bc3354
Author: Krista Pratico <[email protected]>
Date:   Wed Sep 29 17:46:29 2021 -0700

    [formrecognizer] fixing error on ModelOperation to include details (Azure#20954)

    * fixing error on ModelOperation to include details

    * lint

    * update docstring

commit 3a13c9c
Author: iscai-msft <[email protected]>
Date:   Wed Sep 29 20:20:25 2021 -0400

    [rest] fix aiohttp read in rest (Azure#20952)

commit 8935901
Author: Krista Pratico <[email protected]>
Date:   Wed Sep 29 17:18:41 2021 -0700

    docstring feedback from service team (Azure#20955)

commit 99d52a5
Author: Rakshith Bhyravabhotla <[email protected]>
Date:   Wed Sep 29 17:02:29 2021 -0700

    Prepare EG for release (Azure#20956)

    * Prepare for release

    * Prepare for release

    * Prepare for release

commit ffeb366
Author: catalinaperalta <[email protected]>
Date:   Wed Sep 29 19:53:51 2021 -0400

    [formrecognizer] Print fields in custom documents samples (Azure#20904)

    * print fields in samples

    * review feedback

commit 5aadfb2
Author: Xiang Yan <[email protected]>
Date:   Wed Sep 29 16:15:00 2021 -0700

    Ma test fixes (Azure#20946)

    * fix dimension filter

    * update tests

    * updates

    * update

commit a6e0d12
Author: Yalin Li <[email protected]>
Date:   Wed Sep 29 16:05:18 2021 -0700

    Update samples in ACR (Azure#20902)

commit 7f151c8
Author: Rakshith Bhyravabhotla <[email protected]>
Date:   Wed Sep 29 15:41:32 2021 -0700

    New Events (Azure#20951)

    * New Events

    * more generated code

commit aed72ee
Author: catalinaperalta <[email protected]>
Date:   Wed Sep 29 17:50:38 2021 -0400

    skip v2.0 compatibility tests (Azure#20949)

commit 2257388
Author: McCoy Patiño <[email protected]>
Date:   Wed Sep 29 12:48:44 2021 -0700

    [Key Vault] Get default API version from sync client base (Azure#20379)

commit b0acdfb
Author: msyyc <[email protected]>
Date:   Thu Sep 30 02:44:17 2021 +0800

    [purview scanning] new release by new LLC version (Azure#20823)

commit ae69e4b
Author: msyyc <[email protected]>
Date:   Thu Sep 30 02:43:57 2021 +0800

    [Purview catalog] release for new api-version `2021-09-01` (Azure#20822)

commit 66e4720
Author: Scott Beddall <[email protected]>
Date:   Wed Sep 29 11:24:06 2021 -0700

    disable regression testing for beta version of questionanswering (Azure#20924)

commit 1a3ad63
Author: Xiang Yan <[email protected]>
Date:   Wed Sep 29 08:24:40 2021 -0700

    Oct release (Azure#20890)

    * Oct release

    * update spark

commit 6216cd9
Author: Azure SDK Bot <[email protected]>
Date:   Wed Sep 29 07:05:19 2021 -0700

    Sync eng/common directory with azure-sdk-tools for PR 2046 (Azure#20911)

    * Pass package name from calling pipeline to uniquely identify pull request review

    * Update log summary

    * Update eng/common/scripts/Detect-Api-Changes.ps1

    Co-authored-by: Wes Haggard <[email protected]>

    Co-authored-by: praveenkuttappan <[email protected]>
    Co-authored-by: praveenkuttappan <[email protected]>
    Co-authored-by: Wes Haggard <[email protected]>

commit c1c84eb
Author: Adam Ling (MSFT) <[email protected]>
Date:   Tue Sep 28 23:00:46 2021 -0700

    [ServiceBus] Add large message support to SBAdministrationClient (Azure#20812)

    * impl

    * update swagger

    * upload recordings

    * fix mypy pylint

    * review feedback

    * update classifier

commit 14d26ae
Author: msyyc <[email protected]>
Date:   Wed Sep 29 12:51:16 2021 +0800

    fix CI (Azure#20936)

commit 84214fb
Author: Scott Addie <[email protected]>
Date:   Tue Sep 28 23:07:43 2021 -0500

    Update Monitor Query README and logs query client comments (Azure#20933)

commit b9211fb
Author: catalinaperalta <[email protected]>
Date:   Tue Sep 28 20:53:53 2021 -0400

    [formrecognizer] Fix v2 custom forms tests (Azure#20923)

    * fix v2 custom forms tests

    * update prebuilt document pages tests

commit 77820ae
Author: Scott Beddall <[email protected]>
Date:   Tue Sep 28 17:30:17 2021 -0700

    Resolving Build Warnings (Azure#20887)

    * pip authenticate supplants pypi, doesn't supplement anymore

    * leave dev feeds enabled, still fallback to main pypi.org

commit 20f7701
Author: iscai-msft <[email protected]>
Date:   Tue Sep 28 17:51:13 2021 -0400

    [eng] have verify autorest warn instead of raise (Azure#20913)

commit 878a12e
Author: iscai-msft <[email protected]>
Date:   Tue Sep 28 16:23:20 2021 -0400

    [rest] add response backcompat mixin (Azure#20827)

commit be52288
Author: catalinaperalta <[email protected]>
Date:   Tue Sep 28 15:39:40 2021 -0400

    [formrecognizer] Add prebuilt-document samples and tests (Azure#20894)

    * add prebuilt-document samples

    * fix from_generated methods

    * add prebuilt-document tests

    * update samples

    * fix spelling error

commit 831d3c6
Author: Krista Pratico <[email protected]>
Date:   Tue Sep 28 11:23:26 2021 -0700

    [formrecognizer] regenerate on latest (Azure#20867)

    * regenerate with latest

    * update convenience layer

commit 131546b
Author: Scott Addie <[email protected]>
Date:   Tue Sep 28 09:37:54 2021 -0500

    Small tweaks to Monitor Query SDK README (Azure#20905)

commit f88dc92
Author: Azure CLI Bot <[email protected]>
Date:   Tue Sep 28 13:29:31 2021 +0800

    [AutoRelease] t2-netapp-2021-09-22-09782 (Azure#20783)

    * CodeGen from PR 15850 in Azure/azure-rest-api-specs
    [NetAppFiles] Add missing features, quotaLimits and Rotterdam networkFeatures to API version 2021-06-02 (Azure#15850)

    * Add missing features, quotaLimist and Rotterdam networkFeatures

    * Update quotaLimits get and add get list

    * Update description for volume type

    * S360 Add missing serviceSpecification and metricsSpecification properties

    * Remove quotalimit response no longer used

    * pagable

    * Update to use common type proxy resource

    * pretty

    * systemdata

    Co-authored-by: Audunn Baldvinsson <[email protected]>

    * version,CHANGELOG

    * test

    * test

    Co-authored-by: SDKAuto <[email protected]>
    Co-authored-by: Audunn Baldvinsson <[email protected]>
    Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
    Co-authored-by: msyyc <[email protected]>

commit d6f5ea9
Author: Azure CLI Bot <[email protected]>
Date:   Tue Sep 28 11:33:21 2021 +0800

    [AutoRelease] t2-extendedlocation-2021-09-22-24922 (Azure#20782)

    * CodeGen from PR 15676 in Azure/azure-rest-api-specs
    Amalladi/extendedlocation update operationID field (Azure#15676)

    * Add blockchain to latest profile

    * Add additional types

    * Update operationId field in Swagger, update ListOperations Example

    * Revert commit

    * prettier fix

    Co-authored-by: Mark Cowlishaw <[email protected]>
    Co-authored-by: Aditi <[email protected]>

    * version,CHANGELOG

    * Update CHANGELOG.md

    * Update CHANGELOG.md

    Co-authored-by: SDKAuto <[email protected]>
    Co-authored-by: Mark Cowlishaw <[email protected]>
    Co-authored-by: Aditi <[email protected]>
    Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
    Co-authored-by: Jiefeng Chen <[email protected]>

commit 03efaee
Author: Rodrigo Souza <[email protected]>
Date:   Mon Sep 27 18:13:47 2021 -0700

    Python 2.7 warning (Azure#20895)

    * Update README.md

    * Update README.md

    * Update README.md

    * Update README.md

    * Update README.md

    * Update README.md

commit 4aaa1e8
Author: Mike Harder <[email protected]>
Date:   Mon Sep 27 16:44:06 2021 -0700

    [Perf] keyvault-secrets test improvements (Azure#20900)

    - Rename option from "list-size" to "count" to align with other languages
    - Validate vault contains 0 secrets before running

commit 186b55c
Author: Laurent Mazuel <[email protected]>
Date:   Mon Sep 27 15:45:05 2021 -0700

    Add Python 2 deprecation on front page (Azure#20799)

commit 646d87a
Author: praveenkuttappan <[email protected]>
Date:   Mon Sep 27 18:38:36 2021 -0400

    Disable api change detection (Azure#20892)

commit 50e50af
Author: praveenkuttappan <[email protected]>
Date:   Mon Sep 27 16:29:12 2021 -0400

    Enable API change detection as part of PR pipelines (Azure#20803)

    * Enable API change detection as part of PR pipelines

commit 9824165
Author: Azure SDK Bot <[email protected]>
Date:   Mon Sep 27 11:32:24 2021 -0700

    Use stress-test-resources file naming to avoid live test auto-discovery (Azure#20828)

    Co-authored-by: Ben Broderick Phillips <[email protected]>

commit 99ab168
Author: Rakshith Bhyravabhotla <[email protected]>
Date:   Mon Sep 27 11:17:48 2021 -0700

    Fix live tests (Azure#20886)

    * Fix tests

    * Update sdk/monitor/azure-monitor-query/azure/monitor/query/_models.py

commit 5697a75
Author: Azure SDK Bot <[email protected]>
Date:   Mon Sep 27 10:47:44 2021 -0700

    Sync eng/common directory with azure-sdk-tools for PR 2027 (Azure#20798)

    * Handle assembly already loaded errors in deploy stress test script

    * Add dependency checks and installation links to deploy-stress-tests.ps1

    Co-authored-by: Ben Broderick Phillips <[email protected]>

commit 883bdae
Author: Rakshith Bhyravabhotla <[email protected]>
Date:   Mon Sep 27 10:14:42 2021 -0700

    Query - samples + README + docstrings (Azure#20869)

    * Samples fix

    * README

    * docstrings

    * mypy

    * lint

    * test fix

    * lint

commit 559840c
Author: Rakshith Bhyravabhotla <[email protected]>
Date:   Mon Sep 27 10:00:26 2021 -0700

    Metrics should be gettable by name (Azure#20878)

    * Metrics should be gettable by name

    * lint

commit e6db587
Author: Xiang Yan <[email protected]>
Date:   Mon Sep 27 09:56:37 2021 -0700

    update changelog (Azure#20810)

commit d32de70
Author: swathipil <[email protected]>
Date:   Mon Sep 27 08:24:14 2021 -0700

    [SchemaRegistry] update positional args to req kwargs (Azure#20763)

    * make params required kwargs

    * update changelog

    * adams comments

    * update avro tests + samples

    * fix samples

    * pylint error

    * adams comments

commit 55526df
Author: Jiefeng Chen <[email protected]>
Date:   Mon Sep 27 09:40:16 2021 +0800

    [auto-issue-status]auto-assign and refactor (Azure#20722)

    * release_iseus_status_auto_reply

    * issue_aoto_close_revert

    * Update main.py

    * Update main.py

    * Update update_issue_body.py

    * Update reply_generator.py

    * Update reply_generator.py

    * Update update_issue_body.py

    * Update main.py

    * Update update_issue_body.py

    * Update update_issue_body.py

    * Update main.py

    * Update reply_generator.py

    * Update main.py

    * Update update_issue_body.py

    * Update main.py

    * Update scripts/release_issue_status/update_issue_body.py

    * Update update_issue_body.py

    * Update main.py

    * Update reply_generator.py

    * Update update_issue_body.py

    * Update main.py

    * Update scripts/release_issue_status/main.py

    * Update main.py

    * Update scripts/release_issue_status/main.py

    * Update scripts/release_issue_status/main.py

    * Update scripts/release_issue_status/main.py

    * Update scripts/release_issue_status/update_issue_body.py

    * Update scripts/release_issue_status/main.py

    * Update scripts/release_issue_status/update_issue_body.py

    * Update reply_generator.py

    * Update main.py

    * Update scripts/release_issue_status/update_issue_body.py

    Co-authored-by: msyyc <[email protected]>

    * Update scripts/release_issue_status/update_issue_body.py

    Co-authored-by: msyyc <[email protected]>

    * Update reply_generator.py

    * Update update_issue_body.py

    * Update main.py

    * Update main.py

    * Update update_issue_body.py

    * Update main.py

    * Update scripts/release_issue_status/main.py

    * Update main.py

    * Update reply_generator.py

    * Update main.py

    * Update main.py

    * Update main.py

    * Update main.py

    * Update main.py

    * Update main.py

    * Update main.py

    * Update main.py

    * Update main.py

    * Update update_issue_body.py

    * Update main.py

    * Update update_issue_body.py

    * Update reply_generator.py

    * Update update_issue_body.py

    * Update main.py

    * Update update_issue_body.py

    * Update update_issue_body.py

    * Update update_issue_body.py

    * Update update_issue_body.py

    * Update update_issue_body.py

    * Update main.py

    * Update main.py

    * Update release_issue_status.yml for Azure Pipelines

    * Update main.py

    * Update reply_generator.py

    * Add files via upload

    * Update reply_generator.py

    * Update update_issue_body.py

    * Update reply_generator.py

    * Update auto_pipeline_run.py

    * Update auto_pipeline_run.py

    * add auto-close

    * Update release_issue_status.yml for Azure Pipelines

    * Update auto_close.py

    * Update main.py

    * Update release_issue_status.yml for Azure Pipelines

    * Update auto_pipeline_run.py

    * fix bug

    * Update main.py

    * Update auto_close.py

    * Update auto_close.py

    * Update main.py

    * Update reply_generator.py

    * Update main.py

    * Update main.py

    * Update auto_close.py

    * Update main.py

    * Update auto-close

    * Update auto_pipeline_run.py

    * Update update_issue_body.py

    * Update auto_pipeline_run.py

    * Update release_issue_status.yml for Azure Pipelines

    * Update auto_pipeline_run.py

    * Update release_issue_status.yml for Azure Pipelines

    * Update auto_pipeline_run.py

    * Update auto_pipeline_run.py

    * Add pipeline link

    * Update pipeline link

    * Update auto_pipeline_run.py

    * Update release_issue_status.yml for Azure Pipelines

    * Update auto_pipeline_run.py

    * Update requirement.txt

    * Update auto_pipeline_run.py

    * Add get_python_pipeline

    * Update auto_pipeline_run.py

    * test

    * test

    * add outputfolder

    * add label

    * Update main.py

    * Update get_python_pipeline.py

    * Update main.py

    * Update auto_pipeline_run.py

    * Add utils

    * Update main.py

    * Update main.py

    * Delete old py

    * Update reply_generator.py

    * Update main.py

    * Update main.py

    * Update main.py

    * Update main.py

    * Update main.py

    * Update utils.py

    * Update utils.py

    * Update main.py

    * Update main.py

    * Update reply_generator.py

    * Update utils.py

    * Add get_changelog function

    * Update utils.py

    * Update reply_generator.py

    * Update main.py

    * Update reply_generator.py

    * Update function

    * del useless code

    * Update utils.py

    * Update main.py

    * Update reply_generator.py

    * Update main.py

    * Update utils.py

    * Update utils.py

    * Update utils.py

    * Update utils.py

    * Update reply_generator.py

    * Update main.py

    * Update main.py

    * Update main.py

    * Update release_issue_status.yml for Azure Pipelines

    * Update main.py

    * Update release_issue_status.yml for Azure Pipelines

    * Update release_issue_status.yml for Azure Pipelines

    * Update main.py

    * Update utils.py

    Co-authored-by: Zed <[email protected]>
    Co-authored-by: Zed Lei <[email protected]>
    Co-authored-by: msyyc <[email protected]>

commit 6bba532
Author: msyyc <[email protected]>
Date:   Sun Sep 26 15:09:42 2021 +0800

    Update dev_requirements.txt (Azure#20873)

commit dc98de4
Author: Azure CLI Bot <[email protected]>
Date:   Sun Sep 26 14:17:56 2021 +0800

    [AutoRelease] t2-authorization-2021-09-26-80124 (Azure#20872)

    * CodeGen from PR 15973 in Azure/azure-rest-api-specs
    Update readme and readme.python (Azure#15973)

    * Update readme and readme.python

    * Update readme python

    * Update readme python

    * Update readme.python.md

    * Update readme python

    Co-authored-by: msyyc <[email protected]>

    * version,CHANGELOG

    * test

    * Update test_cli_mgmt_authorization.py

    Co-authored-by: SDKAuto <[email protected]>
    Co-authored-by: msyyc <[email protected]>
    Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
    Co-authored-by: Jiefeng Chen <[email protected]>

commit d345d9d
Author: catalinaperalta <[email protected]>
Date:   Fri Sep 24 21:28:15 2021 -0400

    Cat & Krista FR beta work (Azure#20834)

commit 35ee2fa
Author: Azure SDK Bot <[email protected]>
Date:   Fri Sep 24 16:38:13 2021 -0700

    Add common policheck steps (Azure#20832)

    Co-authored-by: Chidozie Ononiwu <[email protected]>

commit cce4b29
Author: Rakshith Bhyravabhotla <[email protected]>
Date:   Fri Sep 24 15:33:24 2021 -0700

    Rename Query APIs (Azure#20830)

commit f2b2cea
Author: Adam Ling (MSFT) <[email protected]>
Date:   Fri Sep 24 13:20:36 2021 -0700

    [EventHubs] Fix livetest (Azure#20820)

    * fix livetest

    * rm bicep file

    * rename stress test file

commit 650943c
Author: Azure SDK Bot <[email protected]>
Date:   Fri Sep 24 13:11:08 2021 -0700

    Sync eng/common directory with azure-sdk-tools for PR 2035 (Azure#20825)

    * Add

    * Add more description to docs of where the variable is consumed

    Co-authored-by: Daniel Jurek <[email protected]>

commit 0475f51
Author: Rakshith Bhyravabhotla <[email protected]>
Date:   Fri Sep 24 12:35:04 2021 -0700

    Update handling error in query (Azure#20765)

    * samples

    * hide row

    * Handle errors

    * lint

    * lint

    * extract inner message

    * lint

    * lint

    * lint

    * api view fixes

    * more changes

    * Update sdk/monitor/azure-monitor-query/CHANGELOG.md

    * Apply suggestions from code review

    Co-authored-by: Krista Pratico <[email protected]>

    * changes

    Co-authored-by: Krista Pratico <[email protected]>

commit 1a9b633
Author: iscai-msft <[email protected]>
Date:   Fri Sep 24 12:53:45 2021 -0400

    [rest] switch base responses to ABCs (Azure#20448)

    * switch to protocol

    * update changelog

    * add initial tests

    * switch from protocol to abc

    * improve HttpResponse docstrings

    * lint

    * HeadersType -> MutableMapping[str, str]

    * remove iter_text and iter_lines

    * update tests

    * improve docstrings

    * have base impls handle more code

    * add set_read_checks

    * commit to restart pipelines

    * address xiang's comments

    * lint

    * clear json cache when encoding is updated

    * make sure content type is empty string if doesn't exist

    * update content_type to be None if there is no content type header

    * fix passing encoding to text method error

    * update is_stream_consumed docs

    * remove erroneous committed code

commit cc7e454
Author: Azure CLI Bot <[email protected]>
Date:   Fri Sep 24 09:35:39 2021 +0800

    [AutoRelease] t2-cosmosdb-2021-09-17-34565 (Azure#20737)

    * CodeGen from PR 16052 in Azure/azure-rest-api-specs
    Update cosmos-db.json (Azure#16052)

    Added viewDefinition as required property

    * version,CHANGELOG

    Co-authored-by: SDKAuto <[email protected]>
    Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>

commit 04df600
Author: swathipil <[email protected]>
Date:   Thu Sep 23 17:37:07 2021 -0700

    [SchemaRegistry] renaming from archboard feedback (Azure#20766)

    addressing part of Azure#20703

commit c94b8a6
Author: Xiang Yan <[email protected]>
Date:   Thu Sep 23 16:33:50 2021 -0700

    fix test_aiohttp_loop (Azure#20811)

    * fix test_aiohttp_loop

    * fix collections import issue

commit 1380e05
Author: Sima Zhu <[email protected]>
Date:   Thu Sep 23 10:39:39 2021 -0700

    Writing dev version into package json file. (Azure#20778)

commit 424c3c7
Author: Xiang Yan <[email protected]>
Date:   Thu Sep 23 09:17:27 2021 -0700

    integrate logs (Azure#20300)

    * integrate logs

    * update

    * update

    * update

    * update

    * Update _universal.py

    * update

commit cbdaf08
Author: iscai-msft <[email protected]>
Date:   Thu Sep 23 11:26:16 2021 -0400

    [qna] regenerate with 2021-07-15-preview (Azure#20764)

commit 8a7ae28
Author: Azure CLI Bot <[email protected]>
Date:   Thu Sep 23 13:48:32 2021 +0800

    [AutoRelease] t2-servicebus-2021-09-23-30017(Do not merge) (Azure#20801)

    * CodeGen from PR 16114 in Azure/azure-rest-api-specs
    [servicebus]Update readme.python.md (Azure#16114)

    * Update readme.python.md

    * Update readme.python.md

    * version,CHANGELOG

    * test

    Co-authored-by: SDKAuto <[email protected]>
    Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>

commit ef7fc5e
Author: Azure CLI Bot <[email protected]>
Date:   Thu Sep 23 09:55:28 2021 +0800

    [AutoRelease] t2-kusto-2021-09-22-40032 (Azure#20790)

    * CodeGen from PR 16115 in Azure/azure-rest-api-specs
    Update readme.python.md (Azure#16115)

    * version,CHANGELOG

    Co-authored-by: SDKAuto <[email protected]>
    Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>

commit f4679b9
Author: Scott Beddall <[email protected]>
Date:   Wed Sep 22 12:20:07 2021 -0700

    Add 3.10 to Nightly Edge Build (Azure#20623)

    * update nightly edge build to run python 3.10 on both windows and linux agents
    * conditionally update `pytest` requirements in both ci_tools.txt and test_tools.txt for python 3.10
    * conditionally add some necessary python 3.10 windows wheels to test_tools.txt. These additions only affect python 3.10, which is not currently part of the test matrix

commit 30b196e
Author: iscai-msft <[email protected]>
Date:   Wed Sep 22 12:32:29 2021 -0400

    [rest] add backcompat mixin to rest requests (Azure#20599)

commit 4b3397d
Author: Adam Ling (MSFT) <[email protected]>
Date:   Wed Sep 22 09:09:32 2021 -0700

    [EventHubs] Stress test refactor (Azure#20389)

    * init commit for stress

    * add dotenv dep

    * docker, helm, k8s

    * apply changes

    * run forever

    * add chaos

    * update chaos jos

    * Apply suggestions from code review

    Co-authored-by: Ben Broderick Phillips <[email protected]>

    * minor fixes

    * revert external targets

    Co-authored-by: Ben Broderick Phillips <[email protected]>

commit eca1c81
Author: Azure SDK Bot <[email protected]>
Date:   Tue Sep 21 19:58:17 2021 -0700

    Clean-up changelog scripts (Azure#20779)

    Co-authored-by: Wes Haggard <[email protected]>

commit 518af90
Author: Azure CLI Bot <[email protected]>
Date:   Wed Sep 22 09:31:05 2021 +0800

    [AutoRelease] t2-containerinstance-2021-09-17-04542 (Azure#20733)

    * CodeGen from PR 15721 in Azure/azure-rest-api-specs
    [Hub Generated] Review request for Microsoft.ContainerInstance to add version stable/2021-07-01 (Azure#15721)

    * Adds base for updating Microsoft.ContainerInstance from version stable/2021-03-01 to version 2021-07-01

    * Updates readme

    * Updates API version in new specs and examples

    * Adding subnet IDs

    * Adding fixes from pending 03-01 update

    * Changing definition name to match convention

    * Adding network dependencies API

    * Adding MSI+ACR properties

    * Removing network profile

    * Updating example

    * Fixing JSON error

    * Removing network profile reference

    * Adding Integer format where missing

    * Removing comma

    * Fixing example

    * Fixing example

    * Ran Prettier to resolve check failure

    * Running prettier again for format

    * version,CHANGELOG

    * test

    Co-authored-by: SDKAuto <[email protected]>
    Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>

commit f3144dc
Author: swathipil <[email protected]>
Date:   Tue Sep 21 17:13:31 2021 -0700

    [SchemaRegistry] remove cache from client (Azure#20760)

    * remove cache from client

    * changelog

commit f8ff686
Author: McCoy Patiño <[email protected]>
Date:   Tue Sep 21 11:08:50 2021 -0700

    Update add_sanitizer and doc (Azure#20769)

commit 0e20469
Author: Wes Haggard <[email protected]>
Date:   Tue Sep 21 08:27:38 2021 -0700

    Enable release stage selection at queue time (Azure#20767)

commit da36d30
Author: McCoy Patiño <[email protected]>
Date:   Mon Sep 20 17:21:33 2021 -0700

    [Key Vault] Add certificate import sample (Azure#20641)

commit e7d3348
Author: Franko Morales <[email protected]>
Date:   Mon Sep 20 16:51:38 2021 -0700

    Fixing VCR redirection (Azure#20747)

    Using the location passed as part of the redirection response if
    it is an absolute URL.

commit 856f247
Author: Scott Addie <[email protected]>
Date:   Mon Sep 20 15:10:54 2021 -0500

    Link to Log Analytics throttling guidance from Monitor Query README (Azure#20759)

commit ee9d553
Author: Chidozie Ononiwu (His Righteousness) <[email protected]>
Date:   Mon Sep 20 11:15:59 2021 -0700

    Fix broken anchor tags (Azure#20751)

commit 6d84c3a
Author: Scott Beddall <[email protected]>
Date:   Mon Sep 20 09:08:23 2021 -0700

    avroserializer pins its dependency, which makes regression testing a … (Azure#20735)

    …bit iffy

    @swathipil This will resolve your nightly failure. Still not understanding the specific repro I'm seeing when I run this thing locally though.
  • Loading branch information
zihzhan-msft committed Oct 4, 2021
1 parent 793abf1 commit 1cad486
Show file tree
Hide file tree
Showing 1,388 changed files with 164,942 additions and 224,678 deletions.
6 changes: 4 additions & 2 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# Service team
####
# PRLabel: %Azure.Identity
/sdk/identity/ @chlowell @mccoyp @schaabs
/sdk/identity/ @chlowell @mccoyp @schaabs @xiangyan99

# PRLabel: %Event Hubs
/sdk/eventhub/ @annatisch @yunhaoling @swathipil @rakshith91
Expand All @@ -39,6 +39,8 @@

# PRLabel: %Communication
/sdk/communication/ @acsdevx-msft
/sdk/communication/azure-communication-phonenumbers/ @RoyHerrod @danielav7 @whisper6284 @AlonsoMondal
/sdk/communication/azure-communication-sms/ @RoyHerrod @arifibrahim4

# PRLabel: %KeyVault
/sdk/keyvault/ @schaabs @chlowell @mccoyp @YalinLi0312
Expand Down Expand Up @@ -101,7 +103,7 @@
/sdk/servicebus/ @annatisch @yunhaoling @swathipil @rakshith91

# PRLabel: %Synapse
/sdk/synapse/ @aim-for-better @idear1203
/sdk/synapse/ @wonner @idear1203 @xiangyan99

# PRLabel: %EngSys
/sdk/template/ @Azure/azure-sdk-eng
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

This repository is for active development of the Azure SDK for Python. For consumers of the SDK we recommend visiting our [public developer docs](https://docs.microsoft.com/python/azure/) or our versioned [developer docs](https://azure.github.io/azure-sdk-for-python).

## _Disclaimer_

_Azure SDK Python packages support for Python 2.7 is ending 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_

## Getting started

For your convenience, each service has a separate set of libraries that you can choose to use instead of one, large Azure package. To get started with a specific library, see the `README.md` (or `README.rst`) file located in the library's project folder.
Expand Down
15 changes: 6 additions & 9 deletions eng/common/scripts/Detect-Api-Changes.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Param (
)

# Submit API review request and return status whether current revision is approved or pending or failed to create review
function Submit-Request($filePath)
function Submit-Request($filePath, $packageName)
{
$repoName = $RepoFullName
if (!$repoName) {
Expand All @@ -29,6 +29,7 @@ function Submit-Request($filePath)
$query.Add('commitSha', $CommitSha)
$query.Add('repoName', $repoName)
$query.Add('pullRequestNumber', $PullRequestNumber)
$query.Add('packageName', $packageName)
$uri = [System.UriBuilder]$APIViewUri
$uri.query = $query.toString()
Write-Host "Request URI: $($uri.Uri.OriginalString)"
Expand Down Expand Up @@ -71,6 +72,7 @@ function Log-Input-Params()
Write-Host "Language: $($Language)"
Write-Host "Commit SHA: $($CommitSha)"
Write-Host "Repo Name: $($RepoFullName)"
Write-Host "Package Name: $($PackageName)"
}

. (Join-Path $PSScriptRoot common.ps1)
Expand All @@ -95,7 +97,7 @@ foreach ($artifact in $ArtifactList)
if (Should-Process-Package -pkgPath $pkgPath -packageName $artifact.name)
{
$filePath = $pkgPath.Replace($ArtifactPath , "").Replace("\", "/")
$respCode = Submit-Request -filePath $filePath
$respCode = Submit-Request -filePath $filePath -packageName $artifact.name
if ($respCode -ne '200')
{
$responses[$artifact.name] = $respCode
Expand All @@ -108,12 +110,7 @@ foreach ($artifact in $ArtifactList)
}
}

if ($responses)
foreach($pkg in $responses.keys)
{
# Will update this with a link to wiki on how to resolve
Write-Warning "API change detection failed for following packages. Please check above for package level error details."
foreach($pkg in $responses.keys)
{
Write-Host "$pkg failed with $($responses[$pkg]) code"
}
Write-Host "API detection request status for $($pkg) : $($responses[$pkg])"
}
4 changes: 2 additions & 2 deletions eng/common/testproxy/docker-start-proxy.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ catch {
Write-Error "Please check your docker invocation and try running the script again."
}

$SELECTED_IMAGE_TAG = "1084681"
$SELECTED_IMAGE_TAG = "1108695"
$CONTAINER_NAME = "ambitious_azsdk_test_proxy"
$LINUX_IMAGE_SOURCE = "azsdkengsys.azurecr.io/engsys/testproxy-lin:${SELECTED_IMAGE_TAG}"
$WINDOWS_IMAGE_SOURCE = "azsdkengsys.azurecr.io/engsys/testproxy-win:${SELECTED_IMAGE_TAG}"
Expand Down Expand Up @@ -80,4 +80,4 @@ if ($Mode -eq "stop"){
docker container stop $CONTAINER_NAME
}
}
}
}
12 changes: 12 additions & 0 deletions eng/guardian-tools/policheck/PolicheckExclusions.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<PoliCheckExclusions>
<!-- All strings must be UPPER CASE -->
<!-- Each of these exclusions is a folder name - if \[name]\ exists in the file path, it will be skipped -->
<!--<Exclusion Type="FolderPathFull">ABC|XYZ</Exclusion>-->
<!-- Each of these exclusions is a folder name - if any folder or file starts with "\[name]", it will be
skipped -->
<!--<Exclusion Type="FolderPathStart">ABC|XYZ</Exclusion>-->
<!-- Each of these file types will be completely skipped for the entire scan -->
<!--<Exclusion Type="FileType">.ABC|.XYZ</Exclusion>-->
<!-- The specified file names will be skipped during the scan regardless which folder they are in -->
<!--<Exclusion Type="FileName">ABC.TXT|XYZ.CS</Exclusion>-->
</PoliCheckExclusions>
155 changes: 100 additions & 55 deletions eng/pipelines/aggregate-reports.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,60 +8,105 @@ pr:
include:
- eng/pipelines/aggregate-reports.yml

jobs:
- job: 'ValidateDependencies'
variables:
pool:
name: azsdk-pool-mms-win-2019-general
vmImage: MMS2019

variables:
- template: ./templates/variables/globals.yml

pool:
name: azsdk-pool-mms-win-2019-general
vmImage: MMS2019

steps:
- template: /eng/pipelines/templates/steps/analyze_dependency.yml

- task: AzureFileCopy@2
displayName: 'Upload dependency report'
condition: and(succeededOrFailed(), eq(variables['System.TeamProject'], 'internal'))
inputs:
sourcePath: '$(Build.ArtifactStagingDirectory)/reports'
azureSubscription: 'Azure SDK Artifacts'
destination: AzureBlob
storage: azuresdkartifacts
containerName: 'azure-sdk-for-python'
blobPrefix: dependencies

- task: PowerShell@2
displayName: "Verify Repository Resource Refs"
inputs:
pwsh: true
workingDirectory: $(Build.SourcesDirectory)
filePath: eng/common/scripts/Verify-Resource-Ref.ps1

- task: securedevelopmentteam.vss-secure-development-tools.build-task-credscan.CredScan@3
displayName: 'Run CredScan'
condition: succeededOrFailed()
inputs:
suppressionsFile: 'eng\CredScanSuppression.json'
- task: securedevelopmentteam.vss-secure-development-tools.build-task-postanalysis.PostAnalysis@2
displayName: 'Post Analysis'
condition: succeededOrFailed()
inputs:
GdnBreakAllTools: false
GdnBreakGdnToolCredScan: true
GdnBreakGdnToolCredScanSeverity: Error
GdnBreakBaselineFiles: $(Build.SourcesDirectory)\eng\python.gdnbaselines
GdnBreakBaselines: baseline
# Used for generating baseline file.
# GdnBreakOutputBaselineFile: python
# GdnBreakOutputBaseline: baseline
continueOnError: true
- task: securedevelopmentteam.vss-secure-development-tools.build-task-publishsecurityanalysislogs.PublishSecurityAnalysisLogs@3
displayName: 'Publish Security Analysis Logs'
continueOnError: true
condition: succeededOrFailed()
- template: ../common/pipelines/templates/steps/verify-links.yml
parameters:
Directory: ""
CheckLinkGuidance: $true
Condition: succeededOrFailed()
stages:
- stage: ValidateDependencies
displayName: Validate Dependencies

jobs:
- job: ValidateDependencies
timeoutInMinutes: 120
steps:

- template: /eng/pipelines/templates/steps/analyze_dependency.yml

- task: AzureFileCopy@2
displayName: 'Upload dependency report'
condition: and(succeededOrFailed(), eq(variables['System.TeamProject'], 'internal'))
inputs:
sourcePath: '$(Build.ArtifactStagingDirectory)/reports'
azureSubscription: 'Azure SDK Artifacts'
destination: AzureBlob
storage: azuresdkartifacts
containerName: 'azure-sdk-for-python'
blobPrefix: dependencies

- task: PowerShell@2
displayName: "Verify Repository Resource Refs"
inputs:
pwsh: true
workingDirectory: $(Build.SourcesDirectory)
filePath: eng/common/scripts/Verify-Resource-Ref.ps1

- template: ../common/pipelines/templates/steps/verify-links.yml
parameters:
Directory: ""
CheckLinkGuidance: $true
Condition: succeededOrFailed()

- stage: ComplianceTools
displayName: Compliance Tools
dependsOn: []

jobs:
- job: ComplianceTools
timeoutInMinutes: 120
steps:
- task: securedevelopmentteam.vss-secure-development-tools.build-task-credscan.CredScan@3
displayName: 'Run CredScan'
condition: succeededOrFailed()
inputs:
suppressionsFile: 'eng\CredScanSuppression.json'

- task: securedevelopmentteam.vss-secure-development-tools.build-task-postanalysis.PostAnalysis@2
displayName: 'Post Analysis'
condition: succeededOrFailed()
inputs:
GdnBreakAllTools: false
GdnBreakGdnToolCredScan: true
GdnBreakGdnToolCredScanSeverity: Error
GdnBreakBaselineFiles: $(Build.SourcesDirectory)\eng\python.gdnbaselines
GdnBreakBaselines: baseline
# Used for generating baseline file.
# GdnBreakOutputBaselineFile: python
# GdnBreakOutputBaseline: baseline
continueOnError: true

- pwsh: |
azcopy copy "https://azuresdkartifacts.blob.core.windows.net/policheck/PythonPoliCheckExclusion.mdb?$(azuresdk-policheck-blob-SAS)" `
"$(Build.BinariesDirectory)"
displayName: 'Download PoliCheck Exclusion Database'
condition: succeededOrFailed()
- task: securedevelopmentteam.vss-secure-development-tools.build-task-policheck.PoliCheck@2
displayName: 'Run PoliCheck'
inputs:
targetType: F
targetArgument: '$(Build.SourcesDirectory)'
result: PoliCheck.sarif
optionsFC: 0
optionsXS: 1
optionsPE: 1|2|3|4
optionsRulesDBPath: "$(Build.BinariesDirectory)/PythonPoliCheckExclusion.mdb"
optionsUEPATH: "$(Build.SourcesDirectory)/eng/guardian-tools/policheck/PolicheckExclusions.xml"
condition: succeededOrFailed()

- task: securedevelopmentteam.vss-secure-development-tools.build-task-postanalysis.PostAnalysis@2
displayName: 'Post Analysis (PoliCheck)'
inputs:
GdnBreakAllTools: false
GdnBreakGdnToolPoliCheck: true
GdnBreakGdnToolPoliCheckSeverity: Warning
condition: succeededOrFailed()
continueOnError: true

- task: securedevelopmentteam.vss-secure-development-tools.build-task-publishsecurityanalysislogs.PublishSecurityAnalysisLogs@3
displayName: 'Publish Security Analysis Logs'
continueOnError: true
condition: succeededOrFailed()
2 changes: 1 addition & 1 deletion eng/pipelines/templates/steps/auth-dev-feed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ steps:
displayName: 'Pip Authenticate to feed'
inputs:
artifactFeeds: $(DevFeedName)
onlyAddExtraIndex: true
onlyAddExtraIndex: false
1 change: 1 addition & 0 deletions eng/pipelines/templates/steps/verify-autorest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ steps:
- task: PythonScript@0
displayName: 'Verify autorest'
continueOnError: true
inputs:
scriptPath: 'scripts/devops_tasks/verify_autorest.py'
arguments: >-
Expand Down
3 changes: 2 additions & 1 deletion eng/tox/allowed_pylint_failures.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,6 @@
"azure-messaging-nspkg",
"azure-agrifood-farming",
"azure-eventhub",
"azure-ai-language-questionanswering"
"azure-ai-language-questionanswering",
"azure-ai-language-conversations"
]
3 changes: 3 additions & 0 deletions eng/tox/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ platform = linux: linux
passenv = *
setenv =
SPHINX_APIDOC_OPTIONS=members,undoc-members,inherited-members
PIP_EXTRA_INDEX_URL=https://pypi.python.org/simple
deps = {[base]deps}
changedir = {toxinidir}
install_command = python -m pip install {opts} {packages} --cache-dir {toxinidir}/../.tox_pip_cache_{envname}
Expand Down Expand Up @@ -225,6 +226,7 @@ changedir =
{toxinidir}
passenv = *
setenv =
{[testenv]setenv}
DEPENDENCY_TYPE=Latest
commands =
{[deptestcommands]commands}
Expand All @@ -240,6 +242,7 @@ deps =
changedir = {toxinidir}
passenv = *
setenv =
{[testenv]setenv}
DEPENDENCY_TYPE=Minimum
commands =
{[deptestcommands]commands}
Expand Down
2 changes: 1 addition & 1 deletion scripts/devops_tasks/common_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ def find_whl(package_name, version, whl_directory):
def install_package_from_whl(
package_whl_path, working_dir, python_sym_link=sys.executable
):
commands = [python_sym_link, "-m", "pip", "install", package_whl_path]
commands = [python_sym_link, "-m", "pip", "install", package_whl_path, "--extra-index", "https://pypi.python.org/simple"]
run_check_call(commands, working_dir)
logging.info("Installed package from {}".format(package_whl_path))

Expand Down
1 change: 1 addition & 0 deletions scripts/devops_tasks/git_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
'azure-communication-phonenumbers': '1.0.0',
'azure-communication-sms': '1.0.0',
'azure-search-documents': '11.2.0b3',
'azure-ai-language-questionanswering': '1.0.0b1'
}

# This method identifies release tag for latest or oldest released version of a given package
Expand Down
2 changes: 1 addition & 1 deletion scripts/devops_tasks/test_regression.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ def _install_packages(self, dependent_pkg_path, pkg_to_exclude):
"Installing filtered dev requirements from {}".format(filtered_dev_req_path)
)
run_check_call(
[python_executable, "-m", "pip", "install", "-r", filtered_dev_req_path],
[python_executable, "-m", "pip", "install", "-r", filtered_dev_req_path, "--extra-index", "https://pypi.org/simple"],
dependent_pkg_path,
)
else:
Expand Down
7 changes: 7 additions & 0 deletions scripts/devops_tasks/test_run_samples.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,13 @@
"sample_list_translations_with_filters.py",
"sample_translation_with_custom_model.py",
"sample_translation_with_custom_model_async.py",
],
"azure-ai-formrecognizer": [
"sample_manage_custom_models.py",
"sample_manage_custom_models_async.py",
],
"azure-ai-language-questionanswering": [
"sample_chat.py"
]
}

Expand Down
1 change: 0 additions & 1 deletion scripts/devops_tasks/verify_autorest.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import argparse
import os
import logging
import sys

from common_tasks import run_check_call

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Release History

## 1.0.0b1 (unreleased)

### Features Added
* Initial release
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
include *.md
include azure/__init__.py
include azure/ai/__init__.py
include azure/ai/language/__init__.py
recursive-include tests *.py
recursive-include samples *.py *.md
include azure/ai/language/conversations/py.typed
Loading

0 comments on commit 1cad486

Please sign in to comment.