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)

Content of standalone_app_creation.yaml:

variables:
  appname:  "sampleapp"
  reponame: "samplerepo"
  version:  "0.0.1"
  redirectsection: "container"
  redirecturl: "servicename"
  redirecttype: "FromBoxReverseProxy"
commands:
  - command:
    target: config
    resource: add.publisher
### Example

      name: "publisher_config"
      workspace: "/path/to/worspace"
      allowfailure: "true"
  - command:
    target: publisher
    resource: workspace.init
    parameters:
      allowfailure: "true"
  - command:
    target: publisher
    resource: standalone-app.create
    parameters: 
      appname: "${{appname}}"
      reponame: "${{reponame}}"
      iconpath: "/path/to/image/pic.png"
      appdescription: "desc"
      allowfailure: "true"
  - command:
    target: publisher
    resource: standalone-app.version.create
    parameters: 
      appname: "${{appname}}"
      versionnumber: "${{version}}"
      yamlpath: "path/to/yaml/docker-compose.yml"
      redirectsection: "${{redirectsection}}"
      redirecturl: "${{redirecturl}}"
      redirecttype: "${{redirecttype}}"
      allowfailure: "true"
  - command:
    target: publisher
    resource: standalone-app.version.export
    parameters:
      appname: "${{appname}}"
      versionnumber: "${{version}}"
      exportpath: "/export/path/"
      allowfailure: "true"