Esempio n. 1
0
def scheduled_change_product_rs_signoffs_delete(sc_id):
    """DELETE /scheduled_changes/required_signoffs/product/<int:sc_id>/signoffs"""
    return ProductRequiredSignoffScheduledChangeSignoffsView().delete(sc_id)
Esempio n. 2
0
app.add_url_rule("/scheduled_changes/releases/<int:sc_id>/revisions",
                 view_func=ReleaseScheduledChangeHistoryView.as_view(
                     "scheduled_change_releases_history"))
app.add_url_rule("/scheduled_changes/required_signoffs/product",
                 view_func=ProductRequiredSignoffsScheduledChangesView.as_view(
                     "scheduled_changes_product_rs"))
app.add_url_rule("/scheduled_changes/required_signoffs/product/<int:sc_id>",
                 view_func=ProductRequiredSignoffScheduledChangeView.as_view(
                     "scheduled_change_product_rs"))
app.add_url_rule(
    "/scheduled_changes/required_signoffs/product/<int:sc_id>/enact",
    view_func=EnactProductRequiredSignoffScheduledChangeView.as_view(
        "enact_scheduled_change_product_rs"))
app.add_url_rule(
    "/scheduled_changes/required_signoffs/product/<int:sc_id>/signoffs",
    view_func=ProductRequiredSignoffScheduledChangeSignoffsView.as_view(
        "scheduled_change_product_rs_signoffs"))
app.add_url_rule(
    "/scheduled_changes/required_signoffs/product/<int:sc_id>/revisions",
    view_func=ProductRequiredSignoffScheduledChangeHistoryView.as_view(
        "scheduled_change_product_rs_history"))
app.add_url_rule(
    "/scheduled_changes/required_signoffs/permissions",
    view_func=PermissionsRequiredSignoffsScheduledChangesView.as_view(
        "scheduled_changes_permissions_rs"))
app.add_url_rule(
    "/scheduled_changes/required_signoffs/permissions/<int:sc_id>",
    view_func=PermissionsRequiredSignoffScheduledChangeView.as_view(
        "scheduled_change_permissions_rs"))
app.add_url_rule(
    "/scheduled_changes/required_signoffs/permissions/<int:sc_id>/enact",
    view_func=EnactPermissionsRequiredSignoffScheduledChangeView.as_view(
Esempio n. 3
0
def scheduled_change_product_rs_signoffs_post(sc_id):
    """POST /scheduled_changes/required_signoffs/product/<int:sc_id>/signoffs"""
    return ProductRequiredSignoffScheduledChangeSignoffsView().post(sc_id)