diff --git a/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/validator/UriValidator.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/validator/UriValidator.java index 64c3cf7e5..d5232260c 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/validator/UriValidator.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/validator/UriValidator.java @@ -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 }, diff --git a/lib/server-test/src/test/java/org/apache/olingo/server/core/uri/validator/UriValidatorTest.java b/lib/server-test/src/test/java/org/apache/olingo/server/core/uri/validator/UriValidatorTest.java index 789e65f3c..61cc00075 100644 --- a/lib/server-test/src/test/java/org/apache/olingo/server/core/uri/validator/UriValidatorTest.java +++ b/lib/server-test/src/test/java/org/apache/olingo/server/core/uri/validator/UriValidatorTest.java @@ -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 },