4.5 Obtaining DataStore Values NOTE: Integration Toolkit creates an entry for each DataStore item upon star- tup. The DataStore subscription only updates existing entries and this is why no POST method is available. DataStore Subscription JSON Schema { "namekey": "string", "audit": { "namekey": "string", "crt": { "millis": "long" }, "upd": { "millis": "long" }, "ver": integer }, "subscriptionInterval": "string" } DataStore Subscription JSON Example To subscribe to the ARAM DataStore item's value with 1 second updates with a PUT request https://[IP]:8443/SubscriptionConfig : { "namekey": "ARAM", "subscriptionInterval":
"1s" } cURL Command String Example To subscribe to the ARAM DataStore item with 1 second updates with a POST request: curl [options] -X PUT "https://[IP]:8443/SubscriptionConfig" -H "accept: application/json; charset=utf-8" -H "Content-Type: application/json; charset=utf-8" -d "{\"namekey\":\"ARAM\",\"subscriptionInterval\":\"1s\"}" Using SQL Updating a subscription interval using SQL is accomplished by updating the ‘subscription_ interval’ column of the ‘subscription_config_view’ view as shown below. UPDATE subscription_config_view SET subscription_interval = '1s' WHERE namekey = 'ARAM'; NOTE: This view can also be used to ascertain the current value of these set- tings.
Using RabbitMQ outbound.SubscriptionConfig inbound.SubscriptionConfig 4.5 Obtaining DataStore Values The following table describes DataStore value item schema. 28 Fleet Operation Workspace Core Integration Toolkit 20964-000 Rev. C User's Manual