Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Execution mode status API with failing code when status is passive. #4965

Merged
merged 2 commits into from Jul 10, 2019

Conversation

@ahormazabal
Copy link
Contributor

commented Jun 17, 2019

Issue: rundeckpro/rundeckpro#606

This PR creates a new API endpoing /api/V/system/executions/status which returns the current
execution mode using the same response format as /api/V/system/executions/active and /api/V/system/executions/passive.

Additionally, the endpoint will respond with a HTTP status of 503 - Service Unavailable when the current status is passive.

@ahormazabal

This comment has been minimized.

Copy link
Contributor Author

commented Jun 17, 2019

@gschueler
Copy link
Member

left a comment

the latest api version is now 32, so it should require that version

Alberto Hormazabal added some commits Jun 14, 2019

@ahormazabal ahormazabal force-pushed the ahormazabal:dev/execmodestatus branch from b6bbb73 to 4c21ed3 Jun 20, 2019

@ahormazabal

This comment has been minimized.

Copy link
Contributor Author

commented Jun 20, 2019

Updated api version to 32.

@ahormazabal ahormazabal requested a review from gschueler Jun 20, 2019

@gschueler gschueler added this to the 3.1.0-RC2 milestone Jul 2, 2019

@gschueler gschueler merged commit d5129c4 into rundeck:master Jul 10, 2019

20 checks passed

Mergeable Mergeable Run has been Completed!
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
security/snyk - build.gradle (rundeck) No manifest changes detected
security/snyk - core/build.gradle (rundeck) No manifest changes detected
security/snyk - plugins/build.gradle (rundeck) No manifest changes detected
security/snyk - plugins/copyfile-plugin/build.gradle (rundeck) No manifest changes detected
security/snyk - plugins/flow-control-plugin/build.gradle (rundeck) No manifest changes detected
security/snyk - plugins/git-plugin/build.gradle (rundeck) No manifest changes detected
security/snyk - plugins/jasypt-encryption-plugin/build.gradle (rundeck) No manifest changes detected
security/snyk - plugins/job-state-plugin/build.gradle (rundeck) No manifest changes detected
security/snyk - plugins/localexec-plugin/build.gradle (rundeck) No manifest changes detected
security/snyk - plugins/orchestrator-plugin/build.gradle (rundeck) No manifest changes detected
security/snyk - plugins/script-plugin/build.gradle (rundeck) No manifest changes detected
security/snyk - plugins/source-refresh-plugin/build.gradle (rundeck) No manifest changes detected
security/snyk - plugins/stub-plugin/build.gradle (rundeck) No manifest changes detected
security/snyk - plugins/upvar-plugin/build.gradle (rundeck) No manifest changes detected
security/snyk - rundeck-storage/build.gradle (rundeck) No manifest changes detected
security/snyk - rundeckapp/build.gradle (rundeck) No manifest changes detected
security/snyk - rundeckapp/grails-spa/package.json (rundeck) No manifest changes detected
security/snyk - rundeckapp/metricsweb/build.gradle (rundeck) No manifest changes detected

@ahormazabal ahormazabal deleted the ahormazabal:dev/execmodestatus branch Aug 5, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.