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

Transactional md5 #5947

Merged
merged 22 commits into from
Oct 29, 2019
Merged

Transactional md5 #5947

merged 22 commits into from
Oct 29, 2019

Conversation

rickle-msft
Copy link
Contributor

No description provided.

@@ -91,7 +91,11 @@ public AzureBlobStorageImpl build() {
if (this.url != null) {
client.setUrl(this.url);
}
client.setVersion(this.version);
if (this.version != null) {
Copy link
Contributor

Choose a reason for hiding this comment

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

We allow customer to customize the service version through builder.

If not specified, this "2019=02-02"

Copy link
Member

Choose a reason for hiding this comment

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

This is done by codegen and functionally does the same thing our hand crafted builders do

@@ -109,7 +109,7 @@ class APISpec extends Specification {

static final String garbageLeaseID = UUID.randomUUID().toString()

public static final String defaultEndpointTemplate = "https://%s.blob.core.windows.net/"
public static final String defaultEndpointTemplate = "http://%s.blob.core.windows.net/"
Copy link
Member

Choose a reason for hiding this comment

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

Change back to https

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nice catch. Thanks

@@ -24,7 +24,7 @@ autorest --use=C:/work/autorest.java --use=C:/work/autorest.modeler --version=2.

### Code generation settings
``` yaml
input-file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/storage-dataplane-preview/specification/storage/data-plane/Microsoft.BlobStorage/preview/2019-02-02/blob.json
input-file: https://github.com/Azure/azure-rest-api-specs/blob/ab914bf38cf5afc78f09b163ca42f593dec84472/specification/storage/data-plane/Microsoft.BlobStorage/preview/2019-02-02/blob.json
Copy link
Member

Choose a reason for hiding this comment

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

Which swagger do we want to point to? Were the changes merged into the main swagger branch?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think want to point to the HEAD of the branch.

@@ -199,32 +199,37 @@
*
* <p><strong>Code Samples</strong></p>
*
* {@codesnippet com.azure.storage.blob.specialized.AppendBlobAsyncClient.appendBlockWithResponse#Flux-long-AppendBlobAccessConditions}
* {@codesnippet com.azure.storage.blob.specialized.AppendBlobAsyncClient.appendBlockWithResponse#Flux-long-byte-AppendBlobAccessConditions}
Copy link
Member

Choose a reason for hiding this comment

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

@alzimmermsft is this the correct syntax to use for a byte array in these code snippet tags?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's the same as what was used in appendBlockFromURL, which already supported this.

Copy link
Member

Choose a reason for hiding this comment

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

This is the correct syntax, generics and array types use the fix keyword only (byte[] -> byte, Flux -> Flux).

@rickle-msft rickle-msft requested a review from g2vinay as a code owner October 25, 2019 21:04
@joshfree
Copy link
Member

@rickle-msft is there any thing remaining here other than 'Squash and merge'? Thanks! 😄

@amishra-dev
Copy link

/azp run java - storage - ci

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@amishra-dev
Copy link

/azp run java - storage - ci

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@amishra-dev
Copy link

/azp run java - storage - ci

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@joshfree
Copy link
Member

@jianghaolu
Copy link
Contributor

CI error: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?

Seems transient, but re-running seems to be not working thus closing and re-opening the PR.

@jianghaolu jianghaolu closed this Oct 28, 2019
@jianghaolu jianghaolu reopened this Oct 28, 2019
@amishra-dev amishra-dev merged commit 4fd2608 into Azure:master Oct 29, 2019
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.

10 participants