azure-sdk-for-java icon indicating copy to clipboard operation
azure-sdk-for-java copied to clipboard

list of servicebus metadata update through service side got bad request response with "unsupported properties for api-version '' msg

Open xuezhai opened this issue 13 years ago • 1 comments

here is the list when make meta data update request through servicebus service, which got bad request response with msg "400 Bad Request Response Body: 400The entity description of type 'QueueDescription' has unsupported properties for api-version ''

here are items with unsupported property

QueueInfo
testGetSetLockDuration() OK
testGetSetMaxSizeInMegabytes() OK
testGetSetRequiresDuplicateDetection() bad request 400 testGetSetRequiresSession() bad request 400 testGetSetDefaultMessageTimeToLive() bad request 400 testGetSetDeadLetteringOnMessageExpiration() OK
testGetSetDuplicateDetectionHistoryTimeWindow() bad request 400 testGetSetMaxDeliveryCount() OK
testGetSetEnableBatchedOperations() OK
testGetSetSizeInBytes() OK
testGetSetMessageCount() OK
testGetSetIsAnonymousAccessible() bad request 400 upsupported property testGetSetAuthorization() bad request 400 upsupported property testGetSetStatus() bad request 400 upsupported property testGetSetForwardTo() bad request 400 upsupported property testGetSetCreatedAt() bad request 400 upsupported property testGetSetUpdatedAt() bad request 400 upsupported property testGetSetAccessedAt() bad request 400 upsupported property testGetSetUserMetadata() bad request 400 upsupported property testGetSetSupportOrdering() bad request 400 upsupported property testGetSetCountDetails() bad request 400 upsupported property testGetSetAutoDeleteOnIdle() bad request 400 upsupported property testGetSetPartioningPolicy() bad request 400 testGetSetEntityAvailabilityStatus() OK
RuleInfo – cannot be updated, they can only be added and removed
testGetSetFilter() 500 internal error
testGetSetAction() path segment is null
testGetSetTag() path segment is null
testGetSetName() OK
testGetSetCreatedAt() path segment is null

TopicInfo
testGetSetDefaultMessageTimeToLive() OK
testGetSetMaxSizeInMegabytes() OK
testGetSetRequiresDuplicateDetection() bad request 400 testGetSetDuplicateDetectionHistoryTimeWindow() bad request 400 testGetSetEnableBatchedOperations() OK
testGetSetSizeInBytes() OK
testGetSetFilteringMessageBeforePublishing() bad request 400 upsupported property testGetSetAnonymousAccessible() OK
testGetSetAuthorization() bad request 400 upsupported property testGetSetStatus() bad request 400 upsupported property testGetSetForwardTo() bad request 400 upsupported property testGetSetCreatedAt() bad request 400 upsupported property testGetSetUpdatedAt() bad request 400 upsupported property testGetSetAccessedAt() bad request 400 upsupported property testGetSetUserMetadata() bad request 400 upsupported property testGetSetSupportOrdering() bad request 400 upsupported property testGetSetSubscriptionCount() bad request 400 upsupported property testGetSetCountDetails()
testGetSetAutoDeleteOnIdle() bad request 400 upsupported property testGetSetPartioningPolicy() bad request 400 upsupported property testGetSetEntityAvailabilityStatus() OK
SubInfo
testGetSetLockDuration() OK
testGetSetRequiresSession() bad request 400 property not changeable testGetSetDefaultMessageTimeToLive() 500 internal server error
testGetSetDeadLetteringOnMessageExpiration() OK
testGetSetDeadLetteringOnFilterEvaluationExceptions() OK
testGetSetDefaultRuleDescription()
testGetSetMessageCount()
testGetSetMaxDeliveryCount() OK
testGetSetEnableBatchedOperations() OK
testGetSetStatus() bad request 400 upsupported property testGetSetForwardTo() bad request 400 upsupported property testGetSetCreatedAt() bad request 400 upsupported property testGetSetUpdatedAt() bad request 400 upsupported property testGetSetAccessedAt() bad request 400 upsupported property testGetSetUserMetadata() bad request 400 upsupported property testGetSetCountDetails() bad request 400 upsupported property testGetSetAutoDeleteOnIdle() bad request 400 upsupported property

xuezhai avatar May 14 '13 17:05 xuezhai

use the updated implementation (use api versioning), the integration test result is much better. but still few meta data property need to take a look: testGetSetRequiresDuplicateDetection() bad request 400 bad request 400 same as before(after fix) apply to queueinfo, topicinfo, subinfo. testGetSetRequiresSession() bad request 400 bad request 400 same as before (after fix) apply to queueinfo only testGetSetPartioningPolicy() bad request 400 unsupported property(after fix) apply to queueinfo only

but double check the email from servicebus which confirms what is supported/not supported (updatable), or readonly, these three all not updatable so we are fine here, close the bug

xuezhai avatar May 15 '13 18:05 xuezhai