Synopsis - Manual - Industrial Edge - Industrial Edge - Industrial Edge - Documentation of Industrial Edge APIs - CLI tools - Industrial Edge - References - APIs

Industrial Edge Platform Operation - APIs & References

Product
Industrial Edge
Edition
12/2024
Language
en-US (original)

The below iem_to_ied.yaml manifest file will upload your application to catalog and then install it to IED with given device ID:

variables :
  iemUrl: "https://165.218.238.83:9443"
  iemUser: "username@siemens.com"
  iemPass: "password"
commands: 
  - command:
    target: config
    resource: add.iem
    parameters:
      name: "iem_config"
      url: "${{iemUrl}}"
      user: "${{iemUser}}"
      password: "${{iemPass}}"
  - command:
    target: publisher
    resource: app-project.upload.catalog
    parameters: 
      filepath: "/path/to/app/file/HBdfezUzTcz631tZct4ouwi2ZbltwGKW_0.0.2.app"
      allowfailure: "true"
  - command:
    target: iem
    resource: catalog.list
    parameters:
      allowfailure: "true"
  - command:
    target: iem
    resource: job.batch-create
    parameters: 
      appid: "iem.catalog.list#{.data[?(@.title=='app_name')].applicationId}"
      infoMap: '{"devices":["d39b707268a24306845b9a6aae951ec5"]}'
      operation: "installApplication"
      allowfailure: "true"