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

DataLake Knack conversion #5100

Merged
merged 7 commits into from
Dec 15, 2017
Merged

DataLake Knack conversion #5100

merged 7 commits into from
Dec 15, 2017

Conversation

tjprescott
Copy link
Member

Implements #4931 and #4932.

Tests not included as part of CI as there are some issues with some of them (possibly service flakiness).

@azuresdkci
Copy link
Contributor

View a preview at https://prompt.ws/r/Azure/azure-cli/5100
This is an experimental preview for @microsoft.com users.
(It may take a minute or two for your instance to be ready)
Email feedback to 'azfeedback' with subject 'Prompt Feedback'.

recording_processors=_merge_lists(default_recording_processors, recording_processors),
replay_processors=_merge_lists(default_replay_processors, replay_processors),
recording_patches=_merge_lists(default_recording_patches, recording_patches),
replay_patches=_merge_lists(default_replay_patches, replay_patches),
Copy link
Member

@derekbekoe derekbekoe Dec 15, 2017

Choose a reason for hiding this comment

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

Prev. it was or. Now you are merging.
Is this intended and do we want to support merging?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, this was very intended. The only reason is was "or" for so long was because no one ever tried to use it... we just always added any processors we needed to the core testbase (which isn't really a good idea...)

@@ -172,7 +172,7 @@ def load_command_table(self, _):
# Resource feature commands
if self.supported_api_version(min_api='2017-05-10'):
feature_table_transform = '{Name:name, RegistrationState:properties.state}'
with self.command_group('feature', resource_feature_sdk) as g:
with self.command_group('feature', resource_feature_sdk, client_factory=cf_features) as g:
Copy link
Member

Choose a reason for hiding this comment

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

Why this change?
If it is needed, I guess you can remove client_factory=cf_features below?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, pretty much so I could remove the kwarg in the lines below.

@tjprescott tjprescott merged commit 2ade645 into Azure:KnackConversion Dec 15, 2017
@tjprescott tjprescott deleted the DataLakeConversion branch December 15, 2017 22:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants