jbfaden / hapi Goto Github PK
View Code? Open in Web Editor NEWtickets and requirements for HAPI servers
tickets and requirements for HAPI servers
When a parameter is sent to a HAPI server, and it does not recognize a parameter, then it should throw an error.
When there is no data available in the requested interval, what should the behavior be?
I'd suggest an empty response, but others might prefer an error code with a message.
I see a couple of issues with the current version of the document at:
https://github.com/hapi-server/specification ,
and this should be used to enumerate them.
There was a tiny bit of discussion about why the parameters need a type if a CSV is used to communicate the data. This is simply because it informs the parser. For example, 'isotime' means you get out the ISO8601 parser, and integer means you can store these data as ints.
It's not clear what the restrictions on the id parameter are. For now I'm coding to include anything, but I think this should be restricted to Java identifiers.
The Java J2EE hapi demo should use compression. Here is a resource on how to filter:
One of the exceptions that server can throw is when no data is found in the interval. Ideally, the server should respond with an empty (no-record) response, but this requires that a proper response could be formed, which might be impossible. (Consider that the server might be adapting another server, so it doesn't know what to expect unless the request contains data.) Therefore a special exception type is needed for this case. CDAWeb is returning a 503 with the message "No data...", for example. Also there may be a specific error code that could be reserved for the purpose.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.