diff --git a/.idea/.gitignore b/.idea/.gitignore deleted file mode 100644 index 974233b..0000000 --- a/.idea/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml -../test/log/*.txt -../test/environment/ENV01/log/*.txt diff --git a/.idea/externalDependencies.xml b/.idea/externalDependencies.xml deleted file mode 100644 index 7e24ed1..0000000 --- a/.idea/externalDependencies.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml deleted file mode 100644 index 13fecf3..0000000 --- a/.idea/misc.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml deleted file mode 100644 index e15ec35..0000000 --- a/.idea/modules.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/.idea/pythonProject.iml b/.idea/pythonProject.iml deleted file mode 100644 index 786dd58..0000000 --- a/.idea/pythonProject.iml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/components/__init__.py b/components/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/components/mariadb/CONFIG.yml b/components/mariadb/CONFIG.yml deleted file mode 100644 index 581b60f..0000000 --- a/components/mariadb/CONFIG.yml +++ /dev/null @@ -1,17 +0,0 @@ -# Example af a component with -# # one instance -> connection -# # mo subcomponents -# # artifact-tyoe flaskdb -> precondition, load testdata, postcondition -conf: - instance: - count: 1 - components: none - function: - check_environment: "todo" - init_testcase: "todo" # -> precondition, load testdata - finish_testcase: "todo" # -> postcondition, check data - artifact: - db: - reset: testcase - checks: - type: systemctl diff --git a/components/testa/CONFIG.yml b/components/testa/CONFIG.yml deleted file mode 100644 index 6d80093..0000000 --- a/components/testa/CONFIG.yml +++ /dev/null @@ -1,40 +0,0 @@ -# Example af a component with -# # more instance -> connection -# # some subcomponents -# # artifact-tyoe log -conf: - instance: - count: 2 # count of instances - single: n - components: - testA1: - relationtyp: call # call|called|queue - conffile: "{dompath}/config/dbconn.xml" - filetyp: xml - ippattern: ".*?(.*?)" - hostpattern: ".*?(.*?)" - testA2: - relationtyp: call # call : is called by this comp - conffile: "{dompath}/config/settings.xml" - filetyp: xml - urlpattern: ".*?(.*?)" - function: - check_environment: "todo" - init_testcase: "todo" - finish_testcase: "todo" - system: # look at sysmonitor - script: "{dompath}/bin/sysctl.sh" # for checking - checks: "status,version,start,stop,restart,available" - artifact: # look at testrun - log: # log|flaskdb|file|lob - path: "{dompath}/log/debug.log" - rotate: jmx - reset: testcase - oldfile: "{dompath}/log/debug_{timepattern}.log" - catalog: # TODO - fields: - - field1: - type: "varchar(20)" - domain: product # for which stakeholder it is important and a view should be implemented - - diff --git a/components/testa/Testa.py b/components/testa/Testa.py deleted file mode 100644 index 6fbe82a..0000000 --- a/components/testa/Testa.py +++ /dev/null @@ -1,7 +0,0 @@ -import components.component -import components.testexec - -class Testa(components.component.Component, components.testexec.Testexecuter): - def __init__(self): - print('init Testa') - diff --git a/components/testa/__init__.py b/components/testa/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/components/testa1/CONFIG.yml b/components/testa1/CONFIG.yml deleted file mode 100644 index fbca34a..0000000 --- a/components/testa1/CONFIG.yml +++ /dev/null @@ -1,23 +0,0 @@ -# Example af a component with -# # one instance -> connection -# # mo subcomponents -# # artifact-tyoe flaskdb -> precondition, load testdata, postcondition -conf: - instance: - count: 1 - single: y - components: - testa11: - relationtyp: a # these attributes can be checked in statical way if connection is correctly set - conffile: "{dompath}/config/dbconn.xml" - filetyp: xml - ippattern: ".*?(.*?)" - hostpattern: ".*?(.*?)" - function: - check_environment: "todo" - init_testcase: "todo" # -> precondition, load testdata - finish_testcase: "todo" # -> postcondition, check data - artifact: - db: - reset: testset - testdata: flaskdb # diff --git a/components/testa1/DATASTRUCTURE.yml b/components/testa1/DATASTRUCTURE.yml deleted file mode 100644 index 551bbff..0000000 --- a/components/testa1/DATASTRUCTURE.yml +++ /dev/null @@ -1,193 +0,0 @@ -# Example of a data-structure with -# # different count of tables, id-fields -testa1: # database - immo: # schema - lofts: # table - character: inventory - fields: - - street - - city - - zip - - state - - beds - - baths - - sqft - - type - - price - - latitude - - longitude - data: - city: - id: b_2 - acceptance: norm - type: string - nullable: n - zip: - id: b_1 - acceptance: norm - type: string - nullable: n - state: - id: n - acceptance: norm - type: string - nullable: n - beds: - id: n - acceptance: norm - type: int - nullable: y - baths: - id: n - acceptance: norm - type: int - nullable: y - sqft: - id: n - acceptance: norm - type: double - nullable: y - type: - id: n - acceptance: norm - type: string - nullable: y - price: - id: n - acceptance: norm - type: double - nullable: y - latitude: - id: n - acceptance: norm - type: float - nullable: y - longitude: - id: n - acceptance: norm - type: float - nullable: y - user: - name: - character: inventory - fields: - - Username - - Identifier - - First_name - - Last_name - data: - Username: - id: b_1 - acceptance: norm - type: string - nullable: y - Identifier: - id: t_1 - acceptance: exist - type: int - nullable: y - First_name: - id: n - acceptance: norm - type: string - nullable: y - Last_name: - id: n - acceptance: norm - type: string - nullable: y - mail: - character: inventory - fields: - - Email - - Identifier - - First_name - - Last_name - data: - Email: - id: b_1 - acceptance: norm - type: string - nullable: y - Identifier: - id: t_1 - acceptance: exist - type: int - nullable: n - First_name: - id: n - acceptance: norm - type: string - nullable: y - Last_name: - id: n - acceptance: norm - type: string - nullable: y - action: - character: transaction - fields: - - id - - Identifier - - login_ok - - login_time - - session_state - - end_time - - cnt_transactions - data: - id: - id: t_1 - acceptance: exist - type: int - nullable: n - Identifier: - id: b_1 - acceptance: norm - type: int - nullable: n - login_ok: - login_time: - session_state: - end_time: - cnt_transactions: - biblio: - books: - character: inventory - fields: - - id - - title - - autor - - library - - subject - - description - data: - id: - id: t_1 - acceptance: norm - type: int - nullable: n - title: - id: b_1 - acceptance: norm - type: string - nullable: n - autor: - id: b_2 - acceptance: norm - type: string - nullable: n - library: - id: n - acceptance: norm - type: string - nullable: y - subject: - id: n - acceptance: norm - type: string - nullable: y - description: - id: n - acceptance: exist - type: clob - nullable: y diff --git a/components/testa1/Testa1.py b/components/testa1/Testa1.py deleted file mode 100644 index be5f04e..0000000 --- a/components/testa1/Testa1.py +++ /dev/null @@ -1,8 +0,0 @@ -import components.component -import components.testexec - -class Testa1(components.component.Component, components.testexec.Testexecuter): - def __init__(self): - print('init Testa1') - - diff --git a/components/testa1/__init__.py b/components/testa1/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/components/testa11/CONFIG.yml b/components/testa11/CONFIG.yml deleted file mode 100644 index 9760bec..0000000 --- a/components/testa11/CONFIG.yml +++ /dev/null @@ -1,16 +0,0 @@ -# Example af a component with -# # one instance -> connection -# # mo subcomponents -# # artifact-tyoe flaskdb -> precondition, load testdata, postcondition -conf: - instance: - count: 1 - single: y - components: - none: none - function: - finish_testcase: "todo" # -> postcondition, check data - artifact: - lob: - reset: none - path: "testa1:biblio:books.description" diff --git a/components/testa11/DATASTRUCTURE.yml b/components/testa11/DATASTRUCTURE.yml deleted file mode 100644 index 9097a03..0000000 --- a/components/testa11/DATASTRUCTURE.yml +++ /dev/null @@ -1,187 +0,0 @@ -# Example of a data-structure with -# # different count of tables, id-fields -testa1: # database - immo: # schema - lofts: # table - character: inventory - fields: - - street - - city - - zip - - state - - beds - - baths - - sqft - - type - - price - - latitude - - longitude - data: - city: - id: b_2 - acceptance: norm - type: string - nullable: n - zip: - id: b_1 - acceptance: norm - type: string - nullable: n - state: - id: n - acceptance: norm - type: string - nullable: n - beds: - id: n - acceptance: norm - type: int - nullable: y - baths: - id: n - acceptance: norm - type: int - nullable: y - sqft: - id: n - acceptance: norm - type: double - nullable: y - type: - id: n - acceptance: norm - type: string - nullable: y - price: - id: n - acceptance: norm - type: double - nullable: y - latitude: - id: n - acceptance: norm - type: float - nullable: y - longitude: - id: n - acceptance: norm - type: float - nullable: y - user: - name: - character: inventory - fields: - - Username - - Identifier - - First_name - - Last_name - data: - Username: - id: b_1 - acceptance: norm - type: string - nullable: y - Identifier: - id: t_1 - acceptance: exist - type: int - nullable: y - First_name: - id: n - acceptance: norm - type: string - nullable: y - Last_name: - id: n - acceptance: norm - type: string - nullable: y - mail: - character: inventory - fields: - - Email - - Identifier - - First_name - - Last_name - data: - Email: - id: b_1 - acceptance: norm - type: string - nullable: y - Identifier: - id: t_1 - acceptance: exist - type: int - nullable: n - First_name: - id: n - acceptance: norm - type: string - nullable: y - Last_name: - id: n - acceptance: norm - type: string - nullable: y - action: - character: transaction - fields: - - id - - Identifier - - login_ok - - login_time - - session_state - - end_time - - cnt_transactions - data: - id: - id: t_1 - acceptance: exist - type: int - nullable: n - Identifier: - id: b_1 - acceptance: norm - type: int - nullable: n - login_ok: - login_time: - session_state: - end_time: - cnt_transactions: - biblio: - books: - character: inventory - fields: - - id - - title - - autor - - library - - subject - data: - id: - id: t_1 - acceptance: norm - type: int - nullable: n - title: - id: b_1 - acceptance: norm - type: string - nullable: n - autor: - id: b_2 - acceptance: norm - type: string - nullable: n - library: - id: n - acceptance: norm - type: string - nullable: y - subject: - id: n - acceptance: norm - type: string - nullable: y diff --git a/components/testa11/Testa11.py b/components/testa11/Testa11.py deleted file mode 100644 index 976e530..0000000 --- a/components/testa11/Testa11.py +++ /dev/null @@ -1,8 +0,0 @@ -import components.component -import components.testexec - -class Testa11(components.component.Component, components.testexec.Testexecuter): - def __init__(self): - print('init Testa1') - - diff --git a/components/testa11/__init__.py b/components/testa11/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/components/testa2/CONFIG.yml b/components/testa2/CONFIG.yml deleted file mode 100644 index f32e04c..0000000 --- a/components/testa2/CONFIG.yml +++ /dev/null @@ -1,24 +0,0 @@ -# Example af a component like a sub-app with -# # one interface - -# # one subcomponents -# # artifact-tyoe log -conf: - instance: - count: 1 - single: n - components: - testa21: - relationtyp: call - conffile: "{dompath}/config/dbconn.xml" - filetyp: xml - ippattern: ".*?(.*?)" - hostpattern: ".*?(.*?)" - function: - check_environment: "todo" - init_testcase: "todo" - finish_testcase: "todo" - artifact: - lob: - path: "testa" - rotate: jmx - reset: testcase diff --git a/components/testa2/Testa2.py b/components/testa2/Testa2.py deleted file mode 100644 index bc410fa..0000000 --- a/components/testa2/Testa2.py +++ /dev/null @@ -1,8 +0,0 @@ -import components.component -import components.testexec - -class Testa2(components.component.Component, components.testexec.Testexecuter): - def __init__(self): - print('init Testa1') - - diff --git a/components/testa2/__init__.py b/components/testa2/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/components/testa21/CONFIG.yml b/components/testa21/CONFIG.yml deleted file mode 100644 index 64119cd..0000000 --- a/components/testa21/CONFIG.yml +++ /dev/null @@ -1,19 +0,0 @@ -# Example af a component like a sub-app with -# # no subcomponents -# # artifact-tyoe log -conf: - instance: - count: 1 - single: n - components: - none: none - function: - check_environment: "todo" - init_testcase: "todo" - finish_testcase: "todo" - artifact: - file: - path: "{dompath}/log/debug.log" - reset: testcase - format: xml - match: lines # lines|tree diff --git a/components/testa21/Testa21.py b/components/testa21/Testa21.py deleted file mode 100644 index 083d6c8..0000000 --- a/components/testa21/Testa21.py +++ /dev/null @@ -1,6 +0,0 @@ -import components.component -import components.testexec - -class Testa21(components.component.Component, components.testexec.Testexecuter): - def __init__(self): - print('init Testa1') diff --git a/components/testa21/__init__.py b/components/testa21/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/components/testb/CONFIG.yml b/components/testb/CONFIG.yml deleted file mode 100644 index 4ce5d13..0000000 --- a/components/testb/CONFIG.yml +++ /dev/null @@ -1,24 +0,0 @@ -# Example af a component like a main app with -# # one instance -> connection -# # one subcomponents -# # artifact-tyoe log -conf: - instance: - count: 1 - single: y - components: - testB1: - relationtyp: flaskdb - conffile: "{dompath}/config/dbconn.xml" - filetyp: xml - ippattern: ".*?(.*?)" - hostpattern: ".*?(.*?)" - function: - check_environment: "todo" - init_testcase: "todo" - finish_testcase: "todo" - artifact: - log: - path: "{dompath}/log/debug.log" - rotate: jmx - reset: testcase diff --git a/components/testb/Testb.py b/components/testb/Testb.py deleted file mode 100644 index ef82e08..0000000 --- a/components/testb/Testb.py +++ /dev/null @@ -1,6 +0,0 @@ -import components.component -import components.testexec - -class Testb(components.component.Component, components.testexec.Testexecuter): - def __init__(self): - print('init Testb') diff --git a/components/testb/__init__.py b/components/testb/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/components/testb1/CONFIG.yml b/components/testb1/CONFIG.yml deleted file mode 100644 index f5f1e07..0000000 --- a/components/testb1/CONFIG.yml +++ /dev/null @@ -1,17 +0,0 @@ -# Example af a component with -# # one instance -> connection -# # mo subcomponents -# # artifact-tyoe flaskdb -> precondition, load testdata, postcondition -conf: - instance: - count: 1 - single: y - components: - none: none - function: - check_environment: "todo" - init_testcase: "todo" # -> precondition, load testdata - finish_testcase: "todo" # -> postcondition, check data - artifact: - db: - reset: testset diff --git a/components/testb1/Testb1.py b/components/testb1/Testb1.py deleted file mode 100644 index 89d3898..0000000 --- a/components/testb1/Testb1.py +++ /dev/null @@ -1,6 +0,0 @@ -import components.component -import components.testexec - -class Testb1(components.component.Component, components.testexec.Testexecuter): - def __init__(self): - print('init Testa1') diff --git a/components/testb1/__init__.py b/components/testb1/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/test/environment/ENV01/PARAMETER_TEST_ENV01.yml b/test/environment/ENV01/PARAMETER_TEST_ENV01.yml deleted file mode 100644 index 6d65752..0000000 --- a/test/environment/ENV01/PARAMETER_TEST_ENV01.yml +++ /dev/null @@ -1,7 +0,0 @@ -comps: {} -par: - application: TEST - basedir: envbase - environment: ENV01 - parstring: python check_environment --application TEST --environment ENV01 - program: check_environment diff --git a/test/environment/ENV01/configs/tool_conn.yml b/test/environment/ENV01/configs/tool_conn.yml deleted file mode 100644 index 8f0b1f1..0000000 --- a/test/environment/ENV01/configs/tool_conn.yml +++ /dev/null @@ -1,87 +0,0 @@ -env: - testa: - instance: 2 - inst1: - ip: "192.178.168.12" - hostname: my-app-store-1 - port: 54321 - dompath: /opt/app/testa - domscript: bin/manage.sh - user: testa - password: test_secure_a - home: /home/testa - inst2: - ip: 192.178.168.14 - hostname: my-app-store-2 - port: 54321 - dompath: /opt/app/testa - domscript: bin/manage.sh - user: testa - password: test_secure_a - home: /home/testa - testa1: - instance: 1 - inst1: - ip: 192.178.168.12 - hostname: my-app-store-1 - port: 54410 - dompath: /opt/app/testa01 - domscript: bin/manage.sh - user: testa - password: test_secure_a - home: /home/testa - testa11: - instance: 1 - inst1: - ip: 192.178.168.12 - hostname: my-app-store-1 - port: 54410 - dompath: /opt/app/testa01 - domscript: bin/manage.sh - user: testa - password: test_secure_a - home: /home/testa - testa2: - instance: 1 - inst1: - ip: 192.178.168.12 - hostname: my-app-store-1 - port: 54420 - dompath: /opt/app/testa02 - domscript: bin/manage.sh - user: testa - password: test_secure_a - home: /home/testa - testa21: - instance: 1 - inst1: - ip: 192.178.168.12 - hostname: my-app-store-1 - port: 54420 - dompath: /opt/app/testa02 - domscript: bin/manage.sh - user: testa - password: test_secure_a - home: /home/testa - testb: - instance: 1 - inst1: - ip: 192.178.168.14 - hostname: my-app-store-2 - port: 54500 - dompath: /opt/app/testb - domscript: bin/manage.sh - user: testb - password: test_secure_b - home: /home/testb - testb1: - instance: 1 - inst1: - ip: 192.178.168.14 - hostname: my-app-store-2 - port: 54510 - dompath: /opt/app/testb01 - domscript: bin/manage.sh - user: testb - password: test_secure_b - home: /home/testb diff --git a/test/lauf/V0.1/implement_2021-08-28_23-50-51/PARAMETER_TEST_UMGEB1.yml b/test/lauf/V0.1/implement_2021-08-28_23-50-51/PARAMETER_TEST_UMGEB1.yml deleted file mode 100644 index c97a5c5..0000000 --- a/test/lauf/V0.1/implement_2021-08-28_23-50-51/PARAMETER_TEST_UMGEB1.yml +++ /dev/null @@ -1,43 +0,0 @@ -comps: - testa_02: - conn: - dompath: /opt/app/testa - domscript: bin/manage.sh - home: /home/testa - hostname: my-app-store-1 - ip: 192.178.168.12 - password: test_secure_a - port: 54321 - user: testa - function: - check_environment: 'INFO: checkInstance for testa_02 is OK' - finish_testcase: todo - init_testcase: todo - testb: - conn: - dompath: /opt/app/testb - domscript: bin/manage.sh - home: /home/testb - hostname: my-app-store-2 - ip: 192.178.168.14 - password: test_secure_b - port: 54500 - user: testb - function: - check_environment: 'INFO: checkInstance for testb is OK' - finish_testcase: todo - init_testcase: todo -par: - application: TEST - basedir: tsbase - environment: ENV01 - parstring: python init_testset --application TEST --environment ENV01 --tsdir /home/ulrich/6_Projekte/Programme/pythonProject/test/lauf/V0.1/implement_2021-08-28_23-50-51 - --tdtyp csv --tdsrc implement --tdname firstunit - program: init_testset - release: V0.1 - tdname: firstunit - tdsrc: implement - tdtyp: csv - tltime: 2021-08-28_23-50-51 - tsdir: /home/ulrich/6_Projekte/Programme/pythonProject/test/lauf/V0.1/implement_2021-08-28_23-50-51 - usecase: implement diff --git a/test/tdata/implement/firstunit.csv b/test/tdata/implement/firstunit.csv deleted file mode 100644 index bb9bc0f..0000000 --- a/test/tdata/implement/firstunit.csv +++ /dev/null @@ -1,24 +0,0 @@ -head;referencedate;;;;;;;;;;; -;25.08.2021;;;;;;;;;;; -;;;;;;;;;;;; -node;action;street;city;zip;state;beds;baths;sqft;type;price;latitude;longitude -testa1:immo:lofts;;3526 HIGH ST;SACRAMENTO;95838;CA;2;1;836;Residential;59222;38.631913;-121.434879 -testa1:immo:lofts;;51 OMAHA CT;SACRAMENTO;95823;CA;3;1;1167;Residential;68212;38.478902;-121.431028 -;;;;;;;;;;;; -;;;;;;;;;;;; -node;action;Username;Identifier;First_name;Last_name;;;;;;; -testa1:user:name;;booker12;9012;Rachel;Booker;;;;;;; -testa1:user:name;;grey07;2070;Laura;Grey;;;;;;; -;;;;;;;;;;;; -;;;;;;;;;;;; -node;action;Email;Identifier;First_name;Last_name;;;;;;; -testa1:user:mail;;rachel@yourcompany.com;9012;Rachel;Booker;;;;;;; -testa1:user:mail;;laura@yourcompany.com ;2070;Laura;Grey;;;;;;; -;;;;;;;;;;;; -;;;;;;;;;;;; -node;action;id;title;autor;library;subject;description;;;;; -testa1:biblio:books;;1;Eldon Base for stackable storage shelf, platinum;Muhammed MacIntyre;Nunavut;Storage & Organization;;;;;; -testa1:biblio:books;;2;"1.7 Cubic Foot Compact ""Cube"" Office Refrigerators";Barry French;Nunavut;Appliances;;;;;; -testa1:biblio:books;;3;Cardinal Slant-D® Ring Binder, Heavy Gauge Vinyl;Barry French;Nunavut;Binders and Binder Accessories;;;;;; -testa1:biblio:books;;4;R380;Clay Rozendal;Nunavut;Telephones and Communication;;;;;; -testa1:biblio:books;;5;Holmes HEPA Air Purifier;Carlos Soltero;Nunavut;Appliances;;;;;;