Ulrich Carmesin
3 years ago
34 changed files with 0 additions and 801 deletions
@ -1,5 +0,0 @@ |
|||
# Default ignored files |
|||
/shelf/ |
|||
/workspace.xml |
|||
../test/log/*.txt |
|||
../test/environment/ENV01/log/*.txt |
@ -1,6 +0,0 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<project version="4"> |
|||
<component name="ExternalDependencies"> |
|||
<plugin id="com.intellij.configurationScript" /> |
|||
</component> |
|||
</project> |
@ -1,4 +0,0 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<project version="4"> |
|||
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.9 (pythonProject)" project-jdk-type="Python SDK" /> |
|||
</project> |
@ -1,8 +0,0 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<project version="4"> |
|||
<component name="ProjectModuleManager"> |
|||
<modules> |
|||
<module fileurl="file://$PROJECT_DIR$/.idea/pythonProject.iml" filepath="$PROJECT_DIR$/.idea/pythonProject.iml" /> |
|||
</modules> |
|||
</component> |
|||
</project> |
@ -1,8 +0,0 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<module type="PYTHON_MODULE" version="4"> |
|||
<component name="NewModuleRootManager"> |
|||
<content url="file://$MODULE_DIR$" /> |
|||
<orderEntry type="jdk" jdkName="Python 3.9 (pythonProject)" jdkType="Python SDK" /> |
|||
<orderEntry type="sourceFolder" forTests="false" /> |
|||
</component> |
|||
</module> |
@ -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 |
@ -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: "<second>.*?<ip>(.*?)</ip>" |
|||
hostpattern: "<second>.*?<hostname>(.*?)</hostname>" |
|||
testA2: |
|||
relationtyp: call # call : is called by this comp |
|||
conffile: "{dompath}/config/settings.xml" |
|||
filetyp: xml |
|||
urlpattern: "<first>.*?<ulr>(.*?)</url>" |
|||
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 |
|||
|
|||
|
@ -1,7 +0,0 @@ |
|||
import components.component |
|||
import components.testexec |
|||
|
|||
class Testa(components.component.Component, components.testexec.Testexecuter): |
|||
def __init__(self): |
|||
print('init Testa') |
|||
|
@ -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: "<second>.*?<ip>(.*?)</ip>" |
|||
hostpattern: "<second>.*?<hostname>(.*?)</hostname>" |
|||
function: |
|||
check_environment: "todo" |
|||
init_testcase: "todo" # -> precondition, load testdata |
|||
finish_testcase: "todo" # -> postcondition, check data |
|||
artifact: |
|||
db: |
|||
reset: testset |
|||
testdata: flaskdb # |
@ -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 |
@ -1,8 +0,0 @@ |
|||
import components.component |
|||
import components.testexec |
|||
|
|||
class Testa1(components.component.Component, components.testexec.Testexecuter): |
|||
def __init__(self): |
|||
print('init Testa1') |
|||
|
|||
|
@ -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" |
@ -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 |
@ -1,8 +0,0 @@ |
|||
import components.component |
|||
import components.testexec |
|||
|
|||
class Testa11(components.component.Component, components.testexec.Testexecuter): |
|||
def __init__(self): |
|||
print('init Testa1') |
|||
|
|||
|
@ -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: "<second>.*?<ip>(.*?)</ip>" |
|||
hostpattern: "<second>.*?<hostname>(.*?)</hostname>" |
|||
function: |
|||
check_environment: "todo" |
|||
init_testcase: "todo" |
|||
finish_testcase: "todo" |
|||
artifact: |
|||
lob: |
|||
path: "testa" |
|||
rotate: jmx |
|||
reset: testcase |
@ -1,8 +0,0 @@ |
|||
import components.component |
|||
import components.testexec |
|||
|
|||
class Testa2(components.component.Component, components.testexec.Testexecuter): |
|||
def __init__(self): |
|||
print('init Testa1') |
|||
|
|||
|
@ -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 |
@ -1,6 +0,0 @@ |
|||
import components.component |
|||
import components.testexec |
|||
|
|||
class Testa21(components.component.Component, components.testexec.Testexecuter): |
|||
def __init__(self): |
|||
print('init Testa1') |
@ -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: "<second>.*?<ip>(.*?)</ip>" |
|||
hostpattern: "<second>.*?<hostname>(.*?)</hostname>" |
|||
function: |
|||
check_environment: "todo" |
|||
init_testcase: "todo" |
|||
finish_testcase: "todo" |
|||
artifact: |
|||
log: |
|||
path: "{dompath}/log/debug.log" |
|||
rotate: jmx |
|||
reset: testcase |
@ -1,6 +0,0 @@ |
|||
import components.component |
|||
import components.testexec |
|||
|
|||
class Testb(components.component.Component, components.testexec.Testexecuter): |
|||
def __init__(self): |
|||
print('init Testb') |
@ -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 |
@ -1,6 +0,0 @@ |
|||
import components.component |
|||
import components.testexec |
|||
|
|||
class Testb1(components.component.Component, components.testexec.Testexecuter): |
|||
def __init__(self): |
|||
print('init Testa1') |
@ -1,7 +0,0 @@ |
|||
comps: {} |
|||
par: |
|||
application: TEST |
|||
basedir: envbase |
|||
environment: ENV01 |
|||
parstring: python check_environment --application TEST --environment ENV01 |
|||
program: check_environment |
@ -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 |
@ -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 |
|
Loading…
Reference in new issue