configuration system¶
System wide configuration, that is not bound to a particular domain. Contains configuration that is used when building servers, executable, transaction resource proxies.
system.resource.Paths (structure)¶
property |
description |
---|---|
[include : |
include paths to use during build time |
[library : |
library path to use during build time |
system.resources (list)¶
Defines which xa
resources that are to be used when building servers, executable, resource-proxies. This is
also used runtime by the transaction-manager
property |
description |
---|---|
key : |
user supplied key of the resource, used to correlate the resources in other configurations |
xa_struct_name : |
the name of the |
server : |
name of the resource proxy server that |
[libraries : |
libraries that is used link with the resource build time |
[paths : |
include and library paths, during build time |
examples¶
Below follows examples in yaml
and json
(casual can also handle ini
and xml
)
yaml¶
---
system:
resources:
- key: "db2"
server: "rm-proxy-db2-static"
xa_struct_name: "db2xa_switch_static_std"
libraries:
- "db2"
paths:
library:
- "${DB2DIR}/lib64"
- key: "rm-mockup"
server: "rm-proxy-casual-mockup"
xa_struct_name: "casual_mockup_xa_switch_static"
libraries:
- "casual-mockup-rm"
paths:
library:
- "${CASUAL_HOME}/lib"
...
json¶
{
"system": {
"resources": [
{
"key": "db2",
"server": "rm-proxy-db2-static",
"xa_struct_name": "db2xa_switch_static_std",
"libraries": [
"db2"
],
"paths": {
"library": [
"${DB2DIR}/lib64"
]
}
},
{
"key": "rm-mockup",
"server": "rm-proxy-casual-mockup",
"xa_struct_name": "casual_mockup_xa_switch_static",
"libraries": [
"casual-mockup-rm"
],
"paths": {
"library": [
"${CASUAL_HOME}/lib"
]
}
}
]
}
}