General requirements
Each plugin may extend requirements based on connectivity or compute needs, but as a baseline all of them require the following:
-
JVM 17 (can be OpenJDK)
-
Inbound communication from Tot server
-
Communication to Tot server
-
1 core
-
>= 256Mb RAM
-
Linux 64-bit (RedHat or Debian families recommended)
Deployment types
With Anjana deployment kit, see Ansible and https://wiki.anjanadata.com/es/instalacion/25.2/kubernetes
Execution types
Review the configuration of the https://wiki.anjanadata.com/es/configuracion/25.2/backend to specify where you want to retrieve the plugin configuration information from; all Anjana Data services follow the same pattern.
Common configurations
All plugins have two common configuration sections within their configuration file: the auto-registration configuration, through which the plugin automatically registers itself to be used by the platform, and the configured functions, through which the plugin tells the platform which services it is capable of performing.
Auto-registration
As a general rule, this configuration does not need to be changed.
Each plugin has two common URL parameters used for:
-
totplugin.location
-
The plugin registers its own URL and port in tot so that tot knows where to send requests for its technology.
-
-
totplugin.server.url
-
The plugin sends requests to tot at this URL and port.
-
YAML
totplugin: location: http://totpluginxxxxserver:15015/plugin/xxxx/api/v1 server: url: http://totserver:15000/tot/ keep-alive-seconds: 60
-
Function activation
To activate the plugin functions, the totplugin.connection.[connection].aris parameter must be set with an array indicating its function and which triplet it will act on:
totplugin:
location: http://totpluginxxxxxserver:15015/plugin/xxxxx/api/v1
server:
url: http://totserver:15000/tot/
keep-alive-seconds: 60
connetion:
- name: conectionnA
aris:
- ari: "anja:totplugin:extract:/xxxx/xxxx/xxxx/"
- ari: "anja:totplugin:sample:/xxxx/xxxx/xxxx/"
- ari: "anja:totplugin:im:/xxxx/xxxx/xxxx/"
imAari: "anja:totplugin:im:/xxxx/xxxx/xxxx/"
technology:
...
- name: conectionnB
aris:
- ari: "anja:totplugin:extract:/xxxx/xxxx/xxxx/"
- ari: "anja:totplugin:sample:/xxxx/xxxx/xxxx/"
- ari: "anja:totplugin:im:/xxxx/xxxx/xxxx/"
imAari: "anja:totplugin:im:/xxxx/xxxx/xxxx/"
technology:
...
The triplet configuration manual must be followed for the correct configuration of plugin functions. https://wiki.anjanadata.com/es/configuracion/25.2/tripletas-para-plugins
Multi-connection
From version 25.1, all Anjana Data plugins allow connecting to more than one connection that the plugin supports. As can be seen in the previous section, a list of connections can be defined and even given a name (purely informational) to identify them more easily.
Within each connection, the ARIs are configured along with the properties specific to each connection and technology, about which more can be found in the documentation for each plugin at https://wiki.anjanadata.com/es/integraciones/25.2/tot-plugins and in the example configuration YAMLs at Nexus / com / anjana / documentation (prior login required)