Skip to content

markaspot/mas-open311

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mark-a-Spot Plugin for GeoReport V2 Reports

Copyright © 2010, 2011 Holger Kreis
http://www.mark-a-spot.org

license http://www.gnu.org/licenses/agpl-3.0.txt GNU Affero General Public License
link http://mark-a-spot.org/
version 0.2

Implementation

Install REST-Plugin

First get Kevin van Zonneveld’s REST Plugin and put it into your plugin’s directry
https://github.com/kvz/cakephp-rest-plugin

Install Open311-Plugin

git submodule add git://github.com/markaspot/mas-open311.git plugins/open311
git submodule update --init

Copy config file

Copy plugins/config/open311.php in app/config/

Adding the plugin to your app_controller

Simply add the plugin as another component.

$component = array( ... ,'Open311.Open311');

Adding custom REST-Routes

Open open311/config/routes.php and paste the lines to your app/config/routes.php.
Service endpoint will be /open311/ as controller and custom actions in REST-format

Things to do:

  • adding JSON Support
  • adding GET Service Defininiton
  • adding jurisdiction ID where and if neccessary
  • adding Service Discovery
  • custom validation for requests
  • better error handling

About

cakephp plugin to provide mark-a-spot information according to the georeport v2 standard

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages