예제 #1
0
def scheduled_change_permissions_signoffs_delete(sc_id):
    """DELETE /scheduled_changes/permissions/<int:sc_id>/signoffs"""
    return PermissionScheduledChangeSignoffsView().delete(sc_id)
예제 #2
0
파일: base.py 프로젝트: dilekuzulmez/balrog
                 view_func=RuleScheduledChangeSignoffsView.as_view(
                     "scheduled_change_rules_signoffs"))
app.add_url_rule("/scheduled_changes/rules/<int:sc_id>/revisions",
                 view_func=RuleScheduledChangeHistoryView.as_view(
                     "scheduled_change_rules_history"))
app.add_url_rule("/scheduled_changes/permissions",
                 view_func=PermissionScheduledChangesView.as_view(
                     "scheduled_changes_permissions"))
app.add_url_rule("/scheduled_changes/permissions/<int:sc_id>",
                 view_func=PermissionScheduledChangeView.as_view(
                     "scheduled_change_permissions"))
app.add_url_rule("/scheduled_changes/permissions/<int:sc_id>/enact",
                 view_func=EnactPermissionScheduledChangeView.as_view(
                     "enact_scheduled_change_permissions"))
app.add_url_rule("/scheduled_changes/permissions/<int:sc_id>/signoffs",
                 view_func=PermissionScheduledChangeSignoffsView.as_view(
                     "scheduled_change_permissions_signoffs"))
app.add_url_rule("/scheduled_changes/permissions/<int:sc_id>/revisions",
                 view_func=PermissionScheduledChangeHistoryView.as_view(
                     "scheduled_change_permissions_history"))
app.add_url_rule("/scheduled_changes/releases",
                 view_func=ReleaseScheduledChangesView.as_view(
                     "scheduled_changes_releases"))
app.add_url_rule(
    "/scheduled_changes/releases/<int:sc_id>",
    view_func=ReleaseScheduledChangeView.as_view("scheduled_change_releases"))
app.add_url_rule("/scheduled_changes/releases/<int:sc_id>/enact",
                 view_func=EnactReleaseScheduledChangeView.as_view(
                     "enact_scheduled_change_releases"))
app.add_url_rule("/scheduled_changes/releases/<int:sc_id>/signoffs",
                 view_func=ReleaseScheduledChangeSignoffsView.as_view(
                     "scheduled_change_release_signoffs"))
예제 #3
0
def scheduled_change_permissions_signoffs_post(sc_id):
    """POST /scheduled_changes/permissions/<int:sc_id>/signoffs"""
    return PermissionScheduledChangeSignoffsView().post(sc_id)