Complete demo

This commit is contained in:
Peter J. Holzer 2022-02-03 16:31:10 +01:00
parent 7a54ab7710
commit 74a45e7190
1 changed files with 335 additions and 11 deletions

View File

@ -91,52 +91,62 @@ want = [
key={"type": "publ", "feature": "wifo_temporary"}, key={"type": "publ", "feature": "wifo_temporary"},
extra={"hidden": False}, extra={"hidden": False},
), ),
HaveData("data_publ_rolle_administrative_staff_member", depends=["column_service_id", "column_service_type", "column_service_feature", "column_service_description", "column_service_hidden"], HaveData("data_rolle_administrative_staff_member", depends=["column_service_id", "column_service_type", "column_service_feature", "column_service_description", "column_service_hidden"],
table="service", table="service",
key={"type": "rolle", "feature": "administrative_staff_member"}, key={"type": "rolle", "feature": "administrative_staff_member"},
extra={"hidden": False}, extra={"hidden": False},
), ),
HaveData("data_publ_rolle_Xassociate", depends=["column_service_id", "column_service_type", "column_service_feature", "column_service_description", "column_service_hidden"], HaveData("data_rolle_associate", depends=["column_service_id", "column_service_type", "column_service_feature", "column_service_description", "column_service_hidden"],
table="service", table="service",
key={"type": "rolle", "feature": "Xassociate"}, key={"type": "rolle", "feature": "associate"},
extra={"hidden": False}, extra={"hidden": False},
), ),
HaveData("data_publ_rolle_economist", depends=["column_service_id", "column_service_type", "column_service_feature", "column_service_description", "column_service_hidden"], HaveData("data_rolle_economist", depends=["column_service_id", "column_service_type", "column_service_feature", "column_service_description", "column_service_hidden"],
table="service", table="service",
key={"type": "rolle", "feature": "economist"}, key={"type": "rolle", "feature": "economist"},
extra={"hidden": False}, extra={"hidden": False},
), ),
HaveData("data_publ_rolle_emeritus_consultant", depends=["column_service_id", "column_service_type", "column_service_feature", "column_service_description", "column_service_hidden"], HaveData("data_rolle_emeritus_consultant", depends=["column_service_id", "column_service_type", "column_service_feature", "column_service_description", "column_service_hidden"],
table="service", table="service",
key={"type": "rolle", "feature": "emeritus_consultant"}, key={"type": "rolle", "feature": "emeritus_consultant"},
extra={"hidden": False}, extra={"hidden": False},
), ),
HaveData("data_publ_rolle_research_assistant", depends=["column_service_id", "column_service_type", "column_service_feature", "column_service_description", "column_service_hidden"], HaveData("data_rolle_research_assistant", depends=["column_service_id", "column_service_type", "column_service_feature", "column_service_description", "column_service_hidden"],
table="service", table="service",
key={"type": "rolle", "feature": "research_assistant"}, key={"type": "rolle", "feature": "research_assistant"},
extra={"hidden": False}, extra={"hidden": False},
), ),
HaveData("data_publ_rolle_scientific_administration_staff_member", depends=["column_service_id", "column_service_type", "column_service_feature", "column_service_description", "column_service_hidden"], HaveData("data_rolle_scientific_administration_staff_member", depends=["column_service_id", "column_service_type", "column_service_feature", "column_service_description", "column_service_hidden"],
table="service", table="service",
key={"type": "rolle", "feature": key={"type": "rolle", "feature":
"scientific_administration_staff_member"}, "scientific_administration_staff_member"},
extra={"hidden": False}, extra={"hidden": False},
), ),
HaveData("data_publ_rolle_scientific_administrative_assistant", depends=["column_service_id", "column_service_type", "column_service_feature", "column_service_description", "column_service_hidden"], HaveData("data_rolle_scientific_administrative_assistant", depends=["column_service_id", "column_service_type", "column_service_feature", "column_service_description", "column_service_hidden"],
table="service", table="service",
key={"type": "rolle", "feature": "scientific_administrative_assistant"}, key={"type": "rolle", "feature": "scientific_administrative_assistant"},
extra={"hidden": False}, extra={"hidden": False},
), ),
HaveData("data_publ_rolle_scientific_consultant", depends=["column_service_id", "column_service_type", "column_service_feature", "column_service_description", "column_service_hidden"], HaveData("data_rolle_scientific_consultant", depends=["column_service_id", "column_service_type", "column_service_feature", "column_service_description", "column_service_hidden"],
table="service", table="service",
key={"type": "rolle", "feature": "scientific_consultant"}, key={"type": "rolle", "feature": "scientific_consultant"},
extra={"hidden": False}, extra={"hidden": False},
), ),
HaveData("data_publ_rolle_senior_economist", depends=["column_service_id", "column_service_type", "column_service_feature", "column_service_description", "column_service_hidden"], HaveData("data_rolle_senior_economist", depends=["column_service_id", "column_service_type", "column_service_feature", "column_service_description", "column_service_hidden"],
table="service", table="service",
key={"type": "rolle", "feature": "senior_economist"}, key={"type": "rolle", "feature": "senior_economist"},
extra={"hidden": False}, extra={"hidden": False},
), ),
HaveData("data_rolle_guest_researcher", depends=["column_service_id", "column_service_type", "column_service_feature", "column_service_description", "column_service_hidden"],
table="service",
key={"type": "rolle", "feature": "guest_researcher"},
extra={"hidden": False},
),
HaveData("data_rolle_guest_researcher", depends=["column_service_id", "column_service_type", "column_service_feature", "column_service_description", "column_service_hidden"],
table="service",
key={"type": "rolle", "feature": "guest_researcher"},
extra={"hidden": False},
),
HaveData("data_template_std", depends=["column_template_name", "column_template_sortorder"], HaveData("data_template_std", depends=["column_template_name", "column_template_sortorder"],
table="template", table="template",
@ -148,6 +158,41 @@ want = [
key={"name": "WIFO Wissenschaftliche Assistenz"}, key={"name": "WIFO Wissenschaftliche Assistenz"},
extra={"sortorder": 10, "email_pattern": "vorname#.#nachname", "email_after": "wifo.ac.at", "funktion": "FB (1-5)", "status": "FU, FM"}, extra={"sortorder": 10, "email_pattern": "vorname#.#nachname", "email_after": "wifo.ac.at", "funktion": "FB (1-5)", "status": "FU, FM"},
), ),
HaveData("data_template_wifo_wiss", depends=["column_template_name", "column_template_sortorder", "column_template_email_pattern", "column_template_email_after", "column_template_funktion", "column_template_status"],
table="template",
key={"name": "WIFO Wissenschaftler"},
extra={"sortorder": 11, "email_pattern": "vorname#.#nachname", "email_after": "wifo.ac.at", "funktion": "FB (1-5)", "status": "FU, FM"},
),
HaveData("data_template_wifo_dl", depends=["column_template_name", "column_template_sortorder", "column_template_email_pattern", "column_template_email_after", "column_template_funktion", "column_template_status"],
table="template",
key={"name": "WIFO Dienstleister"},
extra={"sortorder": 12, "email_pattern": "vorname#.#nachname", "email_after": "wifo.ac.at", "funktion": "Dienstleister", "status": "FU, FM"},
),
HaveData("data_template_wifo_gf", depends=["column_template_name", "column_template_sortorder", "column_template_email_pattern", "column_template_email_after", "column_template_funktion", "column_template_status"],
table="template",
key={"name": "WIFO Gastforscher"},
extra={"sortorder": 13, "email_pattern": "vorname#.#nachname", "email_after": "wifo.ac.at", "funktion": None, "status": "GU, GM"},
),
HaveData("data_template_wifo_kons", depends=["column_template_name", "column_template_sortorder", "column_template_email_pattern", "column_template_email_after", "column_template_funktion", "column_template_status"],
table="template",
key={"name": "WIFO Konsulenten"},
extra={"sortorder": 13, "email_pattern": "vorname#.#nachname", "email_after": "wifo.ac.at", "funktion": "FB (1-5)", "status": "KU, KM"},
),
HaveData("data_template_wifo_ass", depends=["column_template_name", "column_template_sortorder", "column_template_email_pattern", "column_template_email_after", "column_template_funktion", "column_template_status"],
table="template",
key={"name": "WIFO Associates"},
extra={"sortorder": 14, "email_pattern": "vorname#.#nachname", "email_after": "wifo.ac.at", "funktion": "FB (1-5)", "status": "KU, KM"},
),
HaveData("data_template_wifo_tmp", depends=["column_template_name", "column_template_sortorder", "column_template_email_pattern", "column_template_email_after", "column_template_funktion", "column_template_status"],
table="template",
key={"name": "WIFO Temporäre User"},
extra={"sortorder": 15, "email_pattern": "vorname#.#nachname", "email_after": "wifo.ac.at", "funktion": None, "status": "TU, TM"},
),
HaveData("data_template_wsr", depends=["column_template_name", "column_template_sortorder", "column_template_email_pattern", "column_template_email_after", "column_template_funktion", "column_template_status"],
table="template",
key={"name": "WSR Vorlage"},
extra={"sortorder": 20, "email_pattern": "vorname#.#nachname", "email_after": "wifo.ac.at", "funktion": None, "status": "TU, TM"},
),
HaveColumn("column_template_name", depends=["table_template"], HaveColumn("column_template_name", depends=["table_template"],
table="template", table="template",
@ -209,9 +254,288 @@ want = [
column="service", column="service",
definition="int references service", definition="int references service",
), ),
# WA
HaveData("data_template_wifo_wa_login_wwa", depends=["data_template_wifo_wa", "data_login_wwa", "column_service_id", "column_template_id", "column_template_service_template", "column_template_service_service"],
table="template_service",
key={"template": Ref("data_template_wifo_wa", 0, "id"), "service": Ref("data_login_wwa", 0, "id")},
extra={}
),
HaveData("data_template_wifo_wa_org_wifo", depends=["data_template_wifo_wa", "data_org_wifo", "column_service_id", "column_template_id", "column_template_service_template", "column_template_service_service"],
table="template_service",
key={"template": Ref("data_template_wifo_wa", 0, "id"), "service": Ref("data_org_wifo", 0, "id")},
extra={}
),
HaveData("data_template_wifo_wa_group_wifo", depends=["data_template_wifo_wa", "data_group_wifo", "column_service_id", "column_template_id", "column_template_service_template", "column_template_service_service"],
table="template_service",
key={"template": Ref("data_template_wifo_wa", 0, "id"), "service": Ref("data_group_wifo", 0, "id")},
extra={}
),
HaveData("data_template_wifo_wa_group_wifo_intern", depends=["data_template_wifo_wa", "data_group_wifo_intern", "column_service_id", "column_template_id", "column_template_service_template", "column_template_service_service"],
table="template_service",
key={"template": Ref("data_template_wifo_wa", 0, "id"), "service": Ref("data_group_wifo_intern", 0, "id")},
extra={}
),
HaveData("data_template_wifo_wa_publ_wifo_intern", depends=["data_template_wifo_wa", "data_publ_wifo_intern", "column_service_id", "column_template_id", "column_template_service_template", "column_template_service_service"],
table="template_service",
key={"template": Ref("data_template_wifo_wa", 0, "id"), "service": Ref("data_publ_wifo_intern", 0, "id")},
extra={}
),
HaveData("data_template_wifo_wa_rolle_research_assistant", depends=["data_template_wifo_wa", "data_rolle_research_assistant", "column_service_id", "column_template_id", "column_template_service_template", "column_template_service_service"],
table="template_service",
key={"template": Ref("data_template_wifo_wa", 0, "id"), "service": Ref("data_rolle_research_assistant", 0, "id")},
extra={}
),
HaveData("data_template_wifo_wa_mailinglist2_wifo_aktuell", depends=["data_template_wifo_wa", "data_mailinglist2_wifo_aktuell", "column_service_id", "column_template_id", "column_template_service_template", "column_template_service_service"],
table="template_service",
key={"template": Ref("data_template_wifo_wa", 0, "id"), "service": Ref("data_mailinglist2_wifo_aktuell", 0, "id")},
extra={}
),
HaveData("data_template_wifo_wa_login_wds", depends=["data_template_wifo_wa", "data_login_wds", "column_service_id", "column_template_id", "column_template_service_template", "column_template_service_service"],
table="template_service",
key={"template": Ref("data_template_wifo_wa", 0, "id"), "service": Ref("data_login_wds", 0, "id")},
extra={}
),
# WISS
HaveData("data_template_wifo_wiss_login_wwa", depends=["data_template_wifo_wiss", "data_login_wwa", "column_service_id", "column_template_id", "column_template_service_template", "column_template_service_service"],
table="template_service",
key={"template": Ref("data_template_wifo_wiss", 0, "id"), "service": Ref("data_login_wwa", 0, "id")},
extra={}
),
HaveData("data_template_wifo_wiss_org_wifo", depends=["data_template_wifo_wiss", "data_org_wifo", "column_service_id", "column_template_id", "column_template_service_template", "column_template_service_service"],
table="template_service",
key={"template": Ref("data_template_wifo_wiss", 0, "id"), "service": Ref("data_org_wifo", 0, "id")},
extra={}
),
HaveData("data_template_wifo_wiss_group_wifo", depends=["data_template_wifo_wiss", "data_group_wifo", "column_service_id", "column_template_id", "column_template_service_template", "column_template_service_service"],
table="template_service",
key={"template": Ref("data_template_wifo_wiss", 0, "id"), "service": Ref("data_group_wifo", 0, "id")},
extra={}
),
HaveData("data_template_wifo_wiss_group_wifo_intern", depends=["data_template_wifo_wiss", "data_group_wifo_intern", "column_service_id", "column_template_id", "column_template_service_template", "column_template_service_service"],
table="template_service",
key={"template": Ref("data_template_wifo_wiss", 0, "id"), "service": Ref("data_group_wifo_intern", 0, "id")},
extra={}
),
HaveData("data_template_wifo_wiss_publ_wifo_intern", depends=["data_template_wifo_wiss", "data_publ_wifo_intern", "column_service_id", "column_template_id", "column_template_service_template", "column_template_service_service"],
table="template_service",
key={"template": Ref("data_template_wifo_wiss", 0, "id"), "service": Ref("data_publ_wifo_intern", 0, "id")},
extra={}
),
HaveData("data_template_wifo_wiss_rolle_economist", depends=["data_template_wifo_wiss", "data_rolle_economist", "column_service_id", "column_template_id", "column_template_service_template", "column_template_service_service"],
table="template_service",
key={"template": Ref("data_template_wifo_wiss", 0, "id"), "service": Ref("data_rolle_economist", 0, "id")},
extra={}
),
HaveData("data_template_wifo_wiss_rolle_senior_economist", depends=["data_template_wifo_wiss", "data_rolle_senior_economist", "column_service_id", "column_template_id", "column_template_service_template", "column_template_service_service"],
table="template_service",
key={"template": Ref("data_template_wifo_wiss", 0, "id"), "service": Ref("data_rolle_senior_economist", 0, "id")},
extra={}
),
HaveData("data_template_wifo_wiss_mailinglist2_wifo_aktuell", depends=["data_template_wifo_wiss", "data_mailinglist2_wifo_aktuell", "column_service_id", "column_template_id", "column_template_service_template", "column_template_service_service"],
table="template_service",
key={"template": Ref("data_template_wifo_wiss", 0, "id"), "service": Ref("data_mailinglist2_wifo_aktuell", 0, "id")},
extra={}
),
HaveData("data_template_wifo_wiss_login_wds", depends=["data_template_wifo_wiss", "data_login_wds", "column_service_id", "column_template_id", "column_template_service_template", "column_template_service_service"],
table="template_service",
key={"template": Ref("data_template_wifo_wiss", 0, "id"), "service": Ref("data_login_wds", 0, "id")},
extra={}
),
# DL
HaveData("data_template_wifo_dl_login_wwa", depends=["data_template_wifo_dl", "data_login_wwa", "column_service_id", "column_template_id", "column_template_service_template", "column_template_service_service"],
table="template_service",
key={"template": Ref("data_template_wifo_dl", 0, "id"), "service": Ref("data_login_wwa", 0, "id")},
extra={}
),
HaveData("data_template_wifo_dl_org_wifo", depends=["data_template_wifo_dl", "data_org_wifo", "column_service_id", "column_template_id", "column_template_service_template", "column_template_service_service"],
table="template_service",
key={"template": Ref("data_template_wifo_dl", 0, "id"), "service": Ref("data_org_wifo", 0, "id")},
extra={}
),
HaveData("data_template_wifo_dl_group_wifo", depends=["data_template_wifo_dl", "data_group_wifo", "column_service_id", "column_template_id", "column_template_service_template", "column_template_service_service"],
table="template_service",
key={"template": Ref("data_template_wifo_dl", 0, "id"), "service": Ref("data_group_wifo", 0, "id")},
extra={}
),
HaveData("data_template_wifo_dl_group_wifo_intern", depends=["data_template_wifo_dl", "data_group_wifo_intern", "column_service_id", "column_template_id", "column_template_service_template", "column_template_service_service"],
table="template_service",
key={"template": Ref("data_template_wifo_dl", 0, "id"), "service": Ref("data_group_wifo_intern", 0, "id")},
extra={}
),
HaveData("data_template_wifo_dl_publ_wifo_intern", depends=["data_template_wifo_dl", "data_publ_wifo_intern", "column_service_id", "column_template_id", "column_template_service_template", "column_template_service_service"],
table="template_service",
key={"template": Ref("data_template_wifo_dl", 0, "id"), "service": Ref("data_publ_wifo_intern", 0, "id")},
extra={}
),
HaveData("data_template_wifo_dl_rolle_economist", depends=["data_template_wifo_dl", "data_rolle_administrative_staff_member", "column_service_id", "column_template_id", "column_template_service_template", "column_template_service_service"],
table="template_service",
key={"template": Ref("data_template_wifo_dl", 0, "id"), "service": Ref("data_rolle_administrative_staff_member", 0, "id")},
extra={}
),
HaveData("data_template_wifo_dl_rolle_economist", depends=["data_template_wifo_dl", "data_rolle_scientific_administration_staff_member", "column_service_id", "column_template_id", "column_template_service_template", "column_template_service_service"],
table="template_service",
key={"template": Ref("data_template_wifo_dl", 0, "id"), "service": Ref("data_rolle_scientific_administration_staff_member", 0, "id")},
extra={}
),
HaveData("data_template_wifo_dl_rolle_economist", depends=["data_template_wifo_dl", "data_rolle_scientific_administrative_assistant", "column_service_id", "column_template_id", "column_template_service_template", "column_template_service_service"],
table="template_service",
key={"template": Ref("data_template_wifo_dl", 0, "id"), "service": Ref("data_rolle_scientific_administrative_assistant", 0, "id")},
extra={}
),
HaveData("data_template_wifo_dl_mailinglist2_wifo_aktuell", depends=["data_template_wifo_dl", "data_mailinglist2_wifo_aktuell", "column_service_id", "column_template_id", "column_template_service_template", "column_template_service_service"],
table="template_service",
key={"template": Ref("data_template_wifo_dl", 0, "id"), "service": Ref("data_mailinglist2_wifo_aktuell", 0, "id")},
extra={}
),
HaveData("data_template_wifo_dl_login_wds", depends=["data_template_wifo_dl", "data_login_wds", "column_service_id", "column_template_id", "column_template_service_template", "column_template_service_service"],
table="template_service",
key={"template": Ref("data_template_wifo_dl", 0, "id"), "service": Ref("data_login_wds", 0, "id")},
extra={}
),
# Gastforscher
HaveData("data_template_wifo_gf_login_wwa", depends=["data_template_wifo_gf", "data_login_wwa", "column_service_id", "column_template_id", "column_template_service_template", "column_template_service_service"],
table="template_service",
key={"template": Ref("data_template_wifo_gf", 0, "id"), "service": Ref("data_login_wwa", 0, "id")},
extra={}
),
HaveData("data_template_wifo_gf_org_wifo", depends=["data_template_wifo_gf", "data_org_wifo", "column_service_id", "column_template_id", "column_template_service_template", "column_template_service_service"],
table="template_service",
key={"template": Ref("data_template_wifo_gf", 0, "id"), "service": Ref("data_org_wifo", 0, "id")},
extra={}
),
HaveData("data_template_wifo_gf_group_wifo", depends=["data_template_wifo_gf", "data_group_wifo", "column_service_id", "column_template_id", "column_template_service_template", "column_template_service_service"],
table="template_service",
key={"template": Ref("data_template_wifo_gf", 0, "id"), "service": Ref("data_group_wifo", 0, "id")},
extra={}
),
HaveData("data_template_wifo_gf_publ_wifo_temporary", depends=["data_template_wifo_gf", "data_publ_wifo_temporary", "column_service_id", "column_template_id", "column_template_service_template", "column_template_service_service"],
table="template_service",
key={"template": Ref("data_template_wifo_gf", 0, "id"), "service": Ref("data_publ_wifo_temporary", 0, "id")},
extra={}
),
HaveData("data_template_wifo_gf_rolle_guest_researcher", depends=["data_template_wifo_gf", "data_rolle_guest_researcher", "column_service_id", "column_template_id", "column_template_service_template", "column_template_service_service"],
table="template_service",
key={"template": Ref("data_template_wifo_gf", 0, "id"), "service": Ref("data_rolle_guest_researcher", 0, "id")},
extra={}
),
# Konsuienten
HaveData("data_template_wifo_kons_login_wwa", depends=["data_template_wifo_kons", "data_login_wwa", "column_service_id", "column_template_id", "column_template_service_template", "column_template_service_service"],
table="template_service",
key={"template": Ref("data_template_wifo_kons", 0, "id"), "service": Ref("data_login_wwa", 0, "id")},
extra={}
),
HaveData("data_template_wifo_kons_org_wifo", depends=["data_template_wifo_kons", "data_org_wifo", "column_service_id", "column_template_id", "column_template_service_template", "column_template_service_service"],
table="template_service",
key={"template": Ref("data_template_wifo_kons", 0, "id"), "service": Ref("data_org_wifo", 0, "id")},
extra={}
),
HaveData("data_template_wifo_kons_group_wifo", depends=["data_template_wifo_kons", "data_group_wifo", "column_service_id", "column_template_id", "column_template_service_template", "column_template_service_service"],
table="template_service",
key={"template": Ref("data_template_wifo_kons", 0, "id"), "service": Ref("data_group_wifo", 0, "id")},
extra={}
),
HaveData("data_template_wifo_kons_publ_wifo_temporary", depends=["data_template_wifo_kons", "data_publ_wifo_temporary", "column_service_id", "column_template_id", "column_template_service_template", "column_template_service_service"],
table="template_service",
key={"template": Ref("data_template_wifo_kons", 0, "id"), "service": Ref("data_publ_wifo_temporary", 0, "id")},
extra={}
),
HaveData("data_template_wifo_kons_rolle_emeritus_consultant", depends=["data_template_wifo_kons", "data_rolle_emeritus_consultant", "column_service_id", "column_template_id", "column_template_service_template", "column_template_service_service"],
table="template_service",
key={"template": Ref("data_template_wifo_kons", 0, "id"), "service": Ref("data_rolle_emeritus_consultant", 0, "id")},
extra={}
),
HaveData("data_template_wifo_kons_rolle_emeritus_consultant", depends=["data_template_wifo_kons", "data_rolle_emeritus_consultant", "column_service_id", "column_template_id", "column_template_service_template", "column_template_service_service"],
table="template_service",
key={"template": Ref("data_template_wifo_kons", 0, "id"), "service": Ref("data_rolle_emeritus_consultant", 0, "id")},
extra={}
),
# Associates
HaveData("data_template_wifo_ass_login_wwa", depends=["data_template_wifo_ass", "data_login_wwa", "column_service_id", "column_template_id", "column_template_service_template", "column_template_service_service"],
table="template_service",
key={"template": Ref("data_template_wifo_ass", 0, "id"), "service": Ref("data_login_wwa", 0, "id")},
extra={}
),
HaveData("data_template_wifo_ass_org_wifo", depends=["data_template_wifo_ass", "data_org_wifo", "column_service_id", "column_template_id", "column_template_service_template", "column_template_service_service"],
table="template_service",
key={"template": Ref("data_template_wifo_ass", 0, "id"), "service": Ref("data_org_wifo", 0, "id")},
extra={}
),
HaveData("data_template_wifo_ass_group_wifo", depends=["data_template_wifo_ass", "data_group_wifo", "column_service_id", "column_template_id", "column_template_service_template", "column_template_service_service"],
table="template_service",
key={"template": Ref("data_template_wifo_ass", 0, "id"), "service": Ref("data_group_wifo", 0, "id")},
extra={}
),
HaveData("data_template_wifo_ass_publ_wifo_temporary", depends=["data_template_wifo_ass", "data_publ_wifo_temporary", "column_service_id", "column_template_id", "column_template_service_template", "column_template_service_service"],
table="template_service",
key={"template": Ref("data_template_wifo_ass", 0, "id"), "service": Ref("data_publ_wifo_temporary", 0, "id")},
extra={}
),
HaveData("data_template_wifo_ass_rolle_associate", depends=["data_template_wifo_ass", "data_rolle_associate", "column_service_id", "column_template_id", "column_template_service_template", "column_template_service_service"],
table="template_service",
key={"template": Ref("data_template_wifo_ass", 0, "id"), "service": Ref("data_rolle_associate", 0, "id")},
extra={}
),
# Temporäre User
HaveData("data_template_wifo_tmp_login_wwa", depends=["data_template_wifo_tmp", "data_login_wwa", "column_service_id", "column_template_id", "column_template_service_template", "column_template_service_service"],
table="template_service",
key={"template": Ref("data_template_wifo_tmp", 0, "id"), "service": Ref("data_login_wwa", 0, "id")},
extra={}
),
HaveData("data_template_wifo_tmp_org_wifo", depends=["data_template_wifo_tmp", "data_org_wifo", "column_service_id", "column_template_id", "column_template_service_template", "column_template_service_service"],
table="template_service",
key={"template": Ref("data_template_wifo_tmp", 0, "id"), "service": Ref("data_org_wifo", 0, "id")},
extra={}
),
HaveData("data_template_wifo_tmp_group_wifo", depends=["data_template_wifo_tmp", "data_group_wifo", "column_service_id", "column_template_id", "column_template_service_template", "column_template_service_service"],
table="template_service",
key={"template": Ref("data_template_wifo_tmp", 0, "id"), "service": Ref("data_group_wifo", 0, "id")},
extra={}
),
HaveData("data_template_wifo_tmp_publ_wifo_temporary", depends=["data_template_wifo_tmp", "data_publ_wifo_temporary", "column_service_id", "column_template_id", "column_template_service_template", "column_template_service_service"],
table="template_service",
key={"template": Ref("data_template_wifo_tmp", 0, "id"), "service": Ref("data_publ_wifo_temporary", 0, "id")},
extra={}
),
# WSR
HaveData("data_template_wsr_login_wwa", depends=["data_template_wsr", "data_login_wwa", "column_service_id", "column_template_id", "column_template_service_template", "column_template_service_service"],
table="template_service",
key={"template": Ref("data_template_wsr", 0, "id"), "service": Ref("data_login_wwa", 0, "id")},
extra={}
),
HaveData("data_template_wsr_org_wsr", depends=["data_template_wsr", "data_org_wsr", "column_service_id", "column_template_id", "column_template_service_template", "column_template_service_service"],
table="template_service",
key={"template": Ref("data_template_wsr", 0, "id"), "service": Ref("data_org_wsr", 0, "id")},
extra={}
),
HaveData("data_template_wsr_group_wsr", depends=["data_template_wsr", "data_group_wsr", "column_service_id", "column_template_id", "column_template_service_template", "column_template_service_service"],
table="template_service",
key={"template": Ref("data_template_wsr", 0, "id"), "service": Ref("data_group_wsr", 0, "id")},
extra={}
),
HaveData("data_template_wsr_login_unix", depends=["data_template_wsr", "data_login_unix", "column_service_id", "column_template_id", "column_template_service_template", "column_template_service_service"],
table="template_service",
key={"template": Ref("data_template_wsr", 0, "id"), "service": Ref("data_login_unix", 0, "id")},
extra={}
),
] ]
db = psycopg2.connect(dbname="procrusql_test") db = psycopg2.connect(dbname="usradm_test", user="usradm")
fit(db, want) fit(db, want)