send::
msg diesel.props.system
expect:: (payload containsNot "No permission"
)$ifc:: diesel[="isLocalhost"]
expect:: (payload contains "No permission"
)$ifc:: NOT (diesel[="isLocalhost"])
expect:: (payload[="diesel.testprop"="diesel.testprop"] is "tp"
)$ifc:: diesel[="isLocaldevbox"]
val tp=diesel[="props"][="system"][="java.runtime.name"="java.runtime.name"]
expect:: (tp contains "Ja"
)$ifc:: diesel[="isLocaldevbox"]
val tp=diesel[="props"][="system"][="dieselTestProp"]
expect:: (tp is "dtp"
)$ifc:: diesel[="isLocaldevbox"]
send::
msg diesel.props.file (path ="./project/build.properties"
...)
expect:: (payload[="sbt.version"] is defined
)$ifc:: diesel[="isLocaldevbox"]
send::
msg diesel.props.jsonFile (path="./conf/testdoc.json"
)
expect:: (payload[="ENV_NAME"] is defined
)$ifc:: diesel[="isLocaldevbox"]
Can only access system props in your local server, not our cloud
send::
msg diesel.props.system
expect:: (payload containsNot "No permission"
)$ifc:: diesel[="isLocalhost"]
expect:: (payload contains "No permission"
)$ifc:: NOT (diesel[="isLocalhost"])
You need to log in to post a comment!