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

[ReleasePR logic] change the value of license header for go SDK #2717

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions src/logic/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
Release History
===============

0.1.1
++++++
* Fix parsing argument --integration-service-environment.

0.1.0
++++++
* Initial release.
23 changes: 16 additions & 7 deletions src/logic/azext_logic/__init__.py
Original file line number Diff line number Diff line change
@@ -1,22 +1,31 @@
# --------------------------------------------------------------------------------------------
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

from azure.cli.core import AzCommandsLoader
from azext_logic.generated._help import helps # pylint: disable=unused-import
try:
from azext_logic.manual._help import helps # pylint: disable=reimported
except ImportError:
pass


class LogicManagementClientCommandsLoader(AzCommandsLoader):

def __init__(self, cli_ctx=None):
from azure.cli.core.commands import CliCommandType
from azext_logic.generated._client_factory import cf_logic
from azext_logic.generated._client_factory import cf_logic_cl
logic_custom = CliCommandType(
operations_tmpl='azext_logic.custom#{}',
client_factory=cf_logic)
super(LogicManagementClientCommandsLoader, self).__init__(cli_ctx=cli_ctx,
custom_command_type=logic_custom)
client_factory=cf_logic_cl)
parent = super(LogicManagementClientCommandsLoader, self)
parent.__init__(cli_ctx=cli_ctx, custom_command_type=logic_custom)

def load_command_table(self, args):
from azext_logic.generated.commands import load_command_table
Expand Down
11 changes: 8 additions & 3 deletions src/logic/azext_logic/action.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
# --------------------------------------------------------------------------------------------
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------
# pylint: disable=wildcard-import
# pylint: disable=unused-wildcard-import

Expand Down
4 changes: 2 additions & 2 deletions src/logic/azext_logic/azext_metadata.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"azext.isExperimental": true,
"azext.minCliCoreVersion": "2.3.1"
}
"azext.minCliCoreVersion": "2.11.0"
}
11 changes: 8 additions & 3 deletions src/logic/azext_logic/custom.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
# --------------------------------------------------------------------------------------------
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------
# pylint: disable=wildcard-import
# pylint: disable=unused-wildcard-import

Expand Down
116 changes: 109 additions & 7 deletions src/logic/azext_logic/generated/_client_factory.py
Original file line number Diff line number Diff line change
@@ -1,18 +1,120 @@
# --------------------------------------------------------------------------------------------
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------


def cf_logic(cli_ctx, *_):
def cf_logic_cl(cli_ctx, *_):
from azure.cli.core.commands.client_factory import get_mgmt_service_client
from ..vendored_sdks.logic import LogicManagementClient
return get_mgmt_service_client(cli_ctx, LogicManagementClient)
return get_mgmt_service_client(cli_ctx,
LogicManagementClient)


def cf_workflow(cli_ctx, *_):
return cf_logic(cli_ctx).workflow
return cf_logic_cl(cli_ctx).workflow


def cf_workflow_version(cli_ctx, *_):
return cf_logic_cl(cli_ctx).workflow_version


def cf_workflow_trigger(cli_ctx, *_):
return cf_logic_cl(cli_ctx).workflow_trigger


def cf_workflow_version_trigger(cli_ctx, *_):
return cf_logic_cl(cli_ctx).workflow_version_trigger


def cf_workflow_trigger_history(cli_ctx, *_):
return cf_logic_cl(cli_ctx).workflow_trigger_history


def cf_workflow_run(cli_ctx, *_):
return cf_logic_cl(cli_ctx).workflow_run


def cf_workflow_run_action(cli_ctx, *_):
return cf_logic_cl(cli_ctx).workflow_run_action


def cf_workflow_run_action_repetition(cli_ctx, *_):
return cf_logic_cl(cli_ctx).workflow_run_action_repetition


def cf_workflow_run_action_repetition_request_history(cli_ctx, *_):
return cf_logic_cl(cli_ctx).workflow_run_action_repetition_request_history


def cf_workflow_run_action_request_history(cli_ctx, *_):
return cf_logic_cl(cli_ctx).workflow_run_action_request_history


def cf_workflow_run_action_scope_repetition(cli_ctx, *_):
return cf_logic_cl(cli_ctx).workflow_run_action_scope_repetition


def cf_workflow_run_operation(cli_ctx, *_):
return cf_logic_cl(cli_ctx).workflow_run_operation


def cf_integration_account(cli_ctx, *_):
return cf_logic(cli_ctx).integration_account
return cf_logic_cl(cli_ctx).integration_account


def cf_integration_account_assembly(cli_ctx, *_):
return cf_logic_cl(cli_ctx).integration_account_assembly


def cf_integration_account_batch_configuration(cli_ctx, *_):
return cf_logic_cl(cli_ctx).integration_account_batch_configuration


def cf_integration_account_schema(cli_ctx, *_):
return cf_logic_cl(cli_ctx).integration_account_schema


def cf_integration_account_map(cli_ctx, *_):
return cf_logic_cl(cli_ctx).integration_account_map


def cf_integration_account_partner(cli_ctx, *_):
return cf_logic_cl(cli_ctx).integration_account_partner


def cf_integration_account_agreement(cli_ctx, *_):
return cf_logic_cl(cli_ctx).integration_account_agreement


def cf_integration_account_certificate(cli_ctx, *_):
return cf_logic_cl(cli_ctx).integration_account_certificate


def cf_integration_account_session(cli_ctx, *_):
return cf_logic_cl(cli_ctx).integration_account_session


def cf_integration_service_environment(cli_ctx, *_):
return cf_logic_cl(cli_ctx).integration_service_environment


def cf_integration_service_environment_sku(cli_ctx, *_):
return cf_logic_cl(cli_ctx).integration_service_environment_sku


def cf_integration_service_environment_network_health(cli_ctx, *_):
return cf_logic_cl(cli_ctx).integration_service_environment_network_health


def cf_integration_service_environment_managed_api(cli_ctx, *_):
return cf_logic_cl(cli_ctx).integration_service_environment_managed_api


def cf_integration_service_environment_managed_api_operation(cli_ctx, *_):
return cf_logic_cl(cli_ctx).integration_service_environment_managed_api_operation
Loading