Ticket #1797 (new enhancement) — at Initial Version

Opened 2 years ago

Last modified 2 years ago

[super] Webstore v2 - Integrated and based on ElasticSearch

Reported by: rgrp Owned by: rgrp
Priority: critical Milestone: ckan-sprint-2012-03-05
Component: ckan Keywords: [4d]
Cc: Repository: ckan
Theme: none

Description

Etherpad: http://ckan.okfnpad.org/webstore

Questions

  1. Authorization (and url structure)
    • Authorization API?
  2. How do we integrate webstore into main site
    • /dataset/{xyz}/resource/{r-id}/data => /api/rest/dataset/{xyz}/resource/{r-id}/data
    • /dataset/{xyz}/resource/{r-id}/raw <= raw / bulk version of this data ...
  3. What query API do we use

Details

Layout on ES:

elasticsearch/{index}/{type-id}

index = ckan-{ckan-id}
type-id = resource-id (1)

Request path:

Req => Nginx => CKAN App (authz) => req to elasticsearch and returns results

See as an example: https://github.com/okfn/elastic-proxy

Note: See TracTickets for help on using tickets.