Skip to content

Upload App on the IE Hub

This document highlights steps to create and manage app versions on the IE Hub.

Quick Start Guide

Add IE Hub Configuration to access IE Hub

To access and use IE Hub commands, you must first add an IE Hub configuration. To add an IE Hub configuration, use the following command:

$ iectl config add iehub \
        --name "configname" \                                   # name of the configuration being added in lower case
        --url "https://iehub.eu1-int.edge.siemens.cloud/" \     # URL of IEHUB on which you want perform operations. Provide URL without hub name, e.g.: https://iehub.eu1.edge.siemens.cloud   
        --user "user_email_address" \                           # accepts email address used for IEHUB login 
        --password "password"   \                               # password for IEHUB CLI user

Alternatively, you can add an IE Hub configuration by using the following command with the --password-stdin flag:

$ iectl config add iehub \
        --name "configname" \                                   # name of the configuration being added in lower case
        --url "https://iehub.eu1-int.edge.siemens.cloud/" \     # URL of IEHUB on which you want perform operations. Provide URL without hub name, e.g.: https://iehub.eu1.edge.siemens.cloud   
        --user "user_email_address" \                           # accepts email address used for IEHUB login 
        --password-stdin   \                               # set password from stdin for login

Create App

You can create an app on the IE Hub with the following command :

$ iectl iehub product-management create \
        --app-name "application_name" \ 
        --documentation-url "www.mydocuurl.com" \
        --icon-path "/home/user/icon.png" \

Create App Version

You can create an app version on the IE Hub with the following command :

$ iectl iehub product-management version create \
        --app-name "application_name" \ 
        --version "0.0.1"  \

After version creation, you can activate the version.

Upload an App Version

You can upload the app version with the following command :

$ iectl iehub product-management version upload \
        --app-binary "/home/user/Downloads/R62jNZVpJNGvGK9b3vbeOWG5OHu7nbbu_0.0.1.app" \        # "/home/user/Downloads/R62jNZVpJNGvGK9b3vbeOWG5OHu7nbbu_0.0.1.app" is path of the location where app binary is available
        --app-name  "application_name" \
        --oss-source-code "/home/user/Downloads/app.zip"  \                                     # "/home/user/Downloads/app.zip"  is location of the file of oss source code (optional)
        --readme "/home/user/Downloads/app.zip" \                                               # "/home/user/Downloads/app.zip" is path to the location of OSS ReadMe (optional)
        --version  "0.0.1"   \                                                                  # "0.0.1"  is version to which binary will be associated

After version upload, you can review the version.

Review App Version

You can review an app version on the IE Hub with the following command :

$ iectl iehub product-management version get-details \
        --app-name "application_name" \ 
        --version "0.0.1"  \

Release App Version privately

You can release the app version privately only after review with the following command :

$ iectl iehub product-management version private-release \
        --app-name "application_name" \ 
        --version "0.0.1"  \

Release App Version publicly

You can release the app version publicly(App must be privately released) with the following command :

$ iectl iehub product-management version public-release \
        --app-name "application_name" \ 
        --version "0.0.1"  \