Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
2cba844
Certs Final PR (#7076)
iscai-msft Sep 6, 2019
7e0ddbe
Perform encrypt/verify/wrap locally when possible (#6939)
chlowell Sep 7, 2019
6aba868
[EventHubs] Track2 Preview3 (#7059)
yunhaoling Sep 9, 2019
cf18c2b
[AutoPR] reservations/resource-manager (#6861)
AutorestCI Sep 9, 2019
c9f3e9c
setting a maxparallel paramter for the storage livetests. we need to …
scbedd Sep 9, 2019
dcaa3c2
Enable SSO on Windows (#7006)
chlowell Sep 9, 2019
54a1af0
adjusting where inconsistency is set. if we are inconsistent, but the…
scbedd Sep 10, 2019
34b1cba
revert changes to doc build host machine. we need to push some docs o…
scbedd Sep 10, 2019
ee0f3b7
Fix tracing if method raise exception (#7133)
lmazuel Sep 10, 2019
ce6484e
fix link to azure-identity readme (#7169)
chlowell Sep 10, 2019
5a6764d
Eventhubs preview3 documentation update (#7139)
YijunXieMS Sep 10, 2019
ad4a001
msal_extensions -> msal-extensions (#7172)
chlowell Sep 10, 2019
3037d37
update doc (#7131)
xiangyan99 Sep 10, 2019
a267b95
[Cosmos] Preview2 (#7140)
annatisch Sep 10, 2019
2aa33cf
Key Vault: added example and fixed link in Certificates README (#7151)
iscai-msft Sep 10, 2019
475545f
Key Vault: fixed certificate docstring errors (#7132)
iscai-msft Sep 10, 2019
2b6068b
Key Vault: added certificate changelog (#7128)
iscai-msft Sep 10, 2019
fe4c62a
remove duplicate enum key (#7173)
kayousef Sep 10, 2019
90fe8d9
azure-keyvault-nspkg (#7125)
chlowell Sep 10, 2019
c433e47
Storage Preview 3 Release (#7154)
rakshith91 Sep 10, 2019
b3790cd
update readme and history (#7188)
Sep 11, 2019
7354bbd
Skip Building on incompatible Python Versions (#7160)
scbedd Sep 11, 2019
ab3f145
Disable dev-setup "Develop" mode in CI checks (#7162)
scbedd Sep 11, 2019
59e24d1
Eventhubs preview3 doc update
yunhaoling Sep 11, 2019
dc84cca
Final Key Vault 4.0.0b3 updates (#7189)
chlowell Sep 11, 2019
3c5304d
add cryptography dependency (#7207)
chlowell Sep 11, 2019
21d1741
Eventhubs blobstorage merge to master (#7150)
YijunXieMS Sep 11, 2019
1016d17
Increment Key Vault versions (#7211)
chlowell Sep 11, 2019
26319a8
Increment azure-identity version (#7176)
chlowell Sep 11, 2019
758f358
Doc build resolution for extension package (#7217)
scbedd Sep 11, 2019
21c62d7
removing stray == (#7218)
scbedd Sep 11, 2019
b30de5a
handle 0 packages being passed to dev_setup from setup_execute_tests.…
scbedd Sep 11, 2019
fc0d440
adding line item entry (#7221)
scbedd Sep 11, 2019
483a334
KeyVault: Removing JsonWeb prefix from enums (#7212)
iscai-msft Sep 11, 2019
c3fece1
Eventhubs blobstorage docs update (#7216)
YijunXieMS Sep 12, 2019
fdf78d5
fixed certificates 4.0.0b3 changelog (#7214)
iscai-msft Sep 12, 2019
58e3bf1
[cognitive-services] cog services devtools test framework (#7087)
kristapratico Sep 12, 2019
1caeded
Key Vault: reworked certificates samples, all passing (#7225)
iscai-msft Sep 12, 2019
3a97e09
adding azure-eventhubs to the exception list. should result in what w…
scbedd Sep 12, 2019
977cbda
add ability to specify job timeout (#7237)
danieljurek Sep 12, 2019
56c39bb
Cosmos Pipeline Refactor (#7227)
danieljurek Sep 12, 2019
54c452f
Fix spelling mistakes in cosmos_db.py (#6980)
James-DBA-Anderson Sep 12, 2019
71c31c4
Fix doc link (#6458)
jongio Sep 12, 2019
d1cf7e2
class links with extra text need :class: (#7215)
bryevdv Sep 12, 2019
16fca20
Key Vault: added certificate rst files to sphinx doc (#7248)
iscai-msft Sep 12, 2019
d73d926
Address nspkg Failures (#7243)
scbedd Sep 12, 2019
a1c2a91
Update Dependency Script to Key of Package Name for SDIST, update ove…
scbedd Sep 13, 2019
71e62fa
Un-use deprecated method in devtools (#7222)
Sep 13, 2019
2a0c6c3
[AutoPR compute/resource-manager] added missing packages to compute r…
AutorestCI Sep 16, 2019
fa91e4e
Fix error creating EnvironmentCredential with username/password (#7260)
chlowell Sep 16, 2019
5038f0b
update sphinx sources for certificates (#7290)
scbedd Sep 16, 2019
e461f03
Resolve faulty package filter when building for release (#7297)
scbedd Sep 16, 2019
ededddf
Read env variables and not settings if available (#7101)
lmazuel Sep 16, 2019
225f0e3
update requirements versions and fix breaks
danieljurek Sep 13, 2019
d2c001e
update to September 2019 release
danieljurek Sep 13, 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
  •  
  •  
  •  
3 changes: 2 additions & 1 deletion .azure-pipelines/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
skipComponentGovernanceDetection: true
timeoutInMinutes: 120
pool:
vmImage: 'windows-2019'
vmImage: 'vs2017-win2016'

steps:
- task: UsePythonVersion@0
Expand All @@ -22,6 +22,7 @@ jobs:
displayName: 'Install All Packages'
inputs:
scriptPath: 'scripts/dev_setup.py'
arguments: '--exceptionlist=azure-eventhubs,azure-eventhubs-checkpointstoreblob-aio'

- powershell: |
cd $(Build.SourcesDirectory)/doc/sphinx
Expand Down
6 changes: 5 additions & 1 deletion .docsettings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ known_content_issues:
- ['sdk/loganalytics/azure-loganalytics/README.rst', '#4554']
- ['sdk/servicefabric/azure-servicefabric/README.rst', '#4554']
- ['sdk/core/azure-servicemanagement-legacy/README.rst', '#4554']
- ['sdk/storage/azure-storage-file/swagger/README.md', '#4554']
- ['sdk/storage/azure-storage-queue/swagger/README.md', '#4554']
- ['sdk/storage/azure-storage-blob/swagger/README.md', '#4554']

# nspckg and common.
- ['sdk/cognitiveservices/azure-cognitiveservices-nspkg/README.rst', 'nspkg and common']
Expand All @@ -63,11 +66,12 @@ known_content_issues:
- ['sdk/core/azure-mgmt-nspkg/README.rst', 'nspkg and common']
- ['sdk/core/azure-core/README.md', 'nspkg and common']
- ['sdk/appconfiguration/azure-appconfiguration/README.md', 'nspkg and common']
- ['sdk/keyvault/azure-keyvault-nspkg/README.md', 'nspkg and common']

# root readme
- ['README.md', 'root readme']

# dev tools
# dev tools
- ['doc/dev/mgmt/swagger/single_api/readme.md', 'dev readme']
- ['doc/dev/mgmt/swagger/multi_api/readme.md', 'dev readme']
- ['doc/dev/mgmt/README.md', 'dev readme']
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,4 @@ sdk/storage/azure-storage-blob/tests/settings_real.py
sdk/storage/azure-storage-queue/tests/settings_real.py
sdk/storage/azure-storage-file/tests/settings_real.py
*.code-workspace
sdk/cosmos/azure-cosmos/test/test_config.py
2 changes: 1 addition & 1 deletion build_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def create_package(name, dest_folder=DEFAULT_DEST_FOLDER):
absdirs = [os.path.dirname(package) for package in (glob.glob('{}/setup.py'.format(name)) + glob.glob('sdk/*/{}/setup.py'.format(name)))]

absdirpath = os.path.abspath(absdirs[0])
check_call(['python', 'setup.py', 'bdist_wheel', '--universal', '-d', dest_folder], cwd=absdirpath)
check_call(['python', 'setup.py', 'bdist_wheel', '-d', dest_folder], cwd=absdirpath)
check_call(['python', 'setup.py', "sdist", "--format", "zip", '-d', dest_folder], cwd=absdirpath)


Expand Down
12 changes: 11 additions & 1 deletion doc/dev/engineering_assumptions.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
## Engineering System Assumptions, Gotchas, and Minutiae

1. All wheels are generated with `--universal` flag passed to `bdist_wheel`. We do not currently allow non-universal packages to be shipped out of this repository.
1. All wheels are generated with influence from `setup.cfg` at the built package root. This means that for most of our packages, the `universal` flag is set within the `setup.cfg`.

```
[bdist_wheel]
universal=1
```
2. If a package does _not_ have `universal` set, then the default build will produce a wheel for `py3`. This is due to the fact that wheels are currently generated by a CI step running `Python 3.6`.

## Build

Expand All @@ -15,3 +21,7 @@ Build CI for `azure-sdk-for-python` essentially builds and tests packages in one
1. Install on packages (and their dev_requirements!) in one go.
2. Run `pytest <folder1>, pytest <folder2>` where folders correspond to package folders
1. While all packages are installed alongside each other, each test run is individual to the package. This has the benefit of not allowing `packageA`'s `conftest.py` to mess with `packageB`'s environment.'

### So when do they run?

A standard pull request will option target the `Individual Packages` option. On a nightly cadence, the `python - client` build installs the entire world and tests in _both_ methodologies outlined above.
3 changes: 3 additions & 0 deletions doc/sphinx/autorest_generated_packages.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
:caption: Developer Documentation

ref/azure.common
./ref/azure.appconfiguration.rst
./ref/azure.applicationinsights.rst
./ref/azure.batch.rst
./ref/azure.cognitiveservices.anomalydetector.rst
Expand Down Expand Up @@ -31,8 +32,10 @@
./ref/azure.data.appconfiguration.rst
./ref/azure.eventgrid.rst
./ref/azure.eventhub.rst
./ref/azure.eventhub.extensions.rst
./ref/azure.graphrbac.rst
./ref/azure.identity.rst
./ref/azure.keyvault.certificates.rst
./ref/azure.keyvault.keys.rst
./ref/azure.keyvault.secrets.rst
./ref/azure.loganalytics.rst
Expand Down
8 changes: 5 additions & 3 deletions doc/sphinx/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,15 @@

# FIX FOR EXAMPLE REFERENCES
REPO_ROOT = os.path.abspath(os.path.join(os.path.abspath(__file__), '..', '..', '..'))
examples_glob_expansion = os.path.join(REPO_ROOT, 'sdk/*/*/examples/**/test*example*.py')
examples_tests_glob_expansion = os.path.join(REPO_ROOT, 'sdk/*/*/examples/**/test*example*.py')
samples_glob_expansion = os.path.join(REPO_ROOT, 'sdk/*/*/tests/**/test*sample*.py')
test_examples_glob_expansion = os.path.join(REPO_ROOT, 'sdk/*/*/tests/**/test*example*.py')

example_files = glob.glob(examples_glob_expansion, recursive=True)
example_tests_files = glob.glob(examples_tests_glob_expansion, recursive=True)
test_examples_files = glob.glob(test_examples_glob_expansion, recursive=True)
samples_files = glob.glob(samples_glob_expansion, recursive=True)

all_files = [os.path.relpath(file, REPO_ROOT) for file in list(set(example_files + samples_files))]
all_files = [os.path.relpath(file, REPO_ROOT) for file in list(set(example_tests_files + test_examples_files + samples_files))]

# now for each package, we need to copy it and write it to the relative path FROM THE CURRENT CWD
for example_file in all_files:
Expand Down
62 changes: 62 additions & 0 deletions doc/sphinx/ref/azure.eventhub.aio.eventprocessor.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
azure.eventhub.aio.eventprocessor package
=========================================

Submodules
----------

azure.eventhub.aio.eventprocessor.event\_processor module
---------------------------------------------------------

.. automodule:: azure.eventhub.aio.eventprocessor.event_processor
:members:
:undoc-members:
:show-inheritance:

azure.eventhub.aio.eventprocessor.partition\_context module
-----------------------------------------------------------

.. automodule:: azure.eventhub.aio.eventprocessor.partition_context
:members:
:undoc-members:
:show-inheritance:

azure.eventhub.aio.eventprocessor.partition\_manager module
-----------------------------------------------------------

.. automodule:: azure.eventhub.aio.eventprocessor.partition_manager
:members:
:undoc-members:
:show-inheritance:

azure.eventhub.aio.eventprocessor.partition\_processor module
-------------------------------------------------------------

.. automodule:: azure.eventhub.aio.eventprocessor.partition_processor
:members:
:undoc-members:
:show-inheritance:

azure.eventhub.aio.eventprocessor.sample\_partition\_manager module
-------------------------------------------------------------------

.. automodule:: azure.eventhub.aio.eventprocessor.sample_partition_manager
:members:
:undoc-members:
:show-inheritance:

azure.eventhub.aio.eventprocessor.utils module
----------------------------------------------

.. automodule:: azure.eventhub.aio.eventprocessor.utils
:members:
:undoc-members:
:show-inheritance:


Module contents
---------------

.. automodule:: azure.eventhub.aio.eventprocessor
:members:
:undoc-members:
:show-inheritance:
15 changes: 15 additions & 0 deletions doc/sphinx/ref/azure.eventhub.aio.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
azure.eventhub.aio package
==========================

Subpackages
-----------

.. toctree::

azure.eventhub.aio.eventprocessor

Submodules
----------

Expand All @@ -20,6 +27,14 @@ azure.eventhub.aio.consumer\_async module
:undoc-members:
:show-inheritance:

azure.eventhub.aio.error\_async module
--------------------------------------

.. automodule:: azure.eventhub.aio.error_async
:members:
:undoc-members:
:show-inheritance:

azure.eventhub.aio.producer\_async module
-----------------------------------------

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
azure.eventhub.extensions.checkpointstoreblobaio package
========================================================

Submodules
----------

azure.eventhub.extensions.checkpointstoreblobaio.blobstoragepm module
---------------------------------------------------------------------

.. automodule:: azure.eventhub.extensions.checkpointstoreblobaio.blobstoragepm
:members:
:undoc-members:
:show-inheritance:


Module contents
---------------

.. automodule:: azure.eventhub.extensions.checkpointstoreblobaio
:members:
:undoc-members:
:show-inheritance:
17 changes: 17 additions & 0 deletions doc/sphinx/ref/azure.eventhub.extensions.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
azure.eventhub.extensions package
=================================

Subpackages
-----------

.. toctree::

azure.eventhub.extensions.checkpointstoreblobaio

Module contents
---------------

.. automodule:: azure.eventhub.extensions
:members:
:undoc-members:
:show-inheritance:
9 changes: 0 additions & 9 deletions doc/sphinx/ref/azure.eventhub.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ Subpackages
.. toctree::

azure.eventhub.aio
azure.eventhub.eventprocessor

Submodules
----------
Expand Down Expand Up @@ -36,14 +35,6 @@ azure.eventhub.common module
:undoc-members:
:show-inheritance:

azure.eventhub.configuration module
-----------------------------------

.. automodule:: azure.eventhub.configuration
:members:
:undoc-members:
:show-inheritance:

azure.eventhub.consumer module
------------------------------

Expand Down
22 changes: 22 additions & 0 deletions doc/sphinx/ref/azure.keyvault.certificates.aio.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
azure.keyvault.certificates.aio package
========================

Submodules
----------

azure.keyvault.certificates.aio.client module
------------------------------

.. automodule:: azure.keyvault.certificates.aio.client
:members:
:undoc-members:
:show-inheritance:


Module contents
---------------

.. automodule:: azure.keyvault.certificates.aio
:members:
:undoc-members:
:show-inheritance:
45 changes: 45 additions & 0 deletions doc/sphinx/ref/azure.keyvault.certificates.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
azure.keyvault.certificates package
====================

Subpackages
-----------

.. toctree::

azure.keyvault.certificates.aio

Submodules
----------

azure.keyvault.certificates.client module
--------------------------

.. automodule:: azure.keyvault.certificates.client
:members:
:undoc-members:
:show-inheritance:

azure.keyvault.certificates.enums module
-------------------------

.. automodule:: azure.keyvault.certificates.enums
:members:
:undoc-members:
:show-inheritance:

azure.keyvault.certificates.models module
--------------------------

.. automodule:: azure.keyvault.certificates.models
:members:
:undoc-members:
:show-inheritance:


Module contents
---------------

.. automodule:: azure.keyvault.certificates
:members:
:undoc-members:
:show-inheritance:
2 changes: 2 additions & 0 deletions eng/pipelines/templates/jobs/archetype-sdk-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ parameters:
BeforePublishSteps: []
TestMarkArgument: ''
BuildTargetingString: 'azure-*'
TestTimeoutInMinutes: 0

jobs:
- job: 'Build'
Expand Down Expand Up @@ -33,6 +34,7 @@ jobs:
- template: ../steps/analyze.yml

- job: 'Test'
timeoutInMinutes: ${{ parameters.TestTimeoutInMinutes }}
variables:
- template: ../variables/globals.yml

Expand Down
2 changes: 1 addition & 1 deletion eng/pipelines/templates/jobs/archetype-sdk-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
dependsOn:
- 'Build'

timeoutInMinutes: 240
timeoutInMinutes: 270

strategy:
matrix:
Expand Down
5 changes: 4 additions & 1 deletion eng/pipelines/templates/jobs/archetype-sdk-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ parameters:
MaxParallel: 0
BeforeTestSteps: []
BuildTargetingString: 'azure-*'
TestMarkArgument: ''
Matrix:
Linux_Python35:
OSName: 'Linux'
Expand All @@ -22,6 +23,7 @@ jobs:
- job: 'Test'
variables:
skipComponentGovernanceDetection: true
CoverageArg: --disablecov

timeoutInMinutes: 120
strategy:
Expand All @@ -37,9 +39,10 @@ jobs:
parameters:
BuildTargetingString: ${{ parameters.BuildTargetingString }}
ServiceDirectory: ${{ parameters.ServiceDirectory }}
CoverageArg: '--disablecov'
CoverageArg: $(CoverageArg)
EnvVars: ${{ parameters.EnvVars }}
BeforeTestSteps: ${{ parameters.BeforeTestSteps }}
PythonVersion: $(PythonVersion)
OSName: $(OSName)
ToxTestEnv: "whl"
TestMarkArgument: ${{ parameters.TestMarkArgument }}
Loading