You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.6 KiB

# Example of a component with
# # more instance -> connection
# # some subcomponents
# # artifact-type file.log
# --------------------------------------------------------------------
# the example-applications is the main-application
# it manages contracts of for this doing it has relations to
# # rest-interface as single user-interface
# # crm-system, accounting, product-management
# # own database
# --------------------------------------------------------------------
conf:
instance:
count: 1 # count of instances
single: n
components:
testpoldb:
relationtyp: "db" # db : is called by this comp
conffile: "{dompath}/config/settings.xml"
filetyp: xml
urlpattern: "<first>.*?<ulr>(.*?)</url>"
testprd:
relationtyp: call # call : is called by this comp
conffile: "{dompath}/config/settings.xml"
filetyp: xml
urlpattern: "<first>.*?<ulr>(.*?)</url>"
testacnt:
relationtyp: queue # call|called|queue
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"
system: # look at sysmonitor
script: "{dompath}/bin/sysctl.sh" # for checking
checks: "status,version,start,stop,restart,available"
artifact: # look at testrun
file:
type: log
path: "{dompath}/log/debug.log"
rotate: jmx
reset: testcase
oldfile: "{dompath}/log/debug_{timepattern}.log"