Skip to content

Commit 606063c

Browse files
committed
Maestro API updates
1 parent d2b8341 commit 606063c

File tree

4 files changed

+12
-6
lines changed

4 files changed

+12
-6
lines changed

src/main/java/com/docusign/controller/maestro/services/CancelWorkflowInstanceService.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import com.docusign.iam.sdk.models.operations.*;
55

66
public class CancelWorkflowInstanceService {
7-
//ds-snippet-start:Maestro4step3
7+
//ds-snippet-start:Maestro4Step3
88
public static CancelWorkflowInstanceResponse CancelMaestroWorkflowInstance(
99
IamClient client,
1010
String accountId,
@@ -13,5 +13,5 @@ public static CancelWorkflowInstanceResponse CancelMaestroWorkflowInstance(
1313
return client.maestro().workflowInstanceManagement()
1414
.cancelWorkflowInstance(accountId, workflowId, instanceId);
1515
}
16-
//ds-snippet-end:Maestro4step3
16+
//ds-snippet-end:Maestro4Step3
1717
}

src/main/java/com/docusign/controller/maestro/services/PauseWorkflowService.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
import com.docusign.iam.sdk.models.operations.*;
55

66
public class PauseWorkflowService {
7-
//ds-snippet-start:Maestro2step3
7+
//ds-snippet-start:Maestro2Step3
88
public static PauseNewWorkflowInstancesResponse PauseMaestroWorkflow(
99
IamClient client,
1010
String accountId,
1111
String workflowId) throws Exception {
1212
return client.maestro()
1313
.workflows().pauseNewWorkflowInstances(accountId, workflowId);
1414
}
15-
//ds-snippet-end:Maestro2step3
15+
//ds-snippet-end:Maestro2Step3
1616
}

src/main/java/com/docusign/controller/maestro/services/ResumeWorkflowService.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
import com.docusign.iam.sdk.models.operations.*;
55

66
public class ResumeWorkflowService {
7-
//ds-snippet-start:Maestro3step3
7+
//ds-snippet-start:Maestro3Step3
88
public static ResumePausedWorkflowResponse ResumeMaestroWorkflow(
99
IamClient client,
1010
String accountId,
1111
String workflowId) throws Exception {
1212
return client.maestro()
1313
.workflows().resumePausedWorkflow(accountId, workflowId);
1414
}
15-
//ds-snippet-end:Maestro3step3
15+
//ds-snippet-end:Maestro3Step3
1616
}

src/main/webapp/WEB-INF/templates/views/pages/maestro/examples/embed.jsp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,14 @@
55
<p>${example.getResultsPageText()}</p>
66

77

8+
<!--
9+
//ds-snippet-start:Maestro1Step6
10+
-->
811
<iframe width="900" height="600" src="${url}">
912
</iframe>
13+
<!--
14+
//ds-snippet-end:Maestro1Step6
15+
-->
1016

1117
<p><a href="/">${launcherTexts.getContinueButton()}</a></p>
1218

0 commit comments

Comments
 (0)