@@ -35,12 +35,12 @@ public async Task<string> WhoAmIAsync()
3535 }
3636
3737
38- public ExecuteResult StartPlanFile ( int planInstanceId , bool dryRun , string filePath )
38+ public ExecuteResult StartPlanFile ( long planInstanceId , bool dryRun , string filePath )
3939 {
40- return StartPlanAsync ( planInstanceId , dryRun , filePath ) . Result ;
40+ return StartPlanFileAsync ( planInstanceId , dryRun , filePath ) . Result ;
4141 }
4242
43- public async Task < ExecuteResult > StartPlanFileAsync ( int planInstanceId , bool dryRun , string filePath )
43+ public async Task < ExecuteResult > StartPlanFileAsync ( long planInstanceId , bool dryRun , string filePath )
4444 {
4545 if ( File . Exists ( filePath ) )
4646 {
@@ -52,12 +52,12 @@ public async Task<ExecuteResult> StartPlanFileAsync(int planInstanceId, bool dry
5252 throw new FileNotFoundException ( "Unable to start Plan." , filePath ) ;
5353 }
5454
55- public ExecuteResult StartPlan ( int planInstanceId , bool dryRun , string filePath )
55+ public ExecuteResult StartPlan ( long planInstanceId , bool dryRun , string filePath )
5656 {
5757 return StartPlanAsync ( planInstanceId , dryRun , filePath ) . Result ;
5858 }
5959
60- public async Task < ExecuteResult > StartPlanAsync ( int planInstanceId , bool dryRun , string filePath )
60+ public async Task < ExecuteResult > StartPlanAsync ( long planInstanceId , bool dryRun , string filePath )
6161 {
6262 if ( File . Exists ( filePath ) )
6363 {
@@ -69,12 +69,12 @@ public async Task<ExecuteResult> StartPlanAsync(int planInstanceId, bool dryRun,
6969 throw new FileNotFoundException ( "Unable to start Plan." , filePath ) ;
7070 }
7171
72- public ExecuteResult StartPlan ( int planInstanceId , bool dryRun , Plan plan )
72+ public ExecuteResult StartPlan ( long planInstanceId , bool dryRun , Plan plan )
7373 {
7474 return StartPlanAsync ( planInstanceId , dryRun , plan ) . Result ;
7575 }
7676
77- public async Task < ExecuteResult > StartPlanAsync ( int planInstanceId , bool dryRun , Plan plan )
77+ public async Task < ExecuteResult > StartPlanAsync ( long planInstanceId , bool dryRun , Plan plan )
7878 {
7979 string requestUri = $ "{ _rootPath } /execute/{ planInstanceId } /?action=start&dryRun={ dryRun } ";
8080 return await PostAsync < Plan , ExecuteResult > ( plan , requestUri ) ;
0 commit comments