[OLINGO-935] $apply is allowed for $count
Signed-off-by: Christian Amend <christian.amend@sap.com>
This commit is contained in:
parent
43feffc48f
commit
9a96ec4f9b
|
@ -53,14 +53,14 @@ public class UriValidator {
|
|||
/* metadata 4 */ { false, true , false, false, false, false, false, false, false, false, false, false },
|
||||
/* service 5 */ { false, true , false, false, false, false, false, false, false, false, false, false },
|
||||
/* entitySet 6 */ { true , true , true , false, true , true , true , true , true , true , true , true },
|
||||
/* entitySetCount 7 */ { true , false, false, false, false, false, true , false, false, false, false, false },
|
||||
/* entitySetCount 7 */ { true , false, false, false, false, false, true , false, false, false, false, true },
|
||||
/* entity 8 */ { false, true , true , false, false, false, false, true , false, false, false, false },
|
||||
/* mediaStream 9 */ { false, false, false, false, false, false, false, false, false, false, false, false },
|
||||
/* references 10 */ { true , true , false, false, true , true , true , false, true , true , true , false },
|
||||
/* reference 11 */ { false, true , false, false, false, false, false, false, false, false, false, false },
|
||||
/* propertyComplex 12 */ { false, true , true , false, false, false, false, true , false, false, false, false },
|
||||
/* propertyComplexCollection 13 */ { true , true , true , false, true , true , false, true , true , true , true , true },
|
||||
/* propertyComplexCollectionCount 14 */ { true , false, false, false, false, false, false, false, false, false, false, false },
|
||||
/* propertyComplexCollectionCount 14 */ { true , false, false, false, false, false, false, false, false, false, false, true },
|
||||
/* propertyPrimitive 15 */ { false, true , false, false, false, false, false, false, false, false, false, false },
|
||||
/* propertyPrimitiveCollection 16 */ { true , true , false, false, true , true , false, false, true , true , true , false },
|
||||
/* propertyPrimitiveCollectionCount 17 */ { true , false, false, false, false, false, false, false, false, false, false, false },
|
||||
|
|
|
@ -112,7 +112,7 @@ public class UriValidatorTest {
|
|||
{ URI_ENTITY_SET, QO_SELECT }, { URI_ENTITY_SET, QO_SKIP }, { URI_ENTITY_SET, QO_SKIPTOKEN },
|
||||
{ URI_ENTITY_SET, QO_TOP }, { URI_ENTITY_SET, QO_APPLY },
|
||||
|
||||
{ URI_ENTITY_SET_COUNT, QO_FILTER }, { URI_ENTITY_SET_COUNT, QO_SEARCH },
|
||||
{ URI_ENTITY_SET_COUNT, QO_FILTER }, { URI_ENTITY_SET_COUNT, QO_SEARCH }, { URI_ENTITY_SET_COUNT, QO_APPLY },
|
||||
|
||||
{ URI_ENTITY, QO_FORMAT }, { URI_ENTITY, QO_EXPAND }, { URI_ENTITY, QO_SELECT },
|
||||
|
||||
|
@ -130,7 +130,7 @@ public class UriValidatorTest {
|
|||
{ URI_PROPERTY_COMPLEX_COLLECTION, QO_SKIP }, { URI_PROPERTY_COMPLEX_COLLECTION, QO_SKIPTOKEN },
|
||||
{ URI_PROPERTY_COMPLEX_COLLECTION, QO_TOP }, { URI_PROPERTY_COMPLEX_COLLECTION, QO_APPLY },
|
||||
|
||||
{ URI_PROPERTY_COMPLEX_COLLECTION_COUNT, QO_FILTER },
|
||||
{ URI_PROPERTY_COMPLEX_COLLECTION_COUNT, QO_FILTER }, { URI_PROPERTY_COMPLEX_COLLECTION_COUNT, QO_APPLY },
|
||||
|
||||
{ URI_PROPERTY_PRIMITIVE, QO_FORMAT },
|
||||
|
||||
|
@ -195,7 +195,7 @@ public class UriValidatorTest {
|
|||
{ URI_ENTITY_SET_COUNT, QO_EXPAND }, { URI_ENTITY_SET_COUNT, QO_COUNT },
|
||||
{ URI_ENTITY_SET_COUNT, QO_ORDERBY },
|
||||
{ URI_ENTITY_SET_COUNT, QO_SELECT }, { URI_ENTITY_SET_COUNT, QO_SKIP }, { URI_ENTITY_SET_COUNT, QO_SKIPTOKEN },
|
||||
{ URI_ENTITY_SET_COUNT, QO_TOP }, { URI_ENTITY_SET_COUNT, QO_APPLY },
|
||||
{ URI_ENTITY_SET_COUNT, QO_TOP },
|
||||
|
||||
{ URI_ENTITY, QO_FILTER }, { URI_ENTITY, QO_ID }, { URI_ENTITY, QO_COUNT }, { URI_ENTITY, QO_ORDERBY },
|
||||
{ URI_ENTITY, QO_SEARCH }, { URI_ENTITY, QO_SKIP }, { URI_ENTITY, QO_SKIPTOKEN }, { URI_ENTITY, QO_TOP },
|
||||
|
@ -226,7 +226,7 @@ public class UriValidatorTest {
|
|||
{ URI_PROPERTY_COMPLEX_COLLECTION_COUNT, QO_COUNT }, { URI_PROPERTY_COMPLEX_COLLECTION_COUNT, QO_ORDERBY },
|
||||
{ URI_PROPERTY_COMPLEX_COLLECTION_COUNT, QO_SEARCH }, { URI_PROPERTY_COMPLEX_COLLECTION_COUNT, QO_SELECT },
|
||||
{ URI_PROPERTY_COMPLEX_COLLECTION_COUNT, QO_SKIP }, { URI_PROPERTY_COMPLEX_COLLECTION_COUNT, QO_SKIPTOKEN },
|
||||
{ URI_PROPERTY_COMPLEX_COLLECTION_COUNT, QO_TOP }, { URI_PROPERTY_COMPLEX_COLLECTION_COUNT, QO_APPLY },
|
||||
{ URI_PROPERTY_COMPLEX_COLLECTION_COUNT, QO_TOP },
|
||||
|
||||
{ URI_PROPERTY_PRIMITIVE, QO_FILTER }, { URI_PROPERTY_PRIMITIVE, QO_ID }, { URI_PROPERTY_PRIMITIVE, QO_EXPAND },
|
||||
{ URI_PROPERTY_PRIMITIVE, QO_COUNT }, { URI_PROPERTY_PRIMITIVE, QO_ORDERBY },
|
||||
|
|
Loading…
Reference in New Issue