Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Service Bus Upgrade Scenario 2: Support the latest metadata properties on entities #235

Closed
gcheng opened this issue Feb 11, 2013 · 9 comments

Comments

@gcheng
Copy link

gcheng commented Feb 11, 2013

Dev estimate: 8
Test estimate: 5

  1. QueueToQueue Transfer (ForwardTo)
  2. State of entity (enabled/disabled etc.)
  3. Enable Pre-Filtering.
  4. MessageCountDetails (Read-only)
@gcheng
Copy link
Author

gcheng commented Apr 18, 2013

• Supporting latest properties – if you have access to our sources, then the full set of properties are in these classes. I think the most notable changes will be AuthorizationRules properties and additional metadata.
o QueueDescription
o TopicDescription
o SubscriptionDescription
o RuleDescrpition

@gcheng
Copy link
Author

gcheng commented Apr 19, 2013

For Queue, this is the current design, those that are marked with star already exists for Java SDK.

   public static readonly TimeSpan MessageTimeToLiveDefaultValue;
   public QueueDescription(string path)
   public TimeSpan LockDuration * 
   public long MaxSizeInMegabytes *
   public bool RequiresDuplicateDetection *
   public bool RequiresSession *
   public TimeSpan DefaultMessageTimeToLive *
   public TimeSpan AutoDeleteOnIdle
   public bool EnableDeadLetteringOnMessageExpiration *
   public TimeSpan DuplicateDetectionHistoryTimeWindow *
   public string Path *
   public int MaxDeliveryCount *
   public bool EnableBatchedOperations *
   public long SizeInBytes *
   public long MessageCount *
   public MessageCountDetails MessageCountDetails
   public AuthorizationRules Authorization
   public bool IsAnonymousAccessible
   public bool SupportOrdering
   public EntityStatus Status
   public EntityAvailabilityStatus AvailabilityStatus
   public string ForwardTo
   public DateTime CreatedAt
   public DateTime UpdatedAt
   public DateTime AccessedAt
   public PartitioningPolicy PartitioningPolicy
   public string UserMetadata

@gcheng
Copy link
Author

gcheng commented Apr 23, 2013

The DateTime created from JAXB are XMlGregorianCalender, which are hard to use with Java Date.

@gcheng
Copy link
Author

gcheng commented Apr 24, 2013

Updates of the queue description has been sent for CR.

@gcheng
Copy link
Author

gcheng commented Apr 29, 2013

all of them are in CR now.!

@gcheng
Copy link
Author

gcheng commented May 3, 2013

all of them checked in. Adding additional integration test for QueuetoQueue Forward surface some additional requirement.

@gcheng
Copy link
Author

gcheng commented May 3, 2013

get message count details seem to have some problem in integration test.

@gcheng
Copy link
Author

gcheng commented May 6, 2013

Authorization Rules are also pulled out.

@xuezhai
Copy link
Contributor

xuezhai commented May 14, 2013

finished the testing for the meta data get/set, through azure service with modify code not using local object's get/set, found majority of the meta data can't be updated through azure service, error msg include "
https://javasdksbnamespace.servicebus.windows.net/testSubscriptionCanBeUpdated/subscriptions/sub returned a response status of 400 Bad Request
Response Body: 400The entity description of type 'SubscriptionDescription' has unsupported properties for api-version '' in the request. Try including the correct api-version query string in the request..TrackingId:694e4121-c610-481f-86ce-296f55736cd2_G4,TimeStamp:5/14/2013 2:04:50
or just 400 bad request or 500 internal error
several property set/get passed, like set/get maxdeliveryCount for subscript, need to follow up with feature team to find out what is support/not supported for service bus meta data

@xuezhai xuezhai closed this as completed May 14, 2013
sima-zhu pushed a commit to sima-zhu/azure-sdk-for-java that referenced this issue Mar 21, 2019
Update v2 branch pom.xml version to 2.0.0-SNAPSHOT
mssfang pushed a commit to mssfang/azure-sdk-for-java that referenced this issue Apr 23, 2019
navalev added a commit to navalev/azure-sdk-for-java that referenced this issue Dec 24, 2019
…#235)

* remove datasourceName param in createOrUpdateDatasource method

* remove datasourceName param
@github-actions github-actions bot locked and limited conversation to collaborators Apr 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants