# 计算节点

# GET Get ALL

GET /atlas/node

接口说明

get all atlas nodes
获取所有计算节点

返回示例

200 Response
{}

返回结果

状态码 状态码含义 说明 数据模型
200 OK 成功 Inline

# PUT Add Node by JSON

PUT /atlas/node

接口说明

Register nodes in JSON format.
通过 JSON 的方式注册计算节点。

请求参数

名称 位置 类型 必选 说明
body body string
nodes=[
{
"Name": "NoBODY-PC",
"Address": "12.1.1.8",
"Usage": "ComputeNode",
"PlatformType": "GeoHPC",
"OSType": "Windows",
"OSVersion": "Win7, 64bit",
"CPUCoreCount": 4,

"MemorySize": 16,
"StorageSize": 2048,
"MaxProcessCount": 4,
"SharePaths": [
{
"RemotePath": "\\Tools",
"Local Path": "D:\\GeoHPC2.7.1.0\\SharePath\\Tools"
}
]
}
]
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

返回示例

200 Response
{}

返回结果

状态码 状态码含义 说明 数据模型
200 OK 成功 Inline

# DELETE Delete Nodes by IP

DELETE /atlas/node

接口说明

删除目标 IP 的计算节点

请求参数

名称 位置 类型 必选 说明
addresses query string

返回示例

200 Response
{}

返回结果

状态码 状态码含义 说明 数据模型
200 OK 成功 Inline

# GET Monitor Live Nodes

GET /atlas/node/monitor

接口说明

监控运行的节点信息

返回示例

200 Response
{}

返回结果

状态码 状态码含义 说明 数据模型
200 OK 成功 Inline

# GET Get Node by IP

GET /atlas/node/get

接口说明

Get the node by ip address.
通过目标 IP 的计算节点信息

请求参数

名称 位置 类型 必选 说明
ip query string

返回示例

200 Response
{}

返回结果

状态码 状态码含义 说明 数据模型
200 OK 成功 Inline

# POST Register Nodes

POST /atlas/node/register

接口说明

通过 XML 配置文档注册计算节点信息

请求参数

名称 位置 类型 必选 说明
body body object Body 请求参数
xmlfile: string
xmlfile body string(binary)

返回示例

200 Response
{}

返回结果

状态码 状态码含义 说明 数据模型
200 OK 成功 Inline

# GET Export All Nodes

GET /atlas/node/export

接口说明

Export all altas nodes to xml file.
以 XML 的方式导出集群所有节点信息

返回示例

200 Response
{}

返回结果

状态码 状态码含义 说明 数据模型
200 OK 成功 Inline

# GET Reload

GET /atlas/node/reload

接口说明

Reload all cluster nodes. refresh connections with all slave nodes.
重新加载计算集群的所有计算节点,并刷新所有的 slave 节点的链接

返回示例

200 Response
{}

返回结果

状态码 状态码含义 说明 数据模型
200 OK 成功 Inline

# GET Set Max Parallel

GET /atlas/node/setmaxparallel

接口说明

set max number of parallel.
默认只会设置当前运行环境生效。加上 save 参数才会持久化设置使得全局生效。

请求参数

名称 位置 类型 必选 说明
ip query string 节点 IP 地址
maxparallel query string 最大并发数
save query string 保存更改,永久生效

返回示例

Set Max Parallel -ok
{
"flag": true,
"msg": "Succeed "
}
1
2
3
4
5

返回结果

状态码 状态码含义 说明 数据模型
200 OK Set Max Parallel -ok Inline

返回数据结构

名称 类型 必选 约束 中文 说明
flag boolean true
msg string true

# GET Modify Plugin path

GET /atlas/node/modifypluginpath

接口说明

change plugin installation local path of the node.
改变插件的安装路径

请求参数

名称 位置 类型 必选 说明
ip query string 节点 IP 地址
localdir query string 本地插件安装路径
shareuri query string 插件共享路径

返回示例

200 Response
{}

返回结果

状态码 状态码含义 说明 数据模型
200 OK 成功 Inline

# 任务信息

# GET Query ALL Tasks

GET /atlas/task

接口说明

Query all tasks. Tasks can be filtered by condition.
任务查询过滤条件,支持过滤的属性有三个:
name: 按照名称进行模糊匹配;
state: 过滤任务状态,取值为枚举常量之一: initial | running | succeed | failed; starttime:过滤查找在此时间之后创建的任务, 日期格式必须如:2017-07-26 17:00:00"。
eg. {"name":"batchtask","state":"failed","starttime":"2017-07-26%2017:00:00"}

请求参数

名称 位置 类型 必选 说明
filter query string 示例:
filter={"name":"wf","state":"failed","starttime":"2017- 07-26%2017:00:00"}

返回示例

Query ALL Tasks
[
{
"ID": "1a75db39-758a-4942-8571-24fbe967ac78",
"Name": "Server_GoverlayREST1.6.0",
"Desc": "服务管理任务",
"State": "Finished",
"CreateTime": "2019-07-19 15:50:47",
"StartTime": "2019-07-19 16:59:17",
"EndTime": "2019-07-19 18:06:20",
"IsSucceed": false,
"Progress": 0,
"Priority": 0,
"TimeCost": "01:07:03",
"UserName": "ServerAdmin"
}
]
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

返回结果

状态码 状态码含义 说明 数据模型
200 OK Query ALL Tasks Inline

返回数据结构

状态码 200

名称 类型 必选 约束 中文 说明
ID string false
Name string false
Desc string false
State string false
CreateTime string false
StartTime string false
EndTime string false
IsSucceed boolean false
Progress integer false
Priority integer false
TimeCost string false
UserName string false

# DELETE Delete Tasks

DELETE /atlas/task

接口说明

Deleta the tasks.
Argument [ids] can have multiple task ids, delimit each one by commas ','. 删除任务。参数[ids]可以有多个任务 ID ,每个任务 ID 用逗号“ ,”分隔。

请求参数

名称 位置 类型 必选 说明
ids query string

返回示例

Delete Tasks
{
"flag": true,
"msg": "Succeed"
}
1
2
3
4
5

返回结果

状态码 状态码含义 说明 数据模型
200 OK Delete Tasks Inline

返回数据结构

状态码 200

名称 类型 必选 约束 中文 说明
flag boolean true
msg string true

# GET Get The Task

GET /atlas/task/get

接口说明

通过任务名获取任务信息

请求参数

名称 位置 类型 必选 说明
id query string id 或 name 参数二选一,最好用 id 参数准确查询
thin query string thin=1 则只返回 Task 本身属性,不含 job 列表;否则
返回详细的 job 列表信息

返回示例

{
"JobsList": [
{
"Task ID": "9f26eb5e-67d6-412b-b8c3-37a09fa8c578",
"FrameworkType": "GeoHPC",
"ActionVertexID": "aa897cb5-0486-412a-9e41-b0291bc42150",
"ParamsList": [
{
"Job ID": "9eb4f443-dc24-40dd-8b7e-df0d6ee8bd4b",
"ParamProtoID": "e29d0a54-4c02-4090-9a8d-fae4fceed16b"
"ValueString": "2",
"Order": 0,
"Name": "IntervalTime",
"Alias": "time to tick"
},
{
"Job ID": "9eb4f443-dc24-40dd-8b7e-df0d6ee8bd4b",
"ParamProtoID": "0b606e42-d9f9-414b-a56d-678bd1e91d2e"
"ValueString": "2",
"Order": 1,
"Name": "ThreadCount",
"Alias": "threads to run"
}
],
"RunInNodes": "172.16.84.221",
"TargetNodes": "",
"ID": "9eb4f443-dc24-40dd-8b7e-df0d6ee8bd4b",
"Name": "Tool5s-job2",
"State": "Finished",
"CreateTime": "2019-08-06 10:05:55",
"StartTime": "2019-07-19 14:16:14",
"EndTime": "2019-07-19 14:16:19",
"Timeout": 0,
"IsSucceed": true,
"Progress": 0,
"Priority": 100,
"TimeCost": "00:00:05",
"FinishedCount": 0,
"TotalCount": 0
},
{
"Task ID": "9f26eb5e-67d6-412b-b8c3-37a09fa8c578",
"FrameworkType": "GeoHPC",
"ActionVertexID": "aa897cb5-0486-412a-9e41-b0291bc42150",
"ParamsList": [
{
"Job ID": "67b1cdd6-e074-496a-a325-224dcd aa6968",
"ParamProtoID": "e29d0a54-4c02-4090-9a8d-fae4fceed16b"
"ValueString": "4",
"Order": 0,
,

"Name": "IntervalTime",
"Alias": "time to tick"
},
{
"Job ID": "67b1cdd6-e074-496a-a325-224dcd aa6968",
"ParamProtoID": "0b606e42-d9f9-414b-a56d-678bd1e91d2e"
"ValueString": "4",
"Order": 1,
"Name": "ThreadCount",
"Alias": "threads to run"
}
],
"RunInNodes": "172.16.84.221",
"TargetNodes": "",
"ID": "67b1cdd6-e074-496a-a325-224dcdaa6968",
"Name": "Tool5s-job4",
"State": "Finished",
"CreateTime": "2019-08-06 10:05:55",
"StartTime": "2019-07-19 14:16:14",
"EndTime": "2019-07-19 14:16:19",
"Timeout": 0,
"IsSucceed": true,
"Progress": 0,
"Priority": 100,
"TimeCost": "00:00:05",
"FinishedCount": 0,
"TotalCount": 0
},
{
"Task ID": "9f26eb5e-67d6-412b-b8c3-37a09fa8c578",
"FrameworkType": "GeoHPC",
"ActionVertexID": "aa897cb5-0486-412a-9e41-b0291bc42150",
"ParamsList": [
{
"Job ID": "00ed562f-abb1-4e9c-a920-2c5b540656c1",
"ParamProtoID": "e29d0a54-4c02-4090-9a8d-fae4fceed16b"
"ValueString": "11",
"Order": 0,
"Name": "IntervalTime",
"Alias": "time to tick"
},
{
"Job ID": "00ed562f-abb1-4e9c-a920-2c5b540656c1",
"ParamProtoID": "0b606e42-d9f9-414b-a56d-678bd1e91d2e"
"ValueString": "11",
"Order": 1,
"Name": "ThreadCount",
"Alias": "threads to run"
}
],
"RunInNodes": "172.16.84.221",
"TargetNodes": "",
"ID": "00ed562f-abb1-4e9c-a920-2c5b540656c1",
"Name": "Tool5s-job1",
"State": "Finished",
"CreateTime": "2019-08-06 10:05:55",
"StartTime": "2019-07-19 14:16:14",
"EndTime": "2019-07-19 14:16:19",
"Timeout": 0,
"IsSucceed": true,
"Progress": 0,
"Priority": 100,
"TimeCost": "00:00:05",
"FinishedCount": 0,
"TotalCount": 0
},
{
"Task ID": "9f26eb5e-67d6-412b-b8c3-37a09fa8c578",
"FrameworkType": "GeoHPC",
"ActionVertexID": "aa897cb5-0486-412a-9e41-b0291bc42150",
"ParamsList": [
{
"Job ID": "4a21ad18-c506-4684-bfcd-53ad34f5a584",
"ParamProtoID": "e29d0a54-4c02-4090-9a8d-fae4fceed16b",
"ValueString": "310",
"Order": 0,
"Name": "IntervalTime",
"Alias": "time to tick"
},
{
"Job ID": "4a21ad18-c506-4684-bfcd-53ad34f5a584",
"ParamProtoID": "0b606e42-d9f9-414b-a56d-678bd1e91d2e",
"ValueString": "30",
"Order": 1,
"Name": "ThreadCount",
"Alias": "threads to run"
}
],
"RunInNodes": "172.16.84.221",
"TargetNodes": "",
"ID": "4a21ad18-c506-4684-bfcd-53ad34f5a584",
"Name": "Tool5s-job3",
"State": "Finished",
"CreateTime": "2019-08-06 10:05:55",
"StartTime": "2019-07-19 14:16:14",
"EndTime": "2019-07-19 14:16:19",
"Timeout": 0,
"IsSucceed": true,
"Progress": 0,
"Priority": 100,
"TimeCost": "00:00:05",
"FinishedCount": 0,
"TotalCount": 0
}
],
"IsSimple": true,
"Strategy": "TSS_Priority",
"ID": "9f26eb5e-67d6-412b-b8c3-37a09fa8c578"
"Name": "BatchTask-14:15",
"Desc": "简单批处理任务,DEMO 实例",
"State": "Finished",
"CreateTime": "2019-07-19 14:15:26",
"StartTime": "2019-07-19 14:16:14",
"EndTime": "2019-07-19 14:16:20",
"Timeout": 0,
"IsSucceed": true,
"Progress": 100,
"Priority": 0,
"TimeCost": "00:00:06",
"FinishedCount": 0,
"TotalCount": 4,
"UserName": "system"
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175

返回结果

状态码 状态码含义 说明 数据模型
200 OK Get Task by Name Inline

返回数据结构

状态码 200

名称 类型 必选 约束 中文 说明
JobsList object true


TaskID string true


FrameworkType string true


ActionVertexID string true


ParamsList object true


JobID string true


ParamProtoID string true


ValueString string true


Order string true


Alias string true


RunInNodes string true


TargetNodes string true


TotalCount integer true


IsSimple boolean true


Strategy string true


ID string true
Name string true
Desc string true
State string true
CreateTime string true
StartTime string true
EndTime string true
Timeout integer true
IsSucceed boolean true
Progress integer true
Priority integer true
TimeCost string true
FinishedCount integer true
TotalCount integer true
UserName string true

# GET Count Tasks of state

GET /atlas/task/statistic

接口说明

Statistic task numbers of each state.
统计每个任务编号的状态

请求参数

名称 位置 类型 必选 说明
filter query string JSON 格式的过滤条件。支持过滤的字段:name, state,
starttime;state 状态枚举常量: initial

返回示例

{
"Total": 2,
"InitialNum": 0,
"RunningNum": 0,
"SucceedNum": 2,
"FailedNum": 0
}
1
2
3
4
5
6
7

返回结果

状态码 状态码含义 说明 数据模型
200 OK Count Tasks Inline

返回数据结构

状态码 200

名称 类型 必选 约束 中文 说明
Total integer true
InitialNum integer true
RunningNum integer true
SucceedNum integer true
FailedNum integer true

# GET List Tasks

GET /atlas/task/list

接口说明

Get multiple tasks by ids.
通过 ID 集获取对应的任务集合信息

请求参数

名称 位置 类型 必选 说明
ids query string
thin query string

返回示例

[
{
"JobsList": [],
"IsSimple": true,
"Strategy": "TSS_Priority",
"ID": "ce6298a0-3672-415c-8c10-4ca171e39128",
"Name": "数据按瓦片导入任务-15:55",
"Desc": "",
"State": "Finished",
"CreateTime": "2019-07-19 15:55:39",
"StartTime": "2019-07-19 15:55:39",
"EndTime": "2019-07-19 15:56:43",
"Timeout": 0,
"IsSucceed": true,
"Progress": 100,
"Priority": 0,
"TimeCost": "00:01:04",
"FinishedCount": 0,
"TotalCount": 0,
"UserName": "system"
},
{
"JobsList": [],
"IsSimple": true,
"Strategy": "TSS_Priority",
"ID": "9f26eb5e-67d6-412b-b8c3-37a09fa8c578",
"Name": "BatchTask-14:15",
"Desc": "简单批处理任务,DEMO 实例",
"State": "Finished",
"CreateTime": "2019-07-19 14:15:26",
"StartTime": "2019-07-19 14:16:14",
"EndTime": "2019-07-19 14:16:20",
"Timeout": 0,
"IsSucceed": true,
"Progress": 100,
"Priority": 0,
"TimeCost": "00:00:06",
"FinishedCount": 0,
"TotalCount": 0,
"UserName": "system"
}
]
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42

返回结果

状态码 状态码含义 说明 数据模型
200 OK List Tasks Inline

返回数据结构

状态码 200

名称 类型 必选 约束 中文 说明
JobsList string true


IsSimple boolean true


Strategy string true


ID string true
Name string true
Desc string true
State string true
CreateTime string true
StartTime string true
EndTime string true
Timeout integer true
IsSucceed boolean true
Progress integer true
Priority integer true
TimeCost string true
FinishedCount integer true
TotalCount integer true
UserName string true

# GET Get Page of Tasks

GET /atlas/task/page

接口说明

Get a page of tasks.
获取分页的任务信息

请求参数

名称 位置 类型 必选 说明
pageid query int 分页编号(正整数,从 0 开始,默认为 0) 分页大小(正整数,默认为 20)
pagesize query int 分页大小(正整数,默认为 20)
state query string 过滤任务状态(空则返回所有),状态枚举常 量: initial
name query string 过滤任务名称

返回示例

{
"Total": "State": "Tasks":
{
1,
""
,
[
"IsSimple": true,
"Strategy": "TSS_SparkOnYarn",
"ID": "1a75db39-758a-4942-8571-24fbe967ac78",
"Name": "Server_GoverlayREST1.6.0",
"Desc": "服务管理任务",
"State": "Finished",
"CreateTime": "2019-07-19 15:50:47",
"StartTime": "2019-07-19 16:59:17",
"EndTime": "2019-07-19 18:06:20",
"Timeout": 0,
"IsSucceed": false,
"Progress": 0,
"Priority": 0,
"TimeCost": "01:07:03",
"FinishedCount": 0,
"TotalCount": 0,
"UserName": "ServerAdmin"
}
]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27

返回结果

状态码 状态码含义 说明 数据模型
200 OK Get Page of Tasks Inline

返回数据结构

状态码 200

名称 类型 必选 约束 中文 说明
Total integer true


State string true


Tasks string true


IsSimple boolean false


Strategy string false


ID string false
Name string false
Desc string false
State string false
CreateTime string false
StartTime string false
EndTime string false
Timeout integer false
IsSucceed boolean false
Progress integer false
Priority integer false
TimeCost string false
FinishedCount integer false
TotalCount integer false
UserName string false

# GET Get Jobs of Task

GET /atlas/task/jobs

接口说明

Get all jobs of the task. return all details and parameters of each job. argument [thin] is not usable.
获取任务的所有作业。返回每个作业的所有详细信息和参数。参数[thin]不可用。

请求参数

名称 位置 类型 必选 说明
taskid query string

返回示例

200 Response
{}

返回结果

状态码 状态码含义 说明 数据模型
200 OK 成功 Inline

# GET Start Task

GET /atlas/task/start

接口说明

Submit the task to scheduler server and launch it.
将任务提交到调度程序服务器并启动它

请求参数

名称 位置 类型 必选 说明
id query string

返回示例

Start Task failed
{
"flag": false,
"msg": "任务启动失败:",
"taskid": "ce6298a0-3672-415c-8c10-4ca171e39128"
}
1
2
3
4
5
6

返回结果

状态码 状态码含义 说明 数据模型
200 OK Start Task failed Inline

返回数据结构

状态码 200

名称 类型 必选 约束 中文 说明
flag boolean true


msg string true


taskid string true


# GET Sync Start Task

GET /atlas/task/syncstart

接口说明

Start the task and wait for response.
启动任务并等待响应

请求参数

名称 位置 类型 必选 说明
id query string

返回示例

200 Response
{}

返回结果

状态码 状态码含义 说明 数据模型
200 OK 成功 Inline

# GET Stop Task

GET /atlas/task/stop

接口说明

Ask the scheduler server to terminate the running task.
请求调度程序服务器终止正在运行的任务

请求参数

名称 位置 类型 必选 说明
id query string

返回示例

{
"flag": false,
"msg": "请求失败",
"taskid": "ce6298a0-3672-415c-8c10-4ca171e39128"
}
1
2
3
4
5

返回结果

状态码 状态码含义 说明 数据模型
200 OK Stop Task failed Inline

返回数据结构

状态码 200

名称 类型 必选 约束 中文 说明
flag boolean true


msg string true


taskid string true


# GET Pause Task

GET /atlas/task/pause

接口说明

Ask the scheduler server to pause the running task.
请求调度程序服务器暂停正在运行的任务。

请求参数

名称 位置 类型 必选 说明
id query string

返回示例

{
"flag": true,
"msg": "请求成功",
"taskid": "6acd085b-ffb9-418c-bea7-f670d8a53b99"
}
1
2
3
4
5

返回结果

状态码 状态码含义 说明 数据模型
200 OK Pause Task Inline

返回数据结构

状态码 200

名称 类型 必选 约束 中文 说明
flag boolean true


msg string true


taskid string true


# GET Resume Task

GET /atlas/task/resume

接口说明

Ask the scheduler server to resume the running task.
要求调度程序服务器恢复正在运行的任务

请求参数

名称 位置 类型 必选 说明
id query string

返回示例

{
"flag": true,
"msg": "请求成功",
"taskid": "6acd085b-ffb9-418c-bea7-f670d8a53b99"
}
1
2
3
4
5

返回结果

状态码 状态码含义 说明 数据模型
200 OK Resume Task -ok Inline

返回数据结构

状态码 200

名称 类型 必选 约束 中文 说明
flag boolean true


msg string true


taskid string true


# GET Batch Start

GET /atlas/task/batchstart

接口说明

Startup many tasks.
Each task id should be delimited by commas ',' in argument [ids].
启动多个任务。每个任务 id 都应该用参数[ids]中的逗号“ ,”分隔。

请求参数

名称 位置 类型 必选 说明
ids query string

返回示例

200 Response
{}

返回结果

状态码 状态码含义 说明 数据模型
200 OK 成功 Inline

# GET Batch Stop

GET /atlas/task/batchstop

接口说明

Stop many running tasks.
Each task id should be delimited by commas ',' in argument [ids].
停止多个正在运行的任务。每个任务 id 都应该用参数[ids]中的逗号“ ,”分隔。

请求参数

名称 位置 类型 必选 说明
ids query string

返回示例

200 Response
{}

返回结果

状态码 状态码含义 说明 数据模型
200 OK 成功 Inline

# GET Query progress

GET /atlas/task/progress

接口说明

Query progress of the running task.
查询正在运行的任务的进度

请求参数

名称 位置 类型 必选 说明
id query string

返回示例

{
"flag": false,
"error": "任务未启动,无法获取任务进度",
"taskid": "ce6298a0-3672-415c-8c10-4ca171e39128"
}
1
2
3
4
5

返回结果

状态码 状态码含义 说明 数据模型
200 OK Query progress failed Inline

返回数据结构

状态码 200

名称 类型 必选 约束 中文 说明
flag boolean true


error string true


taskid string true


# GET Set Task Priority

GET /atlas/task/setpriority

接口说明

set priority of the task.
设置任务的优先级

请求参数

名称 位置 类型 必选 说明
id query string
priority query string

返回示例

Set Task Priority
{
"flag": true,
"msg": "任务优先级修改成功"
}
1
2
3
4
5

返回结果

状态码 状态码含义 说明 数据模型
200 OK Set Task Priority Inline

返回数据结构

状态码 200

名称 类型 必选 约束 中文 说明
flag boolean true


msg string true


# POST Create Task

POST /atlas/task/create

接口说明

Create a new task, should have at least one job.
创建一个新任务,该任务至少一个作业

请求参数

名称 位置 类型 必选 说明
body body string
taskdata=[
{
"Name": "ddd",
"Desc": "ddd",
"CreateTime": "2019-8-10 18:05:08",
"Priority": 0,
"UserName": "AtlasWeb",
"JobsList": [
{
"Name": "ddd-job1",
"Priority": 100,
"FrameworkType": "GeoHPC",
"ActionVertexID": "aa897cb5-0486-412a-9e41-b0291bc42150
"
,
"ParamsList": [
{
"Name": "ThreadCount",
"ValueString": "2"
},
{
"Name": "IntervalTime",
"ValueString": "1000"
}
]
}
]
}
]
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29

返回示例

Create Task succeed
{
"flag": true,
"msg": "succeed",

"taskid": "f48fb2bf-7ec4-4de4-aa86-e93699468402"
}
Create Task failed
{
"flag": false,
"msg": "Failed to create task. Task is null or empty."
}
1
2
3
4
5
6
7
8
9
10
11
12

返回结果

状态码 状态码含义 说明 数据模型
200 OK Create Task succeed Inline
500 ternal Server Error Create Task failed Inline

返回数据结构

状态码 200

名称 类型 必选 约束 中文 说明
flag boolean true


msg string true


taskid string true


状态码 500

名称 类型 必选 约束 中文 说明
flag boolean true


msg string true


# GET Delete a Task

GET /atlas/task/delete

接口说明

Delete the task by ID.
按 ID 删除任务

请求参数

名称 位置 类型 必选 说明
id query string

返回示例

Delete a Task
{
"flag": true,
"msg": "任务删除成功"
}
1
2
3
4
5

返回结果

状态码 状态码含义 说明 数据模型
200 OK Delete a Task Inline

返回数据结构

状态码 200

名称 类型 必选 约束 中文 说明
flag boolean true


msg string true


# 作业信息

# GET Get Job

GET /atlas/job/get

接口说明

Get a job by id or name.
单个 Job 查询,只返回 Job 本身属性,不含参数列表

请求参数

名称 位置 类型 必选 说明
id query string

返回示例

{
"Task ID": "ce6298a0-3672-415c-8c10-4ca171e39128",
"FrameworkType": "GeoHPC",
"ActionVertexID": "bf607a06-6586-4aa3-913b-1f5988d7fb24",
"ParamsList": [],
"RunInNodes": "172.16.84.221",
"TargetNodes": "",
"ID": "3d70b8f7-76cf-4a48-aa31-1196deb3bced",
"Name": "要素类空间分区转 HDFS-job4",
"State": "Finished",
"CreateTime": "2019-08-06 10:02:54",
"StartTime": "2019-07-19 15:55:39",
"EndTime": "2019-07-19 15:55:41",
"Timeout": 0,
"IsSucceed": true,

"Progress": 0,
"Priority": 100,
"TimeCost": "00:00:02",
"FinishedCount": 0,
"TotalCount": 0
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

返回结果

状态码 状态码含义 说明 数据模型
200 OK Get Job Inline

返回数据结构

状态码 200

名称 类型 必选 约束 中文 说明
TaskID string true


FrameworkType string true


ActionVertexID string true


ParamsList object true


RunInNodes string true


TargetNodes string true


ID string true


Name string true


State string true


CreateTime string true


StartTime string true


EndTime string true


Timeout integer true


IsSucceed boolean true


Progress integer true


Priority integer true


TimeCost string true


FinishedCount integer true


TotalCount integer true


# GET Get Jobs of Task

GET /atlas/job/list

接口说明

Get all jobs in a task.
获取一个任务的所有工作项。

请求参数

名称 位置 类型 必选 说明
taskid query string
thin query string

返回示例

[
{
"Task ID": "ce6298a0-3672-415c-8c10-4ca171e39128",
"FrameworkType": "GeoHPC",
"ActionVertexID": "bf607a06-6586-4aa3-913b-1f5988d7fb24",
"ParamsList": [
{
"Job ID": "3d70b8f7-76cf-4a48-aa31-1196deb3bced",
"ParamProtoID": "b2d6df82-2996-4c2a-bbd7-ef6ada92cef3",
"ValueString": "file://F:\\GeoHPC_SharePath\\Temp\\Data1029\\dl
tb370\\DLTB_19.s hp?bsm,ysdm,t by bh,tbbh,dlbm,dlmc,qsxz,qsdwdm,qsdwmc,zld
wdm,zldwmc,gdlx,kclx,dlbz,gdpdj,k cdlbm,tkxs,tbmj,xzdwmj,lxdwmj,t km j,tbd
lmj,pzwh,bg jlh,bgrq,xzgdjfly,shape_leng,shape_area",
"Order": 0,
"Name": "InFeatureClass",
"Alias": "输入数据"
},
{
"Job ID": "3d70b8f7-76cf-4a48-aa31-1196deb3bced",
"ParamProtoID": "b818b1f9-65b9-42d0-8d9f-86cb0b71de5d",
"ValueString": "152_846_10",
"Order": 1,
"Name": "InExtent",
"Alias": "空间分区"
},
{
"Job ID": "3d70b8f7-76cf-4a48-aa31-1196deb3bced",
"ParamProtoID": "57f0c941-6e60-45de-a07c-77d01964825b",
"ValueString": "hdfs://192.98.19.11:50070/sparkdata/import/dltb
19",
"Order": 2,
"Name": "OutHdfsPath",
"Alias": " 目标 hdfs 路径"
}
],
"RunInNodes": "172.16.84.221",
"TargetNodes": "",
"ID": "3d70b8f7-76cf-4a48-aa31-1196deb3bced",
"Name": "要素类空间分区转 HDFS-job4",
"State": "Finished",

"CreateTime": "2019-08-06 09:58:35",
"StartTime": "2019-07-19 15:55:39",
"EndTime": "2019-07-19 15:55:41",
"Timeout": 0,
"IsSucceed": true,
"Progress": 0,
"Priority": 100,
"TimeCost": "00:00:02",
"FinishedCount": 0,
"TotalCount": 0
},
{
"Task ID": "ce6298a0-3672-415c-8c10-4ca171e39128",
"FrameworkType": "GeoHPC",
"ActionVertexID": "bf607a06-6586-4aa3-913b-1f5988d7fb24",
"ParamsList": [
{
"Job ID": "857d82d1-7b71-46bc-9e5d-eba48b46f9ee",
"ParamProtoID": "b2d6df82-2996-4c2a-bbd7-ef6ada92cef3",
"ValueString": "file://F:\\GeoHPC_SharePath\\Temp\\Data1029\\dl
tb370\\DLTB_19.s hp?bsm,ysdm,t by bh,tbbh,dlbm,dlmc,qsxz,qsdwdm,qsdwmc,zld
wdm,zldwmc,gdlx,kclx,dlbz,gdpdj,k cdlbm,tkxs,tbmj,xzdwmj,lxdwmj,t km j,tbd
lmj,pzwh,bg jlh,bgrq,xzgdjfly,shape_leng,shape_area",
"Order": 0,
"Name": "InFeatureClass",
"Alias": "输入数据"
},
{
"Job ID": "857d82d1-7b71-46bc-9e5d-eba48b46f9ee",
"ParamProtoID": "b818b1f9-65b9-42d0-8d9f-86cb0b71de5d",
"ValueString": "152_848_10",
"Order": 1,
"Name": "InExtent",
"Alias": "空间分区"
},
{
"Job ID": "857d82d1-7b71-46bc-9e5d-eba48b46f9ee",
"ParamProtoID": "57f0c941-6e60-45de-a07c-77d01964825b",
"ValueString": "hdfs://192.98.19.11:50070/sparkdata/import/dltb
19",
"Order": 2,
"Name": "OutHdfsPath",
"Alias": " 目标 hdfs 路径"
}
],
"RunInNodes": "172.16.84.221",
"TargetNodes": "",
"ID": "857d82d1-7b71-46bc-9e5d-eba48b46f9ee",
"Name": "要素类空间分区转 HDFS-job6",

"State": "Finished",
"CreateTime": "2019-08-06 09:58:35",
"StartTime": "2019-07-19 15:55:39",
"EndTime": "2019-07-19 15:56:15",
"Timeout": 0,
"IsSucceed": true,
"Progress": 0,
"Priority": 100,
"TimeCost": "00:00:36",
"FinishedCount": 0,
"TotalCount": 0
},
{
"Task ID": "ce6298a0-3672-415c-8c10-4ca171e39128",
"FrameworkType": "GeoHPC",
"ActionVertexID": "bf607a06-6586-4aa3-913b-1f5988d7fb24",
"ParamsList": [
{
"Job ID": "3f03d4dc-d5fa-43e9-b6e4-42b034660ad8",
"ParamProtoID": "b2d6df82-2996-4c2a-bbd7-ef6ada92cef3",
"ValueString": "file://F:\\GeoHPC_SharePath\\Temp\\Data1029\\dl
tb370\\DLTB_19.s hp?bsm,ysdm,t by bh,tbbh,dlbm,dlmc,qsxz,qsdwdm,qsdwmc,zld
wdm,zldwmc,gdlx,kclx,dlbz,gdpdj,k cdlbm,tkxs,tbmj,xzdwmj,lxdwmj,t km j,tbd
lmj,pzwh,bg jlh,bgrq,xzgdjfly,shape_leng,shape_area",
"Order": 0,
"Name": "InFeatureClass",
"Alias": "输入数据"
},
{
"Job ID": "3f03d4dc-d5fa-43e9-b6e4-42b034660ad8",
"ParamProtoID": "b818b1f9-65b9-42d0-8d9f-86cb0b71de5d",
"ValueString": "151_847_10",
"Order": 1,
"Name": "InExtent",
"Alias": "空间分区"
},
{
"Job ID": "3f03d4dc-d5fa-43e9-b6e4-42b034660ad8",
"ParamProtoID": "57f0c941-6e60-45de-a07c-77d01964825b",
"ValueString": "hdfs://192.98.19.11:50070/sparkdata/import/dltb
19",
"Order": 2,
"Name": "OutHdfsPath",
"Alias": " 目标 hdfs 路径"
}
],
"RunInNodes": "172.16.84.221",
"TargetNodes": "",
"ID": "3f03d4dc-d5fa-43e9-b6e4-42b034660ad8",

"Name": "要素类空间分区转 HDFS-job2",
"State": "Finished",
"CreateTime": "2019-08-06 09:58:35",
"StartTime": "2019-07-19 15:55:42",
"EndTime": "2019-07-19 15:56:42",
"Timeout": 0,
"IsSucceed": true,
"Progress": 0,
"Priority": 100,
"TimeCost": "00:01:00",
"FinishedCount": 0,
"TotalCount": 0
},
{
"Task ID": "ce6298a0-3672-415c-8c10-4ca171e39128",
"FrameworkType": "GeoHPC",
"ActionVertexID": "bf607a06-6586-4aa3-913b-1f5988d7fb24",
"ParamsList": [
{
"Job ID": "90214f72-9a17-48ec-807e-6dfe7bd77d46",
"ParamProtoID": "b2d6df82-2996-4c2a-bbd7-ef6ada92cef3",
"ValueString": "file://F:\\GeoHPC_SharePath\\Temp\\Data1029\\dl
tb370\\DLTB_19.s hp?bsm,ysdm,t by bh,tbbh,dlbm,dlmc,qsxz,qsdwdm,qsdwmc,zld
wdm,zldwmc,gdlx,kclx,dlbz,gdpdj,k cdlbm,tkxs,tbmj,xzdwmj,lxdwmj,t km j,tbd
lmj,pzwh,bg jlh,bgrq,xzgdjfly,shape_leng,shape_area",
"Order": 0,
"Name": "InFeatureClass",
"Alias": "输入数据"
},
{
"Job ID": "90214f72-9a17-48ec-807e-6dfe7bd77d46",
"ParamProtoID": "b818b1f9-65b9-42d0-8d9f-86cb0b71de5d",
"ValueString": "152_847_10",
"Order": 1,
"Name": "InExtent",
"Alias": "空间分区"
},
{
"Job ID": "90214f72-9a17-48ec-807e-6dfe7bd77d46",
"ParamProtoID": "57f0c941-6e60-45de-a07c-77d01964825b",
"ValueString": "hdfs://192.98.19.11:50070/sparkdata/import/dltb
19",
"Order": 2,
"Name": "OutHdfsPath",
"Alias": " 目标 hdfs 路径"
}
],
"RunInNodes": "172.16.84.221",
"TargetNodes": "",

"ID": "90214f72-9a17-48ec-807e-6dfe7bd77d46",
"Name": "要素类空间分区转 HDFS-job5",
"State": "Finished",
"CreateTime": "2019-08-06 09:58:35",
"StartTime": "2019-07-19 15:55:39",
"EndTime": "2019-07-19 15:56:32",
"Timeout": 0,
"IsSucceed": true,
"Progress": 0,
"Priority": 100,
"TimeCost": "00:00:53",
"FinishedCount": 0,
"TotalCount": 0
},
{
"Task ID": "ce6298a0-3672-415c-8c10-4ca171e39128",
"FrameworkType": "GeoHPC",
"ActionVertexID": "bf607a06-6586-4aa3-913b-1f5988d7fb24",
"ParamsList": [
{
"Job ID": "56971d57-f7a3-4a57-8fe3-7b76e898c933",
"ParamProtoID": "b2d6df82-2996-4c2a-bbd7-ef6ada92cef3",
"ValueString": "file://F:\\GeoHPC_SharePath\\Temp\\Data1029\\dl
tb370\\DLTB_19.s hp?bsm,ysdm,t by bh,tbbh,dlbm,dlmc,qsxz,qsdwdm,qsdwmc,zld
wdm,zldwmc,gdlx,kclx,dlbz,gdpdj,k cdlbm,tkxs,tbmj,xzdwmj,lxdwmj,t km j,tbd
lmj,pzwh,bg jlh,bgrq,xzgdjfly,shape_leng,shape_area",
"Order": 0,
"Name": "InFeatureClass",
"Alias": "输入数据"
},
{
"Job ID": "56971d57-f7a3-4a57-8fe3-7b76e898c933",
"ParamProtoID": "b818b1f9-65b9-42d0-8d9f-86cb0b71de5d",
"ValueString": "151_846_10",
"Order": 1,
"Name": "InExtent",
"Alias": "空间分区"
},
{
"Job ID": "56971d57-f7a3-4a57-8fe3-7b76e898c933",
"ParamProtoID": "57f0c941-6e60-45de-a07c-77d01964825b",
"ValueString": "hdfs://192.98.19.11:50070/sparkdata/import/dltb
19",
"Order": 2,
"Name": "OutHdfsPath",
"Alias": " 目标 hdfs 路径"
}
],
"RunInNodes": "172.16.84.221",

"TargetNodes": "",
"ID": "56971d57-f7a3-4a57-8fe3-7b76e898c933",
"Name": "要素类空间分区转 HDFS-job1",
"State": "Finished",
"CreateTime": "2019-08-06 09:58:35",
"StartTime": "2019-07-19 15:55:51",
"EndTime": "2019-07-19 15:56:14",
"Timeout": 0,
"IsSucceed": true,
"Progress": 0,
"Priority": 100,
"TimeCost": "00:00:23",
"FinishedCount": 0,
"TotalCount": 0
},
{
"Task ID": "ce6298a0-3672-415c-8c10-4ca171e39128",
"FrameworkType": "GeoHPC",
"ActionVertexID": "bf607a06-6586-4aa3-913b-1f5988d7fb24",
"ParamsList": [
{
"Job ID": "53800f2b-28a3-4874-97b6-74e7c34b37fa",
"ParamProtoID": "b2d6df82-2996-4c2a-bbd7-ef6ada92cef3",
"ValueString": "file://F:\\GeoHPC_SharePath\\Temp\\Data1029\\dl
tb370\\DLTB_19.s hp?bsm,ysdm,t by bh,tbbh,dlbm,dlmc,qsxz,qsdwdm,qsdwmc,zld
wdm,zldwmc,gdlx,kclx,dlbz,gdpdj,k cdlbm,tkxs,tbmj,xzdwmj,lxdwmj,t km j,tbd
lmj,pzwh,bg jlh,bgrq,xzgdjfly,shape_leng,shape_area",
"Order": 0,
"Name": "InFeatureClass",
"Alias": "输入数据"
},
{
"Job ID": "53800f2b-28a3-4874-97b6-74e7c34b37fa",
"ParamProtoID": "b818b1f9-65b9-42d0-8d9f-86cb0b71de5d",
"ValueString": "151_848_10",
"Order": 1,
"Name": "InExtent",
"Alias": "空间分区"
},
{
"Job ID": "53800f2b-28a3-4874-97b6-74e7c34b37fa",
"ParamProtoID": "57f0c941-6e60-45de-a07c-77d01964825b",
"ValueString": "hdfs://192.98.19.11:50070/sparkdata/import/dltb
19",
"Order": 2,
"Name": "OutHdfsPath",
"Alias": " 目标 hdfs 路径"
}
],

"RunInNodes": "172.16.84.221",
"TargetNodes": "",
"ID": "53800f2b-28a3-4874-97b6-74e7c34b37fa",
"Name": "要素类空间分区转 HDFS-job3",
"State": "Finished",
"CreateTime": "2019-08-06 09:58:35",
"StartTime": "2019-07-19 15:55:39",
"EndTime": "2019-07-19 15:55:50",
"Timeout": 0,
"IsSucceed": true,
"Progress": 0,
"Priority": 100,
"TimeCost": "00:00:11",
"FinishedCount": 0,
"TotalCount": 0
}
]
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308

返回结果

状态码 状态码含义 说明 数据模型
200 OK Get JobList of Task Inline

返回数据结构

状态码 200

名称 类型 必选 约束 中文 说明
TaskID string true


FrameworkType string true


ActionVertexID string true


ParamsList object true


JobID string true


ParamProtoID string true


ValueString string true


Order string true


Alias string true


RunInNodes string true


TargetNodes string true


TotalCount integer true


IsSimple boolean true


Strategy string true


ID string true


Name string true


State string true


CreateTime string true


StartTime string true


EndTime string true


Timeout integer true


IsSucceed boolean true


Progress integer true


Priority integer true


TimeCost string true


FinishedCount integer true


TotalCount integer true


# GET Load jobs by state

GET /atlas/job/loadbystate

接口说明

load all jobs of the target state

请求参数

名称 位置 类型 必选 说明
taskid query string
state query string job 状态过滤,枚举常量:initial

返回示例

200 Response
{}

返回结果

状态码 状态码含义 说明 数据模型
200 OK 成功 Inline

# GET Get Page of Jobs

GET /atlas/job/page

接口说明

Get a page of jobs.

请求参数

名称 位置 类型 必选 说明
taskid query string 上级 taskID
pageid query string 分页编号(正整数,从 0 开始,默认为 0)
pagesize query string 分页大小(正整数,默认为 20)
state query string 过滤 job 状态(空则返回所有),状态枚举常
量: initial
thin query string 是否简化 job 参数列表

返回示例

Get Page of Jobs
{
"Task ID": "ce6298a0-3672-415c-8c10-4ca171e39128",
"Total Jobs": 6,
"RunningNum": 0,
"FinishedNum": 6,
"Jobs": [
{
"Task ID": "ce6298a0-3672-415c-8c10-4ca171e39128",
"FrameworkType": "GeoHPC",
"ActionVertexID": "bf607a06-6586-4aa3-913b-1f5988d7fb24",
"ParamsList": [],
"RunInNodes": "172.16.84.221",
"TargetNodes": "",
"ID": "3d70b8f7-76cf-4a48-aa31-1196deb3bced",
"Name": "要素类空间分区转 HDFS-job4",
"State": "Finished",
"CreateTime": "2019-08-06 09:59:27",
"StartTime": "2019-07-19 15:55:39",
"EndTime": "2019-07-19 15:55:41",
"Timeout": 0,
"IsSucceed": true,
"Progress": 0,
"Priority": 100,
"TimeCost": "00:00:02",
"FinishedCount": 0,
"TotalCount": 0
},
{
"Task ID": "ce6298a0-3672-415c-8c10-4ca171e39128",
"FrameworkType": "GeoHPC",
"ActionVertexID": "bf607a06-6586-4aa3-913b-1f5988d7fb24",
"ParamsList": [],
"RunInNodes": "172.16.84.221",
"TargetNodes": "",
"ID": "857d82d1-7b71-46bc-9e5d-eb a48b46f9ee",
"Name": "要素类空间分区转 HDFS-job6",

"State": "Finished",
"CreateTime": "2019-08-06 09:59:27",
"StartTime": "2019-07-19 15:55:39",
"EndTime": "2019-07-19 15:56:15",
"Timeout": 0,
"IsSucceed": true,
"Progress": 0,
"Priority": 100,
"TimeCost": "00:00:36",
"FinishedCount": 0,
"TotalCount": 0
},
{
"Task ID": "ce6298a0-3672-415c-8c10-4ca171e39128",
"FrameworkType": "GeoHPC",
"ActionVertexID": "bf607a06-6586-4aa3-913b-1f5988d7fb24",
"ParamsList": [],
"RunInNodes": "172.16.84.221",
"TargetNodes": "",
"ID": "3f03d4dc-d5fa-43e9-b6e4-42b034660ad8",
"Name": "要素类空间分区转 HDFS-job2",
"State": "Finished",
"CreateTime": "2019-08-06 09:59:27",
"StartTime": "2019-07-19 15:55:42",
"EndTime": "2019-07-19 15:56:42",
"Timeout": 0,
"IsSucceed": true,
"Progress": 0,
"Priority": 100,
"TimeCost": "00:01:00",
"FinishedCount": 0,
"TotalCount": 0
},
{
"Task ID": "ce6298a0-3672-415c-8c10-4ca171e39128",
"FrameworkType": "GeoHPC",
"ActionVertexID": "bf607a06-6586-4aa3-913b-1f5988d7fb24",
"ParamsList": [],
"RunInNodes": "172.16.84.221",
"TargetNodes": "",
"ID": "90214f72-9a17-48ec-807e-6dfe7bd77d46",
"Name": "要素类空间分区转 HDFS-job5",
"State": "Finished",
"CreateTime": "2019-08-06 09:59:27",
"StartTime": "2019-07-19 15:55:39",
"EndTime": "2019-07-19 15:56:32",
"Timeout": 0,
"IsSucceed": true,
"Progress": 0,
"Priority": 100,

"TimeCost": "00:00:53",
"FinishedCount": 0,
"TotalCount": 0
},
{
"Task ID": "ce6298a0-3672-415c-8c10-4ca171e39128",
"FrameworkType": "GeoHPC",
"ActionVertexID": "bf607a06-6586-4aa3-913b-1f5988d7fb24",
"ParamsList": [],
"RunInNodes": "172.16.84.221",
"TargetNodes": "",
"ID": "56971d57-f7a3-4a57-8fe3-7b76e898c933",
"Name": "要素类空间分区转 HDFS-job1",
"State": "Finished",
"CreateTime": "2019-08-06 09:59:27",
"StartTime": "2019-07-19 15:55:51",
"EndTime": "2019-07-19 15:56:14",
"Timeout": 0,
"IsSucceed": true,
"Progress": 0,
"Priority": 100,
"TimeCost": "00:00:23",
"FinishedCount": 0,
"TotalCount": 0
},
{
"Task ID": "ce6298a0-3672-415c-8c10-4ca171e39128",
"FrameworkType": "GeoHPC",
"ActionVertexID": "bf607a06-6586-4aa3-913b-1f5988d7fb24",
"ParamsList": [],
"RunInNodes": "172.16.84.221",
"TargetNodes": "",
"ID": "53800f2b-28a3-4874-97b6-74e7c34b37fa",
"Name": "要素类空间分区转 HDFS-job3",
"State": "Finished",
"CreateTime": "2019-08-06 09:59:27",
"StartTime": "2019-07-19 15:55:39",
"EndTime": "2019-07-19 15:55:50",
"Timeout": 0,
"IsSucceed": true,
"Progress": 0,
"Priority": 100,
"TimeCost": "00:00:11",
"FinishedCount": 0,
"TotalCount": 0
}
]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137

返回结果

状态码 状态码含义 说明 数据模型
200 OK Get Page of Jobs Inline

返回数据结构

状态码 200

名称 类型 必选 约束 中文 说明
TaskID string true


TotalJobs integer true


RunningNum integer true


FinishedNum integer true


Jobs object true


TaskID string true


FrameworkType string true


ActionVertexID string true


ParamsList object true


RunInNodes string true


TargetNodes string true


ID string true


Name string true


State string true


CreateTime string true


StartTime string true


EndTime string true


Timeout integer true


IsSucceed boolean true


Progress integer true


Priority integer true


TimeCost string true


FinishedCount integer true


TotalCount integer true


# GET Get Job Params

GET /atlas/job/params

接口说明

Get parameters of job.

请求参数

名称 位置 类型 必选 说明
jobid query string
thin query string

返回示例

200 Response
{}

返回结果

状态码 状态码含义 说明 数据模型
200 OK 成功 Inline

# POST Update Job Params

POST /atlas/job/updateparams

接口说明

Update parameters of job. 工作项 ID 及其参数列表以 JSON 形式 POST 给服务端。

Body 请求参数
|-
job params=
{
"ID": "97da36b1-61d7-4d8c-9200-ccce78df01b0",
"ParamsList": [
{
"Name": "IntervalTime",
"ValueString": "13"
}
]
}
1
2
3
4
5
6
7
8
9
10
11
12

请求参数

名称 位置 类型 必选 说明
body body string

返回示例

200 Response
{}

返回结果

状态码 状态码含义 说明 数据模型
200 OK 成功 Inline

# GET Redo Job

GET /atlas/job/redo

接口说明

Retry the job on target node.

请求参数

名称 位置 类型 必选 说明
id query string
nodeip query string

返回示例

200 Response
{}

返回结果

状态码 状态码含义 说明 数据模型
200 OK 成功 Inline

# GET Count Jobs by State

GET /atlas/job/stat

接口说明

Statistic jobs' count of each state.

请求参数

名称 位置 类型 必选 说明
taskid query string 若为空则查询所有任务的 job ,不为空则查
某个任务下级的 job
state query string 为空则返回各个状态的个数。job 状态过滤,支持枚
举常量:initial

返回示例

200 Response
{}

返回结果

状态码 状态码含义 说明 数据模型
200 OK 成功 Inline

# GET Get Job Result

GET /atlas/job/result

接口说明

Get job result

请求参数

名称 位置 类型 必选 说明
jobid query string

返回示例

200 Response
{}

返回结果

状态码 状态码含义 说明 数据模型
200 OK 成功 Inline

# POST Update Job Result

POST /atlas/job/setresult

接口说明

Update job result. 工作项结果保存

Body 请求参数
|-
job result=
{
"Job Id": "147c4c6f-7dc6-47dc-886c-f75c43ea728b",
"ExitCode": 119,
"ErrorCause": "失败原因,简单说明异常问题",
"OutParams": "参数列表,可以是子 json"
}
1
2
3
4
5
6
7
8
9

请求参数

名称 位置 类型 必选 说明
body body string

返回示例

200 Response
{}

返回结果

状态码 状态码含义 说明 数据模型
200 OK 成功 Inline

# GET Get Task Results

GET /atlas/job/resultlist

接口说明

Get all job results of the task.

请求参数

名称 位置 类型 必选 说明
taskid query string

返回示例

200 Response
{}

返回结果

状态码 状态码含义 说明 数据模型
200 OK 成功 Inline

# GET Vacuum All Job Results

GET /atlas/job/clearallresult

接口说明

Clear all job results of all tasks !

返回示例

200 Response
{}

返回结果

状态码 状态码含义 说明 数据模型
200 OK 成功 Inline

# GET Get Job Progress

GET /atlas/job/progress

接口说明

Get job progress

请求参数

名称 位置 类型 必选 说明
jobid query string

返回示例

200 Response
{}

返回结果

状态码 状态码含义 说明 数据模型
200 OK 成功 Inline

# GET Update Job Progress

GET /atlas/job/updateprogress

接口说明

Update real-time progress of the job

请求参数

名称 位置 类型 必选 说明
jobid query string 是 任务项 ID
progress query string 是 任务项进度值(0 ~ 100)

返回示例

200 Response
{}

返回结果

状态码 状态码含义 说明 数据模型
200 OK 成功 Inline

# 日志信息

# GET Elastic Indices

GET /_cat/indices

接口说明

get all Elasticsearch indices.

请求参数

名称 位置 类型 必选 说明
s query string

返回示例

200 Response
{}

返回结果

状态码 状态码含义 说明 数据模型
200 OK 成功 Inline

# GET Get Logs

GET /atlas/log

接口说明

get all logs in Elasticsearch

返回示例

200 Response
{}

返回结果

状态码 状态码含义 说明 数据模型
200 OK 成功 Inline

# DELETE Delete Logs

DELETE /atlas/log

接口说明

删除日志

请求参数

名称 位置 类型 必选 说明
name query string Elasticsearch 索引名称,如果不传参数则会删除所有日志内容

返回示例

Delete Logs
{
"flag": true,
"msg": "succeed"
}
1
2
3
4
5

返回结果

状态码 状态码含义 说明 数据模型
200 OK Delete Logs Inline

返回数据结构

状态码 200

名称 类型 必选 约束 中文 说明
flag boolean true


msg string true


# GET Get Logs of Job

GET /atlas/log/joblog

接口说明

Get logs of the job. (maxlogsCount=1000)

请求参数

名称 位置 类型 必选 说明
jobid query string 工作项 ID
onlyerror query string 是否只返回错误日志,可选参数,默认为 false

返回示例

Get Logs of Job - Example-1
{
"flag": true,
"totalCount": 10,
"logs": [
{
"timeStamp": "2020-03-05T16:04:19.0233601Z",

"message": "开始启动 559bd551-bf36-4a92-834f-1010048dc2b5 任务项",
"level": "INFO",
"task Id": "80982a7f-31e1-4206-8f94-62e6963db7fb",
"job Id": "559bd551-bf36-4a92-834f-1010048dc2b5",
"className": "Geoway.Spatial.LogPlg.LogToES",
"hostName": "Atlas-pc",
"ip": "3.1.1.170",
"processId": 23584
},
{
"timeStamp": "2020-03-05T16:04:20.0023790Z",
"message": "【1】初始化任务信息",
"level": "INFO",
"task Id": "80982a7f-31e1-4206-8f94-62e6963db7fb",
"job Id": "559bd551-bf36-4a92-834f-1010048dc2b5",
"className": "Geoway.Spatial.LogPlg.LogToES",
"hostName": "Atlas-pc",
"ip": "3.1.1.170",
"processId": 23584
},
{
"timeStamp": "2020-03-05T16:04:20.1426125Z",
"message": "业务库连接参数:mysql://atlas/atlas@localhost:3306/atl as22",
"level": "INFO",
"task Id": "80982a7f-31e1-4206-8f94-62e6963db7fb",
"job Id": "559bd551-bf36-4a92-834f-1010048dc2b5",
"className": "Geoway.Spatial.LogPlg.LogToES",
"hostName": "Atlas-pc",
"ip": "3.1.1.170",
"processId": 23584
},
{
"timeStamp": "2020-03-05T16:04:20.3649095Z",
"message": "数据库提取到本地",
"level": "INFO",
"task Id": "80982a7f-31e1-4206-8f94-62e6963db7fb",
"job Id": "559bd551-bf36-4a92-834f-1010048dc2b5",
"className": "Geoway.Spatial.LogPlg.LogToES",
"hostName": "Atlas-pc",
"ip": "3.1.1.170",
"processId": 23584
},
{
"timeStamp": "2020-03-05T16:04:20.6553236Z",
"message": "特定属性字段初始化",
"level": "INFO",
"task Id": "80982a7f-31e1-4206-8f94-62e6963db7fb",
"job Id": "559bd551-bf36-4a92-834f-1010048dc2b5",



"className": "Geoway.Spatial.LogPlg.LogToES",
"hostName": "Atlas-pc",
"ip": "3.1.1.170",
"processId": 23584
},
{
"timeStamp": "2020-03-05T16:04:20.8724318Z",
"message": "【2】运行流程中的 GP 工具",
"level": "INFO",
"task Id": "80982a7f-31e1-4206-8f94-62e6963db7fb"
"job Id": "559bd551-bf36-4a92-834f-1010048dc2b5",
"className": "Geoway.Spatial.LogPlg.LogToES",
"hostName": "Atlas-pc",
"ip": "3.1.1.170",
"processId": 23584
},
{
"timeStamp": "2020-03-05T16:04:22.9489841Z",
"message": "【3】数据转换",
"level": "INFO",
"task Id": "80982a7f-31e1-4206-8f94-62e6963db7fb"
"job Id": "559bd551-bf36-4a92-834f-1010048dc2b5",
"className": "Geoway.Spatial.LogPlg.LogToES",
"hostName": "Atlas-pc",
"ip": "3.1.1.170",
"processId": 23584
},
{
"timeStamp": "2020-03-05T16:04:24.0697859Z",
"message": "【4】数据保存汇集",
"level": "INFO",
"task Id": "80982a7f-31e1-4206-8f94-62e6963db7fb"
"job Id": "559bd551-bf36-4a92-834f-1010048dc2b5",
"className": "Geoway.Spatial.LogPlg.LogToES",
"hostName": "Atlas-pc",
"ip": "3.1.1.170",
"processId": 23584
},
{
"timeStamp": "2020-03-05T16:04:24.7479535Z",
"message": "【5】清除临时数据",
"level": "INFO",
"task Id": "80982a7f-31e1-4206-8f94-62e6963db7fb"
"job Id": "559bd551-bf36-4a92-834f-1010048dc2b5",
"className": "Geoway.Spatial.LogPlg.LogToES",
"hostName": "Atlas-pc",
"ip": "3.1.1.170",
"processId": 23584
},


{
"timeStamp": "2020-03-05T16:04:24.9951749Z",
"message": "任务项 559bd551-bf36-4a92-834f-1010048dc2b5 计算完成", "level": "INFO",
"task Id": "80982a7f-31e1-4206-8f94-62e6963db7fb",
"job Id": "559bd551-bf36-4a92-834f-1010048dc2b5",
"className": "Geoway.Spatial.LogPlg.LogToES",
"hostName": "Atlas-pc",
"ip": "3.1.1.170",
"processId": 23584
}
]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122

返回结果

状态码 状态码含义 说明 数据模型
200 OK Get Logs of Job - Example-1 Inline

返回数据结构

状态码 200

名称 类型 必选 约束 中文 说明
flag boolean true


totalCount integer true


logs object true


timeStamp string true


message string true


level string true


taskId string true


jobId string true


className string true


hostName string true


ip string true


processId integer true


# POST Log Search [Today]

POST /atlas/log/search

接口说明

Get logs of today.

请求参数

名称 位置 类型 必选 说明
body body string
query={
"key": "",
"host": null,
"level": "INFO",
"timespan": [
"today"
],
"pagesize": 10,
"pageid": 0
}
1
2
3
4
5
6
7
8
9
10

返回示例

Log Search [Today]
{
"flag": true,
"totalCount": 11,
"logs": [
{
"Level": "INFO",
"Msg": "Atlas said : <?xml version=\"1.0\" encoding=\"utf-8\"?><A
tlasMessage><Head><ID>067b2f08-34f6-46cb-a5c6-ca23d983fe1f</ID><Versio
n>1.0.0</Version><MsgFormat>XML</MsgFormat><MsgType>Request</MsgType><M
sgCategory>Query</MsgCategory><SourceIP>172.16.6.232</SourceIP><SourceP
ort>8487</SourcePort><DestIP>192.98.19.11</DestIP><DestPort>43196</Dest
Port></Head><Content><Command><Name>ClientIdentify</Name><Params></Para
ms></Command></Content></AtlasMessage>",
"Timestamp": "2019-08-05 10:57:27",
"Host": "rt67-1",
"Producer": "handler.AtlasTaskServerHandler$1",
"SourceFile": "/home/hadoop/atlas/v2.0/adpt/atlas-adapter.log",
"LogFormat": "log4jlog",
"ID": "7xG1X2wB5Nvcvyt-52HY",
"IndexName": "logsystem-2019.08.05",
"TypeName": "doc"
},
{
"Level": "INFO",
"Msg": "Connect Atlas TaskServer(172.16.6.232:8487) succeed!",
"Timestamp": "2019-08-05 10:57:26",
"Host": "rt67-1",
"Producer": "main.HadoopAdapter",
"SourceFile": "/home/hadoop/atlas/v2.0/adpt/atlas-adapter.log",
"LogFormat": "log4jlog",

"ID": "6RG1X2wB5Nvcvyt-3GEg",
"IndexName": "logsystem-2019.08.05",
"TypeName": "doc"
},
{
"Level": "INFO",
"Msg": "Connected with atlas client  192.98.19.12",
"Timestamp": "2019-08-05 10:57:26",
"Host": "rt67-1",
"Producer": "resmon.GwClusterMonitorMaster",
"SourceFile": "/home/hadoop/atlas/v2.0/adpt/atlas-adapter.log",
"LogFormat": "log4jlog",
"ID": "7BG1X2wB5Nvcvyt-3GEg",
"IndexName": "logsystem-2019.08.05",
"TypeName": "doc"
},
{
"Level": "INFO",
"Msg": "Connect Atlas ResourceManager(172.16.6.232:8482) succeed!
"
,
"Timestamp": "2019-08-05 10:57:26",
"Host": "rt67-1",
"Producer": "main.HadoopAdapter",
"SourceFile": "/home/hadoop/atlas/v2.0/adpt/atlas-adapter.log",
"LogFormat": "log4jlog",
"ID": "7RG1X2wB5Nvcvyt-3GEg",
"IndexName": "logsystem-2019.08.05",
"TypeName": "doc"
},
{
"Level": "INFO",
"Msg": "Connected with atlas client  192.98.19.15",
"Timestamp": "2019-08-05 10:57:26",
"Host": "rt67-1",
"Producer": "resmon.GwClusterMonitorMaster",
"SourceFile": "/home/hadoop/atlas/v2.0/adpt/atlas-adapter.log",
"LogFormat": "log4jlog",
"ID": "7hG1X2wB5Nvcvyt-3GEg",
"IndexName": "logsystem-2019.08.05",
"TypeName": "doc"
},
{
"Level": "INFO",
"Msg": "Connected with atlas client  192.98.19.13",
"Timestamp": "2019-08-05 10:57:26",
"Host": "rt67-1",
"Producer": "resmon.GwClusterMonitorMaster",
"SourceFile": "/home/hadoop/atlas/v2.0/adpt/atlas-adapter.log",
"LogFormat": "log4jlog",
"ID": "6BG1X2wB5Nvcvyt-3GEg",

"IndexName": "logsystem-2019.08.05",
"TypeName": "doc"
},
{
"Level": "INFO",
"Msg": "Connected with atlas client  192.98.19.14",
"Timestamp": "2019-08-05 10:57:26",
"Host": "rt67-1",
"Producer": "resmon.GwClusterMonitorMaster",
"SourceFile": "/home/hadoop/atlas/v2.0/adpt/atlas-adapter.log",
"LogFormat": "log4jlog",
"ID": "6hG1X2wB5Nvcvyt-3GEg",
"IndexName": "logsystem-2019.08.05",
"TypeName": "doc"
},
{
"Level": "INFO",
"Msg": "Connected with atlas client  192.98.19.16",
"Timestamp": "2019-08-05 10:57:26",
"Host": "rt67-1",
"Producer": "resmon.GwClusterMonitorMaster",
"SourceFile": "/home/hadoop/atlas/v2.0/adpt/atlas-adapter.log",
"LogFormat": "log4jlog",
"ID": "6xG1X2wB5Nvcvyt-3GEg",
"IndexName": "logsystem-2019.08.05",
"TypeName": "doc"
},
{
"Level": "INFO",
"Msg": "The Atlas HadoopAdapter heartbeatr is started !",
"Timestamp": "2019-08-05 10:57:26",
"Host": "rt67-1",
"Producer": "resmon.GwAtlasResReporter$1",
"SourceFile": "/home/hadoop/atlas/v2.0/adpt/atlas-adapter.log",
"LogFormat": "log4jlog",
"ID": "5xG1X2wB5Nvcvyt-3GEg",
"IndexName": "logsystem-2019.08.05",
"TypeName": "doc"
},
{
"Level": "INFO",
"Msg": "Starting Geoway Atlas hadoop adapter.",
"Timestamp": "2019-08-05 10:57:26",
"Host": "rt67-1",
"Producer": "main.HadoopAdapter",
"SourceFile": "/home/hadoop/atlas/v2.0/adpt/atlas-adapter.log",
"LogFormat": "log4jlog",
"ID": "5hG1X2wB5Nvcvyt-3GEg",
"IndexName": "logsystem-2019.08.05",
"TypeName": "doc"

}
]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138

返回结果

状态码 状态码含义 说明 数据模型
200 OK Log Search [Today] Inline

返回数据结构

状态码 200

名称 类型 必选 约束 中文 说明
flag boolean true


totalCount integer true


logs object true


level string true


Msg string true


Timestamp string true


Host string true


Producer string true


SourceFile string true


LogFormat string true


ID string true


IndexName string true


TypeName string true


# 插件信息

# GET Get all plugins

GET /atlas/plugin
接口说明
Get all atlas plugins (isThin=true);
查询所有插件(精简版),不包括插件包信息,过滤了非必须字段。(完整版接口: /atlas/plugin/all)

请求参数

名称 位置 类型 必选 说明
filter query string 插件查询过滤条件,支持过滤的属性有:
categoryid: 按照分组查询;
name: 按照名称模糊搜索;

返回示例

Get all plugins
[
{
"ID": "cb6b3434-a7ce-4324-a81a-95ceaac45a8d",
"Name": "runbat",
"Alias": "RunBat",
"Desc": "仅仅用于测试并行的 exe 控制台程序",
"CategoryID": "e38900fa-d027-4d75-b903-7ceea819675f",
"Parameters": [
{
"ID": "80ef9f16-39c3-4550-b40e-33b0a7f13bb0",
"Name": "Operation",
"Alias": "operation to run",
"Desc": "",
"ParamType": "String",
"Direction": "Input",
"DefaultValueString": "getip",
"IsDatasetRelated": false
},
{
"ID": "62f34092-2745-4a05-b8ab-7cf8b21b4622",
"Name": "If Else",
"Alias": "test bool param",
"Desc": "",
"ParamType": "Boolean",
"Direction": "Input",
"DefaultValueString": "True",
"IsDatasetRelated": false
},
{
"ID": "ea603488-24e4-49ce-a1f3-0f113ae34876",
"Name": "Alpha",
"Alias": "test Byte param",
"Desc": "",
"ParamType": "Byte",
"Direction": "Input",
"DefaultValueString": "255",
"IsDatasetRelated": false
},
{
"ID": "a2882870-5a5d-4e13-a888-fffaa7adecd2",



"Name": "RefreshTimes",
"Alias": "test Int32 param",
"Desc": "",
"ParamType": "Int32",
"Direction": "Input",
"DefaultValueString": "1449",
"IsDatasetRelated": false
},
{
"ID": "b4388cca-26b2-43cb-91b4-287f26208bff"
"Name": "CoordX",
"Alias": "test Double param",
"Desc": "",
"ParamType": "Double",
"Direction": "Input",
"DefaultValueString": "113.669764",
"IsDatasetRelated": false
},
{
"ID": "e60b59d4-95d9-4f85-91db-561513c2ae5f"
"Name": "WKT",
"Alias": "test String param",
"Desc": "",
"ParamType": "String",
"Direction": "Input",
"DefaultValueString": "a bcd123",
"IsDatasetRelated": false
},
{
"ID": "a64bc8b8-23a9-48e0-bbb7-4fd33c7f973c"
"Name": "ShpFilename",
"Alias": "test File param",
"Desc": "",
"ParamType": "File",
"Direction": "Input",
"DefaultValueString": "",
"IsDatasetRelated": false
},
{
"ID": "4e940976-a55a-4720-9a6d-8fa929373aa9"
"Name": "FileGDBPath",
"Alias": "test Folder param",
"Desc": "",
"ParamType": "Folder",
"Direction": "Input",
"DefaultValueString": "",
"IsDatasetRelated": false
}
],
"Version": "1.0",
,

"PluginType": "Application",
"FrameworkType": "GeoHPC",
"PluginState": "Distributed",
"CreateTime": "2016-01-12 00:00:00",
"UpdateTime": "2019-07-19 14:15:02",
"UploadUser": "admin",
"ProgramName": "runbat.bat"
},
{
"ID": "aa897cb5-0486-412a-9e41-b0291bc42150",
"Name": "Tool5s",
"Alias": "Tool5s",
"Desc": "仅仅用于测试并行的 exe 控制台程序",
"CategoryID": "e38900fa-d027-4d75-b903-7ceea819675f",
"Parameters": [
{
"ID": "e29d0a54-4c02-4090-9a8d-fae4fceed16b",
"Name": "IntervalTime",
"Alias": "time to tick",
"Desc": "",
"ParamType": "Int32",
"Direction": "Input",
"DefaultValueString": "1000",
"IsDatasetRelated": false
},
{
"ID": "0b606e42-d9f9-414b-a56d-678bd1e91d2e",
"Name": "ThreadCount",
"Alias": "threads to run",
"Desc": "",
"ParamType": "Int32",
"Direction": "Input",
"DefaultValueString": "2",
"IsDatasetRelated": false
}
],
"Version": "1.0",
"PluginType": "Application",
"FrameworkType": "GeoHPC",
"PluginState": "Distributed",
"CreateTime": "2016-01-12 00:00:00",
"UpdateTime": "2019-07-19 14:15:03",
"UploadUser": "admin",
"ProgramName": "Tool5s.exe"
},
{
"ID": "13688a85-8eca-4111-8159-53383ebc be1b",
"Name": "/appid",
"Alias": "ApplicationID",
"Desc": "Gspark rest server tools",

"CategoryID": "f0427bcd-cc53-4932-bf41-a95155a5d50e",
"Parameters": [
{
"ID": "4223f7b1-619a-41e1-8a03-b08c6505c332",
"Name": "Response",
"Alias": "Response",
"Desc": "响应结果数据",
"ParamType": "String",
"Direction": "Output",
"DefaultValueString": "",
"IsDatasetRelated": false
}
],
"Version": "1.6.0",
"PluginType": "WebService",
"FrameworkType": "Spark",
"PluginState": "Distributed",
"CreateTime": "2019-05-10 00:00:00",
"UpdateTime": "2019-07-19 15:50:48",
"UploadUser": "admin",
"ProgramName": "zookeeper:/atlas/plugin/GoverlayREST-v1.6.0"
},
{
"ID": "05af5d12-4909-4a10-8509-811c84a94821",
"Name": "/rdd/meta",
"Alias": "RDD 元数据",
"Desc": "Gspark rest server tools",
"CategoryID": "f0427bcd-cc53-4932-bf41-a95155a5d50e",
"Parameters": [
{
"ID": "0e36926a-75b6-4390-95a2-0a31dabc504c",
"Name": "id",
"Alias": "id",
"Desc": "",
"ParamType": "String",
"Direction": "Input",
"DefaultValueString": "2",
"IsDatasetRelated": false
},
{
"ID": "13597f73-d619-4794-92b9-ac30166d628c",
"Name": "Response",
"Alias": "Response",
"Desc": "响应结果数据",
"ParamType": "String",
"Direction": "Output",
"DefaultValueString": "",
"IsDatasetRelated": false
}

],
"Version": "1.6.0",
"PluginType": "WebService",
"FrameworkType": "Spark",
"PluginState": "Distributed",
"CreateTime": "2019-05-10 00:00:00",
"UpdateTime": "2019-07-19 15:50:48",
"UploadUser": "admin",
"ProgramName": "zookeeper:/atlas/plugin/GoverlayREST-v1.6.0"
},
{
"ID": "2a0f505a-24da-4213-acb8-2f1a767733ce",
"Name": "/rddcache/all",
"Alias": "RDD 列表",
"Desc": "Gspark rest server tools",
"CategoryID": "f0427bcd-cc53-4932-bf41-a95155a5d50e",
"Parameters": [
{
"ID": "0cc072f2-da4e-4f88-9790-a6b6793e9a36",
"Name": "Response",
"Alias": "Response",
"Desc": "响应结果数据",
"ParamType": "String",
"Direction": "Output",
"DefaultValueString": "",
"IsDatasetRelated": false
}
],
"Version": "1.6.0",
"PluginType": "WebService",
"FrameworkType": "Spark",
"PluginState": "Distributed",
"CreateTime": "2019-05-10 00:00:00",
"UpdateTime": "2019-07-19 15:50:48",
"UploadUser": "admin",
"ProgramName": "zookeeper:/atlas/plugin/GoverlayREST-v1.6.0"
},
{
"ID": "c3dd6fd5-9a2a-47e5-a9ab-fc775608a1d4",
"Name": "/rdd/intersection",
"Alias": "RDD 求交",
"Desc": "Gspark rest server tools",
"CategoryID": "f0427bcd-cc53-4932-bf41-a95155a5d50e",
"Parameters": [
{
"ID": "c272b5ab-ddcb-4b2c-b9fe-c9adc222559b",
"Name": "left",
"Alias": "甲方 RddID",
"Desc": "",

"ParamType": "String",
"Direction": "Input",
"DefaultValueString": "2",
"IsDatasetRelated": false
},
{
"ID": "e166e3b1-a1ca-4d22-bdfc-fe75f2c47a99",
"Name": "right",
"Alias": "乙方 RddID",
"Desc": "",
"ParamType": "String",
"Direction": "Input",
"DefaultValueString": "4",
"IsDatasetRelated": false
},
{
"ID": "aef21c87-4783-4f85-9007-f71f9d3b35f2",
"Name": "Response",
"Alias": "Response",
"Desc": "响应结果数据",
"ParamType": "String",
"Direction": "Output",
"DefaultValueString": "",
"IsDatasetRelated": false
}
],
"Version": "1.6.0",
"PluginType": "WebService",
"FrameworkType": "Spark",
"PluginState": "Distributed",
"CreateTime": "2019-05-10 00:00:00",
"UpdateTime": "2019-07-19 15:50:48",
"UploadUser": "admin",
"ProgramName": "zookeeper:/atlas/plugin/GoverlayREST-v1.6.0"
},
{
"ID": "0b3909eb-8125-4cff-a013-26479902f197",
"Name": "startup.sh",
"Alias": "startup",
"Desc": "Gspark rest server tools",
"CategoryID": "f0427bcd-cc53-4932-bf41-a95155a5d50e",
"Parameters": [
{
"ID": "0d375168-91fa-450c-829c-06d6b3b1a7fa",
"Name": "mainclass",
"Alias": "主类名",
"Desc": "",
"ParamType": "String",
"Direction": "Input",

"DefaultValueString": "com.geoway.gspark.action.Action",
"IsDatasetRelated": false
},
{
"ID": "28579ca0-f6fd-4702-8ce1-80c07892bf79",
"Name": "zk server",
"Alias": "服务注册地址",
"Desc": "",
"ParamType": "String",
"Direction": "Input",
"DefaultValueString": "172.16.84.221:2181",
"IsDatasetRelated": false
},
{
"ID": "65ed6b75-9616-4180-9fe0-f325a1643b78",
"Name": "driverMemory",
"Alias": "driver 内存",
"Desc": "",
"ParamType": "String",
"Direction": "Input",
"DefaultValueString": "4G",
"IsDatasetRelated": false
},
{
"ID": "0e444587-f55c-4b96-87b2-f84d7d07ee62",
"Name": "driverCores",
"Alias": "driver 核数",
"Desc": "",
"ParamType": "Int32",
"Direction": "Input",
"DefaultValueString": "4",
"IsDatasetRelated": false
},
{
"ID": "fdefb69d-f902-4f20-9fce-7a855f942aba",
"Name": "executorMemory",
"Alias": "executor 内存",
"Desc": "",
"ParamType": "String",
"Direction": "Input",
"DefaultValueString": "32G",
"IsDatasetRelated": false
},
{
"ID": "241aee79-77ce-45a8-9888-1662ce5bb8fe",
"Name": "executorCores",
"Alias": "executor 核数",
"Desc": "",
"ParamType": "Int32",

"Direction": "Input",
"DefaultValueString": "16",
"IsDatasetRelated": false
},
{
"ID": "b7666df2-8403-4f96-b342-a2deeb8c7aa4",
"Name": "executorNum",
"Alias": "计算节点个数",
"Desc": "",
"ParamType": "Int32",
"Direction": "Input",
"DefaultValueString": "5",
"IsDatasetRelated": false
},
{
"ID": "3c945b69-8ffa-4db3-900c-a01403b447f4",
"Name": "Response",
"Alias": "Response",
"Desc": "响应结果数据",
"ParamType": "String",
"Direction": "Output",
"DefaultValueString": "",
"IsDatasetRelated": false
}
],
"Version": "1.6.0",
"PluginType": "Application",
"FrameworkType": "Spark",
"PluginState": "Distributed",
"CreateTime": "2019-05-10 00:00:00",
"UpdateTime": "2019-07-19 15:50:48",
"UploadUser": "admin",
"ProgramName": "startup.sh"
},
{
"ID": "fa1974ae-33a9-4d98-9164-1887e1b14809",
"Name": "/rdd/save",
"Alias": "保存 RDD",
"Desc": "Gspark rest server tools",
"CategoryID": "f0427bcd-cc53-4932-bf41-a95155a5d50e",
"Parameters": [
{
"ID": "de3be9b1-c1ad-4615-801c-b8b528365eb1",
"Name": "id",
"Alias": "id",
"Desc": "",
"ParamType": "Int32",
"Direction": "Input",
"DefaultValueString": "2",

"IsDatasetRelated": false
},
{
"ID": "66bb7590-190d-4997-99b1-708b95dda55e",
"Name": "opath",
"Alias": "输出路径",
"Desc": "",
"ParamType": "String",
"Direction": "Input",
"DefaultValueString": "postgresql://postgres/postgres@192.98.10
0.127:5432/sfgtest/tb_rdd",
"IsDatasetRelated": true
},
{
"ID": "266572bd-8d85-43db-8ca4-bc7c746b7b88",
"Name": "geoformat",
"Alias": "几何序列化格式",
"Desc": "",
"ParamType": "String",
"Direction": "Input",
"DefaultValueString": "WKT",
"IsDatasetRelated": false
},
{
"ID": "7da387ab-5336-4780-9053-ea273855345d",
"Name": "Response",
"Alias": "Response",
"Desc": "响应结果数据",
"ParamType": "String",
"Direction": "Output",
"DefaultValueString": "",
"IsDatasetRelated": false
}
],
"Version": "1.6.0",
"PluginType": "WebService",
"FrameworkType": "Spark",
"PluginState": "Distributed",
"CreateTime": "2019-05-10 00:00:00",
"UpdateTime": "2019-07-19 15:50:48",
"UploadUser": "admin",
"ProgramName": "zookeeper:/atlas/plugin/GoverlayREST-v1.6.0"
},
{
"ID": "66376c80-f7a9-4cce-bc9c-918cb01290ff",
"Name": "/stop",
"Alias": "停止服务",
"Desc": "Gspark rest server tools",
"CategoryID": "f0427bcd-cc53-4932-bf41-a95155a5d50e",

"Parameters": [
{
"ID": "c64416dc-2cc0-4e8b-84da-d54a0fcd3378",
"Name": "Response",
"Alias": "Response",
"Desc": "响应结果数据",
"ParamType": "String",
"Direction": "Output",
"DefaultValueString": "",
"IsDatasetRelated": false
}
],
"Version": "1.6.0",
"PluginType": "WebService",
"FrameworkType": "Spark",
"PluginState": "Distributed",
"CreateTime": "2019-05-10 00:00:00",
"UpdateTime": "2019-07-19 15:50:48",
"UploadUser": "admin",
"ProgramName": "zookeeper:/atlas/plugin/GoverlayREST-v1.6.0"
},
{
"ID": "8684b05e-113e-472a-80a0-34a17e09f918",
"Name": "/rdd/load",
"Alias": "加载 RDD",
"Desc": "Gspark rest server tools",
"CategoryID": "f0427bcd-cc53-4932-bf41-a95155a5d50e",
"Parameters": [
{
"ID": "0e8bf11e-fd36-4f9c-9c32-fd83f2fc2783",
"Name": "name",
"Alias": "数据路径",
"Desc": "",
"ParamType": "String",
"Direction": "Input",
"DefaultValueString": "hdfs:/sparkdata/wktTile/L10/dltb_12",
"IsDatasetRelated": true
},
{
"ID": "e583e0cb-ac0d-4635-9b4b-525770251ded",
"Name": "ifcache",
"Alias": "RDD 是否缓存",
"Desc": "",
"ParamType": "String",
"Direction": "Input",
"DefaultValueString": "true",
"IsDatasetRelated": false
},
{

"ID": "2327a549-4b34-4a53-ab46-e6a1804a9b21",
"Name": "Response",
"Alias": "Response",
"Desc": "响应结果数据",
"ParamType": "String",
"Direction": "Output",
"DefaultValueString": "",
"IsDatasetRelated": false
}
],
"Version": "1.6.0",
"PluginType": "WebService",
"FrameworkType": "Spark",
"PluginState": "Distributed",
"CreateTime": "2019-05-10 00:00:00",
"UpdateTime": "2019-07-19 15:50:48",
"UploadUser": "admin",
"ProgramName": "zookeeper:/atlas/plugin/GoverlayREST-v1.6.0"
},
{
"ID": "d8ed65a9-166f-4a86-8282-9c8cb57f797c",
"Name": "/atlas/canceljob",
"Alias": "取消异步任务",
"Desc": "Gspark rest server tools",
"CategoryID": "f0427bcd-cc53-4932-bf41-a95155a5d50e",
"Parameters": [
{
"ID": "89eec0dc-da97-4dc2-bf1c-0bb2aa359e00",
"Name": "jobid",
"Alias": "任务 ID",
"Desc": "",
"ParamType": "String",
"Direction": "Input",
"DefaultValueString": "2",
"IsDatasetRelated": false
},
{
"ID": "2b269268-b643-40e0-ae83-cc26cb064be5",
"Name": "Response",
"Alias": "Response",
"Desc": "响应结果数据",
"ParamType": "String",
"Direction": "Output",
"DefaultValueString": "",
"IsDatasetRelated": false
}
],
"Version": "1.6.0",
"PluginType": "WebService",

"FrameworkType": "Spark",
"PluginState": "Distributed",
"CreateTime": "2019-05-10 00:00:00",
"UpdateTime": "2019-07-19 15:50:48",
"UploadUser": "admin",
"ProgramName": "zookeeper:/atlas/plugin/GoverlayREST-v1.6.0"
},
{
"ID": "e848199f-2684-4466-a0a7-1e421cc64d9c",
"Name": "/rddcache/size",
"Alias": "在线 RDD 个数",
"Desc": "Gspark rest server tools",
"CategoryID": "f0427bcd-cc53-4932-bf41-a95155a5d50e",
"Parameters": [
{
"ID": "009e051e-cb2d-4edb-8065-4b7a782c64b4",
"Name": "Response",
"Alias": "Response",
"Desc": "响应结果数据",
"ParamType": "String",
"Direction": "Output",
"DefaultValueString": "",
"IsDatasetRelated": false
}
],
"Version": "1.6.0",
"PluginType": "WebService",
"FrameworkType": "Spark",
"PluginState": "Distributed",
"CreateTime": "2019-05-10 00:00:00",
"UpdateTime": "2019-07-19 15:50:48",
"UploadUser": "admin",
"ProgramName": "zookeeper:/atlas/plugin/GoverlayREST-v1.6.0"
},
{
"ID": "4851f842-8994-4c3c-99a0-b22ebd91be11",
"Name": "/atlas/job result",
"Alias": "异步结果查询",
"Desc": "Gspark rest server tools",
"CategoryID": "f0427bcd-cc53-4932-bf41-a95155a5d50e",
"Parameters": [
{
"ID": "f80b9a49-9730-4ae2-b68b-93dac794ca56",
"Name": "jobid",
"Alias": "任务 ID",
"Desc": "",
"ParamType": "String",
"Direction": "Input",
"DefaultValueString": "2",

"IsDatasetRelated": false
},
{
"ID": "5051a17b-e12e-4431-b86b-8621cd9d4de5",
"Name": "Response",
"Alias": "Response",
"Desc": "响应结果数据",
"ParamType": "String",
"Direction": "Output",
"DefaultValueString": "",
"IsDatasetRelated": false
}
],
"Version": "1.6.0",
"PluginType": "WebService",
"FrameworkType": "Spark",
"PluginState": "Distributed",
"CreateTime": "2019-05-10 00:00:00",
"UpdateTime": "2019-07-19 15:50:48",
"UploadUser": "admin",
"ProgramName": "zookeeper:/atlas/plugin/GoverlayREST-v1.6.0"
},
{
"ID": "5ec0a368-9508-45e3-b832-05312809f61f",
"Name": "/action/tileformat",
"Alias": "矢量数据格式化",
"Desc": "Gspark rest server tools",
"CategoryID": "f0427bcd-cc53-4932-bf41-a95155a5d50e",
"Parameters": [
{
"ID": "261a1d48-73db-42d9-a0ba-569f28f3a732",
"Name": "i path",
"Alias": "数据库路径",
"Desc": "",
"ParamType": "String",
"Direction": "Input",
"DefaultValueString": "postgresql://postgres/postgres@192.98.10
0.127:5432/sfgtest/sfg?objectid,shape",
"IsDatasetRelated": true
},
{
"ID": "2a12cbc7-4a25-4ba4-9a3e-fdd6bb193595",
"Name": "opath",
"Alias": "输出 HDFS 路径",
"Desc": "",
"ParamType": "String",
"Direction": "Input",
"DefaultValueString": "hdfs:/sparkdata/wktTile/L10",
"IsDatasetRelated": true

},
{
"ID": "6a366335-8064-48f4-8be9-1494445f2c63",
"Name": "geoformat",
"Alias": "几何序列化格式",
"Desc": "",
"ParamType": "String",
"Direction": "Input",
"DefaultValueString": "WKT",
"IsDatasetRelated": false
},
{
"ID": "bfe9b754-01a7-4981-bfc4-d30e92912d21",
"Name": "tile level",
"Alias": "瓦片层级",
"Desc": "",
"ParamType": "String",
"Direction": "Input",
"DefaultValueString": "11",
"IsDatasetRelated": false
},
{
"ID": "7f4eb848-e177-4ef a-8441-a956f8b28079",
"Name": "Response",
"Alias": "Response",
"Desc": "响应结果数据",
"ParamType": "String",
"Direction": "Output",
"DefaultValueString": "",
"IsDatasetRelated": false
}
],
"Version": "1.6.0",
"PluginType": "WebService",
"FrameworkType": "Spark",
"PluginState": "Distributed",
"CreateTime": "2019-05-10 00:00:00",
"UpdateTime": "2019-07-19 15:50:48",
"UploadUser": "admin",
"ProgramName": "zookeeper:/atlas/plugin/GoverlayREST-v1.6.0"
},
{
"ID": "bd28a04b-ad51-44bd-a3ee-db688faa7b95",
"Name": "GZDecompress",
"Alias": "GZ 包解压缩",
"Desc": "Atlas 插件包注册规范示例程序",
"CategoryID": "a16f86d7-4249-4500-941c-5c15c0f12ea7",
"Parameters": [
{

"ID": "4d65aa1e-3580-4c05-954b-2fc0cd62e45b",
"Name": "InGzFilePath",
"Alias": "输入 GZ 包文件",
"Desc": "",
"ParamType": "String",
"Direction": "Input",
"DefaultValueString": "",
"IsDatasetRelated": true
},
{
"ID": "30ad0ef3-e811-4f9b-8373-3ea1cf69c7ca",
"Name": "OutImagePath",
"Alias": "输出位置",
"Desc": "",
"ParamType": "String",
"Direction": "Output",
"DefaultValueString": "",
"IsDatasetRelated": false
}
],
"Version": "2.0",
"PluginType": "Application",
"FrameworkType": "GeoHPC",
"PluginState": "Distributed",
"CreateTime": "2018-11-09 00:00:00",
"UpdateTime": "2019-07-19 15:55:00",
"UploadUser": "admin",
"ProgramName": "ConvPluginExecutor.exe"
},
{
"ID": "7dda5b04-c442-4f87-945a-a8d0de5be062",
"Name": "MajorityFilter",
"Alias": "众数滤波",
"Desc": "Atlas 插件包注册规范示例程序",
"CategoryID": "a16f86d7-4249-4500-941c-5c15c0f12ea7",
"Parameters": [
{
"ID": "d261e72c-08ef-45e4-a2b1-eb47e778907b",
"Name": "InputRasters",
"Alias": "输入栅格数据",
"Desc": "",
"ParamType": "String",
"Direction": "Input",
"DefaultValueString": "",
"IsDatasetRelated": true
},
{
"ID": "e05a7732-a0e9-43a8-90d8-20d073990feb",
"Name": "OutputRaster",

"Alias": "输出栅格数据",
"Desc": "",
"ParamType": "String",
"Direction": "Output",
"DefaultValueString": "",
"IsDatasetRelated": true
}
],
"Version": "2.0",
"PluginType": "Application",
"FrameworkType": "GeoHPC",
"PluginState": "Distributed",
"CreateTime": "2018-11-09 00:00:00",
"UpdateTime": "2019-07-19 15:55:00",
"UploadUser": "admin",
"ProgramName": "ConvPluginExecutor.exe"
},
{
"ID": "d1c5c143-ba63-498f-b2ba-09cb43e226fc",
"Name": "Normalization",
"Alias": "归一化计算插件",
"Desc": "Atlas 插件包注册规范示例程序",
"CategoryID": "a16f86d7-4249-4500-941c-5c15c0f12ea7",
"Parameters": [
{
"ID": "b3a5bf1c-d3ec-4dad-99c2-29b9c2c27c07",
"Name": "InputData",
"Alias": "输入待归一化的数据",
"Desc": "",
"ParamType": "String",
"Direction": "Input",
"DefaultValueString": "\\\\192.98.12.52\\测试数据\\归一化数据\\hm
d.tif",
"IsDatasetRelated": true
},
{
"ID": "6d89919f-9102-47f3-ad86-14f370ae1ca8",
"Name": "AnalysisRange",
"Alias": "分析范围",
"Desc": "",
"ParamType": "String",
"Direction": "Input",
"DefaultValueString": "\\\\192.98.12.52\\测试数据\\归一化数据\\BJ
20150310_UTM.s hp",
"IsDatasetRelated": false
},
{
"ID": "1bfc90af-c2f9-4819-a1de-e1ac97e0fe7d",
"Name": "OutputNormalizationData",

"Alias": "输出归一化数据",
"Desc": "",
"ParamType": "String",
"Direction": "Output",
"DefaultValueString": "\\\\192.98.12.52\\测试数据\\归一化数据\\ou
t\\GYH1611.tif",
"IsDatasetRelated": true
}
],
"Version": "2.0",
"PluginType": "Application",
"FrameworkType": "GeoHPC",
"PluginState": "Distributed",
"CreateTime": "2018-11-09 00:00:00",
"UpdateTime": "2019-07-19 15:55:00",
"UploadUser": "admin",
"ProgramName": "ConvPluginExecutor.exe"
},
{
"ID": "0d9a47a0-e9d2-430a-9756-c00be b96caf0",
"Name": "ImageMosaicNo",
"Alias": "影像镶嵌_非交互",
"Desc": "Atlas 插件包注册规范示例程序",
"CategoryID": "a16f86d7-4249-4500-941c-5c15c0f12ea7",
"Parameters": [
{
"ID": "c bbb2767-f158-4fa9-83db-f1f79e45b713",
"Name": "InImagePath",
"Alias": "输入影像数据",
"Desc": "",
"ParamType": "String",
"Direction": "Input",
"DefaultValueString": "",
"IsDatasetRelated": true
},
{
"ID": "d0b1d9d4-f47a-40e3-b2e9-a5d2a6ba6959",
"Name": "OutImagePath",
"Alias": "输出影像文件",
"Desc": "",
"ParamType": "String",
"Direction": "Output",
"DefaultValueString": "",
"IsDatasetRelated": true
}
],
"Version": "2.0",
"PluginType": "Application",
"FrameworkType": "GeoHPC",

"PluginState": "Distributed",
"CreateTime": "2018-11-09 00:00:00",
"UpdateTime": "2019-07-19 15:55:00",
"UploadUser": "admin",
"ProgramName": "ConvPluginExecutor.exe"
},
{
"ID": "a0a1ed6b-2286-4aa0-aa4e-4b89f2a5351d",
"Name": "CompositeBands",
"Alias": "波段合成",
"Desc": "Atlas 插件包注册规范示例程序",
"CategoryID": "a16f86d7-4249-4500-941c-5c15c0f12ea7",
"Parameters": [
{
"ID": "fbddb9f1-bb76-4289-aa9a-6691ae01502a",
"Name": "InputRasters",
"Alias": "输入栅格数据",
"Desc": "",
"ParamType": "String",
"Direction": "Input",
"DefaultValueString": "",
"IsDatasetRelated": true
},
{
"ID": "4fef01d6-f352-4e66-822a-0f09a9648124",
"Name": "OutputRaster",
"Alias": "输出栅格数据",
"Desc": "",
"ParamType": "String",
"Direction": "Output",
"DefaultValueString": "",
"IsDatasetRelated": true
}
],
"Version": "2.0",
"PluginType": "Application",
"FrameworkType": "GeoHPC",
"PluginState": "Distributed",
"CreateTime": "2018-11-09 00:00:00",
"UpdateTime": "2019-07-19 15:55:01",
"UploadUser": "admin",
"ProgramName": "ConvPluginExecutor.exe"
},
{
"ID": "61ed9dee-0442-48a7-b303-d16cb2cba64b",
"Name": "PointToRaster",
"Alias": "点转栅格",
"Desc": "Atlas 插件包注册规范示例程序",
"CategoryID": "a16f86d7-4249-4500-941c-5c15c0f12ea7",

"Parameters": [
{
"ID": "d9c03701-501d-497e-9a44-a064fa7fd5ec",
"Name": "Point",
"Alias": "输入点数据",
"Desc": "",
"ParamType": "String",
"Direction": "Input",
"DefaultValueString": "",
"IsDatasetRelated": true
},
{
"ID": "fa796a1b-401c-4e07-b860-4a92cf4892f7",
"Name": "OutputRaster",
"Alias": "输出栅格数据",
"Desc": "",
"ParamType": "String",
"Direction": "Output",
"DefaultValueString": "",
"IsDatasetRelated": true
},
{
"ID": "f176d0ab-fa70-4921-874d-300f90551da4",
"Name": "Field",
"Alias": "字段",
"Desc": "",
"ParamType": "String",
"Direction": "Input",
"DefaultValueString": "",
"IsDatasetRelated": false
}
],
"Version": "2.0",
"PluginType": "Application",
"FrameworkType": "GeoHPC",
"PluginState": "Distributed",
"CreateTime": "2018-11-09 00:00:00",
"UpdateTime": "2019-07-19 15:55:01",
"UploadUser": "admin",
"ProgramName": "ConvPluginExecutor.exe"
},
{
"ID": "86289177-910c-40dc-9f9f-c4752fc1cb84",
"Name": "Poly lineToRaster",
"Alias": "线转栅格",
"Desc": "Atlas 插件包注册规范示例程序",
"CategoryID": "a16f86d7-4249-4500-941c-5c15c0f12ea7",
"Parameters": [
{



"ID": "5cce4d63-2a25-45b7-9ac3-5a239aaddcbf"
"Name": "Poly line",
"Alias": "输入线数据",
"Desc": "",
"ParamType": "String",
"Direction": "Input",
"DefaultValueString": "",
"IsDatasetRelated": true
},
{
"ID": "188af585-6306-4a29-9bbb-1448045fba41"
"Name": "OutputRaster",
"Alias": "输出栅格数据",
"Desc": "",
"ParamType": "String",
"Direction": "Output",
"DefaultValueString": "",
"IsDatasetRelated": true
},
{
"ID": "f3eb8d56-3fef-4b37-8ef a-09de63e1bdb0"
"Name": "Field",
"Alias": "字段",
"Desc": "",
"ParamType": "String",
"Direction": "Input",
"DefaultValueString": "",
"IsDatasetRelated": false
},
{
"ID": "991c1d55-1dc4-4ef6-91d7-6e96964ae7db"
"Name": "CellSize",
"Alias": "像元大小",
"Desc": "",
"ParamType": "Double",
"Direction": "Input",
"DefaultValueString": "",
"IsDatasetRelated": false
}
],
"Version": "2.0",
"PluginType": "Application",
"FrameworkType": "GeoHPC",
"PluginState": "Distributed",
"CreateTime": "2018-11-09 00:00:00",
"UpdateTime": "2019-07-19 15:55:01",
"UploadUser": "admin",
"ProgramName": "ConvPluginExecutor.exe"
},

{
"ID": "71b37b08-abd5-4bd7-a669-def4ad51052a",
"Name": "FeatureToLine",
"Alias": "要素转线插件",
"Desc": "Atlas 插件包注册规范示例程序",
"CategoryID": "a16f86d7-4249-4500-941c-5c15c0f12ea7",
"Parameters": [
{
"ID": "b45ee828-94b4-40b9-a926-a7d48f6129e2",
"Name": "InputPolygon",
"Alias": "输入面元素",
"Desc": "",
"ParamType": "String",
"Direction": "Input",
"DefaultValueString": "\\\\192.98.12.52\\测试数据\\要素转线数据\\ 水源 UTM_20150310.s hp",
"IsDatasetRelated": false
},
{
"ID": "e54f061d-48cc-4255-b936-05e61bb7c7f0",
"Name": "AnalysisRange",
"Alias": "分析范围",
"Desc": "",
"ParamType": "String",
"Direction": "Input",
"DefaultValueString": "\\\\192.98.12.52\\测试数据\\要素转线数据\\
BJ20150310_UTM.s hp",
"IsDatasetRelated": false
},
{
"ID": "facc9ac3-ced9-490c-8fa3-cd9f6c94a06d",
"Name": "OutputLine",
"Alias": "输出线元素",
"Desc": "",
"ParamType": "String",
"Direction": "Output",
"DefaultValueString": "\\\\192.98.12.52\\测试数据\\要素转线数据\\
out\\out1722.s hp",
"IsDatasetRelated": false
}
],
"Version": "2.0",
"PluginType": "Application",
"FrameworkType": "GeoHPC",
"PluginState": "Distributed",
"CreateTime": "2018-11-09 00:00:00",
"UpdateTime": "2019-07-19 15:55:01",
"UploadUser": "admin",
"ProgramName": "ConvPluginExecutor.exe"

},
{
"ID": "d32ddc57-d925-4de2-b2f9-43a43f35bd35",
"Name": "Near",
"Alias": "邻近分析",
"Desc": "Atlas 插件包注册规范示例程序",
"CategoryID": "a16f86d7-4249-4500-941c-5c15c0f12ea7",
"Parameters": [
{
"ID": "d712b8e8-2b49-4a13-99b7-1d43ae0e3999",
"Name": "inFile",
"Alias": "输入矢量文件",
"Desc": "",
"ParamType": "String",
"Direction": "Input",
"DefaultValueString": "",
"IsDatasetRelated": true
},
{
"ID": "0ceac6bc-3b92-4724-9bde-11d0ac780650",
"Name": "InputNearFeatures",
"Alias": "输入附近矢量文件",
"Desc": "",
"ParamType": "String",
"Direction": "Input",
"DefaultValueString": "",
"IsDatasetRelated": true
},
{
"ID": "8f1b8507-b5b4-4cc9-b20f-6226dfc3fbfd",
"Name": "extent",
"Alias": "范围",
"Desc": "",
"ParamType": "String",
"Direction": "Input",
"DefaultValueString": "",
"IsDatasetRelated": false
},
{
"ID": "e1e33f9c-576b-4b9a-a859-07fbb9b2af58",
"Name": "Search Radius",
"Alias": "搜索半径",
"Desc": "",
"ParamType": "Int32",
"Direction": "Input",
"DefaultValueString": "0",
"IsDatasetRelated": false
}
],

"Version": "2.0",
"PluginType": "Application",
"FrameworkType": "GeoHPC",
"PluginState": "Distributed",
"CreateTime": "2018-11-09 00:00:00",
"UpdateTime": "2019-07-19 15:55:01",
"UploadUser": "admin",
"ProgramName": "ConvPluginExecutor.exe"
},
{
"ID": "5083176b-1889-43ac-88b4-b94fe38ddb4a",
"Name": "MosaicToNewRaster",
"Alias": "镶嵌新数据",
"Desc": "Atlas 插件包注册规范示例程序",
"CategoryID": "a16f86d7-4249-4500-941c-5c15c0f12ea7",
"Parameters": [
{
"ID": "0e9680b2-055d-409a-97a6-4a51d8dd8a4f",
"Name": "InputRasters",
"Alias": "输入栅格数据",
"Desc": "",
"ParamType": "String",
"Direction": "Input",
"DefaultValueString": "",
"IsDatasetRelated": true
},
{
"ID": "17fe426b-9e8b-4161-9725-d5d64e770a61",
"Name": "OutputFolder",
"Alias": "输出栅格数据",
"Desc": "",
"ParamType": "String",
"Direction": "Output",
"DefaultValueString": "",
"IsDatasetRelated": true
},
{
"ID": "04b65190-cb14-43d2-9797-34dfbb9b64c7",
"Name": "Name",
"Alias": "名称",
"Desc": "",
"ParamType": "String",
"Direction": "Input",
"DefaultValueString": "",
"IsDatasetRelated": false
},
{
"ID": "ca567098-7adb-43dc-a395-6da283c98589",
"Name": "Suffix",

"Alias": "后缀",
"Desc": "",
"ParamType": "String",
"Direction": "Input",
"DefaultValueString": "",
"IsDatasetRelated": false
},
{
"ID": "53ced aad-7b76-47b2-861a-a576f93cf10c",
"Name": "BandCount",
"Alias": "波段数",
"Desc": "",
"ParamType": "Int32",
"Direction": "Input",
"DefaultValueString": "0",
"IsDatasetRelated": false
}
],
"Version": "2.0",
"PluginType": "Application",
"FrameworkType": "GeoHPC",
"PluginState": "Distributed",
"CreateTime": "2018-11-09 00:00:00",
"UpdateTime": "2019-07-19 15:55:01",
"UploadUser": "admin",
"ProgramName": "ConvPluginExecutor.exe"
},
{
"ID": "06c4034e-4873-4e53-99e1-abc21c9371b9",
"Name": "PolygonToRaster",
"Alias": "面转栅格",
"Desc": "Atlas 插件包注册规范示例程序",
"CategoryID": "a16f86d7-4249-4500-941c-5c15c0f12ea7",
"Parameters": [
{
"ID": "38efb062-f7f7-4011-bafc-190739e50a0a",
"Name": "Polygon",
"Alias": "输入面数据",
"Desc": "",
"ParamType": "String",
"Direction": "Input",
"DefaultValueString": "",
"IsDatasetRelated": true
},
{
"ID": "4ae9200a-c543-4bcc-8084-120250de76bb",
"Name": "OutputRaster",
"Alias": "输出栅格数据",
"Desc": "",

"ParamType": "String",
"Direction": "Output",
"DefaultValueString": "",
"IsDatasetRelated": true
},
{
"ID": "cb9fefdf-cd8b-4e2a-b2eb-de073d0824b7",
"Name": "Field",
"Alias": "字段",
"Desc": "",
"ParamType": "String",
"Direction": "Input",
"DefaultValueString": "",
"IsDatasetRelated": false
}
],
"Version": "2.0",
"PluginType": "Application",
"FrameworkType": "GeoHPC",
"PluginState": "Distributed",
"CreateTime": "2018-11-09 00:00:00",
"UpdateTime": "2019-07-19 15:55:01",
"UploadUser": "admin",
"ProgramName": "ConvPluginExecutor.exe"
},
{
"ID": "95b5930e-f141-4d7b-b1ca-e2b40d4cbc35",
"Name": "PartHDFSFeatureClsOutput",
"Alias": "HDFS 导出",
"Desc": "Atlas 插件包注册规范示例程序",
"CategoryID": "a16f86d7-4249-4500-941c-5c15c0f12ea7",
"Parameters": [
{
"ID": "06198e00-26c0-45a8-85ef-10405e9e5ade",
"Name": "InHdfsDataFileList",
"Alias": "hdfs 文件集合",
"Desc": "",
"ParamType": "String",
"Direction": "Input",
"DefaultValueString": "",
"IsDatasetRelated": true
},
{
"ID": "a1eec815-5f19-48ed-9adb-29bb2425b924",
"Name": "OutFilePath",
"Alias": "输出路径",
"Desc": "",
"ParamType": "String",
"Direction": "Input",

"DefaultValueString": "",
"IsDatasetRelated": true
}
],
"Version": "2.0",
"PluginType": "Application",
"FrameworkType": "GeoHPC",
"PluginState": "Distributed",
"CreateTime": "2018-11-09 00:00:00",
"UpdateTime": "2019-07-19 15:55:01",
"UploadUser": "admin",
"ProgramName": "DataTransferExe.exe"
},
{
"ID": "8e0e88cf-4170-44f0-adfa-150067cff6b6",
"Name": "PartFeatureClass2HDFS",
"Alias": "要素类分区转 HDFS",
"Desc": "Atlas 插件包注册规范示例程序",
"CategoryID": "a16f86d7-4249-4500-941c-5c15c0f12ea7",
"Parameters": [
{
"ID": "57b95721-66ee-47de-a02e-724ae1b7dc6d",
"Name": "InFeatureClass",
"Alias": "输入数据",
"Desc": "",
"ParamType": "String",
"Direction": "Input",
"DefaultValueString": "",
"IsDatasetRelated": true
},
{
"ID": "d9c6d66e-ea2f-4a30-b91e-16b0584b5995",
"Name": "InStartOID",
"Alias": "最小 OID",
"Desc": "",
"ParamType": "Int32",
"Direction": "Input",
"DefaultValueString": "0",
"IsDatasetRelated": false
},
{
"ID": "53fff5ef-7297-4f67-a01d-2de418900ba9",
"Name": "InEndOID",
"Alias": "最大 OID",
"Desc": "",
"ParamType": "Int32",
"Direction": "Input",
"DefaultValueString": "0",
"IsDatasetRelated": false

},
{
"ID": "da3f2f3f-3ee8-497c-bb26-7d0ad4106f85",
"Name": "OutHdfsPath",
"Alias": " 目标 hdfs 路径",
"Desc": "",
"ParamType": "String",
"Direction": "Output",
"DefaultValueString": "",
"IsDatasetRelated": true
},
{
"ID": "4eacb6cb-ec87-4a48-a829-d435c9fdb2ab",
"Name": "OutHdfsStartOID",
"Alias": "输出 hdfs 起算 OID",
"Desc": "",
"ParamType": "Int32",
"Direction": "Output",
"DefaultValueString": "0",
"IsDatasetRelated": false
}
],
"Version": "2.0",
"PluginType": "Application",
"FrameworkType": "GeoHPC",
"PluginState": "Distributed",
"CreateTime": "2018-11-09 00:00:00",
"UpdateTime": "2019-07-19 15:55:01",
"UploadUser": "admin",
"ProgramName": "DataTransferExe.exe"
},
{
"ID": "bf607a06-6586-4aa3-913b-1f5988d7fb24",
"Name": "Spatial PartFeatureCls2HDFS",
"Alias": "要素类空间分区转 HDFS",
"Desc": "Atlas 插件包注册规范示例程序",
"CategoryID": "a16f86d7-4249-4500-941c-5c15c0f12ea7",
"Parameters": [
{
"ID": "b2d6df82-2996-4c2a-bbd7-ef6ada92cef3",
"Name": "InFeatureClass",
"Alias": "输入数据",
"Desc": "",
"ParamType": "String",
"Direction": "Input",
"DefaultValueString": "",
"IsDatasetRelated": true
},
{

"ID": "b818b1f9-65b9-42d0-8d9f-86cb0b71de5d",
"Name": "InExtent",
"Alias": "空间分区",
"Desc": "",
"ParamType": "String",
"Direction": "Input",
"DefaultValueString": "row_col_level",
"IsDatasetRelated": false
},
{
"ID": "57f0c941-6e60-45de-a07c-77d01964825b",
"Name": "OutHdfsPath",
"Alias": " 目标 hdfs 路径",
"Desc": "",
"ParamType": "String",
"Direction": "Output",
"DefaultValueString": "",
"IsDatasetRelated": true
}
],
"Version": "2.0",
"PluginType": "Application",
"FrameworkType": "GeoHPC",
"PluginState": "Distributed",
"CreateTime": "2018-11-09 00:00:00",
"UpdateTime": "2019-07-19 15:55:01",
"UploadUser": "admin",
"ProgramName": "DataTransferExe.exe"
},
{
"ID": "ad4c48e2-cc39-4097-80d3-d9e85a9d0807",
"Name": "TilePartGDBFeatureCls2HDFS",
"Alias": "GDB 空间分区转 HDFS",
"Desc": "Atlas 插件包注册规范示例程序",
"CategoryID": "a16f86d7-4249-4500-941c-5c15c0f12ea7",
"Parameters": [
{
"ID": "40edba45-e6c5-4564-a031-cdc5ec4c4aa9",
"Name": "InFeatureClass",
"Alias": "输入数据",
"Desc": "",
"ParamType": "String",
"Direction": "Input",
"DefaultValueString": "",
"IsDatasetRelated": true
},
{
"ID": "414ba7af-3d3f-45c3-9c4e-05a73e41ac06",
"Name": "InExtent",

"Alias": "空间分区",
"Desc": "",
"ParamType": "String",
"Direction": "Input",
"DefaultValueString": "row_col_level",
"IsDatasetRelated": false
},
{
"ID": "8ba0fa88-a377-467f-90ef-fbca565f5aa3",
"Name": "OutHdfsPath",
"Alias": " 目标 hdfs 路径",
"Desc": "",
"ParamType": "String",
"Direction": "Output",
"DefaultValueString": "",
"IsDatasetRelated": true
}
],
"Version": "2.0",
"PluginType": "Application",
"FrameworkType": "GeoHPC",
"PluginState": "Distributed",
"CreateTime": "2018-11-09 00:00:00",
"UpdateTime": "2019-07-19 15:55:00",
"UploadUser": "admin",
"ProgramName": "ConvPluginExecutor.exe"
},
{
"ID": "2851d933-0485-4c3e-928c-36d1fedd88a5",
"Name": "PartGDBFeatureClass2HDFS",
"Alias": "GDB 要素类分区转 HDFS",
"Desc": "Atlas 插件包注册规范示例程序",
"CategoryID": "a16f86d7-4249-4500-941c-5c15c0f12ea7",
"Parameters": [
{
"ID": "9927f8b2-0308-4bd9-b8bd-8084ed302553",
"Name": "InFeatureClass",
"Alias": "输入数据",
"Desc": "",
"ParamType": "String",
"Direction": "Input",
"DefaultValueString": "",
"IsDatasetRelated": true
},
{
"ID": "830d3e38-5133-47e6-ab27-0bfccbc6d3b8",
"Name": "InStartOID",
"Alias": "最小 OID",
"Desc": "",



"ParamType": "Int32",
"Direction": "Input",
"DefaultValueString": "0",
"IsDatasetRelated": false
},
{
"ID": "5ac93bfa-d691-41a3-94c7-e9d8eb3f5428"
"Name": "InEndOID",
"Alias": "最大 OID",
"Desc": "",
"ParamType": "Int32",
"Direction": "Input",
"DefaultValueString": "0",
"IsDatasetRelated": false
},
{
"ID": "27fd316f-1257-43a8-bc b5-4f060479c86f"
"Name": "OutHdfsPath",
"Alias": " 目标 hdfs 路径",
"Desc": "",
"ParamType": "String",
"Direction": "Output",
"DefaultValueString": "",
"IsDatasetRelated": true
},
{
"ID": "8ee4a737-e79f-4874-83c8-35cd5319de4a"
"Name": "OutHdfsStartOID",
"Alias": "输出 hdfs 起算 OID",
"Desc": "",
"ParamType": "Int32",
"Direction": "Output",
"DefaultValueString": "0",
"IsDatasetRelated": false
}
],
"Version": "2.0",
"PluginType": "Application",
"FrameworkType": "GeoHPC",
"PluginState": "Distributed",
"CreateTime": "2018-11-09 00:00:00",
"UpdateTime": "2019-07-19 15:55:00",
"UploadUser": "admin",
"ProgramName": "ConvPluginExecutor.exe"
},
{
"ID": "99cb99b3-897f-4c74-9314-7f8b68be33e3",
"Name": "GDBToShapeFile",
"Alias": "GDB 转 s hp",







,










,










,

"Desc": "Atlas 插件包注册规范示例程序",
"CategoryID": "a16f86d7-4249-4500-941c-5c15c0f12ea7",
"Parameters": [
{
"ID": "fd61d53a-f563-465e-b299-00fbff846568",
"Name": "GdbFile",
"Alias": "Mdb 或 GDB 文件",
"Desc": "",
"ParamType": "String",
"Direction": "Input",
"DefaultValueString": "",
"IsDatasetRelated": true
},
{
"ID": "a47650f3-1633-421b-b92e-80099633c4a6",
"Name": "OutShpFile",
"Alias": "S hp 文件夹",
"Desc": "",
"ParamType": "String",
"Direction": "Output",
"DefaultValueString": "",
"IsDatasetRelated": true
}
],
"Version": "2.0",
"PluginType": "Application",
"FrameworkType": "GeoHPC",
"PluginState": "Distributed",
"CreateTime": "2018-11-09 00:00:00",
"UpdateTime": "2019-07-19 15:55:00",
"UploadUser": "admin",
"ProgramName": "ConvPluginExecutor.exe"
},
{
"ID": "cabff473-a8df-4a53-ad0c-a2bab75f645f",
"Name": "PartHDFSFeatureCls2GDB",
"Alias": "HDFS 转 GDB",
"Desc": "Atlas 插件包注册规范示例程序",
"CategoryID": "a16f86d7-4249-4500-941c-5c15c0f12ea7",
"Parameters": [
{
"ID": "e6adff48-81f9-46b0-9b9b-5af435b636ed",
"Name": "InHdfsDataFileList",
"Alias": "hdfs 文件集合",
"Desc": "",
"ParamType": "String",
"Direction": "Input",
"DefaultValueString": "",
"IsDatasetRelated": true

},
{
"ID": "540f5e25-2708-401f-bc43-798f37625590",
"Name": "OutFilePath",
"Alias": "输出路径",
"Desc": "",
"ParamType": "String",
"Direction": "Input",
"DefaultValueString": "",
"IsDatasetRelated": true
}
],
"Version": "2.0",
"PluginType": "Application",
"FrameworkType": "GeoHPC",
"PluginState": "Distributed",
"CreateTime": "2018-11-09 00:00:00",
"UpdateTime": "2019-07-19 15:55:00",
"UploadUser": "admin",
"ProgramName": "ConvPluginExecutor.exe"
},
{
"ID": "979afa25-2e8c-479e-b8bf-cc0088d129d5",
"Name": "SHPToGDB",
"Alias": "s hp 导入 gdb",
"Desc": "Atlas 插件包注册规范示例程序",
"CategoryID": "a16f86d7-4249-4500-941c-5c15c0f12ea7",
"Parameters": [
{
"ID": "5aca1b6c-35ec-4603-b992-6c75b82ee761",
"Name": "ShpFile",
"Alias": "S hp 文件",
"Desc": "",
"ParamType": "String",
"Direction": "Input",
"DefaultValueString": "",
"IsDatasetRelated": true
},
{
"ID": "e3bbc59d-06c6-4d53-beae-b21bc85b2f35",
"Name": "OutGdbFile",
"Alias": "Gdb 文件",
"Desc": "",
"ParamType": "String",
"Direction": "Output",
"DefaultValueString": "",
"IsDatasetRelated": true
}
],

"Version": "2.0",
"PluginType": "Application",
"FrameworkType": "GeoHPC",
"PluginState": "Distributed",
"CreateTime": "2018-11-09 00:00:00",
"UpdateTime": "2019-07-19 15:55:00",
"UploadUser": "admin",
"ProgramName": "ConvPluginExecutor.exe"
},
{
"ID": "75adb9b9-76fc-4706-80be-5b9de39703c5",
"Name": "PyramidsBuild",
"Alias": "创建金字塔",
"Desc": "Atlas 插件包注册规范示例程序",
"CategoryID": "a16f86d7-4249-4500-941c-5c15c0f12ea7",
"Parameters": [
{
"ID": "a09f289e-7b03-43a1-8cdf-e048f264ae3d",
"Name": "InImagePath",
"Alias": "输入待创建金字塔数据",
"Desc": "",
"ParamType": "String",
"Direction": "Input",
"DefaultValueString": "",
"IsDatasetRelated": true
}
],
"Version": "2.0",
"PluginType": "Application",
"FrameworkType": "GeoHPC",
"PluginState": "Distributed",
"CreateTime": "2018-11-09 00:00:00",
"UpdateTime": "2019-07-19 15:55:00",
"UploadUser": "admin",
"ProgramName": "ConvPluginExecutor.exe"
},
{
"ID": "1e0060ac-21f0-4895-b4ec-a1eb6df6f5cb",
"Name": "TransferProjection",
"Alias": "投影转换插件",
"Desc": "Atlas 插件包注册规范示例程序",
"CategoryID": "a16f86d7-4249-4500-941c-5c15c0f12ea7",
"Parameters": [
{
"ID": "4c45c5c3-53b5-4ae3-8479-3c67b9046751",
"Name": "InputDataset",
"Alias": "输入待转换的数据",
"Desc": "",
"ParamType": "String",

"Direction": "Input",
"DefaultValueString": "",
"IsDatasetRelated": true
},
{
"ID": "9e5a8d59-b55c-417e-906d-4c1039b7222b",
"Name": "CoordinateSystem",
"Alias": "输入转换的坐标系文件",
"Desc": "",
"ParamType": "String",
"Direction": "Input",
"DefaultValueString": "",
"IsDatasetRelated": true
},
{
"ID": "3c0feb5a-e7f0-4e6a-b8ad-094c81999fdd",
"Name": "OutputDataset",
"Alias": "输出转换后数据",
"Desc": "",
"ParamType": "String",
"Direction": "Output",
"DefaultValueString": "",
"IsDatasetRelated": true
}
],
"Version": "2.0",
"PluginType": "Application",
"FrameworkType": "GeoHPC",
"PluginState": "Distributed",
"CreateTime": "2018-11-09 00:00:00",
"UpdateTime": "2019-07-19 15:55:00",
"UploadUser": "admin",
"ProgramName": "ConvPluginExecutor.exe"
},
{
"ID": "5c2da60a-17ea-453f-912e-9ee750cd032d",
"Name": "Rotate",
"Alias": "栅格旋转",
"Desc": "Atlas 插件包注册规范示例程序",
"CategoryID": "a16f86d7-4249-4500-941c-5c15c0f12ea7",
"Parameters": [
{
"ID": "5b8943a0-bf84-416b-94cd-3d4bc40afcce",
"Name": "InputRaster",
"Alias": "输入栅格数据",
"Desc": "",
"ParamType": "String",
"Direction": "Input",
"DefaultValueString": "",

"IsDatasetRelated": true
},
{
"ID": "0c7e0b3c-7d64-458e-9d16-9b423feef5e8",
"Name": "OutputRaster",
"Alias": "输出栅格数据",
"Desc": "",
"ParamType": "String",
"Direction": "Output",
"DefaultValueString": "",
"IsDatasetRelated": true
},
{
"ID": "113832f7-0733-4d1f-bf81-123cf95056fe",
"Name": "Angle",
"Alias": "旋转角度",
"Desc": "",
"ParamType": "String",
"Direction": "Input",
"DefaultValueString": "",
"IsDatasetRelated": false
}
],
"Version": "2.0",
"PluginType": "Application",
"FrameworkType": "GeoHPC",
"PluginState": "Distributed",
"CreateTime": "2018-11-09 00:00:00",
"UpdateTime": "2019-07-19 15:55:01",
"UploadUser": "admin",
"ProgramName": "ConvPluginExecutor.exe"
},
{
"ID": "d47621f6-381d-4dbc-b1d9-f40caf4f66c7",
"Name": "Resample",
"Alias": "重采样",
"Desc": "Atlas 插件包注册规范示例程序",
"CategoryID": "a16f86d7-4249-4500-941c-5c15c0f12ea7",
"Parameters": [
{
"ID": "6821f331-9c47-4e18-be4f-d56b144fa2fb",
"Name": "InputRaster",
"Alias": "输入栅格数据",
"Desc": "",
"ParamType": "String",
"Direction": "Input",
"DefaultValueString": "",
"IsDatasetRelated": true
},

{
"ID": "481e3348-14b1-44dd-b2e4-719104e382a6",
"Name": "OutputRaster",
"Alias": "输出栅格数据",
"Desc": "",
"ParamType": "String",
"Direction": "Output",
"DefaultValueString": "",
"IsDatasetRelated": true
},
{
"ID": "47fbfe52-0fee-497e-afec-1f3aef56a1ea",
"Name": "Size",
"Alias": "像元大小",
"Desc": "",
"ParamType": "Double",
"Direction": "Input",
"DefaultValueString": "",
"IsDatasetRelated": false
}
],
"Version": "2.0",
"PluginType": "Application",
"FrameworkType": "GeoHPC",
"PluginState": "Distributed",
"CreateTime": "2018-11-09 00:00:00",
"UpdateTime": "2019-07-19 15:55:01",
"UploadUser": "admin",
"ProgramName": "ConvPluginExecutor.exe"
}
]
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811

返回结果

状态码 状态码含义 说明 数据模型
200 OK Get all plugins Inline

返回数据结构

状态码 200

名称 类型 必选 约束 中文 说明
ID string true


Name string true


Alias string true


Desc string true


CategoryID string true


Parameters object true


>ID string true


>Name string true


>Alias string true


>Desc string true


>ParamType string true


>Direction string true


>DefaultValueString string true


>IsDatasetRelated boolean true


Version string true


PluginType string true


FrameworkType string true


PluginState string true


CreateTime string true


UpdateTime string true


UploadUser string true


ProgramName string true


# DELETE Delete Plugin

DELETE /atlas/plugin

接口说明

delete a plugin.

请求参数

名称 位置 类型 必选 说明
pluginid query string

返回示例

200 Response
{}

返回结果

状态码 状态码含义 说明 数据模型
200 OK 成功 Inline

# GET Get Plugin

GET /atlas/plugin/get

请求参数

名称 位置 类型 必选 说明
name query string name 或 id 参数必须指定一个

返回示例

Get plugin by name
{
"ID": "5e6c1d66-dd13-4fd2-9257-785f88e725ec",
"Name": "Tool5s",
"Alias": "Tool5s",
"Desc": "仅仅用于测试并行的 exe 控制台程序",
"CategoryID": "86413b74-f49c-4d78-a308-a350dd32b69a",
"Parameters": [
{
"ID": "6dcc811a-b628-468a-b216-8dd42229c2da",
"Name": "IntervalTime",
"Alias": "time to tick",
"Desc": "",
"ParamType": "Int32",
"Direction": "Input",
"DefaultValueString": "1000",
"IsRequired": true,
"Order": 0,
"IsDatasetRelated": false
},
{
"ID": "8bcef831-5420-4f25-aa8a-7da6a7889512",
"Name": "ThreadCount",
"Alias": "threads to run",
"Desc": "",
"ParamType": "Int32",
"Direction": "Input",
"DefaultValueString": "2",
"IsRequired": true,
"Order": 1,
"IsDatasetRelated": false
}
],
"Version": "1.0",
"PluginType": "Application",
"FrameworkType": "GeoHPC",
"PluginState": "Distributed",

"MetaFileName": "Tool5s1.0\\Tool5s.xml",
"IsDistributed": true,
"IsInteractive": false,
"CreateTime": "2016-01-12 00:00:00",
"UpdateTime": "2019-08-05 16:58:20",
"UploadUser": "admin",
"ProgramName": "Tool5s.exe",
"PluginPackage": {
"ID": "29309133-9be9-4f8a-b2f5-6b17c41c32e4",
"Name": "Tool5s",
"Alias": "Tool5s",
"CategoryID": "86413b74-f49c-4d78-a308-a350dd32b69a",
"EntryPoint": "Tool5s.exe",
"Version": "1.0",
"PluginType": "Application",
"IsInteractive": false,
"OSType": 0,
"OSVersion": "",
"CpuArch": 0,
"RuntimeList": [],
"FrameworkType": "GeoHPC",
"FrameworkVersion": "",
"Developer": "geoway 公司",
"ReleaseTime": "2016-01-12 00:00:00",
"Copyright": "geoway.Parallel",
"PhoneNumber": "",
"Introduction": "仅仅用于测试并行的 exe 控制台程序"
},
"IsMonopolized": true
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68

返回结果

状态码 状态码含义 说明 数据模型
200 OK Get plugin by name Inline

返回数据结构

状态码 200

名称 类型 必选 约束 中文 说明
ID string true


Name string true


Alias string true


Desc string true


CategoryID string true


Parameters object true


>ID string true


>Name string true


>Alias string true


>Desc string true


>ParamType string true


>Direction string true


>DefaultValueString string true


>IsRequired boolean true


>Order integer true


>IsDatasetRelated boolean true


Version string true


PluginType string true


FrameworkType string true


PluginState string true


MetaFileName string true


IsDistributed boolean true


IsInteractive boolean true


CreateTime string true


UpdateTime string true


UploadUser string true


ProgramName string true


PluginPackage object true


>ID string true


>Name string true


>Alias string true


>CategoryID string true


>EntryPoint string true


>Version string true


>PluginType string true


>IsInteractive boolean true


>OSType integer true


>OSVersion string true


>CpuArch string true


>RuntimeList string true


>FrameworkType string true


>FrameworkVersion string true


>Developer string true


>ReleaseTime string true


>Copyright string true


>PhoneNumber string true


>Introduction string true


IsMonopolized boolean true


# GET Count Plugins

GET /atlas/plugin/count

接口说明

Get count of all plugins.

返回示例

Count Plugins
{
"flag": true,
"msg": "35"
}
1
2
3
4
5

返回结果

状态码 状态码含义 说明 数据模型
200 OK Count Plugins Inline

返回数据结构

状态码 200

名称 类型 必选 约束 中文 说明
flag boolean true


msg string true


# POST Register plugin

POST /atlas/plugin/register

接口说明

Register plugin by uploading plugin zip package file.

请求参数

名称 位置 类型 必选 说明
catid query string
body body object Body 请求参数
plg-zipfile: string
plg-zipfile body string(binary)

返回示例

200 Response
{}

返回结果

状态码 状态码含义 说明 数据模型
200 OK 成功 Inline

# GET Get Plugin Params

GET /atlas/plugin/params

请求参数

名称 位置 类型 必选 说明
pluginid query string

返回示例

Get plugin Params by plugin ID
[
{
"ID": "80ef9f16-39c3-4550-b40e-33b0a7f13bb0",
"Name": "Operation",
"Alias": "operation to run",
"Desc": "",
"ParamType": "String",
"Direction": "Input",
"DefaultValueString": "getip",
"IsRequired": true,
"Order": 0,
"IsDatasetRelated": false
},
{
"ID": "62f34092-2745-4a05-b8ab-7cf8b21b4622",
"Name": "If Else",
"Alias": "test bool param",
"Desc": "",
"ParamType": "Boolean",



"Direction": "Input",
"DefaultValueString": "True",
"IsRequired": true,
"Order": 1,
"IsDatasetRelated": false
},
{
"ID": "ea603488-24e4-49ce-a1f3-0f113ae34876"
"Name": "Alpha",
"Alias": "test Byte param",
"Desc": "",
"ParamType": "Byte",
"Direction": "Input",
"DefaultValueString": "255",
"IsRequired": true,
"Order": 2,
"IsDatasetRelated": false
},
{
"ID": "a2882870-5a5d-4e13-a888-fffaa7adecd2"
"Name": "RefreshTimes",
"Alias": "test Int32 param",
"Desc": "",
"ParamType": "Int32",
"Direction": "Input",
"DefaultValueString": "1449",
"IsRequired": true,
"Order": 3,
"IsDatasetRelated": false
},
{
"ID": "b4388cca-26b2-43cb-91b4-287f26208bff"
"Name": "CoordX",
"Alias": "test Double param",
"Desc": "",
"ParamType": "Double",
"Direction": "Input",
"DefaultValueString": "113.669764",
"IsRequired": true,
"Order": 4,
"IsDatasetRelated": false
},
{
"ID": "e60b59d4-95d9-4f85-91db-561513c2ae5f"
"Name": "WKT",
"Alias": "test String param",
"Desc": "",
"ParamType": "String",
"Direction": "Input",
"DefaultValueString": "a bcd123",
,

"IsRequired": true,
"Order": 5,
"IsDatasetRelated": false
},
{
"ID": "a64bc8b8-23a9-48e0-bbb7-4fd33c7f973c",
"Name": "ShpFilename",
"Alias": "test File param",
"Desc": "",
"ParamType": "File",
"Direction": "Input",
"DefaultValueString": "",
"IsRequired": true,
"Order": 6,
"IsDatasetRelated": false
},
{
"ID": "4e940976-a55a-4720-9a6d-8fa929373aa9",
"Name": "FileGDBPath",
"Alias": "test Folder param",
"Desc": "",
"ParamType": "Folder",
"Direction": "Input",
"DefaultValueString": "",
"IsRequired": true,
"Order": 7,
"IsDatasetRelated": false
}
]
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104

返回结果

状态码 状态码含义 说明 数据模型
200 OK Get plugin Params by plugin ID Inline

返回数据结构

状态码 200

名称 类型 必选 约束 中文 说明
ID string true


Name string true


Alias string true


Desc string true


ParamType string true


Direction object true


DefaultValueString string true


IsRequired boolean true


Order integer true


IsDatasetRelated boolean true


# GET Get Package Info

GET /atlas/plugin/package

接口说明

Get plugin package infomation.

请求参数

名称 位置 类型 必选 说明
pluginid query string

返回示例

Get Package Info by pluging name
{
"ID": "30b4a109-13f6-4502-92fd-80e20aa6f587",
"Name": "Tool5s",
"Alias": "Tool5s",
"CategoryID": "e38900fa-d027-4d75-b903-7ceea819675f",
"EntryPoint": "Tool5s.exe",
"Version": "1.0",
"PluginType": "Application",
"IsInteractive": false,
"OSType": 0,
"OSVersion": "",
"CpuArch": 0,
"RuntimeList": [],
"FrameworkType": "GeoHPC",
"FrameworkVersion": "",
"Developer": "geoway 公司",
"ReleaseTime": "2016-01-12 00:00:00",
"Copyright": "geoway.Parallel",
"PhoneNumber": "",
"Introduction": "仅仅用于测试并行的 exe 控制台程序"
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

返回结果

状态码 状态码含义 说明 数据模型
200 OK Get Package Info by pluging name Inline

返回数据结构

状态码 200

名称 类型 必选 约束 中文 说明
ID string true


Name string true


Alias string true


CategoryID string true


EntryPoint string true


Version string true


PluginType string true


IsInteractive boolean true


OSType integer true


OSVersion string true


CpuArch string true


RuntimeList string true


FrameworkType string true


FrameworkVersion string true


Developer string true


ReleaseTime string true


Copyright string true


PhoneNumber string true


Introduction string true


# GET Distribute Plugin

GET /atlas/plugin/distribute

接口说明

Distribute and install a plugin in each compute node.

请求参数

名称 位置 类型 必选 说明
pluginid query string

返回示例

200 Response
{}

返回结果

状态码 状态码含义 说明 数据模型
200 OK 成功 Inline

# GET Query Distributing Plugins

GET /atlas/plugin/distributing

接口说明

Query plugins which are distributing now.

返回示例

200 Response
{}

返回结果

状态码 状态码含义 说明 数据模型
200 OK 成功 Inline

# GET Check Distribution

GET /atlas/plugin/listdistributed

接口说明

Check plugin packages in each process node, confirm that every plugin is distributed into the node.

请求参数

名称 位置 类型 必选 说明
thin query string thin 开启后,不需加载插件列表

返回示例

Check Distribution
{
"Abstract": "总共 6 个插件包,7 个节点,发现 0 项发布异常。", "DistributionTable": {
"DistTable": {
"192.98.19.16": {
"GoverlayREST1.6.0": true
},
"192.98.19.11": {
"GoverlayREST1.6.0": true
},
"192.98.19.13": {
"GoverlayREST1.6.0": true
},
"192.98.19.12": {
"GoverlayREST1.6.0": true
},

"172.16.84.221": {
"数据转换算子 2.0": true,
"RunBat1.0": true,
"multi Plg1.0": true,
"导入导出算子 2.0": true,
"Tool5s1.0": true
},
"192.98.19.15": {
"GoverlayREST1.6.0": true
},
"192.98.19.14": {
"GoverlayREST1.6.0": true
}
}
},
"PluginPacks": [
{
"PackageName": "数据转换算子 2.0",
"EntryPoint": "ConvPluginExecutor.exe",
"Framework": "GeoHPC",
"PluginCount": 20
},
{
"PackageName": "RunBat1.0",
"EntryPoint": "runbat.bat",
"Framework": "GeoHPC",
"PluginCount": 1
},
{
"PackageName": "multi Plg1.0",
"EntryPoint": "multi Plg.exe",
"Framework": "GeoHPC",
"PluginCount": 4
},
{
"PackageName": "GoverlayREST1.6.0",
"EntryPoint": "zookeeper:/atlas/plugin/GoverlayREST-v1.6.0",
"Framework": "Spark",
"PluginCount": 12
},
{
"PackageName": "导入导出算子 2.0",
"EntryPoint": "DataTransferExe.exe",
"Framework": "GeoHPC",
"PluginCount": 3
},
{
"PackageName": "Tool5s1.0",
"EntryPoint": "Tool5s.exe",

"Framework": "GeoHPC",
"PluginCount": 1
}
],
"ComputeNodes": [
{
"Name": "rt67-6",
"IPAddress": "192.98.19.16",
"Framework": "Hadoop",
"DistPath": "/home/hadoop/atlas/plugins"
},
{
"Name": "rt67-1",
"IPAddress": "192.98.19.11",
"Framework": "Hadoop",
"DistPath": "/home/hadoop/atlas/plugins"
},
{
"Name": "rt67-3",
"IPAddress": "192.98.19.13",
"Framework": "Hadoop",
"DistPath": "/home/hadoop/atlas/plugins"
},
{
"Name": "rt67-2",
"IPAddress": "192.98.19.12",
"Framework": "Hadoop",
"DistPath": "/home/hadoop/atlas/plugins"
},
{
"Name": "sfg-PC",
"IPAddress": "172.16.84.221",
"Framework": "GeoHPC",
"DistPath": "F:\\GeoHPC_SharePath\\Tools"
},
{
"Name": "rt67-5",
"IPAddress": "192.98.19.15",
"Framework": "Hadoop",
"DistPath": "/home/hadoop/atlas/plugins"
},
{
"Name": "rt67-4",
"IPAddress": "192.98.19.14",
"Framework": "Hadoop",
"DistPath": "/home/hadoop/atlas/plugins"
}
]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116

返回结果

状态码 状态码含义 说明 数据模型
200 OK Check Distribution Inline

返回数据结构

状态码 200

名称 类型 必选 约束 中文 说明
Abstract string true


DistributionTable object true


>DistTable object true


PluginPacks object true


>PackageName string true


>EntryPoint string true


>Framework string true


>PluginCount integer true


ComputeNodes object true


>Name string true


>IPAddress string true


>Framework string true


>DistPath string true


# GET New Category

GET /atlas/plugin/addcategory

接口说明

Create a new plugin category.

请求参数

名称 位置 类型 必选 说明
pid query string
name query string

返回示例

New Category
{
"ID": "6a1e720c-65ff-44b6-a786-62545f034650",
"PID": "-1",
"Name": "New Category",
"Desc": "New Category"
}
1
2
3
4
5
6
7

返回结果

状态码 状态码含义 说明 数据模型
200 OK New Category Inline

返回数据结构

状态码 200

名称 类型 必选 约束 中文 说明
ID string true


PID string true


Name string true


Desc string true


# GET Get Plugin Categories

GET /atlas/plugin/categories

返回示例

200 Response
{}

返回结果

状态码 状态码含义 说明 数据模型
200 OK 成功 Inline

# GET Redistribute Category

GET /atlas/plugin/distributecat

接口说明

Redistribute all plugins in the category.
Set argument catid=* will redistribute all plugins in the system.

请求参数

名称 位置 类型 必选 说明
catid query string

返回示例

Redistribute Category
{
"flag": true,
"msg": "发布成功"
}
Redistribute all plugins - Failed
{
"flag": false,
"msg": "插件批量发布失败:下列插件包发布失败:\r\nGoverlayREST1.6.0" }
1
2
3
4
5
6
7
8
9

返回结果

状态码 状态码含义 说明 数据模型
200 OK Redistribute Category Inline
500 Internal Server Error Redistribute all plugins - Failed Inline

返回数据结构

状态码 200

名称 类型 必选 约束 中文 说明
flag string true


msg string true


状态码 500

名称 类型 必选 约束 中文 说明
flag string true


msg string true


# GET Delete Plugin Categories

GET /atlas/plugin/deletecats

接口说明

Delete plugin categories by cat-ids.
In argument [cids], each category id should be delimited by commas ','.

请求参数

名称 位置 类型 必选 说明
cids query string

返回示例

200 Response
{}

返回结果

状态码 状态码含义 说明 数据模型
200 OK 成功 Inline

# GET Statistic Plugins

GET /atlas/plugin/statistic

接口说明

Query plugin statistic counts. and also workflow counts.

返回示例

Statistic Plugins
{
"Total PluginCount": 41,
"GeoHPCCount": 29,
"GSparkCount": 12,
"DistributedCount": 41,
"NotDistributedCount": 0,
"TotalWorkflowCount": 10
}
1
2
3
4
5
6
7
8
9

返回结果

状态码 状态码含义 说明 数据模型
200 OK Statistic Plugins Inline

返回数据结构

状态码 200

名称 类型 必选 约束 中文 说明
TotalPluginCount integer true


GeoHPCCount integer true


>GSparkCount integer true


DistributedCount integer true


>NotDistributedCount integer true


>TotalWorkflowCount integer true


# 元数据

# GET Get Datametas

GET /atlas/dataset

接口说明

get all atlas dataset metas.
获取所有用于计算的空间数据的元数据信息

请求参数

名称 位置 类型 必选 说明
filter query string 过滤条件,支持过滤的属性有:
categoryid: 按照分组查询;
name: 按照名称或数据路径模糊搜索;

返回示例

Get Datametas
[
{
"ID": "1-2-3-001",
"Name": "地类图斑",
"CategoryID": "8a30d452-2e81-4721-bfee-be665ab4ede7",
"StorageType": "HDFS",
"GeoType": "POLYGON",

"FormatType": "WKT",
"Timestamp": "2019-04-23 14:41:34",
"DataPath": "/sparkdata/wktTiled",
"SourcePath": "postgresql://postgres/postgres@192.98.100.127:5432/s
fgtest/sfg?objectid,shape",
"SRID": 4610,
"BBox": "117.047597914,36.850724405,117.048722036,36.852695427",
"Scalevel": 11,
"RecordCount": 1858,
"DataSize": 1645913,
"PartsCount": 1
}
]
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

返回结果

状态码 状态码含义 说明 数据模型
200 OK Get Datametas Inline

返回数据结构

状态码 200

名称 类型 必选 约束 中文 说明
ID string false


Name string false


CategoryID string false


StorageType string false


GeoType string false


FormatType string false


Timestamp string false


DataPath string false


SourcePath string false


SRID integer false


BBox string false


Scalevel integer false


RecordCount integer false


DataSize integer false


PartsCount integer false


# DELETE Delete Datameta

DELETE /atlas/dataset
接口说明
删除元数据(可批量,逻辑删除数据信息,不删除物理数据)

请求参数

名称 位置 类型 必选 说明
ids query string

返回示例

200 Response
{}

返回结果

状态码 状态码含义 说明 数据模型
200 OK 成功 Inline

# GET Get by ID

GET /atlas/dataset/get

接口说明

通过 ID 来获取对应空间数据的元数据信息。多个ID用逗号分开

请求参数

名称 位置 类型 必选 说明
id query string

返回示例

200 Response
{}

返回结果

状态码 状态码含义 说明 数据模型
200 OK 成功 Inline

# GET List Datametas in Category

GET /atlas/dataset/dataincats

接口说明

查询目录下面的所有元数据(可指定多个不嵌套的目录,递归查找子目录)

请求参数

名称 位置 类型 必选 说明
catids query string Each id should be delimited by commas ','

返回示例

200 Response
{}

返回结果

状态码 状态码含义 说明 数据模型
200 OK 成功 Inline

# POST Register Datameta

POST /atlas/dataset/register

接口说明

Register a dataset meta in json format.

data={
"Name": "地类图斑",
"CategoryID": "8a30d452-2e81-4721-bfee-be665ab4ede7",
"StorageType": "HDFS",
"GeoType": "POLYGON",
"FormatType": "WKT",
"Timestamp": "2019-04-23 14:41:34",
"DataPath": "/sparkdata/wktTiled",
"SourcePath":
"postgresql://postgres/postgres@192.98.100.127:5432/sfgtest/sfg?objectid,shape
"
,
"SRID": 4610,
"BBox": "117.047597914,36.850724405,117.048722036,36.852695427",
"Scalevel": 11,
"RecordCount": 1858,
"DataSize": 1645913,
"PartsCount": 1
}
Body 请求参数
> -
data={
"Name": "地类图斑",
"CategoryID": "8a30d452-2e81-4721-bfee-be665ab4ede7",
"StorageType": "HDFS",
"GeoType": "POLYGON",
"FormatType": "WKT",
"Timestamp": "2019-04-23 14:41:34",
"DataPath": "/sparkdata/wktTiled",
"SourcePath": "postgresql://postgres/postgres@192.98.100.127:5432/s
fgtest/sfg?objectid,shape",
"SRID": 4610,

"BBox": "117.047597914,36.850724405,117.048722036,36.852695427",
"Scalevel": 11,
"RecordCount": 1858,
"DataSize": 1645913,
"PartsCount": 1
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39

请求参数

名称 位置 类型 必选 说明
body body string

返回示例

200 Response
{}

返回结果

状态码 状态码含义 说明 数据模型
200 OK 成功 Inline

# GET Get Layer-meta

GET /atlas/dataset/layermeta

接口说明

Get the layer metadata of the dataset.
获取数据集对应的图层瓦片信息(系统自动加载数据到 Spark RDD)

请求参数

名称 位置 类型 必选 说明
id query string detameta id

返回示例

{
"rddExtent": {
"minx": 119.1796875,
"maxx": 120.5859375,
"miny": 35.5078125,
"maxy": 36.2109375
},
"rddExtentRect": "POLYGON((119.1796875 35.5078125,120.5859375 35.5078
125,120.5859375 36.2109375,119.1796875 36.2109375,119.1796875 35.507812
5))",
"rddPartsNum": 8,
"rddParts": [

{
"pid": 0,
"tile": {
"row": 153,
"col": 851,
"zoom": 10
},
"partEnv": {
"minx": 119.1796875,
"maxx": 119.53125,
"miny": 35.859375,
"maxy": 36.2109375
},
"partRect": "POLYGON((119.1796875 35.859375,119.53125 35.859375,1
19.53125 36.2109375,119.1796875 36.2109375,119.1796875 35.859375))"
},
{
"pid": 1,
"tile": {
"row": 153,
"col": 852,
"zoom": 10
},
"partEnv": {
"minx": 119.53125,
"maxx": 119.8828125,
"miny": 35.859375,
"maxy": 36.2109375
},
"partRect": "POLYGON((119.53125 35.859375,119.8828125 35.859375,1
19.8828125 36.2109375,119.53125 36.2109375,119.53125 35.859375))"
},
{
"pid": 2,
"tile": {
"row": 153,
"col": 853,
"zoom": 10
},
"partEnv": {
"minx": 119.8828125,
"maxx": 120.234375,
"miny": 35.859375,
"maxy": 36.2109375
},
"partRect": "POLYGON((119.8828125 35.859375,120.234375 35.859375,
120.234375 36.2109375,119.8828125 36.2109375,119.8828125 35.859375))"
},
{
"pid": 3,

"tile": {
"row": 153,
"col": 854,
"zoom": 10
},
"partEnv": {
"minx": 120.234375,
"maxx": 120.5859375,
"miny": 35.859375,
"maxy": 36.2109375
},
"partRect": "POLYGON((120.234375 35.859375,120.5859375 35.859375,
120.5859375 36.2109375,120.234375 36.2109375,120.234375 35.859375))"
},
{
"pid": 4,
"tile": {
"row": 154,
"col": 851,
"zoom": 10
},
"partEnv": {
"minx": 119.1796875,
"maxx": 119.53125,
"miny": 35.5078125,
"maxy": 35.859375
},
"partRect": "POLYGON((119.1796875 35.5078125,119.53125 35.5078125,
119.53125 35.859375,119.1796875 35.859375,119.1796875 35.5078125))"
},
{
"pid": 5,
"tile": {
"row": 154,
"col": 852,
"zoom": 10
},
"partEnv": {
"minx": 119.53125,
"maxx": 119.8828125,
"miny": 35.5078125,
"maxy": 35.859375
},
"partRect": "POLYGON((119.53125 35.5078125,119.8828125 35.5078125,
119.8828125 35.859375,119.53125 35.859375,119.53125 35.5078125))"
},
{
"pid": 6,
"tile": {
"row": 154,

"col": 853,
"zoom": 10
},
"partEnv": {
"minx": 119.8828125,
"maxx": 120.234375,
"miny": 35.5078125,
"maxy": 35.859375
},
"partRect": "POLYGON((119.8828125 35.5078125,120.234375 35.507812
5,120.234375 35.859375,119.8828125 35.859375,119.8828125 35.5078125))"
},
{
"pid": 7,
"tile": {
"row": 154,
"col": 854,
"zoom": 10
},
"partEnv": {
"minx": 120.234375,
"maxx": 120.5859375,
"miny": 35.5078125,
"maxy": 35.859375
},
"partRect": "POLYGON((120.234375 35.5078125,120.5859375 35.507812
5,120.5859375 35.859375,120.234375 35.859375,120.234375 35.5078125))"
}
],
"tileLevel": 10,
"srid": 0,
"rddAttrDefines": [
{
"name": "dlmc",
"id": 0,
"typeName": "Character"
}
]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154

返回结果

状态码 状态码含义 说明 数据模型
200 OK Get Layer-meta Inline

返回数据结构

状态码 200

名称 类型 必选 约束 中文 说明
rddExtent object true


>minx number true


>maxx number true


>miny number true


>maxy number true


rddExtentRect string true


rddPartsNum integer true


rddParts object true


>pid integer true


>tile object true


>>row integer true


>>col integer true


>>zoom integer true


>partEnv object true


>>minx number true


>>maxx number true


>>miny number true


>>maxy number true


>partRect string true


tileLevel integer true


srid integer true


rddAttrDefines object true


>name string false


>id integer false


>typeName string false


# GET Get Tile-Layer

GET /atlas/dataset/tilelayer

接口说明

Get the WMTS layer URL to view the dataset.
获取数据集对应的瓦片图层 URL(系统自动加载数据并发布地图图层)

请求参数

名称 位置 类型 必选 说明
id query string detameta id

返回示例

Get Tile-Layer
{
"flag": true,
"msg": "http://192.98.19.13:10009/map/2/{x}/{y}/{z}?proj=false"
}
1
2
3
4
5

返回结果

状态码 状态码含义 说明 数据模型
200 OK Get Tile-Layer Inline

返回数据结构

状态码 200

名称 类型 必选 约束 中文 说明
flag string true


msg string true


# GET New Category

GET /atlas/dataset/addcategory

接口说明

Create a new data category.
创建数据集目录

请求参数

名称 位置 类型 必选 说明
pid query string
name query string

返回示例

New Category
{
"ID": "6a1e720c-65ff-44b6-a786-62545f034650",
"PID": "-1",
"Name": "New Category",
"Desc": "New Category"
}
1
2
3
4
5
6
7

返回结果

状态码 状态码含义 说明 数据模型
200 OK New Category Inline

返回数据结构

状态码 200

名称 类型 必选 约束 中文 说明
ID string true


PID string true


Name string true


Desc string true


# GET Get Categories

GET /atlas/dataset/categories

接口说明

获取所有的数据集目录

返回示例

200 Response
{}

返回结果

状态码 状态码含义 说明 数据模型
200 OK 成功 Inline

# GET Delete Categories

GET /atlas/dataset/deletecats

接口说明

获取所有的数据集目录

请求参数

名称 位置 类型 必选 说明
cids query string each cat-id is delimited by commas ','

返回示例

200 Response
{}

返回结果

状态码 状态码含义 说明 数据模型
200 OK 成功 Inline

# 诊断信息

# GET Diagnose

GET /atlas/diagnose

接口说明

Get atlas server environment infomations.
获取 Atlas 计算环境信息

返回示例

Diagnose Linux Centos7
{
"OSName": "Linux 3.10.0-862.el7.x86_64 [CentOS Linux release 7.5.1804
(Core)]",
"HostName": "co7-1",
"UserName": "hadoop",
"CurrentPath": "/home/hadoop/atlas/v23/atlas2.3-debug",
"HomePath": "/home/hadoop",
"CpuArch": "X64",
"ProcessName": "dotnet",
"ProcessID": 112382,
"CmdArgs": "/home/hadoop/atlas/v23/atlas2.3-debug/Geoway.Atlas.Server.
dll",
"IPv4": "192.168.128.129",
"HardwareProfiles": {
"CPUCores": 2,
"TotalMemory": 3956297728,
"DiskSize": "43.77 GB",
"CPUUsing": "0 %",
"MemoryUsing": "17 %"
},
"PATH": [
"/opt/dotnetSDK-2.2.301",
"/home/hadoop/Cluster/hadoop-2.7.3/bin",
"/home/hadoop/Cluster/hadoop-2.7.3/sbin",
"/home/hadoop/Cluster/spark-2.3.0/bin",
"/home/hadoop/Cluster/spark-2.3.0/sbin",
"/home/hadoop/Java8/jdk1.8.0_171/bin",
"/usr/local/bin",
"/usr/bin",
"/usr/local/sbin",
"/usr/sbin",
"/home/hadoop/.local/bin",
"/home/hadoop/bin",
"/home/hadoop/atlas/v23"

]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38

返回结果

状态码 状态码含义 说明 数据模型
200 OK Diagnose Linux Centos7 Inline

返回数据结构

状态码 200

名称 类型 必选 约束 中文 说明
OSName string true


HostName string true


UserName string true


CurrentPath string true


HomePath string true


CpuArch string true


ProcessName string true


ProcessID integer true


CmdArgs string true


IPv4 string true


HardwareProfiles object true


>CPUCores integer true


>TotalMemory integer true


>DiskSize string true


>CPUUsing string true


>MemoryUsing string true


PATH string true


# GET CMD

GET /atlas/diagnose/cmd

接口说明

Run command in atlas server.
在 atlas 计算引擎服务端运行命令

请求参数

名称 位置 类型 必选 说明
cmdline query string

返回示例

CMD

返回结果

状态码 状态码含义 说明 数据模型
200 OK CMD Inline

# GET Diagnose Node

GET /atlas/diagnose/node

接口说明

get env of node.
获取节点的环境信息

请求参数

名称 位置 类型 必选 说明
ip query string
timeout query string

返回示例

Diagnose Node
{
"OSName": "Linux 3.10.0-862.el7.x86_64 [CentOS Linux release 7.5.1804
(Core)]",
"IPv4": "192.168.128.129",
"HostName": "co7-1",
"UserName": "hadoop",
"CurrentPath": "/home/hadoop/atlas/v23",
"HomePath": "/home/hadoop",
"CpuArch": "X64",
"ProcessName": "dotnet",
"ProcessID": 57951,
"CmdArgs": "/home/hadoop/atlas/v23/g hpc2.3/Geoway.Atlas.Client.dll",
"HardwareProfiles": {
"CPUCores": 2,
"TotalMemory": "3.68 GB",
"DiskSize": "43.77 GB",
"CPUUsing": "0 %",
"MemoryUsing": "18 %"
},
"PATH": [
"/opt/dotnetSDK-2.2.301",
"/home/hadoop/Cluster/hadoop-2.7.3/bin",
"/home/hadoop/Cluster/hadoop-2.7.3/sbin",
"/home/hadoop/Cluster/spark-2.3.0/bin",
"/home/hadoop/Cluster/spark-2.3.0/sbin",

"/home/hadoop/Java8/jdk1.8.0_171/bin",
"/usr/local/bin",
"/usr/bin",
"/usr/local/sbin",
"/usr/sbin",
"/home/hadoop/.local/bin",
"/home/hadoop/bin",
"/home/hadoop/atlas/v23"
]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37

返回结果

状态码 状态码含义 说明 数据模型
200 OK Diagnose Node Inline

返回数据结构

状态码 200

名称 类型 必选 约束 中文名 说明
OSName string true


IPv4 string true


HostName string true


UserName string true


CurrentPath string true


HomePath string true


CpuArch string true


ProcessName string true


ProcessID integer true


CmdArgs string true


HardwareProfiles object true


CPUCores integer true


TotalMemory string true


DiskSize string true


CPUUsing string true


MemoryUsing string true


PATH string true


# GET CMD on Node

GET /atlas/diagnose/nodecmd

接口说明

Run command line in node.
在计算节点上运行命令

请求参数

名称 位置 类型 必选 说明
ip query string
cmdline query string
timeout query string

返回示例

CMD on Node (Query HDD disks)

返回结果

状态码 状态码含义 说明 数据模型
200 OK CMD on Node (Query HDD disks) Inline

# 用户

# GET Get Current User

GET /atlas/user

接口说明

Get the current logged-in user (user info was contained in the request headers).
获取当前登录的用户信息
备注:需要配合 WebGate 网关使用,用户信息由网关写入请求头。

返回示例

{
"flag": false,
"msg": "用户未登录"
}
1
2
3
4

返回结果

状态码 状态码含义 说明 数据模型
500 Internal Server Error (opens new window) Get Current User - Unknown Inline

返回数据结构

状态码 500

名称 类型 必须 约束 说明
flag boolean true

msg string true

#