-
Notifications
You must be signed in to change notification settings - Fork 269
Pipeline client 6.0 added to support template parameters for pipelines runs #1211
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
Merged
Merged
Changes from all commits
Commits
Show all changes
63 commits
Select commit
Hold shift + click to select a range
2dba759
Adding example for multiple fields command
782fb6f
Duplicate dependencies removed
5b6fd42
Internal changes
ed4c075
Pipeline changes
224c0c2
Merge branch 'master' into Internal
3d95e61
Warning messages added for ADO server
6d5bacf
Strip the trailing slash
dd0cbff
run style chagnes
406b6ad
Merge branch 'Users/Roshan/1151' into Internal
bcb6c39
Test cases changes
f1910e8
1132
f7dac16
Merge branch 'master' into Internal
a520655
1132 chnages
e9d9b9a
Fixed: Made object id optional
9847e21
Comment changes
5325b69
Merge branch 'Users/Roshan/1132' into Internal
6de84e9
run style changes
4955cd0
Merge branch 'master' into Users/Roshan/1132
472df75
Merge branch 'Users/Roshan/1132' into Internal
684d580
dlete
bde24ae
show_command
55fa5ce
Merge branch 'master' into Internal
75c7310
internal
889daf3
1174
19d770f
sleep_in_live_run = 60
b98dbc5
sleep time changed for all
ae0c002
Merge branch 'master' into User/Roshan/Internal
roshan-sy ceb4240
Merge branch 'master' into User/Roshan/Internal
roshan-sy 1d4b53d
Fixed
roshan-sy d689b54
None checked
roshan-sy dacddce
reviewers none checked
roshan-sy 2966e64
Merge branch 'Users/Roshan/1118' into User/Roshan/Internal
roshan-sy 951db17
Changes for new pipeline client
roshan-sy f82b170
Refactor
roshan-sy 02f5e51
launch reset
roshan-sy ce428f4
Reset
roshan-sy c1e2028
Reset 2
roshan-sy 05b4135
Run style changes
roshan-sy cd64358
Run style fix
roshan-sy 896b9bd
Merge branch 'master' into Users/Roshan/1110-2
roshan-sy 3540051
Pipeline run test cases added
roshan-sy 34c097b
run style fix
roshan-sy 3438b6b
Run style fixed
roshan-sy 0e868ad
parameters changes
roshan-sy 2dadb03
set_param_variable function
9165e7a
Pipeline.py
2de5891
Merge branch 'master' into Users/Roshan/1110-2
roshan-sy 5b2f5a3
Convert_param changes
6ccf941
Merge branch 'Users/Roshan/1110-2' of https://github.com/Microsoft/az…
ceffe26
Fixes
roshan-sy e1c730e
Run style changes
roshan-sy 534bf6f
Run style changes
roshan-sy dcc0e0f
Deleted convert_param
bf3576f
Merge branch 'Users/Roshan/1110-2' of https://github.com/Microsoft/az…
9ecac49
Test Fix
roshan-sy beb04ba
Merge remote-tracking branch 'origin/master' into Users/Roshan/1110-2
roshan-sy 8cb350b
Run style changes
roshan-sy 4fdd38f
pythonPath fix
roshan-sy 68d4d8c
error text validation
181cfc3
Merge branch 'Users/Roshan/1110-2' of https://github.com/Microsoft/az…
a0a6553
Run style fixed
roshan-sy 04d86a9
logg added
roshan-sy 9d5ac40
parameter type changed to array
roshan-sy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| # -------------------------------------------------------------------------------------------- | ||
| # Copyright (c) Microsoft Corporation. All rights reserved. | ||
| # Licensed under the MIT License. See License.txt in the project root for license information. | ||
| # -------------------------------------------------------------------------------------------- | ||
| # Generated file, DO NOT EDIT | ||
| # Changes may cause incorrect behavior and will be lost if the code is regenerated. | ||
| # -------------------------------------------------------------------------------------------- |
17 changes: 17 additions & 0 deletions
17
azure-devops/azext_devops/devops_sdk/v6_0/accounts/__init__.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| # -------------------------------------------------------------------------------------------- | ||
| # Copyright (c) Microsoft Corporation. All rights reserved. | ||
| # Licensed under the MIT License. See License.txt in the project root for license information. | ||
| # -------------------------------------------------------------------------------------------- | ||
| # Generated file, DO NOT EDIT | ||
| # Changes may cause incorrect behavior and will be lost if the code is regenerated. | ||
| # -------------------------------------------------------------------------------------------- | ||
|
|
||
| from .models import * | ||
| from .accounts_client import AccountsClient | ||
|
|
||
| __all__ = [ | ||
| 'Account', | ||
| 'AccountCreateInfoInternal', | ||
| 'AccountPreferencesInternal', | ||
| 'AccountsClient' | ||
| ] |
48 changes: 48 additions & 0 deletions
48
azure-devops/azext_devops/devops_sdk/v6_0/accounts/accounts_client.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,48 @@ | ||
| # -------------------------------------------------------------------------------------------- | ||
| # Copyright (c) Microsoft Corporation. All rights reserved. | ||
| # Licensed under the MIT License. See License.txt in the project root for license information. | ||
| # -------------------------------------------------------------------------------------------- | ||
| # Generated file, DO NOT EDIT | ||
| # Changes may cause incorrect behavior and will be lost if the code is regenerated. | ||
| # -------------------------------------------------------------------------------------------- | ||
|
|
||
| from msrest import Serializer, Deserializer | ||
| from ...client import Client | ||
| from . import models | ||
|
|
||
|
|
||
| class AccountsClient(Client): | ||
| """Accounts | ||
| :param str base_url: Service URL | ||
| :param Authentication creds: Authenticated credentials. | ||
| """ | ||
|
|
||
| def __init__(self, base_url=None, creds=None): | ||
| super(AccountsClient, self).__init__(base_url, creds) | ||
| client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} | ||
| self._serialize = Serializer(client_models) | ||
| self._deserialize = Deserializer(client_models) | ||
|
|
||
| resource_area_identifier = '0d55247a-1c47-4462-9b1f-5e2125590ee6' | ||
|
|
||
| def get_accounts(self, owner_id=None, member_id=None, properties=None): | ||
| """GetAccounts. | ||
| [Preview API] Get a list of accounts for a specific owner or a specific member. One of the following parameters is required: ownerId, memberId. | ||
| :param str owner_id: ID for the owner of the accounts. | ||
| :param str member_id: ID for a member of the accounts. | ||
| :param str properties: | ||
| :rtype: [Account] | ||
| """ | ||
| query_parameters = {} | ||
| if owner_id is not None: | ||
| query_parameters['ownerId'] = self._serialize.query('owner_id', owner_id, 'str') | ||
| if member_id is not None: | ||
| query_parameters['memberId'] = self._serialize.query('member_id', member_id, 'str') | ||
| if properties is not None: | ||
| query_parameters['properties'] = self._serialize.query('properties', properties, 'str') | ||
| response = self._send(http_method='GET', | ||
| location_id='229a6a53-b428-4ffb-a835-e8f36b5b4b1e', | ||
| version='6.0-preview.1', | ||
| query_parameters=query_parameters) | ||
| return self._deserialize('[Account]', self._unwrap_collection(response)) | ||
|
|
149 changes: 149 additions & 0 deletions
149
azure-devops/azext_devops/devops_sdk/v6_0/accounts/models.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,149 @@ | ||
| # -------------------------------------------------------------------------------------------- | ||
| # Copyright (c) Microsoft Corporation. All rights reserved. | ||
| # Licensed under the MIT License. See License.txt in the project root for license information. | ||
| # -------------------------------------------------------------------------------------------- | ||
| # Generated file, DO NOT EDIT | ||
| # Changes may cause incorrect behavior and will be lost if the code is regenerated. | ||
| # -------------------------------------------------------------------------------------------- | ||
|
|
||
| from msrest.serialization import Model | ||
|
|
||
|
|
||
| class Account(Model): | ||
| """ | ||
| :param account_id: Identifier for an Account | ||
| :type account_id: str | ||
| :param account_name: Name for an account | ||
| :type account_name: str | ||
| :param account_owner: Owner of account | ||
| :type account_owner: str | ||
| :param account_status: Current account status | ||
| :type account_status: object | ||
| :param account_type: Type of account: Personal, Organization | ||
| :type account_type: object | ||
| :param account_uri: Uri for an account | ||
| :type account_uri: str | ||
| :param created_by: Who created the account | ||
| :type created_by: str | ||
| :param created_date: Date account was created | ||
| :type created_date: datetime | ||
| :param has_moved: | ||
| :type has_moved: bool | ||
| :param last_updated_by: Identity of last person to update the account | ||
| :type last_updated_by: str | ||
| :param last_updated_date: Date account was last updated | ||
| :type last_updated_date: datetime | ||
| :param namespace_id: Namespace for an account | ||
| :type namespace_id: str | ||
| :param new_collection_id: | ||
| :type new_collection_id: str | ||
| :param organization_name: Organization that created the account | ||
| :type organization_name: str | ||
| :param properties: Extended properties | ||
| :type properties: :class:`object <azure.devops.v6_0.accounts.models.object>` | ||
| :param status_reason: Reason for current status | ||
| :type status_reason: str | ||
| """ | ||
|
|
||
| _attribute_map = { | ||
| 'account_id': {'key': 'accountId', 'type': 'str'}, | ||
| 'account_name': {'key': 'accountName', 'type': 'str'}, | ||
| 'account_owner': {'key': 'accountOwner', 'type': 'str'}, | ||
| 'account_status': {'key': 'accountStatus', 'type': 'object'}, | ||
| 'account_type': {'key': 'accountType', 'type': 'object'}, | ||
| 'account_uri': {'key': 'accountUri', 'type': 'str'}, | ||
| 'created_by': {'key': 'createdBy', 'type': 'str'}, | ||
| 'created_date': {'key': 'createdDate', 'type': 'iso-8601'}, | ||
| 'has_moved': {'key': 'hasMoved', 'type': 'bool'}, | ||
| 'last_updated_by': {'key': 'lastUpdatedBy', 'type': 'str'}, | ||
| 'last_updated_date': {'key': 'lastUpdatedDate', 'type': 'iso-8601'}, | ||
| 'namespace_id': {'key': 'namespaceId', 'type': 'str'}, | ||
| 'new_collection_id': {'key': 'newCollectionId', 'type': 'str'}, | ||
| 'organization_name': {'key': 'organizationName', 'type': 'str'}, | ||
| 'properties': {'key': 'properties', 'type': 'object'}, | ||
| 'status_reason': {'key': 'statusReason', 'type': 'str'} | ||
| } | ||
|
|
||
| def __init__(self, account_id=None, account_name=None, account_owner=None, account_status=None, account_type=None, account_uri=None, created_by=None, created_date=None, has_moved=None, last_updated_by=None, last_updated_date=None, namespace_id=None, new_collection_id=None, organization_name=None, properties=None, status_reason=None): | ||
| super(Account, self).__init__() | ||
| self.account_id = account_id | ||
| self.account_name = account_name | ||
| self.account_owner = account_owner | ||
| self.account_status = account_status | ||
| self.account_type = account_type | ||
| self.account_uri = account_uri | ||
| self.created_by = created_by | ||
| self.created_date = created_date | ||
| self.has_moved = has_moved | ||
| self.last_updated_by = last_updated_by | ||
| self.last_updated_date = last_updated_date | ||
| self.namespace_id = namespace_id | ||
| self.new_collection_id = new_collection_id | ||
| self.organization_name = organization_name | ||
| self.properties = properties | ||
| self.status_reason = status_reason | ||
|
|
||
|
|
||
| class AccountCreateInfoInternal(Model): | ||
| """ | ||
| :param account_name: | ||
| :type account_name: str | ||
| :param creator: | ||
| :type creator: str | ||
| :param organization: | ||
| :type organization: str | ||
| :param preferences: | ||
| :type preferences: :class:`AccountPreferencesInternal <azure.devops.v6_0.accounts.models.AccountPreferencesInternal>` | ||
| :param properties: | ||
| :type properties: :class:`object <azure.devops.v6_0.accounts.models.object>` | ||
| :param service_definitions: | ||
| :type service_definitions: list of { key: str; value: str } | ||
| """ | ||
|
|
||
| _attribute_map = { | ||
| 'account_name': {'key': 'accountName', 'type': 'str'}, | ||
| 'creator': {'key': 'creator', 'type': 'str'}, | ||
| 'organization': {'key': 'organization', 'type': 'str'}, | ||
| 'preferences': {'key': 'preferences', 'type': 'AccountPreferencesInternal'}, | ||
| 'properties': {'key': 'properties', 'type': 'object'}, | ||
| 'service_definitions': {'key': 'serviceDefinitions', 'type': '[{ key: str; value: str }]'} | ||
| } | ||
|
|
||
| def __init__(self, account_name=None, creator=None, organization=None, preferences=None, properties=None, service_definitions=None): | ||
| super(AccountCreateInfoInternal, self).__init__() | ||
| self.account_name = account_name | ||
| self.creator = creator | ||
| self.organization = organization | ||
| self.preferences = preferences | ||
| self.properties = properties | ||
| self.service_definitions = service_definitions | ||
|
|
||
|
|
||
| class AccountPreferencesInternal(Model): | ||
| """ | ||
| :param culture: | ||
| :type culture: object | ||
| :param language: | ||
| :type language: object | ||
| :param time_zone: | ||
| :type time_zone: object | ||
| """ | ||
|
|
||
| _attribute_map = { | ||
| 'culture': {'key': 'culture', 'type': 'object'}, | ||
| 'language': {'key': 'language', 'type': 'object'}, | ||
| 'time_zone': {'key': 'timeZone', 'type': 'object'} | ||
| } | ||
|
|
||
| def __init__(self, culture=None, language=None, time_zone=None): | ||
| super(AccountPreferencesInternal, self).__init__() | ||
| self.culture = culture | ||
| self.language = language | ||
| self.time_zone = time_zone | ||
|
|
||
|
|
||
| __all__ = [ | ||
| 'Account', | ||
| 'AccountCreateInfoInternal', | ||
| 'AccountPreferencesInternal', | ||
| ] |
19 changes: 19 additions & 0 deletions
19
azure-devops/azext_devops/devops_sdk/v6_0/audit/__init__.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| # -------------------------------------------------------------------------------------------- | ||
| # Copyright (c) Microsoft Corporation. All rights reserved. | ||
| # Licensed under the MIT License. See License.txt in the project root for license information. | ||
| # -------------------------------------------------------------------------------------------- | ||
| # Generated file, DO NOT EDIT | ||
| # Changes may cause incorrect behavior and will be lost if the code is regenerated. | ||
| # -------------------------------------------------------------------------------------------- | ||
|
|
||
| from .models import * | ||
| from .audit_client import AuditClient | ||
|
|
||
| __all__ = [ | ||
| 'AuditActionInfo', | ||
| 'AuditLogEntry', | ||
| 'AuditLogQueryResult', | ||
| 'AuditStream', | ||
| 'DecoratedAuditLogEntry', | ||
| 'AuditClient' | ||
| ] |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.