3

我想将应用程序配置为通过上传的档案托管在 cumulocity 上。

文档显示了两种应用程序类型,HOSTED以及EXTERNAL.

如果我将类型设置为HOSTED,它需要 params 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"
    ]
}
4

1 回答 1

1

对于HOSTED作为 ZIP 文件上传的应用程序,有效的resourcesURL"/".

于 2016-06-28T10:33:27.173 回答