1

Closed

Deliver sample StockQuote provider

description

This will be a port (of sorts) of the OSLC4JStockQuote application to the OSLC4Net project. The StockQuote provider will be a sample OSLC provider which is not implemented for a traditional (CM, QM, RM, etc) domain.

The StockQuote sample defines 1 resource: StockQuote which has such predicates as lastTradedPrice, highPrice, lowPrice, changePricePercent etc. The Google stock quote API will be used to populate the values.

The sample will demonstrate how to use the OSLC4Net attribute notations to "decorate" a C# class with OSLC attributes. It will also demonstrate how to:
-  create ASP.NET MVC 4 controllers to handle the HTTP REST calls
-  register the OSLC4Net RdfXmlMediaTypeFormatter to handle application/rdf+xml and application/xml.
Closed Feb 19, 2013 at 5:51 PM by mffiedler

comments

mffiedler wrote Feb 12, 2013 at 3:51 PM

Initial commit complete. Supports CRUD operation on single resources. No collections or ServiceProvider/ServiceProvider resources yet. ServiceProvider will depend on http://oslc4net.codeplex.com/workitem/5

mffiedler wrote Feb 19, 2013 at 5:51 PM

We've made several additional deliveries and the sample is becoming quite complete. It now includes
  • OSLC Service Provider
  • ResourceInfo and collection support
  • Resource shapes
  • GET, POST, PUT, DELETE of resources
Still needed (which we'll track under a separate issue):
  • JSON support
  • OSLC query support