Skip to content

Commit

Permalink
Fix api version numbers in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
gschueler committed Feb 15, 2011
1 parent 8f23752 commit 14643fd
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions rundeckapp/grails-app/controllers/ExecutionController.groovy
Expand Up @@ -602,7 +602,7 @@ class ExecutionController {
}
}
/**
* API: /api/execution/{id} , version 1.2
* API: /api/execution/{id} , version 1
*/
def apiExecution={
def Execution e = Execution.get(params.id)
Expand All @@ -625,7 +625,7 @@ class ExecutionController {
public static String ABORT_ABORTED="aborted"
public static String ABORT_FAILED="failed"
/**
* API: /api/execution/{id}/abort, version 1.2
* API: /api/execution/{id}/abort, version 1
*/
def apiExecutionAbort={
def Execution e = Execution.get(params.id)
Expand Down
8 changes: 4 additions & 4 deletions rundeckapp/grails-app/controllers/FrameworkController.groovy
Expand Up @@ -424,7 +424,7 @@ class FrameworkController {
*/

/**
* API: /api/projects, version 1.2
* API: /api/projects, version 1
*/
def apiProjects={
Framework framework = frameworkService.getFrameworkFromUserSession(session,request)
Expand Down Expand Up @@ -477,7 +477,7 @@ class FrameworkController {
}

/**
* API: /api/project/NAME, version 1.2
* API: /api/project/NAME, version 1
*/
def apiProject={
Framework framework = frameworkService.getFrameworkFromUserSession(session,request)
Expand All @@ -499,7 +499,7 @@ class FrameworkController {
}

/**
* API: /api/resource/$name, version 1.2
* API: /api/resource/$name, version 1
*/
def apiResource={
Framework framework = frameworkService.getFrameworkFromUserSession(session,request)
Expand Down Expand Up @@ -528,7 +528,7 @@ class FrameworkController {
return apiRenderNodeResult(nodes)
}
/**
* API: /api/resources, version 1.2
* API: /api/resources, version 1
*/
def apiResources={ExtNodeFilters query->
Framework framework = frameworkService.getFrameworkFromUserSession(session,request)
Expand Down
6 changes: 3 additions & 3 deletions rundeckapp/grails-app/controllers/MenuController.groovy
Expand Up @@ -374,7 +374,7 @@ class MenuController {
*/

/**
* API: /api/jobs, version 1.2
* API: /api/jobs, version 1
*/
def apiJobsList = {ScheduledExecutionQuery query ->
if(params.project){
Expand Down Expand Up @@ -412,7 +412,7 @@ class MenuController {
}

/**
* API: /jobs/export, version 1.2
* API: /jobs/export, version 1
*/
def apiJobsExport = {ScheduledExecutionQuery query ->

Expand Down Expand Up @@ -448,7 +448,7 @@ class MenuController {
}

/**
* API: /executions/running, version 1.2
* API: /executions/running, version 1
*/
def apiExecutionsRunning = {

Expand Down
2 changes: 1 addition & 1 deletion rundeckapp/grails-app/controllers/ReportsController.groovy
Expand Up @@ -450,7 +450,7 @@ class ReportsController {


/**
* API, /api/history, version 1.2
* API, /api/history, version 1
*/
def apiHistory={ReportQuery query->
if(!params.project){
Expand Down
Expand Up @@ -2385,7 +2385,7 @@ class ScheduledExecutionController {
}
}
/**
* API: /jobs/import, version 1.2
* API: /jobs/import, version 1
*/
def apiJobsImport= {
log.info("ScheduledExecutionController: upload " + params)
Expand Down Expand Up @@ -2423,7 +2423,7 @@ class ScheduledExecutionController {
}

/**
* API: export job definition: /job/{id}, version 1.2
* API: export job definition: /job/{id}, version 1
*/
def apiJobExport={
log.info("ScheduledExecutionController: show : params: " + params)
Expand All @@ -2448,7 +2448,7 @@ class ScheduledExecutionController {
}
}
/**
* API: Run a job immediately: /job/{id}/run, version 1.2
* API: Run a job immediately: /job/{id}/run, version 1
*/
def apiJobRun= {
def ScheduledExecution scheduledExecution = ScheduledExecution.get(params.long('id'))
Expand Down Expand Up @@ -2480,7 +2480,7 @@ class ScheduledExecutionController {
return new ExecutionController().renderApiExecutionListResultXML([result.execution])
}
/**
* API: DELETE job definition: /job/{id}, version 1.2
* API: DELETE job definition: /job/{id}, version 1
*/
def apiJobDelete={
log.info("ScheduledExecutionController: show : params: " + params)
Expand Down Expand Up @@ -2516,7 +2516,7 @@ class ScheduledExecutionController {


/**
* API: run simple exec: /api/run/command, version 1.2
* API: run simple exec: /api/run/command, version 1
*/
def apiRunCommand={

Expand Down Expand Up @@ -2575,7 +2575,7 @@ class ScheduledExecutionController {


/**
* API: run script: /api/run/script, version 1.2
* API: run script: /api/run/script, version 1
*/
def apiRunScript={

Expand Down

0 comments on commit 14643fd

Please sign in to comment.