Skip to content

Commit

Permalink
Generated from aacab711ed01fee78d28005b4ab4a30be1ca5e22
Browse files Browse the repository at this point in the history
Add public network access
  • Loading branch information
SDK Automation committed Apr 30, 2020
1 parent f4babca commit bf01fa9
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 10 deletions.
4 changes: 3 additions & 1 deletion sdk/containerregistry/mgmt-v2017_06_01_preview/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-parent</artifactId>
<version>1.2.0</version>
<version>1.1.0</version>
<relativePath>../../../pom.management.xml</relativePath>
</parent>
<artifactId>azure-mgmt-containerregistry</artifactId>
Expand Down Expand Up @@ -71,6 +71,8 @@
<artifactId>azure-arm-client-runtime</artifactId>
<type>test-jar</type>
<scope>test</scope>
<!--Below version for test jar needs to be removed, this will be done as part of v1-runtime 1.6.7-->
<version>1.6.5</version>
</dependency>
</dependencies>
<build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class Target {

/**
* The digest of the content, as defined by the Registry V2 HTTP API
* Specificiation.
* Specification.
*/
@JsonProperty(value = "digest")
private String digest;
Expand Down Expand Up @@ -98,7 +98,7 @@ public Target withSize(Long size) {
}

/**
* Get the digest of the content, as defined by the Registry V2 HTTP API Specificiation.
* Get the digest of the content, as defined by the Registry V2 HTTP API Specification.
*
* @return the digest value
*/
Expand All @@ -107,7 +107,7 @@ public String digest() {
}

/**
* Set the digest of the content, as defined by the Registry V2 HTTP API Specificiation.
* Set the digest of the content, as defined by the Registry V2 HTTP API Specification.
*
* @param digest the digest value to set
* @return the Target object itself.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,14 @@ public Replication call(ReplicationInner inner) {
public Observable<Replication> getAsync(String resourceGroupName, String registryName, String replicationName) {
ReplicationsInner client = this.inner();
return client.getAsync(resourceGroupName, registryName, replicationName)
.map(new Func1<ReplicationInner, Replication>() {
.flatMap(new Func1<ReplicationInner, Observable<Replication>>() {
@Override
public Replication call(ReplicationInner inner) {
return wrapModel(inner);
public Observable<Replication> call(ReplicationInner inner) {
if (inner == null) {
return Observable.empty();
} else {
return Observable.just((Replication)wrapModel(inner));
}
}
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,14 @@ public Webhook call(WebhookInner inner) {
public Observable<Webhook> getAsync(String resourceGroupName, String registryName, String webhookName) {
WebhooksInner client = this.inner();
return client.getAsync(resourceGroupName, registryName, webhookName)
.map(new Func1<WebhookInner, Webhook>() {
.flatMap(new Func1<WebhookInner, Observable<Webhook>>() {
@Override
public Webhook call(WebhookInner inner) {
return wrapModel(inner);
public Observable<Webhook> call(WebhookInner inner) {
if (inner == null) {
return Observable.empty();
} else {
return Observable.just((Webhook)wrapModel(inner));
}
}
});
}
Expand Down

0 comments on commit bf01fa9

Please sign in to comment.