Skip to content

Commit 16dc75b

Browse files
committed
FnF public version.
1 parent 3ddfd35 commit 16dc75b

14 files changed

+109
-1
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2019-08-15 Version: 1.1.0
2+
- FnF public version.
3+
- Add Report task api.
4+
15
2019-07-02 Version: 1.0.0
26
- FnF public version.
37

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.0.0'
1+
__version__ = '1.1.0'

aliyun-python-sdk-fnf/aliyunsdkfnf/request/v20190315/CreateFlowRequest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
# under the License.
1919

2020
from aliyunsdkcore.request import RpcRequest
21+
2122
class CreateFlowRequest(RpcRequest):
2223

2324
def __init__(self):

aliyun-python-sdk-fnf/aliyunsdkfnf/request/v20190315/DeleteFlowRequest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
# under the License.
1919

2020
from aliyunsdkcore.request import RpcRequest
21+
2122
class DeleteFlowRequest(RpcRequest):
2223

2324
def __init__(self):

aliyun-python-sdk-fnf/aliyunsdkfnf/request/v20190315/DescribeExecutionRequest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
# under the License.
1919

2020
from aliyunsdkcore.request import RpcRequest
21+
2122
class DescribeExecutionRequest(RpcRequest):
2223

2324
def __init__(self):

aliyun-python-sdk-fnf/aliyunsdkfnf/request/v20190315/DescribeFlowRequest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
# under the License.
1919

2020
from aliyunsdkcore.request import RpcRequest
21+
2122
class DescribeFlowRequest(RpcRequest):
2223

2324
def __init__(self):

aliyun-python-sdk-fnf/aliyunsdkfnf/request/v20190315/GetExecutionHistoryRequest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
# under the License.
1919

2020
from aliyunsdkcore.request import RpcRequest
21+
2122
class GetExecutionHistoryRequest(RpcRequest):
2223

2324
def __init__(self):

aliyun-python-sdk-fnf/aliyunsdkfnf/request/v20190315/ListExecutionsRequest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
# under the License.
1919

2020
from aliyunsdkcore.request import RpcRequest
21+
2122
class ListExecutionsRequest(RpcRequest):
2223

2324
def __init__(self):

aliyun-python-sdk-fnf/aliyunsdkfnf/request/v20190315/ListFlowsRequest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
# under the License.
1919

2020
from aliyunsdkcore.request import RpcRequest
21+
2122
class ListFlowsRequest(RpcRequest):
2223

2324
def __init__(self):
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
22+
class ReportTaskFailedRequest(RpcRequest):
23+
24+
def __init__(self):
25+
RpcRequest.__init__(self, 'fnf', '2019-03-15', 'ReportTaskFailed','fnf')
26+
self.set_method('POST')
27+
28+
def get_RequestId(self):
29+
return self.get_query_params().get('RequestId')
30+
31+
def set_RequestId(self,RequestId):
32+
self.add_query_param('RequestId',RequestId)
33+
34+
def get_Cause(self):
35+
return self.get_body_params().get('Cause')
36+
37+
def set_Cause(self,Cause):
38+
self.add_body_params('Cause', Cause)
39+
40+
def get_TaskToken(self):
41+
return self.get_query_params().get('TaskToken')
42+
43+
def set_TaskToken(self,TaskToken):
44+
self.add_query_param('TaskToken',TaskToken)
45+
46+
def get_Error(self):
47+
return self.get_body_params().get('Error')
48+
49+
def set_Error(self,Error):
50+
self.add_body_params('Error', Error)

0 commit comments

Comments
 (0)