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

[AutoPR datafactory/resource-manager] Remove webhook activity #4204

Merged
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,6 @@
from .wait_activity_py3 import WaitActivity
from .for_each_activity_py3 import ForEachActivity
from .if_condition_activity_py3 import IfConditionActivity
from .web_hook_activity_py3 import WebHookActivity
from .execute_pipeline_activity_py3 import ExecutePipelineActivity
from .control_activity_py3 import ControlActivity
from .linked_integration_runtime_py3 import LinkedIntegrationRuntime
Expand Down Expand Up @@ -711,7 +710,6 @@
from .wait_activity import WaitActivity
from .for_each_activity import ForEachActivity
from .if_condition_activity import IfConditionActivity
from .web_hook_activity import WebHookActivity
from .execute_pipeline_activity import ExecutePipelineActivity
from .control_activity import ControlActivity
from .linked_integration_runtime import LinkedIntegrationRuntime
Expand Down Expand Up @@ -797,7 +795,6 @@
CopyBehaviorType,
PolybaseSettingsRejectType,
SapCloudForCustomerSinkWriteBehavior,
WebHookActivityMethod,
IntegrationRuntimeType,
SelfHostedIntegrationRuntimeNodeStatus,
IntegrationRuntimeUpdateResult,
Expand Down Expand Up @@ -1147,7 +1144,6 @@
'WaitActivity',
'ForEachActivity',
'IfConditionActivity',
'WebHookActivity',
'ExecutePipelineActivity',
'ControlActivity',
'LinkedIntegrationRuntime',
Expand Down Expand Up @@ -1232,7 +1228,6 @@
'CopyBehaviorType',
'PolybaseSettingsRejectType',
'SapCloudForCustomerSinkWriteBehavior',
'WebHookActivityMethod',
'IntegrationRuntimeType',
'SelfHostedIntegrationRuntimeNodeStatus',
'IntegrationRuntimeUpdateResult',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ class ControlActivity(Activity):
You probably want to use the sub-classes and not this class directly. Known
sub-classes are: AppendVariableActivity, SetVariableActivity,
FilterActivity, ValidationActivity, UntilActivity, WaitActivity,
ForEachActivity, IfConditionActivity, WebHookActivity,
ExecutePipelineActivity
ForEachActivity, IfConditionActivity, ExecutePipelineActivity

All required parameters must be populated in order to send to Azure.

Expand Down Expand Up @@ -53,7 +52,7 @@ class ControlActivity(Activity):
}

_subtype_map = {
'type': {'AppendVariable': 'AppendVariableActivity', 'SetVariable': 'SetVariableActivity', 'Filter': 'FilterActivity', 'Validation': 'ValidationActivity', 'Until': 'UntilActivity', 'Wait': 'WaitActivity', 'ForEach': 'ForEachActivity', 'IfCondition': 'IfConditionActivity', 'WebHook': 'WebHookActivity', 'ExecutePipeline': 'ExecutePipelineActivity'}
'type': {'AppendVariable': 'AppendVariableActivity', 'SetVariable': 'SetVariableActivity', 'Filter': 'FilterActivity', 'Validation': 'ValidationActivity', 'Until': 'UntilActivity', 'Wait': 'WaitActivity', 'ForEach': 'ForEachActivity', 'IfCondition': 'IfConditionActivity', 'ExecutePipeline': 'ExecutePipelineActivity'}
}

def __init__(self, **kwargs):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ class ControlActivity(Activity):
You probably want to use the sub-classes and not this class directly. Known
sub-classes are: AppendVariableActivity, SetVariableActivity,
FilterActivity, ValidationActivity, UntilActivity, WaitActivity,
ForEachActivity, IfConditionActivity, WebHookActivity,
ExecutePipelineActivity
ForEachActivity, IfConditionActivity, ExecutePipelineActivity

All required parameters must be populated in order to send to Azure.

Expand Down Expand Up @@ -53,7 +52,7 @@ class ControlActivity(Activity):
}

_subtype_map = {
'type': {'AppendVariable': 'AppendVariableActivity', 'SetVariable': 'SetVariableActivity', 'Filter': 'FilterActivity', 'Validation': 'ValidationActivity', 'Until': 'UntilActivity', 'Wait': 'WaitActivity', 'ForEach': 'ForEachActivity', 'IfCondition': 'IfConditionActivity', 'WebHook': 'WebHookActivity', 'ExecutePipeline': 'ExecutePipelineActivity'}
'type': {'AppendVariable': 'AppendVariableActivity', 'SetVariable': 'SetVariableActivity', 'Filter': 'FilterActivity', 'Validation': 'ValidationActivity', 'Until': 'UntilActivity', 'Wait': 'WaitActivity', 'ForEach': 'ForEachActivity', 'IfCondition': 'IfConditionActivity', 'ExecutePipeline': 'ExecutePipelineActivity'}
}

def __init__(self, *, name: str, additional_properties=None, description: str=None, depends_on=None, user_properties=None, **kwargs) -> None:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -384,11 +384,6 @@ class SapCloudForCustomerSinkWriteBehavior(str, Enum):
update = "Update"


class WebHookActivityMethod(str, Enum):

post = "POST"


class IntegrationRuntimeType(str, Enum):

managed = "Managed"
Expand Down

This file was deleted.

This file was deleted.