Hi I have to find all artifacts where my custom Attribute Type value is "
INFORMATION"
My custom data type is enumeration with values:
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:acp="http://jazz.net/ns/acp#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">
<rdf:Property rdf:about="https://10.0.2.79:9443/rm/types/_nQHusUZsEeWL2aNIq4SA-w#_c334157b-57d4-427e-a09d-73a377081746">
<rdf:value rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>2</rdf:value>
<rdfs:label>INFORMATION</rdfs:label>
</rdf:Property>
<rdf:Property rdf:about="https://10.0.2.79:9443/rm/types/_nQHusUZsEeWL2aNIq4SA-w#_6a51d862-eb1e-4960-809b-c878e896699f">
<rdf:value rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>0</rdf:value>
<rdfs:label>HEADING</rdfs:label>
</rdf:Property>
<rdf:Property rdf:about="https://10.0.2.79:9443/rm/types/_nQHusUZsEeWL2aNIq4SA-w#_06210b34-cf99-4c39-87e6-c630d96dd49f">
<rdf:value rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>1</rdf:value>
<rdfs:label>DEFINITION</rdfs:label>
</rdf:Property>
<rdf:Property rdf:about="https://10.0.2.79:9443/rm/types/_nQHusUZsEeWL2aNIq4SA-w#_d5f01340-5783-45d5-aa2d-a451599f89f0">
<rdf:value rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>3</rdf:value>
<rdfs:label>RECOMMENDATION</rdfs:label>
</rdf:Property>
<rdf:Property rdf:about="https://10.0.2.79:9443/rm/types/_nQHusUZsEeWL2aNIq4SA-w">
<acp:accessControl rdf:resource="https://10.0.2.79:9443/rm/accessControl/_4du-YEDTEeW98vRabXRPEQ"/>
<rdfs:label>_typeTextType</rdfs:label>
</rdf:Property>
</rdf:RDF>
https://10.0.2.79:9443/rm/views?oslc.query=true&projectURL=https%3A%2F%2F10.0.2.79%3A9443%2Frm%2Fprocess%2Fproject-areas%2F_4du-YEDTEeW98vRabXRPEQ
&oslc.paging=true
&oslc.pageSize=10
&oslc.prefix=rm_property=https://10.0.2.79:9443/rm/types/
&oslc.select=*
&oslc.where=rm_property:_nQHusUZsEeWL2aNIq4SA-w="INFORMATION"
The code above is the url with which I try to filter all artifacts with have value "
INFORMATION".
And part of the resourceShape of one of the Artifact Type.
<oslc:property>
<oslc:Property>
<oslc:valueType rdf:resource="http://open-services.net/ns/core#Resource"/>
<oslc:allowedValues>
<oslc:AllowedValues>
<oslc:allowedValue rdf:resource="https://10.0.2.79:9443/rm/types/_nQHusUZsEeWL2aNIq4SA-w#_6a51d862-eb1e-4960-809b-c878e896699f"/>
<oslc:allowedValue rdf:resource="https://10.0.2.79:9443/rm/types/_nQHusUZsEeWL2aNIq4SA-w#_06210b34-cf99-4c39-87e6-c630d96dd49f"/>
<oslc:allowedValue rdf:resource="https://10.0.2.79:9443/rm/types/_nQHusUZsEeWL2aNIq4SA-w#_c334157b-57d4-427e-a09d-73a377081746"/>
<oslc:allowedValue rdf:resource="https://10.0.2.79:9443/rm/types/_nQHusUZsEeWL2aNIq4SA-w#_d5f01340-5783-45d5-aa2d-a451599f89f0"/>
</oslc:AllowedValues>
</oslc:allowedValues>
<oslc:propertyDefinition rdf:resource="https://10.0.2.79:9443/rm/types/_oIDcQUZsEeWL2aNIq4SA-w"/>
<oslc:range rdf:resource="https://10.0.2.79:9443/rm/types/_nQHusUZsEeWL2aNIq4SA-w"/>
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-one"/>
<dc:description rdf:parseType="Literal"></dc:description>
<dc:title rdf:parseType="Literal">_TextType</dc:title>
<oslc:name>_oIDcQUZsEeWL2aNIq4SA-w</oslc:name>
</oslc:Property>
There is no error, HTTP Status is
200,but nothing is returned. I double check to be sure that there are Artifact with
artifact Type with attribute with
Attribute Data Type = _
TypeText,which is my custom type. And its value is
INFORMATION. And there are such. Where is my wrong?