我想通过上传的档案将应用程序配置为在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"
]
}
答案 0 :(得分:1)
对于以ZIP文件形式上传的HOSTED
个应用,有效resourcesURL
将为"/"
。