2016-06-15 54 views
3

我想通過上傳的存檔將應用程序配置爲在cumulocity託管。用於在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" 
    ] 
} 

回答

1

對於上傳的ZIP HOSTED應用程序的文件有效resourcesURL"/"

+0

謝謝你的信息,Piotr – Meykel