This repository has been archived by the owner on Mar 5, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Tosca Plugin
Tim Neumann edited this page Sep 21, 2018
·
2 revisions
This plugin is an interface between Amy and the OpenTosca ecosystem. It allows to list all installed Tosca apps and create instances of them.
- Speech command:
[list] [installed] (apps|applications)
- Action: The plugin uses the OpenTosca Container Client library to request this information from the api on the configured host.
- Answer: The number and names of apps installed.
- Speech command:
(install|deploy)
with Amy asking for the app and config name. - Action: The plugin uses the OpenTosca Container Client library to find the app and the ConfigurationRegistry to find the config. Then it checks if the config has all keys, which are needed for the app set and if so installs the app via the OpenTosca Container Client library.
- Answer: A confirmation that the app is installing or any error that has occured.
The properties file contains to settings which are passed directly to the OpenTosca Container Client library.
Through the configuration registry one can create and edit configurations that can be used to install apps. The key and value for an entry are directly used as the key and value for the app settings. The tag is the name of the configuration which can be entered via speech.