Skip to content

Link File Structure

Aaron edited this page Sep 17, 2018 · 2 revisions

Links are distributed as zip file. The zip file is created by the Gradle application plugin. In it you find the following files and directories when unzipped:

  • bin/
  • lib/
  • .key
  • dslink.jks
  • dslink.json
  • nodes.zip
  • nodes-.zip

bin/

The bin directory contains the windows and unix startup scripts. The files should have the same name except for the extension. The broker gets the script name from dslink.json.

lib/

This contains all the jar files required by the link.

.key

This is the public and private key of the link. It is not contained in the dist zip, it is automatically generated by the link.

dslink.jks

The is the certificate store of the link. It contains the certificate used by the link during SSL and it also contains certificates trusted by the link.

dslink.json

This contains link configuration needed by the broker. Some of it is used on the command line to start the link.

nodes.zip

This is the configuration database. It is the serialized version of the node database and is used at startup to reconstruct the node hierarchy.

nodes-.zip

These are backups of nodes.zip. You can configure the backup interval and number of backups to keep at /sys/Backups.

Clone this wiki locally