[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [ecf-dev] rest API work
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Scott, Hi Holger
I'm currently catching up with the latest incarnation of the ECF REST
API. I noticed that you removed the possibility to include request
entities that was present in the former version (parameter's gone in the
RestCall and RestCallFactory).
IMHO request entites are quite common to post calls. How do you suggest
to deal with them? Subclass the factory?
Greetings + Thanks
André
Scott Lewis wrote:
> Hi Folks,
>
> As per bug [1] there's been some work on simplifying Holger's most
> excellent REST API (as well as better leveraging the ECF remote services
> API). These refactorings have now been released to head. See [2] for
> up-to-date javadocs, and [3] for access to the source code. See
> particularly the test code in org.eclipse.ecf.tests.remoteservice.rest
> for usage examples...but more example code is coming. If others use the
> API and have example code, as usual all contributions will be
> appreciated. As well, it would be great to integrate this API into
> TweetHub for accessing the twitter service sometime soon.
>
> With the improved integration with ECF remote services, it's now easily
> possible to expose an arbitrary rest-based service as an ECF remote
> service. (e.g. twitter...or your favorite rest-based service). It's
> *not* necessary to have the service be exposed via an ECF-based
> server/service (that is, any rest-based serviced can be accessed as a
> remote service).
>
> We also have IP approval to use and distribute the json.org JSON parser
> implementation, so that those rest services that use json as the
> resource representation can parse JSON resources. The json.org parser
> is now a bundle included in our dev.eclipse.org build: org.json.
> Eventually, this bundle will probably move to Orbit, but in the mean
> time we will build it and deploy it with ECF.
>
> Any thoughts/comments appreciated.
>
> Scott
>
> [1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=294774
> [2] http://www.eclipse.org/ecf/org.eclipse.ecf.docs/api/
> (org.eclipse.ecf.remoteservice.rest.* packages)
> [3] http://wiki.eclipse.org/REST_abstraction_for_ECF
> _______________________________________________
> ecf-dev mailing list
> ecf-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/ecf-dev
- --
André Dietisheim
Head of Eclipse Development
Puzzle ITC GmbH
www.puzzle.ch
Telefon +41 31 370 22 00
Fax +41 31 370 22 01
Mobile +41 76 423 03 02
Abonnieren Sie unsere News:
<http://www.puzzle.ch/follow-us>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAksdMcUACgkQxpTsx9Uecrl7eQCeKMtX45zyMfBASrlwqqm27Iho
vOsAnRUfJUMpNNomk0i6/m95FAPhOX0g
=bgZX
-----END PGP SIGNATURE-----