ࡱ > '` H bjbj{P{P . : : @ V V V V l V d JW L W W W W qX X , 'Y $ h e > ?Y qX qX ?Y ?Y > W W S w w w ?Y W W w ?Y w w V ~ @ W >W 2TQ V j
& $ i 0 2 x t j ?Y ?Y w ?Y ?Y ?Y ?Y ?Y > > v
?Y ?Y ?Y ?Y ?Y ?Y ?Y , 3 D" 3 OSLC Reporting Validation Implementation POC Scenario
Use Case
The scenario will base on the high level use case Monitor Defect Arrival Trend.
HYPERLINK "http://open-services.net/bin/view/Main/ReportingUseCases?sortcol=table;up=#1_Monitor_defects_arrival_trend" http://open-services.net/bin/view/Main/ReportingUseCases?sortcol=table;up=#1_Monitor_defects_arrival_trend
OSLC-CM V1.0 specification will be used as the base for this scenario. Additional extension to the base OSLC-CM V1.0 will be kept to a minimum and as needed basis.
Change Request Resource
Here is the OSLC-CM v1.0 ChangeRequest resource.
HYPERLINK "http://open-services.net/bin/view/Main/CmResourceDefinitionsV1?sortcol=table;up=%23XML_Representation_of_the_Change" http://open-services.net/bin/view/Main/CmResourceDefinitionsV1?sortcol=table;up=#XML_Representation_of_the_Change
XML Representation Summary: ChangeRequest HYPERLINK "http://open-services.net/bin/edit/Main/ChangeRequest?topicparent=Main.CmResourceDefinitionsV1" \o "Create this topic" ? Element Content: (dc:title, dc:identifier, dc:type?, dc:description?, dc:subject?, dc:creator?, dc:modified?) Property Representation dc:titleThe required title string. Note that this element comes from the DC namespace, allowing tools unaware of the change management domain to access this element. This is sometimes also referred to as the headline or summary of the request.dc:identifierThe required, read-only identifier string. This is assigned by a change management system when a request resource has been created.dc:typeThe optional type string. The type of request that is represented, such as: defect, enhancement, etc.dc:descriptionThe optional description string. This element comes from the DC namespace, allowing tools completely unaware of the change management domain to access this element. dc:subjectThe optional subject string. The DC namespace defines this element to be a collection of keywords. The subject element will contain keywords and tags assigned to this request.dc:creatorThe optional, read-only creator element, identifying the originating user of this request.dc:modified The optional, read-only modified date time which must conform to HYPERLINK "http://tools.ietf.org/html/rfc3339" \t "_top" RFC3339 format
Service Provider Resource
Service Provider http://example.com/service/serviceProvider uses RTC to manage ChangeRequest. This Service Provider has a Service that allows creation of ChangeRequest and query for ChangeRequest. Note: The olsc:creationFactory for this Service is included here for illustration only. It does not have any significance in this Reporting use scenario.
Here is the RDF/XML representation of this Service Provider Resource
a RTC server for example.com
Example Company Ltd
example.com
http://open-services.net/bin/view/Main/CmResourceDefinitionsV1
Location for creation of ChangeRequests
ChangeRequest Creation http://example.com/resource/ChangeRequestFactory http://example.com/resource/ChangeRequestShape
ChangeRequest Query for Reporting
ChangeRequests for Reporting http://example.com/resource/ChangeRequestQuery http://example.com/resource/ChangeRequestListShape4Reporting
true
NOTE for changes to Core Spec.
There are two types of QueryCapability
The base URL identifies a resource node in the RDF graph of resources and properties managed by the service.
The base URL identifies a subgraph (possibly all) of the RDF graph managed by the service.
The first one is a typical use case for Reporting and is being shown in the example above. There need to be a property in QueryCapability to indicate which of the two types it is. Thus, suggest to add oslc:isResourceNodeQuery as a property to QueryCapability.
Resource Shape Resource
The above Service Provider Resource states a oslc:shapeURI for the QueryCapability for ChangeRequest Reporting - http://example.com/resource/ChangeRequestListShape4Reporting
Here is the RDF/XML representation of this Resource Shape Resource.
http://xmlns.com/foaf/0.1/Person
This is the resource shape for foaf:Person
name
foaf
Name
the name of a person expressed as simple text string.
String
zero-or-one
givenName
foaf
Given Name
given name of person expressed as simple text string.
String
zero-or-one
familyName
foaf
Family Name
family name of person expressed as simple text string.
String
zero-or-one
Loading Data Warehouse
Assuming we like to load the following into the DW:
Request Title
Request Identifier
Creator (Given Name and Family Name)
Creation Date
Resource url
Reporting Consumer will construct the following query and send to Service Provider.
http://example.com/resource/ChangeRequestQuery?oslc.from=oslc_cm:changeRequest&oslc.select=dc:title,dc:identifier,dc:creator{foaf:givenName,foaf:familyName},dc:created&oslc.where=oslc_cm:changeRequest{dc:type}=defect
Here is the RDF/XML representation of the Query Resource as a response to the above Query request.
A list of Change Requests resulted from a query
Reports does not warn when a user navigates away from unsaved changes
56516
James
Moody
2008-05-21T09:19:08.568Z
ReportParamMultiSelect - improve performance for hierarchical parameter
96918
Rafik
Jaouani
2009-10-16T18:48:41.540Z
ex:ChangeRequestList >
Question to Core Spec.
For dc:creator, do I
1.
Reports does not warn when a user navigates away from unsaved changes
56516
James
Moody
2008-05-21T09:19:08.568Z
2008-07-21T09:19:08.568Z
A detailed report on this defect can be constructed.
Document Generation
5 6
v w x 7
g
i
j
^ _ ` a | } {pi^UJ h]} hJpy 0J CJ h]} hJpy CJ h]} hJpy 0J CJ h]} h]} h=P h]} CJ aJ h=P h=P 0J CJ aJ #j= h=P h`Z CJ UaJ h=P CJ aJ j h=P CJ UaJ h=P h]} haf hJpy 0J CJ aJ #j haf hJpy CJ UaJ hJpy hJpy CJ aJ hJpy CJ aJ j hJpy CJ UaJ h6 hJpy h5 6 ? x y
7
i
` a | i kd $$If ! 0 6 3 4 a byt]} $If gd]} gdJpy gdJpy gdJpy H
L S
p q } Q R a i k t B C J K T U V p ѾѳѾѾѾѾѾѾѾѾѦѦڦѾ h=P hJpy j h]} hJpy CJ Uh]} hJpy 0J CJ hJpy CJ aJ h]} hJpy 0J CJ h]} hJpy CJ h]} hJpy 0J CJ h]} hJpy 0J CJ j h]} hJpy 0J CJ U < $If i kdF $$If ! 0 6 3 4 a byt]}
{ { $If ~ kd $$If 0 }! ^ * 0 6 3 4 a byt]}
p { { $If ~ kd $$If 0 }! ^ * 0 6 3 4 a byt]} p q y { { $If ~ kd: $$If 0 }! ^ * 0 6 3 4 a byt]} { { $If ~ kd $$If 0 }! ^ * 0 6 3 4 a byt]} Q { { $If ~ kd $$If 0 }! ^ * 0 6 3 4 a byt]} Q R ] { { $If ~ kdD $$If 0 }! ^ * 0 6 3 4 a byt]} T { { $If ~ kd $$If 0 }! ^ * 0 6 3 4 a byt]} T U V p d ; | w r r r m m m m m m gd=P gd\ gd=P gdJpy ~ kd $$If 0 }!^ * 0 6 3 4 a byt]} p / { 8 v 7 P _ v ( 6 ; B I h { ϼļ hk y h=P hk y hk y hk y h_L hpP h=P hpP hpP hpP h~J h=P h=P h#\ h=P h hqT h`Z h\ h\ h\ D; O h
" 8 9 Y | 4 5 K (^(gdk y (^(gdpP gd=P ( 2 4 5 w P P Q @ z û~zvzvozkgkck_XkX h=P h h#\ h=> hH8 h h h hqT h]} h1C h~} B*ph #h~} B*CJ OJ QJ ^J aJ ph h~} h1C B*ph )h1C h1C B*CJ OJ QJ ^J aJ ph h1C B*ph h1C 5B*ph h1C h1C 5B*ph h\ hk y hk y h=P h~} h~} B*ph h~} B*ph h=P "K ^ v w , Q R A z gd=> gd gd]} gd]} gd~}
&