Skip to content

dslink.json

Rick Zhou edited this page Apr 27, 2015 · 7 revisions

dslink.json is the basic config and description file for every dslink application. it's a json document that shares most of the properties same as package.json: https://docs.npmjs.com/files/package.json

custom properties

configs

config file that's loaded by the dslink app, also managed by the dslink manager

  "configs": {
    "broker": {
      "type": "url"
    },
    "nodes": {
      "type": "path",
      "value": "nodes.json",
      "required": true
    },
    "key": {
      "type": "path",
      "value": ".dslink.key",
      "required": true
    }
  }
  • type
  • string
  • number
  • int
  • bool
  • url
  • path (file or uri path)
  • required (bool)
  • used by dslink manager to check if config is valid

getDependencies

  "getDependencies": [
    "pub get"
  ]

Protocol
 ◌ Design
 ◌ Initializing Connection
 ◌ Node API
  ◌ Methods
  ◌ Broker
   ◌ Broker Discovery
  ◌ Configs
  ◌ Value Types
 ◌ Tokens
 ◌ Quality of Service
DSLink Manager
 ◌ dslink.json
 ◌ Startup Command
SDK Development
 ◌ Implementation Guide
DSA Server
 ◌ Installation
 ◌ Update Server
 ◌ Server Configuration
 ◌ CLI Tools
 ◌ DSA Permission Basics
 ◌ DSA Permission Model
  ◌ Permission List for the Root
 ◌ Authentication
  ◌ OpenID Connect
  ◌ Password Hasher
 ◌ DGLux Server SSL (HTTPS)
 ◌ Docker
 ◌ Audit
 ◌ Data Node
 ◌ Install NGINX with DSA Server
 ◌ Configure Ubuntu Linux to auto start DSA server
 ◌ Troubleshooting

Clone this wiki locally