Commit Graph

355 Commits

Author SHA1 Message Date
Adrià Mercader 4f2a233cf1 Harvesting jobs creation controller 2011-03-10 16:48:50 +00:00
Adrià Mercader 6cc73aa1f7 Send the authz headers on all requests 2011-03-10 15:32:51 +00:00
Adrià Mercader ad239b93e8 Add controller to create a harvesting source
Before sending a create request to the forms API, an authz header is
added, with the API key defined in the config file
(ckan.harvesting.api_key). Also the data is formatted as the JSON object
expected by the forms API.
2011-03-10 14:02:21 +00:00
Adrià Mercader 572650d26a Use urllib2 and better error handling 2011-03-10 09:45:16 +00:00
Adrià Mercader 66c65f53f4 First draft of the Harvesting extension
This extension will hold all the harvesting code that is now located in
different parts of the ckan core and ckanext.dgu. This revision still
uses the ckanext-dgu forms API.
Controllers and templates have been defined for listing, creating and
showing the details of harvesting sources.
2011-03-09 18:56:55 +00:00