Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
  • How to Create multiple versions of an Application:
    --  REST API to create an application with a version-id:

    POST /v3/namespaces/<namespace-id>/apps/<app-id>/versions/<version-id>/create
    Body: "artifact": { "name": "WordCount", "version": "3.5.1", "scope": "user"}, "config": {"stream": "purchaseStream"}

          version-id: Needs to be composed only of alphanumeric, -, _ and . 

          Note:
          i) If a version-id is not specified during application creation, '-SNAPSHOT' is used as the application version
          ii) If a version-id ends with '-SNAPSHOT', then that version is mutable and it can be updated using the update app endpoint (more details below). 

 

  • How to start/stop programs of a particular version of an Application:

    POST /v3/namespaces/<namespace-id>/apps/<app-id>/versions/<version-id>/services/<service-id>/start ( stop )

    Note: We don't support concurrent runs of the same Flow and Worker across multiple versions. That is, flow F1 in v2 of app MyApp can't be started when flow F1 in v1 of app MyApp is running.

  •  How to delete a version of an Application: