[Registry-dev] Initial Spring JPA ORMRegistry

Glen Daniels glen at wso2.com
Tue Jan 8 07:26:41 PST 2008


Hi Norman!

Norman Barker wrote:
> I have written the initial ORMRegistry now using Spring JPA and
> Hibernate (though it should port to OpenJPA etc.) - to be able to test
> it out it is probably easiest to use a download of JBoss.  How do I
> get this code into the Registry SVN (or JIRA)?

JIRA is here:

http://wso2.org/jira/browse/REGISTRY

You can create yourself a login, and then you should be able to open an 
issue and attach your patch file to it.  Can't wait to see it!

> Also I would really like to test this out before submitting it, is
> there a page describing the complete protocol for the registry and is
> it possible to test the registry using cURL?

It should be, yes.  FYI, please note that we have not yet quite 
succeeded in getting the RemoteRegistry/AtomRegistry to work with the 
APP protocol we want (example - we POST to "/wso2registry/newResource" 
in order to create a new resource instead of POSTing to "/wso2registry" 
with a Slug header of "newResource").  It's on my list to get that 
moving forward soon.

Have a look at the APPTests class - that's going to be a remote registry 
exerciser which only uses HttpClient, not RemoteRegistry, to make sure 
the protocol works as it should.

> Personally I think the code now looks a lot cleaner, and all the
> database crud (excuse the pun) is taken away.

:)

--Glen



More information about the Registry-dev mailing list