Transaktionsgruppen und "Wizards"
Für komplexe Aktionen im UI, die auf meherer Trasnaktionselemente abgebildet werden muss, schlage ich die Einführung von Transaktionsgruppen vor, die jeweils von einem "Wizard" behandelt wird, anstatt einzeln.
- JSON-Strukturen definieren
-
HUB-Repo konfigurieren
- Repo anlegen
- Repo Strukturieren (devel + main branches, devel default)
-
Check-Scripte bauen
- Schema definieren
- Schema validieren
-
Erweiterte Checks
-
Transaction muss im dict_mode ausführbar sien (
idx
für alle gesetzt) - Variablen zur Variableneinsetzung müssen existieren
- Default-Type Checks
-
Transaction muss im dict_mode ausführbar sien (
- CI-Config für Lint/Test
- MR-Config (2 Reviews nötig + erfolgreicher CI-Run)
- README (Contribution-Anleitiung, Prozess)
-
TA-Liste auf dict-mode umstellen
- UUID-Prefixes
- Error-Handling
-
Wizard-Renderer bauen
- darstellung
- dev-tool
- ausführung
- returning
-
Datatypes
- Datetime
- Date
- int
- bool
- string
- typeahead
- mac_addr
- ip_addr
- select
- fqdn
- List-types
-
filter-
upper -
lower
-
-
JSON-Dateien in NETVS einbinden
- index.json in der CI vom Hub-Repo generieren
- Hub-Seite
- Show closed items
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Janis Streib added Usability + 1 deleted label
added Usability + 1 deleted label
- Janis Streib mentioned in issue #25
mentioned in issue #25
- Janis Streib marked this issue as related to #25
marked this issue as related to #25
- Janis Streib mentioned in issue #192 (closed)
mentioned in issue #192 (closed)
- Janis Streib marked this issue as related to #192 (closed)
marked this issue as related to #192 (closed)
- Janis Streib mentioned in issue #218
mentioned in issue #218
- Janis Streib marked this issue as related to #218
marked this issue as related to #218
- Dominik Rimpf mentioned in issue #261
mentioned in issue #261
- Dominik Rimpf marked this issue as related to #261
marked this issue as related to #261
- Janis Streib removed the relation with #25
removed the relation with #25
- Janis Streib marked this issue as related to #25
marked this issue as related to #25
- Janis Streib removed the relation with #192 (closed)
removed the relation with #192 (closed)
- Janis Streib marked this issue as related to #192 (closed)
marked this issue as related to #192 (closed)
- Janis Streib marked this issue as related to #408 (closed)
marked this issue as related to #408 (closed)
- Janis Streib removed the relation with #261
removed the relation with #261
- Janis Streib marked this issue as related to #261
marked this issue as related to #261
- Janis Streib removed the relation with #218
removed the relation with #218
- Janis Streib marked this issue as related to #218
marked this issue as related to #218
- Janis Streib added workflowupcoming label
added workflowupcoming label
- Janis Streib added workflowrefinement label and removed workflowupcoming label
added workflowrefinement label and removed workflowupcoming label
- Author Owner
Idee:
- Template-JSONs
- NETVS Hub: Git-Repo als submodule in NETVS, manuelle Reviews durch NETVS-Dev-Team
- TA-Liste: Transaction obj. bekommen TA-Type (z.B.
db_editor_simple
für die aktuellen TA-Typen),content
,uuid
- Neues TA-Typ:
json_wizard
, enthältref
auf Template undcontent
- Templates: Liste an Inputs + Typ, mit generischen
options
-Feld für Optionen des Inputs. Inputs haben namen, namen stehen in TA-Template als Variablen zur Verfügung (im Prinzip String-Replace)
Problem:
- Namenskollisionenen bei Joins, ref-joins, where, ... -> TA-Liste zu dict-mode umbauen (gerade noch list-mode), jedes TA-element in List mit UUID-Prefixen, jedes sonstige TA-Element ebenso
- Security -> manueller Review von neuen TA-Contribs nötig, 4-Augen-Prinzip (2 Reviwer nötig vor merge) + CI-Run für syntaktische Korrektheit ((python)-lint/check-tool nötig)
Edited by Janis Streib - Janis Streib changed the description
changed the description
- Janis Streib changed the description
changed the description
- Janis Streib changed the description
changed the description
- Janis Streib added workflowupcoming label and removed workflowrefinement label
added workflowupcoming label and removed workflowrefinement label
- Alexander Kaschta assigned to @rx2495
assigned to @rx2495
- Author Owner
{ schema_version: '1', author: 'Test <test@kit.edu>', target_api: '3.2', name: { de: 'Meine tolle TA', en: 'My nice ta' }, list_display_name: { de: 'Mache tolle sachen mit {{var1}}', en: .... }, variables: [ { id: 'var1', friendly_name: { de: 'lalal', en: 'lalal' }, optional: true, default: 'lala', description: { de: 'lalal', en: 'lalal' }, type: 'int/str/date/datetime/bool/select/ip_addr/mac_addr/typeahead(gehe zu api, setzte {{term}} ein)', type_params: { # input type specific params, e.g. select options, typeahead-url, ranges ... }, when: { # ähnlich wie https://www-net-devel-doku.scc.kit.edu/webapi/3.3/main/#post_request_when nur mit variablen aus variables and: [ compare: ["ne", andereVar, "hallo"]].... } } ], transaction: [ # im prinzip api-TAs, nur dass variablen eingesetzt werden können ({{var}}) { name: 'stmt1', old:..., new: ..., ... } ] }
Edited by Janis Streib Collapse replies - Maintainer
UPDATE 2023-01-18:
{ schema_version: '1', author: 'Test <test@kit.edu>', target_api: '3.2', name: { de: 'Meine tolle TA', en: 'My nice ta' }, list_display_name: { de: 'Mache tolle sachen mit {{var1}}', en: .... }, variables: [ { id: 'var1', friendly_name: { de: 'lalal', en: 'lalal' }, optional: true, nullable: false, default: 'lala', description: { de: 'lalal', en: 'lalal' }, type: 'int/str/date/datetime/bool/select/ip_addr/mac_addr/typeahead(gehe zu api, setzte {{term}} ein)', type_params: { # input type specific params, e.g. select options, typeahead-url, ranges ... }, when: { # ähnlich wie https://www-net-devel-doku.scc.kit.edu/webapi/3.3/main/#post_request_when nur mit variablen aus variables and: [ compare: ["ne", andereVar, "hallo"]].... } } ], transaction: [ # im prinzip api-TAs, nur dass variablen eingesetzt werden können ({{var}}) { name: 'stmt1', old:..., new: ..., ... } ] }
- Janis Streib marked the checklist item JSON-Strukturen definieren as completed
marked the checklist item JSON-Strukturen definieren as completed
- Janis Streib assigned to @janis.streib
assigned to @janis.streib
- Janis Streib changed the description
changed the description
- Janis Streib removed workflowupcoming label
removed workflowupcoming label
- Janis Streib added 1 deleted label
added 1 deleted label
- Alexander Kaschta marked the checklist item Repo Strukturieren (devel + main branches, devel default) as completed
marked the checklist item Repo Strukturieren (devel + main branches, devel default) as completed
- Janis Streib marked the checklist item TA-Liste auf dict-mode umstellen as completed
marked the checklist item TA-Liste auf dict-mode umstellen as completed
- Janis Streib marked the checklist item UUID-Prefixes as completed
marked the checklist item UUID-Prefixes as completed
- Janis Streib marked the checklist item Error-Handling as completed
marked the checklist item Error-Handling as completed
- Janis Streib marked the checklist item Repo anlegen as completed
marked the checklist item Repo anlegen as completed
- Alexander Kaschta marked the checklist item Schema definieren as completed
marked the checklist item Schema definieren as completed
- Janis Streib mentioned in commit 8a268745
mentioned in commit 8a268745
- Janis Streib changed the description
changed the description
- Janis Streib changed the description
changed the description
- Janis Streib mentioned in commit 83bc926e
mentioned in commit 83bc926e
- Janis Streib marked the checklist item ausführung as completed
marked the checklist item ausführung as completed
- Janis Streib marked the checklist item Wizard-Renderer bauen as completed
marked the checklist item Wizard-Renderer bauen as completed
- Alexander Kaschta marked the checklist item Schema validieren as completed
marked the checklist item Schema validieren as completed
- Alexander Kaschta marked the checklist item MR-Config (2 Reviews nötig + erfolgreicher CI-Run) as completed
marked the checklist item MR-Config (2 Reviews nötig + erfolgreicher CI-Run) as completed