Git Product home page Git Product logo

ckanext-ngds's Introduction

ckanext-ngds

This CKAN extension contains a number of functions that build integration with the National Geothermal Data System (NGDS).

The National Geothermal Data System (NGDS) supports the storage and search of information resources relevant to the discovery, understanding, and utilization of geothermal energy. It is a network of data providers supplying data and metadata, with an aggregating feature that provides a single entry point for searching resources available through the system.

Fundamental Operating Modes

This extension is designed to run two different types of CKAN sites to serve two different purposes within the NGDS. Depending on the operating mode, a different set of plugins need to be enabled. Some dependencies on external CKAN extensions are required as well.

  • Publisher: A node that is primarily used by a data provider to create metadata, make files avaialble for network access, deploy NGDS services to provide data access, or make metadata available for harvesting. Also refered to simply as Node.

    • NGDS Plugins: metadata, csw, ngdsui, geoserver
    • External Plugins: datastorer (ckanext-datastorer), spatial_metadata and spatial_query (ckanext-spatial)
  • Aggregator: A node that is primarily used to collect metadata from NGDS publishing nodes (and possibly from other metadata sources), and provide search and data browsing services to help users find what they need, evaluate it, and get it for their application. Also called Central.

    • NGDS Plugins: metadata, csw, ngdsui, ngds_harvester, geoserver
    • External Plugins: spatial_metadata, spatial_harvest_metadata_api, spatial_query (ckanext-spatial), csw_harvester, harvest, ckan_harvester, cswserver, and harvest (ckanext-harvest)

Plugins

This extension provides a number of plugins, each of which encapsulates a different aspect of NGDS functionality:

Extension Dependencies

This extension is dependent on other extensions provided by the Open Knowledge Foundation.

Installation

The installation of an entire CKAN system configured for ckanext-ngds on a clean, Ubuntu 12.04 server can be accomplished using a simple installation script. See here.

For users who wish to install ckanext-ngds alongside an existing CKAN system, or for developers interested in working with the code in this repository see this wiki.

Run Tests

This extension has 2 subpackages (CLient and Sysadmin). However the instructions below, applied for both of them).

Step 1

Before running tests, there are 2 configs files for test, need to be configured regarding the test environment of your machine:

  • ckanext-ngds/ckanext/ngds/client_or_sysadmin/test.ini: overrides ckan environment.ini variables or you can point it into a different environment.ini (e.g: use different database for test)
  • ckanext-ngds/ckanext/ngds/client_or_sysadmin/tests/tests_config.cfg:

ckan_host: by default, CKAN Host on your machine ckan_web_map_service_url: by default, webMapService (WmsServer service). ckan_ngds_sysadmin_search_path: by default, NGDS search URI ckan_ngds_client_paths: by default, array of ngds routes to pages (URIs)

Step 2

Command line to perform the tests:

$ cd ckanext-ngds/ckanext/ngds/client_or_sysadmin/
$ nosetests --ckan --with-pylons=test.ini tests/
  • --with-pylons it's an option to specify the path to environment.ini to use for the test (override ckan default ini).
  • tests/ it's the path to all tests files where located

ckanext-ngds's People

Contributors

asonnenschein avatar viveksunder avatar prahadeesh avatar rclark avatar chkhm avatar monimckenna avatar mluniewicz avatar xig3 avatar rtanikella avatar jihadmotii-reisys avatar cjk-user avatar jmatti avatar zlfpeak avatar ghc20 avatar ccaudill avatar amercader avatar fuhuxia avatar

Watchers

James Cloos avatar  avatar Kishore K. Vuppala avatar dan olaru avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.