在 cumulocity 中托管应用程序的设置
Settings for hosting an application in cumulocity
我想通过上传的档案将应用程序配置为托管在 cumulocity。
documentation 显示两种应用程序类型,HOSTED
和 EXTERNAL
。
如果我将类型设置为 HOSTED
,它需要引用存储库的参数 resourcesUrl
。
创建带有插件的应用程序需要哪些步骤,
哪个托管在 cumulocity 而不是来自存储库?
cumulocity.json
{
"availability": "PRIVATE",
"contextPath": "appContextPath",
"key": "appKey",
"name": "appName",
"type": "HOSTED",
"resourcesUrl": "appResourceUrl",
"imports": [
"core/c8yBranding",
"core/deviceList",
"appKey/plugin",
"devicemanagement/deviceRegistration",
"devicemanagement/measurements",
"devicemanagement/groupsHierarchy",
"devicemanagement/location",
"devicemanagement/deviceGroupList",
"devicemanagement/deviceListMap",
"devicemanagement/logViewer"
]
}
对于作为 ZIP 文件上传的 HOSTED
应用程序,有效的 resourcesURL
将是 "/"
。
我想通过上传的档案将应用程序配置为托管在 cumulocity。
documentation 显示两种应用程序类型,HOSTED
和 EXTERNAL
。
如果我将类型设置为 HOSTED
,它需要引用存储库的参数 resourcesUrl
。
创建带有插件的应用程序需要哪些步骤,
哪个托管在 cumulocity 而不是来自存储库?
cumulocity.json
{
"availability": "PRIVATE",
"contextPath": "appContextPath",
"key": "appKey",
"name": "appName",
"type": "HOSTED",
"resourcesUrl": "appResourceUrl",
"imports": [
"core/c8yBranding",
"core/deviceList",
"appKey/plugin",
"devicemanagement/deviceRegistration",
"devicemanagement/measurements",
"devicemanagement/groupsHierarchy",
"devicemanagement/location",
"devicemanagement/deviceGroupList",
"devicemanagement/deviceListMap",
"devicemanagement/logViewer"
]
}
对于作为 ZIP 文件上传的 HOSTED
应用程序,有效的 resourcesURL
将是 "/"
。