REST abstraction for ECF

From Eclipsepedia

Revision as of 14:23, 19 November 2009 by Slewis.composent.com (Talk | contribs)

Jump to: navigation, search

Committer Lead: Holger Staudacher (IRC: staudi)

Other participating committers: Scott Lewis, Marcelo Mayworm

This project started as part of the Google Summer of Code 2009

Contents

Primary goals

  • A full working API for the REST client side to communicate to any RESTful web service.

Getting the source

See the appropriate project set below.

Project set file for anonymous CVS access:

<?xml version="1.0" encoding="UTF-8"?>
<psf version="2.0">
  <provider id="org.eclipse.team.cvs.core.cvsnature">
    <project reference="1.0,:pserver:anonymous@dev.eclipse.org:/cvsroot/rt,org.eclipse.ecf/framework/bundles/org.eclipse.ecf.remoteservice.rest,org.eclipse.ecf.remoteservice.rest"/>
    <project reference="1.0,:pserver:anonymous@dev.eclipse.org:/cvsroot/rt,org.eclipse.ecf/framework/bundles/org.eclipse.ecf.tests.remoteservice.rest,org.eclipse.ecf.tests.remoteservice.rest"/>
    <project reference="1.0,:pserver:anonymous@dev.eclipse.org:/cvsroot/rt,org.eclipse.ecf/incubation/bundles/org.json,org.json"/>
  </provider>
</psf>

These projects depend upon relatively new code in the ECF sdk. A project set file for all ECF projects can be found here or via the ECF releng project at

Protocol: pserver

Host: dev.eclipse.org

CVS Root: /cvsroot/rt

Module: org.eclipse.ecf/releng/org.eclipse.ecf.releng

Or see this page for instructions on getting the ECF releng project.

Test/Example code

See the test cases in org.eclipse.ecf.tests.remoteservice.rest. Particularly the test classes: org.eclipse.ecf.tests.remoteservice.rest.RestRemoteServiceTest and org.eclipse.ecf.tests.remoteservice.rest.twitter.TwitterRemoteServiceTest.

New ideas

Please open a new feature request.

Under construction

Links