Code Monkey home page Code Monkey logo

open-data-service-v1's People

Contributors

andreas-bauer avatar cythey avatar dannglk avatar dknogl avatar dvahle avatar faupat avatar georg-schwarz avatar jlink avatar maddoc42 avatar mathiaszinnen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

open-data-service-v1's Issues

Filter should not modify original data

No filter should be able to modify the callers data.

For example if there are two filters A --> B, then A should create a copy of the data before forwarding it to B.

QA filters break on internal error in pegelonline

QA filter throws exception (1) when pegelonline source is experiencing an internal error (2)

(1)

java.lang.NullPointerException at org.jvalue.ods.qa.improvement.CombineSourceFilter.filter(CombineSourceFilter.java:74)
at org.jvalue.ods.qa.improvement.CombineSourceFilter.filter(CombineSourceFilter.java:48)
at org.jvalue.ods.filter.FilterChain.filter(FilterChain.java:49)
at org.jvalue.ods.filter.FilterChain.filter(FilterChain.java:50)
at org.jvalue.ods.filter.FilterChainManager.startFilterChains(FilterChainManager.java:63)
at org.jvalue.ods.grabber.DataGrabberMain.updateData(DataGrabberMain.java:64)
at org.jvalue.ods.server.ContainerRestletApp.run(ContainerRestletApp.java:118)
at java.lang.Thread.run(Thread.java:744)

(2)
http://pegelonline.wsv.de/webservices/rest-api/v2/stations.json

currently (18.07.14 12:52) returns

{
   status: 500,
   message: "Internal server error. Please retry."
}

Offer pagination for admin log

The content of

/admin/logs

keeps growing and is not limited by any size restrictions.

Instead of one log with all entries offer some pagination mechanism for fetching only the most recent entries.

Offer ODS version via REST Api

Api could / should offer two version counts

  • current build (automatically increased?)
  • release version (incremented manually on each larger release)

Builder for defining source schema definitions

Source schema definitions (how data is available in the original source and how it will be stored in the DB) are currently created by manually by constructing large nested map and list objects.

When wanting to create these schemata dynamically at runtime, having a builder object that takes care on the internal referencing makes constructing this definition at lot easier.

--> Create a builder class for constructing schema, eliminating the need for manual linking

Extract parts of documents

Clients should again be able to extract parts of all kinds of documents.

with $1234 being the ID of the document, water/coordinate two of its fields:
GET /ods/$1234/water
GET /ods/$1234/water/longname
GET /ods/$1234/coordinate
GET /ods/$1234/coordinate/longitude
... as deep as they want (except lists)

The ugly, former previously used code can be found here:
https://github.com/jvalue/open-data-service/blob/76299da9d021fe1775118c008343ec66da9fb1be/src/main/java/org/jvalue/ods/server/restlet/DefaultRestlet.java

Queries in REST-API

Allow simple key-value-queries

f.e.: ods/stations?timeseries.measurement.level=10

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.