You can call this operation to query versions of Enterprise Distributed Application Service (EDAS) Container where an application is running.
Debugging
Request headers
This operation only uses common request headers. For more information, see the Common request parameters topic.
Request syntax
POST /pop/v5/app/build_pack_list HTTPS|HTTP
Request parameters
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
Code | Integer | 200 |
The returned code. |
Message | String | SUCCESS |
The returned message. |
RequestId | String | 4FD4-************* | |
BuildPackList | Array |
The returned list of EDAS Container versions. |
|
ConfigId | Long | 57 |
The returned version of EDAS Container. |
PackVersion | String | 3.5.6 |
The version of the application that is running on EDAS Container. |
TomcatDesc | String | 1. Updated the config-client plug-in to read caches in multi-tenant scenarios. 2. Updated the high-speed service framework (HSF) plug-in to fix the issue that the qos command of the Pandora container cannot be executed and the issue that the service address cannot be found when excessive services are subscribed by the HSF plug-in. 3. Upgraded all Fastjson-based plug-ins to the secure sec06 version. |
The description of the Tomcat container returned. |
TomcatVersion | String | 1 |
The version of the Tomcat container returned. |
TomcatDownloadUrl | String | http://edas.oss-cn-hangzhou.aliyuncs.com/edas-container/7.0.92/****-production-7.0.92.tar.gz |
The URL to download the installer of the Tomcat container returned. |
PandoraVersion | String | edas.public.sar.V3.5.6 |
The version of the Pandora container returned. |
PandoraDownloadUrl | String | http://edas.oss-cn-hangzhou.aliyuncs.com/****/taobao-hsf.tgz |
The URL to download the installer of the Pandora container returned. |
PandoraDesc | String | 1 |
The description of the Pandora container returned. |
PluginInfo | String | 1 |
The description of the plug-in used in EDAS Container. |
TomcatPath | String | taobao-tomcat-production-7.0.59.3 |
The name of the directory for storing the Tomcat container. |
ImageId | String | registry.aliyuncs.com/ed**/****-*********:*. *. * |
The ID of the base image corresponding to EDAS Container. |
TengineImageId | String | registry.aliyuncs.com/edas/****-*********-*****:*. *. * |
The ID of the Tengine image corresponding to EDAS Container. |
MultipleTenant | Boolean | true |
Indicates whether EDAS Container supports multiple tenants. |
WithTengine | Boolean | true |
Indicates whether EDAS Container supports traffic management. |
TengineDownloadUrl | String | http://edas.oss-cn-hangzhou.aliyuncs.com/****/tengine.sh |
The URL to download the installer of Tengine. |
ScriptName | String | default |
The name of the script that runs EDAS Container. |
ScriptVersion | String | 1.0.3 |
The version of the script that runs EDAS Container. |
Feature | String | "" |
The features of the EDAS Container version, which have been released for public preview. |
SupportFeatures | String | tengine,fatjar,restful,eip_nodeport,dpath |
The features supported by EDAS Container. |
Disabled | Boolean | false |
Indicates whether the EDAS Container version is disabled. A disabled version cannot be configured for use. |
Examples
Sample requests
POST /pop/v5/app/build_pack_list HTTP/1.1
Common request headers
Sample success responses
JSON
format
{
"Message": "success",
"Code": 200,
"BuildPackList": {
"BuildPack": [
{
"ImageId": "registry.aliyuncs.com/edas/***********",
"ScriptVersion": "1.0.0",
"PackVersion": "2.0",
"TomcatVersion": "NULL",
"ConfigId": 11,
"TomcatDesc": "The Tomcat container is fully compatible with Tomcat 6.x series, and supports the distributed service framework, O&M, and tracing analysis.",
"TomcatDownloadUrl": "http://edas.oss-cn-*************",
"WithTengine": false,
"ScriptName": "default",
"PandoraDownloadUrl": "http://edas.oss-cn-***********",
"PandoraVersion": "2.1.0.7-YUN",
"TomcatPath": "taobao-tomcat-7.0.59",
"Disabled": true,
"PluginInfo": "hsf:2.1.0.8.edas;config-client:1.6.6-spas-SNAPSHOT;diamond:3.7.1;eagleeye:1.3.1;spas-sdk-client:1.1.3-SNAPSHOT;spas-sdk-service:1.1.5-SNAPSHOT",
"MultipleTenant": false
}
]
}
}
XML
format
<Message>success</Message>
<Code>200</Code>
<BuildPackList>
<BuildPack>
<ImageId>registry.aliyuncs.com/edas/***********</ImageId>
<ScriptVersion>1.0.0</ScriptVersion>
<PackVersion>2.0</PackVersion>
<TomcatVersion>NULL</TomcatVersion>
<ConfigId>11</ConfigId>
<TomcatDesc>The Tomcat container is fully compatible with Tomcat 6.x series, and supports the distributed service framework, O&M, and tracing analysis.</TomcatDesc>
<TomcatDownloadUrl>http://edas.oss-cn-*************</TomcatDownloadUrl>
<WithTengine>false</WithTengine>
<ScriptName>default</ScriptName>
<PandoraDownloadUrl>http://edas.oss-cn-***********</PandoraDownloadUrl>
<PandoraVersion>2.1.0.7-YUN</PandoraVersion>
<TomcatPath>taobao-tomcat-7.0.59</TomcatPath>
<Disabled>true</Disabled>
<PluginInfo>hsf:2.1.0.8.edas;config-client:1.6.6-spas-SNAPSHOT;diamond:3.7.1;eagleeye:1.3.1;spas-sdk-client:1.1.3-SNAPSHOT;spas-sdk-service:1.1.5-SNAPSHOT</PluginInfo>
<MultipleTenant>false</MultipleTenant>
</BuildPack>
</BuildPackList>
Error codes
For a list of error codes, visit the API Error Center.