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

[AutoPR sdk/netapp/mgmt-v2017_08_15] Anf 7051 2020 03 01 api version swagger linting issues kpi #3892

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions sdk/netapp/mgmt-v2017_08_15/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-parent</artifactId>
<version>1.2.0</version>
<relativePath>../../parents/azure-arm-parent</relativePath>
<version>1.1.0</version>
<relativePath>../../../pom.management.xml</relativePath>
</parent>
<artifactId>azure-mgmt-netapp</artifactId>
<version>1.0.0-beta</version>
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 @@ -64,10 +64,14 @@ public CapacityPool call(CapacityPoolInner inner) {
public Observable<CapacityPool> getAsync(String resourceGroupName, String accountName, String poolName) {
PoolsInner client = this.inner();
return client.getAsync(resourceGroupName, accountName, poolName)
.map(new Func1<CapacityPoolInner, CapacityPool>() {
.flatMap(new Func1<CapacityPoolInner, Observable<CapacityPool>>() {
@Override
public CapacityPool call(CapacityPoolInner inner) {
return wrapModel(inner);
public Observable<CapacityPool> call(CapacityPoolInner inner) {
if (inner == null) {
return Observable.empty();
} else {
return Observable.just((CapacityPool)wrapModel(inner));
}
}
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,14 @@ public Snapshot call(SnapshotInner inner) {
public Observable<Snapshot> getAsync(String resourceGroupName, String accountName, String poolName, String volumeName, String snapshotName) {
SnapshotsInner client = this.inner();
return client.getAsync(resourceGroupName, accountName, poolName, volumeName, snapshotName)
.map(new Func1<SnapshotInner, Snapshot>() {
.flatMap(new Func1<SnapshotInner, Observable<Snapshot>>() {
@Override
public Snapshot call(SnapshotInner inner) {
return wrapModel(inner);
public Observable<Snapshot> call(SnapshotInner inner) {
if (inner == null) {
return Observable.empty();
} else {
return Observable.just((Snapshot)wrapModel(inner));
}
}
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,14 @@ public Volume call(VolumeInner inner) {
public Observable<Volume> getAsync(String resourceGroupName, String accountName, String poolName, String volumeName) {
VolumesInner client = this.inner();
return client.getAsync(resourceGroupName, accountName, poolName, volumeName)
.map(new Func1<VolumeInner, Volume>() {
.flatMap(new Func1<VolumeInner, Observable<Volume>>() {
@Override
public Volume call(VolumeInner inner) {
return wrapModel(inner);
public Observable<Volume> call(VolumeInner inner) {
if (inner == null) {
return Observable.empty();
} else {
return Observable.just((Volume)wrapModel(inner));
}
}
});
}
Expand Down