OpenTSDB HTTP API programming - http

Someone has developed some OpenTSDB application to interface with HTTP API Rest?
I'm new both to OpenTSDB and both to HTTP programming.

Check out openTSDB2.0 documentation : opneTSDB documetation It has better support for adding and scanning nodes via HTTP api.

It sounds like you are looking for OpenTSDB clients. You will find a list of these on the Resources page.
If you want to monitor generic server statistics, these might already be implemented by one of the utilities, like tcollector. We use scollector, which is a part of Bosun (see the Resources page above).

Check the Documentation for OpenTSDB HTTP API. Scroll down to API Endpoints section, you will find enpoint URLs for put,aggregators,query,search, etc

Related

How to listen HTTP post requests behind ipfs gateway?

I was able to create a website with a domain name behind a ipfs gateway like cloudflare.
Can I listen HTTP post requests ?
A ipfs website like torrent-paradise.ml, seems to send HTTP post requests (ex: /api/search?q=test)
IIUC the website you mentioned uses old school nodejs app for the /api/search endpoint.
Search feature is not provided by the IPFS daemon.
By default IPFS gateway allows only HTTP GET.
One can enable experimental Writable Gateway feature, which then accepts HTTP POST: https://discuss.ipfs.io/t/writeable-http-gateways/210?u=lidel, but it only allows you to import data to IPFS. There is no search feature.
That being said, I believe you should not care about HTTP method used, but ask "how to build dynamic app on IPFS" or "how to do search using immutable data on IPFS" instead.
Some pointers/ideas:
Build a DAG-based index and put it on IPFS, then have your app traverse the graph while looking for answer (fetching only subset of the index, only when needed)
Leverage libp2p's pubsub for real-time features (eg. by running js-ipfs on the page)
Look into CRDTs for decentralized conflict-free data types
While you can do it all by hand and tailor your solution to a specific problem, reusable primitives for the last two are provided by existing projects built on top of IPFS, like OrbitDB.

CalDAV Client for Windows/Linux/OSX/Android

Is anybody aware of any CalDAV client for Windows/Linux/OSX/Android that implements MKCALENDAR request and reports defined in RFC4791 (CALDAV:calendar-query, CALDAV:free-busy-query etc.)?
I've tested a few clients, but they use CalDAV server as a simple WebDAV storage and doesn't allow to perform advanced requests.
Might have been useful to mention which clients you did try but the default iCalendar client on Mac OS certainly does make use of MKCALENDAR (or extended MKCOL) as it allows creation of new calendars.
The iOS default calendar client does make use of time-range calendar query.
CalDAV-Sync on Android uses calendar-query if no support for the more efficient sync-collection report is available on a server.

Send data to XDS Repository

So I'm trying to figure out how much capabilities comes with Intersystems to send data to an XDS repository. Specifically with using the basic Ensemble package (NO HSF) Assume it's not the one Intersystems delivers, but an external XDS repository.
Is there a built-in way to send a large blob and wrap the ebRim around that blob?
As you can see at http://www.intersystemsbenelux.com/media/media_manager/pdf/1398.pdf, Ensemble does not natively support ebRIM, but it does support XML and XML schemas.
Maybe you could assemble an XML and use that to wrap your blob content.
You can send that over whatever protocol your XDS system provides (xDBC, SOAP, file system etc). Take a look at the items listed on sections "Ensemble Interoperability" and "Ensemble Adapter and Gateway Guides" of http://docs.intersystems.com/ens20122/csp/docbook/DocBook.UI.Page.cls for a full list of connectivity options.
Regards,
There is healthshare foundation product which has XDS connectivity
See this good answer on google groups https://groups.google.com/forum/m/?fromgroups#!topic/Ensemble-in-Healthcare/h7R300H68KQ
Or healthshare part of their website
HSF (HealthShare Foundation) XDS.b connectivity for query and retrieve and also the Provide and Register Operation.
Ok, so I re-read your question and have an answer for you. I think what you are trying to say is that you have Ensemble, not HSF, and you still want to be able to send documents (XDS provide and Register).
I did some testing with the Open Source Integration mirth and stumbled across an example channel of theirs, and it is doing a provide and register with straight up SOAP calls to the end point.
Basically, build the required soap envelope accordingly, then send a PDF or document to the repository using MTOM.
This is what makes HealthShare its money, encapsulating all that manual construction of objects that need to be sent to endpoints.
Anyway, a screenshot of the Mirth channel destination make give you an understanding:
http://www.integrationrequired.com/wp-content/uploads/2013/02/Capture.PNG

Streaming data from client with HTTP Post

I would like to stream data from the client to the server.
My application streams audio data to the server. I do not know how long the audio will be when I begin streaming it. I want to reduce latency by transmitting the data as it is being recorded. Once all the data has been uploaded, then I will process it.
So, what I would like is a HTTP POST where the body is streamed. At the client, the POST would be sent as the data is available. At the server end, I would like it to arrive like a normal POST with a complete body of collected data.
I am currently using Restlet, and implementing my stream as a Chunked POST to the Restlet framework.
However, I can not find a client API that allows me to begin the POST, then start streaming the data.
I haven't found anything useful searching the archive. Can anyone give me a pointer here. Can HTTP POST be used this way? Can I use Restlet for this? Is there another standard pattern/API for streaming from the client to the server?
Many thanks in advance
Peter
Going to answer my own question for those that come after.
Here is a nice tutorial on streaming requests with Apache HttpClient
Search for "Request Streaming:"
http://hc.apache.org/httpclient-3.x/performance.html#Request_Response_entity_streaming
I can not find a client API that allows me to begin the POST
You could always use a browser. Serverside it's just the same a a file upload.

Alternatives to whurl for sharing api responses

I used to use whurl.heroku.com to make http web requests and share the responses with people. It's a great service for allowing people to see the results of requests themselves and test fixes.
It appears that whurl is going offline soon. Are there any good alternatives out there (besides hosting my own)?
Similar to what Mihai posted, I found Advanced Rest Client, a google chrome app. I prefer ARC a little more as it's an app so it doesn't take up space in my URL bar, and also because it's easier to use and has a richer saved history feature than XHR.
It seems someone is hosting Whurl again on heroku.com, https://gcurl.heroku.com/.
You can use XHR Poster extension for Google Chrome. Contains many of the functionalities of whurl.
It has JSON pretty print feature and handles all types of requests.

Resources