Sample Applications is a collection of ready-to-run applications which can be deployed to Helion Stackato with a couple of clicks. This interface uses the same API as the CLI client, pulling the source code from a Git repository rather than pushing an archive from the user's local filesystem.
Users have access to the main Sample Applications interface (see the Helion Stackato User Guide), but do not have access to add new applications or store definitions.
The Sample Applications interface exposes multiple "stores" which specify the available applications. These stores are source from definition files specified in the main Settings page of the Management Console or set using kato config.
Store definition YAML files describe each store and its apps, including a link to the source location for each app. For example:
store: title: Third Party Apps for Helion Stackato contact: Helion Stackato Support <firstname.lastname@example.org> icon: https://get.stackato.com/store/icon/third-party.png apps: - name: Bugzilla id: bugzilla desc: A bug tracking system for individuals or groups of developers framework: perl runtime: perl514 services: mysql license: MPL commit: master src: https://github.com/Stackato-Apps/bugzilla.git info: https://github.com/Stackato-Apps/bugzilla.git#readme icon: https://get.stackato.com/store/icon/bugzilla.png mem: 256 - name: Django CMS id: django-cms desc: A content management system platform for publishing content on the internet. framework: python runtime: python27 services: postgresql license: BSD commit: stackato src: https://github.com/Stackato-Apps/django-cms.git info: https://github.com/Stackato-Apps/django-cms.git#readme icon: https://get.stackato.com/store/icon/django-cms.png mem: 128 - name: Node Chat id: node-chat desc: A simple chat application in Node.js with no other dependencies. Originally written by Ryan Dahl, the creator of Node.js. framework: node runtime: node commit: master icon: https://get.stackato.com/store/icon/chat.png mem: 64 license: MIT src: https://github.com/Stackato-Apps/node-chat.git info: https://github.com/Stackato-Apps/node-chat.git#readme
The YAML string requires two top-level keys:
Contains entries that define the store.
This is an array of items (see YAML format above), one for each app in the store. Each app is defined by the following fields:
masterbranch is used.
storekey icon-url URL,
default, or other variable values.
The store definition settings do not override settings in the
The YAML files defining the stores can be served via HTTP or HTTPS by any web server at a URL accessible from the Cloud Controller.
To confirm that the Sample Applications page is loading correctly, click Applications
and then view the list of applications displayed. If a Sample Application URL fails to
CC Catalog Manager error appears in the Event Log.
Sample Application URLs can also be viewed, added, deleted, enabled, and disabled with kato config. For example:
$ kato config get cloud_controller_ng app_store