I know that there exists documentation for migrating ES7 clients from [TransportClient to HighLevelRestClient] and [HighLevelRestClient to API client]. But I want to check if it is possible to directly migrate from [TransportClient to APIClient]
Is this even possible ?
If Yes, is there any documentation ?
Yes It is possible to upgrade from Transport client to Java API Client. No there is no official documentation for the upgrade process from transport client to Java API client as the official full documentation of java api client itself hasn't been released.
Please refer to this issue at the Elastic Forum:https://discuss.elastic.co/t/upgrade-from-transport-client-to-hlrc-java-api-client-which-to-choose/320869
I hope this clears your doubt regarding what approach you should take now.
Related
I am new to gRPC and currently working on making a message forwarding gRPC service.
Currently my gRPC service, written in Go, transforms HTTP/JSON into protobuf and I am wondering if I can call a client call of another gRPC service in my current gRPC service, so that it basically can work as translate-and-forward service.
Is it possible to do this?
Thanks a ton in advance.
Using protoc tool you can automatically generate server interface, the implementation is up to you.
In your implementation code you can call other services, the only requirement it to accept input arguments and return structure as defined in interface.
Yes, you can definitely do that. That's the way to build more complicated systems - System A calls System B which calls System C, and they're all written with gRPC/protobuffers.
Where you might have issues is making a generic forwarder. AFAIK you will most likely have to just hardcode the translation from the HTTP frontend to calls to a gRPC service.
I am looking for a API or Documentation for developing a IMAP-Client for POSTFIX. I am planning to use html5 for front end and php for backend.
The fact that your mail server runs on postfix is completely irrelevant. You should learn about the IMAP protocol, and to be able to use it, you can start with the PHP IMAP functions.
Sorry for pointing directly to the manual but when you have some code to show us, you can go back and explain where you got stuck and then we can try to help again.
We have project developed in Silverlight/DevForce services, currently we plain to move code into HTML5. My question is it possible to reuse server side part of project, I means is it possible to reuse DevForce services or better migrate to WebAPI services? IdeaBlade has Breeze Js for HTML5, but it looks more as dataservice provider and not support DevForce services.
You might be asking whether BreezeJS offers a mechanism for handling arbitrary service calls between the client and the Web API running on the server ... in the manner of the DevForce "invokeServerMethod".
BreezeJS does not . The DevForce "invokeServerMethod" is helpful when you need to talk to the server for non-data reasons. You don't have to open and secure your own channel; instead you can share the DevForce secure data channel between client and server. It's also a convenient way to sent a package of entities. Setting up your own independent channel is not much fun.
But writing and communicating with a Web API service endpoint is much easier. Our thought is that you can manage your non-data communications quite well without the help of the BreezeJS EntityManager. So we don't see the need to implement the equivalent of "invokeServerMethod"
However, perhaps you have a scenario that would cause us to reconsider. We'd love to learn more.
Breeze doesn't integrate with DevForce today. I'd recommend adding the request to the Breeze UserVoice site. The Breeze team uses UserVoice to judge interest when incorporating new features.
A quick look shows me that there is already one DevForce related suggestion there: Support for DevForce models.
Does anyone know of any project to expose the DRMAA API (job scheduling and maintenance API) from SGE (Sun Grid Engine) as a web service API? A RESTful API would be best.
I do not think there are any web service API for SGE. I found drmaa-python pretty easy implementing in python script that can be called from server side scripts like PHP.
There is nothing like this available at the moment, but:
The Open Grid Forum started a new standardization activity to define how DRMAAv2 can be exposed as RESTful API. The specification draft is publicly available.
Since more and more people ask for such a remote interface, implementations might be available pretty soon. They are most likely to be announced by the OGF OCCI working group, so follow them if you are still interested.
Mapping such an implementation to the DRMAAv1 library in GridEngine should be relatively straightforward.
Does anyone know of any publicly available RESTful services that can be used for testing. I'm not talking about software or browsers extensions. Just an online service that I can CRUD json data with using javascript. I'm testing a JS library's rest api and there's only so much I can do with static json data.
I'm guessing there's no such thing due to what's involved but I thought I would ask.
if you just want to practice 'gets' you can use cloudant as you can sign up for free. however, there are restrictions on adding new documents from a cross domain ajax call. I recommend running one locally. I use couchDB very quick, very easy.
You can use the google feed api and pass in any rss url to test .
This may help you.
http://code.google.com/apis/feed/v1/reference.html#resultJson