@MattFox Alright, in Mango v5, the variable should be set as follows: MA_JAVA_OPTS="$JAVAOPTS -Dnashorn.args=-scripting". Thanks for your help
Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.
Latest posts made by Jdiaz-co
-
RE: Invoke shell commands from a Scripting environment?
-
RE: Invoke shell commands from a Scripting environment?
@MattFox said in Invoke shell commands from a Scripting environment?:
JAVAOPTS="$JAVAOPTS -Dnashorn.args=-scripting"
That's what I did, however, I still can't use the exec command. In Mango v3, it works for me, but in Mango v5, it doesn't.
-
RE: Invoke shell commands from a Scripting environment?
@MattFox In the v5 installation, there are no "ext-enabled" or "ext-available" folders, so I don't know where to place the scripts you mentioned as a solution.
-
RE: Invoke shell commands from a Scripting environment?
Good morning, I have tried to implement this solution in Mango v5.1.4, however, I find that this folder does not exist in your installation. Could you please tell me how to do it for that version?
-
Mango v5.1.4 SSL
Good afternoon, I am installing Mango v5.1.4 and I do not want it to use SSL. However, if I set ssl.on=false in mango.properties, the database does not initialize and it does not start. What is the configuration to access the web on port 8080?
-
RE: apiv3
@MattFox thanks for your help, ISO formatted It has worked correctly with the ISO timestamp format.
-
RE: apiv3
Hello, in Swagger it works, that is, it gives me a 200 status code, but in Mango the value doesn't change.
I'm using this JSON to test it.:
[
{
"xid": "MY_DP",
"dataType":"NUMERIC",
"timestamp": 184965161,
"value": 4
}, {
"xid": "MY_DP",
"dataType":"NUMERIC",
"timestamp": 184965161,
"value": 2
}
]The response is this, however, as I mentioned, the value doesn't change in Mango.
[
{
"xid": "DP_RV-BAR-1CA_bar_cmd",
"totalQueued": 1,
"totalSkipped": 0,
"result": {
"messages": [],
"valid": true,
"hasMessages": false
}
},
{
"xid": "DP_RV-BAR-1CA_status",
"totalQueued": 1,
"totalSkipped": 0,
"result": {
"messages": [],
"valid": true,
"hasMessages": false
}
}
]Thank you for assisting me.
-
RE: apiv3
@terrypacker said in apiv3:
POST rest/v3/point-value-modification/import
I've tried the POST "rest/v3/point-value-modification/import" you mentioned from Swagger, and it doesn't work for me when trying to input multiple Datapoints at once. Is there any other way?
-
RE: apiv3
Indeed, that endpoint works correctly; however, I can only send a single Datapoint in the request. My question is whether there is any endpoint where I can send multiple at once, as was possible in apiV1. I see, since I have tried that same endpoint and haven't been able to achieve it.
-
RE: apiv3
Sorry for my English. I'm currently using apiV1, but I'm considering migrating everything to apiV3, which uses Mango v5.0.2. In apiV1, there is a "PUT" function called "/point-values" that allows you to send multiple Datapoints at once. However, I see that this "PUT" in apiV3 either doesn't exist or has changed.