Ulrich Carmesin
2 years ago
commit
eee15c1de3
23 changed files with 265 additions and 0 deletions
@ -0,0 +1,99 @@ |
|||||
|
_option: |
||||
|
_input: testa |
||||
|
description: create 2 new contracts|||||| |
||||
|
_steps: |
||||
|
- !!python/object:basic.step.Step |
||||
|
args: |
||||
|
action: new |
||||
|
fct: xml-rest |
||||
|
comp: testrest |
||||
|
execStep: '2' |
||||
|
fct: xml-rest |
||||
|
refLine: '1' |
||||
|
- !!python/object:basic.step.Step |
||||
|
args: |
||||
|
action: new |
||||
|
fct: json-rest |
||||
|
comp: testrest |
||||
|
execStep: '3' |
||||
|
fct: json-rest |
||||
|
refLine: 1,2 |
||||
|
_tables: |
||||
|
object: |
||||
|
_comp: |
||||
|
testrest: object |
||||
|
_data: |
||||
|
- _comp: |
||||
|
testrest: object |
||||
|
_nr: '1' |
||||
|
descript: cat |
||||
|
objid: '' |
||||
|
objtype: animal |
||||
|
value: '100' |
||||
|
- _comp: |
||||
|
testrest: object |
||||
|
_nr: '2' |
||||
|
descript: dog |
||||
|
objid: '' |
||||
|
objtype: animal |
||||
|
value: '200' |
||||
|
_date: 02.07.2022 |
||||
|
_header: |
||||
|
- _nr |
||||
|
- objid |
||||
|
- descript |
||||
|
- objtype |
||||
|
- value |
||||
|
_hit: false |
||||
|
person: |
||||
|
_comp: |
||||
|
testcrmdb: person |
||||
|
testrest: person |
||||
|
_data: |
||||
|
- _comp: |
||||
|
testrest: person |
||||
|
_nr: '1' |
||||
|
birth: 10.02.1898 |
||||
|
famname: Brecht |
||||
|
name: Bert |
||||
|
sex: m |
||||
|
- _comp: |
||||
|
testcrmdb: person |
||||
|
testrest: person |
||||
|
_nr: '2' |
||||
|
birth: 28.09.1942 |
||||
|
famname: Leon |
||||
|
name: Donna |
||||
|
sex: f |
||||
|
_date: 01.07.2022 |
||||
|
_header: |
||||
|
- _nr |
||||
|
- famname |
||||
|
- name |
||||
|
- birth |
||||
|
- sex |
||||
|
_hit: false |
||||
|
product: |
||||
|
_comp: |
||||
|
testprddb: product |
||||
|
_count: '2' |
||||
|
_data: |
||||
|
- _comp: |
||||
|
testprddb: product |
||||
|
descript: first |
||||
|
factor: '1.234' |
||||
|
objtype: time |
||||
|
prdid: '4' |
||||
|
- _comp: |
||||
|
testprddb: product |
||||
|
descript: second |
||||
|
factor: '2.234' |
||||
|
objtype: money |
||||
|
prdid: '5' |
||||
|
_date: 29.06.2022 |
||||
|
_header: |
||||
|
- prdid |
||||
|
- descript |
||||
|
- objtype |
||||
|
- factor |
||||
|
_hit: false |
@ -0,0 +1,53 @@ |
|||||
|
# A: keywords to control;B: value ;;;; |
||||
|
_head: |
||||
|
application: |
||||
|
- TESTAPP |
||||
|
depricated: N |
||||
|
_option: |
||||
|
description: |
||||
|
- "create 2 new contracts" |
||||
|
reference: |
||||
|
- US01704 |
||||
|
# ;component;exec;_nr;action;args |
||||
|
_step: |
||||
|
- _id: 1 |
||||
|
_comp: testrest |
||||
|
_exec: 2 |
||||
|
_ref: 1 |
||||
|
_args: |
||||
|
- fct: xml-rest |
||||
|
- action: new |
||||
|
- _id: 2 |
||||
|
_comp: testrest |
||||
|
_exec: 3 |
||||
|
_ref: 1,2 |
||||
|
_args: |
||||
|
- fct: json-res |
||||
|
- action: new |
||||
|
_date: 01.07.2022 |
||||
|
_table: person |
||||
|
- comp: testrest:person |
||||
|
_nr: 1 |
||||
|
famname: Brecht |
||||
|
name: Bert |
||||
|
birth: 10.02.1898 |
||||
|
sex: m |
||||
|
- comp: |
||||
|
- testrest:person |
||||
|
- testcrmdb:person; |
||||
|
_nr: 2 |
||||
|
famname: Leon |
||||
|
name: Donna |
||||
|
birth: 28.09.1942 |
||||
|
sex: f |
||||
|
# testdate only here specified;expect: no row is inserted as precond;;;; |
||||
|
_date;02.07.2022;;;; |
||||
|
table:object;_nr;objid;descript;objtype;value |
||||
|
testrest:object;1;;cat;animal;100 |
||||
|
testrest:object;2;;dog;animal;200 |
||||
|
# testdate here and in separate csv specified;;;;; |
||||
|
# expect: both row is inserted as precond;;;;; |
||||
|
_date;03.07.2022;;;; |
||||
|
table:product;_nr;prdid;descript;objtype;factor |
||||
|
testrest:product;1;;first;time; |
||||
|
testrest:product;2;;second;money; |
@ -0,0 +1 @@ |
|||||
|
,ulrich,hp-ulrich,18.07.2022 19:34,file:///home/ulrich/.config/libreoffice/4; |
@ -0,0 +1 @@ |
|||||
|
öfter |
@ -0,0 +1 @@ |
|||||
|
öfter |
@ -0,0 +1 @@ |
|||||
|
öfter |
Loading…
Reference in new issue