Skip to content

Commit 838fc5d

Browse files
author
SDK Automation
committed
Generated from 58d4e9800c40a04eddf23380db322a816ae93b2c
1 parent d38576e commit 838fc5d

23 files changed

+255
-64
lines changed

sdk/logic/mgmt-v2018_07_01_preview/pom.xml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
<parent>
1212
<groupId>com.microsoft.azure</groupId>
1313
<artifactId>azure-arm-parent</artifactId>
14-
<version>1.2.0</version>
15-
<relativePath>../../parents/azure-arm-parent</relativePath>
14+
<version>1.1.0</version>
15+
<relativePath>../../../pom.management.xml</relativePath>
1616
</parent>
1717
<artifactId>azure-mgmt-logic</artifactId>
18-
<version>1.0.0-beta-1</version>
18+
<version>1.0.0-beta</version>
1919
<packaging>jar</packaging>
2020
<name>Microsoft Azure SDK for Logic Management</name>
2121
<description>This package contains Microsoft Logic Management SDK.</description>
@@ -71,6 +71,8 @@
7171
<artifactId>azure-arm-client-runtime</artifactId>
7272
<type>test-jar</type>
7373
<scope>test</scope>
74+
<!--Below version for test jar needs to be removed, this will be done as part of v1-runtime 1.6.7-->
75+
<version>1.6.5</version>
7476
</dependency>
7577
</dependencies>
7678
<build>

sdk/logic/mgmt-v2018_07_01_preview/src/main/java/com/microsoft/azure/management/logic/v2018_07_01_preview/Workflow.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ interface WithGroup extends GroupableResourceCore.DefinitionStages.WithGroup<Wit
104104
interface WithDefinition {
105105
/**
106106
* Specifies definition.
107-
* @param definition The definition
107+
* @param definition The definition. See [Schema reference for Workflow Definition Language in Azure Logic Apps](https://aka.ms/logic-apps-workflow-definition-language)
108108
* @return the next definition stage
109109
*/
110110
WithCreate withDefinition(Object definition);
@@ -182,7 +182,7 @@ interface UpdateStages {
182182
interface WithDefinition {
183183
/**
184184
* Specifies definition.
185-
* @param definition The definition
185+
* @param definition The definition. See [Schema reference for Workflow Definition Language in Azure Logic Apps](https://aka.ms/logic-apps-workflow-definition-language)
186186
* @return the next update stage
187187
*/
188188
Update withDefinition(Object definition);

sdk/logic/mgmt-v2018_07_01_preview/src/main/java/com/microsoft/azure/management/logic/v2018_07_01_preview/WorkflowRuns.java

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
package com.microsoft.azure.management.logic.v2018_07_01_preview;
1010

11-
import rx.Observable;
1211
import rx.Completable;
12+
import rx.Observable;
1313
import com.microsoft.azure.management.logic.v2018_07_01_preview.implementation.WorkflowRunsInner;
1414
import com.microsoft.azure.arm.model.HasInner;
1515

@@ -49,4 +49,15 @@ public interface WorkflowRuns extends HasInner<WorkflowRunsInner> {
4949
*/
5050
Observable<WorkflowWorkflowRun> listAsync(final String resourceGroupName, final String workflowName);
5151

52+
/**
53+
* Deletes a workflow run.
54+
*
55+
* @param resourceGroupName The resource group name.
56+
* @param workflowName The workflow name.
57+
* @param runName The workflow run name.
58+
* @throws IllegalArgumentException thrown if parameters fail the validation
59+
* @return the observable for the request
60+
*/
61+
Completable deleteAsync(String resourceGroupName, String workflowName, String runName);
62+
5263
}

sdk/logic/mgmt-v2018_07_01_preview/src/main/java/com/microsoft/azure/management/logic/v2018_07_01_preview/implementation/IntegrationAccountAgreementsImpl.java

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,14 @@ public IntegrationAccountAgreement call(IntegrationAccountAgreementInner inner)
7878
public Observable<IntegrationAccountAgreement> getAsync(String resourceGroupName, String integrationAccountName, String agreementName) {
7979
IntegrationAccountAgreementsInner client = this.inner();
8080
return client.getAsync(resourceGroupName, integrationAccountName, agreementName)
81-
.map(new Func1<IntegrationAccountAgreementInner, IntegrationAccountAgreement>() {
81+
.flatMap(new Func1<IntegrationAccountAgreementInner, Observable<IntegrationAccountAgreement>>() {
8282
@Override
83-
public IntegrationAccountAgreement call(IntegrationAccountAgreementInner inner) {
84-
return wrapModel(inner);
83+
public Observable<IntegrationAccountAgreement> call(IntegrationAccountAgreementInner inner) {
84+
if (inner == null) {
85+
return Observable.empty();
86+
} else {
87+
return Observable.just((IntegrationAccountAgreement)wrapModel(inner));
88+
}
8589
}
8690
});
8791
}

sdk/logic/mgmt-v2018_07_01_preview/src/main/java/com/microsoft/azure/management/logic/v2018_07_01_preview/implementation/IntegrationAccountAssembliesImpl.java

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,14 @@ public AssemblyDefinition call(AssemblyDefinitionInner inner) {
7777
public Observable<AssemblyDefinition> getAsync(String resourceGroupName, String integrationAccountName, String assemblyArtifactName) {
7878
IntegrationAccountAssembliesInner client = this.inner();
7979
return client.getAsync(resourceGroupName, integrationAccountName, assemblyArtifactName)
80-
.map(new Func1<AssemblyDefinitionInner, AssemblyDefinition>() {
80+
.flatMap(new Func1<AssemblyDefinitionInner, Observable<AssemblyDefinition>>() {
8181
@Override
82-
public AssemblyDefinition call(AssemblyDefinitionInner inner) {
83-
return wrapModel(inner);
82+
public Observable<AssemblyDefinition> call(AssemblyDefinitionInner inner) {
83+
if (inner == null) {
84+
return Observable.empty();
85+
} else {
86+
return Observable.just((AssemblyDefinition)wrapModel(inner));
87+
}
8488
}
8589
});
8690
}

sdk/logic/mgmt-v2018_07_01_preview/src/main/java/com/microsoft/azure/management/logic/v2018_07_01_preview/implementation/IntegrationAccountBatchConfigurationsImpl.java

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,14 @@ public BatchConfiguration call(BatchConfigurationInner inner) {
6464
public Observable<BatchConfiguration> getAsync(String resourceGroupName, String integrationAccountName, String batchConfigurationName) {
6565
IntegrationAccountBatchConfigurationsInner client = this.inner();
6666
return client.getAsync(resourceGroupName, integrationAccountName, batchConfigurationName)
67-
.map(new Func1<BatchConfigurationInner, BatchConfiguration>() {
67+
.flatMap(new Func1<BatchConfigurationInner, Observable<BatchConfiguration>>() {
6868
@Override
69-
public BatchConfiguration call(BatchConfigurationInner inner) {
70-
return wrapModel(inner);
69+
public Observable<BatchConfiguration> call(BatchConfigurationInner inner) {
70+
if (inner == null) {
71+
return Observable.empty();
72+
} else {
73+
return Observable.just((BatchConfiguration)wrapModel(inner));
74+
}
7175
}
7276
});
7377
}

sdk/logic/mgmt-v2018_07_01_preview/src/main/java/com/microsoft/azure/management/logic/v2018_07_01_preview/implementation/IntegrationAccountCertificatesImpl.java

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,14 @@ public IntegrationAccountCertificate call(IntegrationAccountCertificateInner inn
6464
public Observable<IntegrationAccountCertificate> getAsync(String resourceGroupName, String integrationAccountName, String certificateName) {
6565
IntegrationAccountCertificatesInner client = this.inner();
6666
return client.getAsync(resourceGroupName, integrationAccountName, certificateName)
67-
.map(new Func1<IntegrationAccountCertificateInner, IntegrationAccountCertificate>() {
67+
.flatMap(new Func1<IntegrationAccountCertificateInner, Observable<IntegrationAccountCertificate>>() {
6868
@Override
69-
public IntegrationAccountCertificate call(IntegrationAccountCertificateInner inner) {
70-
return wrapModel(inner);
69+
public Observable<IntegrationAccountCertificate> call(IntegrationAccountCertificateInner inner) {
70+
if (inner == null) {
71+
return Observable.empty();
72+
} else {
73+
return Observable.just((IntegrationAccountCertificate)wrapModel(inner));
74+
}
7175
}
7276
});
7377
}

sdk/logic/mgmt-v2018_07_01_preview/src/main/java/com/microsoft/azure/management/logic/v2018_07_01_preview/implementation/IntegrationAccountMapsImpl.java

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,14 @@ public IntegrationAccountMap call(IntegrationAccountMapInner inner) {
7878
public Observable<IntegrationAccountMap> getAsync(String resourceGroupName, String integrationAccountName, String mapName) {
7979
IntegrationAccountMapsInner client = this.inner();
8080
return client.getAsync(resourceGroupName, integrationAccountName, mapName)
81-
.map(new Func1<IntegrationAccountMapInner, IntegrationAccountMap>() {
81+
.flatMap(new Func1<IntegrationAccountMapInner, Observable<IntegrationAccountMap>>() {
8282
@Override
83-
public IntegrationAccountMap call(IntegrationAccountMapInner inner) {
84-
return wrapModel(inner);
83+
public Observable<IntegrationAccountMap> call(IntegrationAccountMapInner inner) {
84+
if (inner == null) {
85+
return Observable.empty();
86+
} else {
87+
return Observable.just((IntegrationAccountMap)wrapModel(inner));
88+
}
8589
}
8690
});
8791
}

sdk/logic/mgmt-v2018_07_01_preview/src/main/java/com/microsoft/azure/management/logic/v2018_07_01_preview/implementation/IntegrationAccountPartnersImpl.java

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,14 @@ public IntegrationAccountPartner call(IntegrationAccountPartnerInner inner) {
7878
public Observable<IntegrationAccountPartner> getAsync(String resourceGroupName, String integrationAccountName, String partnerName) {
7979
IntegrationAccountPartnersInner client = this.inner();
8080
return client.getAsync(resourceGroupName, integrationAccountName, partnerName)
81-
.map(new Func1<IntegrationAccountPartnerInner, IntegrationAccountPartner>() {
81+
.flatMap(new Func1<IntegrationAccountPartnerInner, Observable<IntegrationAccountPartner>>() {
8282
@Override
83-
public IntegrationAccountPartner call(IntegrationAccountPartnerInner inner) {
84-
return wrapModel(inner);
83+
public Observable<IntegrationAccountPartner> call(IntegrationAccountPartnerInner inner) {
84+
if (inner == null) {
85+
return Observable.empty();
86+
} else {
87+
return Observable.just((IntegrationAccountPartner)wrapModel(inner));
88+
}
8589
}
8690
});
8791
}

sdk/logic/mgmt-v2018_07_01_preview/src/main/java/com/microsoft/azure/management/logic/v2018_07_01_preview/implementation/IntegrationAccountSchemasImpl.java

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,14 @@ public IntegrationAccountSchema call(IntegrationAccountSchemaInner inner) {
7878
public Observable<IntegrationAccountSchema> getAsync(String resourceGroupName, String integrationAccountName, String schemaName) {
7979
IntegrationAccountSchemasInner client = this.inner();
8080
return client.getAsync(resourceGroupName, integrationAccountName, schemaName)
81-
.map(new Func1<IntegrationAccountSchemaInner, IntegrationAccountSchema>() {
81+
.flatMap(new Func1<IntegrationAccountSchemaInner, Observable<IntegrationAccountSchema>>() {
8282
@Override
83-
public IntegrationAccountSchema call(IntegrationAccountSchemaInner inner) {
84-
return wrapModel(inner);
83+
public Observable<IntegrationAccountSchema> call(IntegrationAccountSchemaInner inner) {
84+
if (inner == null) {
85+
return Observable.empty();
86+
} else {
87+
return Observable.just((IntegrationAccountSchema)wrapModel(inner));
88+
}
8589
}
8690
});
8791
}

0 commit comments

Comments
 (0)