Skip to content
This repository was archived by the owner on Aug 26, 2025. It is now read-only.
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 batch/resource-manager/v2017_05_01/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>0.0.3-beta</version>
<relativePath>../../../pom.xml</relativePath>
<version>1.1.0</version>
<relativePath>../../../pom.management.xml</relativePath>
</parent>
<artifactId>azure-mgmt-batch</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 @@ -54,10 +54,14 @@ public ApplicationPackage call(ApplicationPackageInner inner) {
public Observable<ApplicationPackage> getAsync(String resourceGroupName, String accountName, String applicationId, String version) {
ApplicationPackagesInner client = this.inner();
return client.getAsync(resourceGroupName, accountName, applicationId, version)
.map(new Func1<ApplicationPackageInner, ApplicationPackage>() {
.flatMap(new Func1<ApplicationPackageInner, Observable<ApplicationPackage>>() {
@Override
public ApplicationPackage call(ApplicationPackageInner inner) {
return wrapModel(inner);
public Observable<ApplicationPackage> call(ApplicationPackageInner inner) {
if (inner == null) {
return Observable.empty();
} else {
return Observable.just((ApplicationPackage)wrapModel(inner));
}
}
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,14 @@ public Application call(ApplicationInner inner) {
public Observable<Application> getAsync(String resourceGroupName, String accountName, String applicationId) {
ApplicationsInner client = this.inner();
return client.getAsync(resourceGroupName, accountName, applicationId)
.map(new Func1<ApplicationInner, Application>() {
.flatMap(new Func1<ApplicationInner, Observable<Application>>() {
@Override
public Application call(ApplicationInner inner) {
return wrapModel(inner);
public Observable<Application> call(ApplicationInner inner) {
if (inner == null) {
return Observable.empty();
} else {
return Observable.just((Application)wrapModel(inner));
}
}
});
}
Expand Down