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

Storage queue from Alan's PR #4036

Closed
wants to merge 138 commits into from
Closed

Conversation

sima-zhu
Copy link
Contributor

@sima-zhu sima-zhu commented Jun 21, 2019

  • Code, Mono -> Flux

  • Whether merge in DequedMessage and PeekedMessage? No merge. Confirmed from Alan.

  • Code, getURL() or others? File an issue

  • Why 'Azure' in AzureQueueStorageBuilder? Already renamed in code.

  • connectionString() or credential() in builder patter

  • Code Is there ever a time a user would want to mutate or instantiate this class? To me it would be reasonable to make this an immutable class? It is from autogeneration. Will sync with Jianghao after blob change.

  • Code POJO or Fluent. Will do with POJO

  • Code This class API and the name of the class are not obviously related. Is UpdatedMessage really the right name here? This data model is used in QueueAsyncClient for updateMessage API, so the name is by design.

iscai-msft and others added 16 commits June 28, 2019 17:56
* added servicebus entry to api-specs

* generated v2015_08_01 of servicebus

* generated v2018_01_01_preview of servicebus
* generated v2017_04_01 of servicebus

* updated azure-arm-parent versioning
* generated v2015_06_01 of authorization

* generated v2018_07_01_preview of authorization

* generated v2018_09_01_preview of authorization

* updated versioning for maven
* generated v2015_07_01 of monitor

* generated v2016_03_01 of monitor

* generated v2017_03_01_preview of monitor

* generated v2017_04_01 of monitor

* generated v2018_03_01 of monitor

* generated v2018_04_16 of monitor

* generated v2018_09_01 of monitor

* formatted pom.xml

* Update pom.xml
* added search entry to api-specs

* generated v2015_02_28 of search
* added appconfiguration entry to api-specs

* generated v2019_02_01_preview of appconfiguration
Adding API for blockUntil(desiredOperatopnStatus) refer to issue Azure#3931
Added Release notes + KV javadoc grouping update
* regenerated network with api version 2019_02_01

* updated parent versioning in pom

* Update pom.xml
* Adding an example to authorize with AAD.

* Fix broken links

* Fixing link.

* Sort links

* Make links relative

* Review changes.
* Initial prototype for paged flux

* Update unit tests and javadocs

* Remove unused imports

* Updated to use paged response instead of continuation token

* Update javadocs

* Supplier and function

* Update javadocs, add code snippets and more unit tests

* Undo package-info changes

* Undo package-info changes

* Update javadocs

* Add jsr dependency

* Remove extra blank line
pom.client.xml Outdated
@@ -523,6 +523,7 @@
-snippetpath ${project.basedir}/eventhubs/client/azure-eventhubs/src/samples/java
-snippetpath ${project.basedir}/keyvault/client/keys/src/samples/java
-snippetpath ${project.basedir}/keyvault/client/secrets/src/samples/java
-snippetpath ${project.basedir}/storage/client/queue/src/samples/java/javadoc
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There shouldn't be javadoc at the end of this line

<configuration>
<failOnError>false</failOnError>
</configuration>
</plugin>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes can all be removed - it is centrally managed now.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checkstyle should be removed too, right?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, all configuration of these features is centralised

* .endpoint(endpoint)
* .queueName(queueName)
* .buildAsync();
* </pre>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This code snippet should be in an external .java file like other code snippets.

* <pre>
* client.create(Collections.singletonMap("queue", "metadataMap"))
* .subscribe(response -&gt; System.out.printf("Create completed with status code %d", response.statusCode()));
* </pre>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make sure all code snippets are externalised - I won't keep mentioning this as I get further down the PR.

*
* <p>Delete a queue</p>
*
* @codesnippet com.azure.storage.queue.queueAsyncClient.delete
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

None of these codesnippet blocks are valid - you are missing the opening and closing brace. Generate the JavaDoc and you'll see what I mean.

*
* <p><strong>Code Samples</strong></p>
*
* <p>Get the properties of the queue</p>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code snippet titles should be more bold than a simple paragraph block.

@sima-zhu sima-zhu closed this Jul 10, 2019
@sima-zhu sima-zhu deleted the storage-queue branch July 10, 2019 23:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.