Socrata Update

Categories

Component ID

2899397

Component name

Socrata Update

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

This modules helps in automating the update to various nodes in the Socrata Datasets by using drupal cron queues.

The modification details are passed into the inbuilt drupal queues. The various packets in the queue are then processed asynchronously by another thread based on the type of operation(Insert, update and delete)

Configuration setup:
This automation has to be configured and enabled in the Configuration -> Socrata Update page
The Socrata Update page has 2 settings:
- General - Socrata Credentials and App-token to connect with various datasets
- Node Updates - The nodes for which you want to make changes in Socrata Dataset are added here
To configure a Node update , following details are essential:
- Machine Name of the node
- Socrata Dataset id
- Corresponding Mysql view
- NID column name in the dataset
- Primary column name in the dataset
- Enabled

Testing the module:
If the corresponding node configuration is setup and enabled, upon making changes to the node, we can run Cron and the changes will be made in the dataset