Handler that check the status of PubSub connection in FCA.This handler intent is identified with task parameter as "getPubSubStatus" is the mandatory parameter.There are few optional parameters like action,appType.
-
Sample Intent
{ "action": "search", "data": { "query": "{\"task\":\"getPubSubStatus\",\"action\":\"NA\",\"appType\":\"firebolt\"}" }, "context": { "source": "device" } }
-
Sample Response
[ true, null ]
-
Required Intent Fields :
- action: "search"
- data: { query: "{"task":"getPubSubStatus","appType":"firebolt"}"}
- context: { "source": "device"}
-
Optional Intent Fields :
- data: { query: "{"action":"NA"}"}
-
Scenario: If we are not able to connect to PubSub
-
Sample error intent
{ "action": "search", "data": { "query": "{\"task\":\"getPubSubStatus\",\"action\":\"NA\",\"appType\":\"firebolt\"}" }, "context": { "source": "device" } }
-
Sample response
PubSub ACK not received from FCA. App not launched in 30000 ms