Diesel data model Pub Share

The diesel data model - we'll represent it as a tree. You can access the leafs with the dot notation (i.e. diesel.server.name) and most intermediary nodes will result in a json object.

  • diesel.env - current environment
  • diesel.userid
  • diesel.username
  • diesel.user - current user
    • id
    • username
    • name
    • roles
    • authClient
    • authRealm
    • authMethod
    • eName
    • token
  • diesel.isLocalhost - is this running in localhost mode? usually a dev environment
  • diesel.isLocaldevbox - this is a specific local dev env
  • diesel.realm.props or diesel.props.realm or dieselRealm - realm properties / statics
  • diesel.props
    • config - properties from the configuration file
    • system (only in localhost/docker)
    • env (only in localhost/docker)
    • realm - realm properties / statics
  • diesel.realm
    • name
    • local
    • props
    • events
  • diesel.cluster
    • me
    • singleton
    • nodes
    • masterNode
  • diesel.server
    • name
    • node
    • host
    • hostport
    • hostName
    • ip
  • diesel.engine
    • description
    • status
    • id
    • json
    • html
    • settings


Was this useful?    

By: Razie | 2023-06-16 .. 2024-11-07


Viewed 466 times ( | History | Print ) this page.

You need to log in to post a comment!

© Copyright DieselApps, 2012-2024, all rights reserved.