OSLC/oslc4net

Deliver sample StockQuote provider

Closed this issue · 2 comments

mffiedler[CodePlex]
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 quotdecoratequot 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.

mffiedler[CodePlex]
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

mffiedler[CodePlex]
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