【问题标题】:Settings for hosting an application in cumulocity在 cumulocity 中托管应用程序的设置
【发布时间】:2016-10-16 16:51:13
【问题描述】:

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

documentation 显示两种应用程序类型,HOSTEDEXTERNAL

如果我将类型设置为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"
    ]
}

【问题讨论】:

    标签: cumulocity


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-05-14
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多