tkuhn1l6 | 5068f67 | 2019-03-03 16:50:02 +0100 | [diff] [blame^] | 1 | # ##############################################################
|
| 2 | # Directory configuration file
|
| 3 | # ##############################################################
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 | # ##############################################################
|
| 9 | # Directory server configuration
|
| 10 |
|
| 11 |
|
| 12 | # URL and type of uplink server. Forward all requests that we cannot satisfy here to uplink
|
| 13 | # - URL of uplink directory server
|
| 14 | # - Type of uplink server. Currently supported is BASYS (BaSys registry API) or DNS (DNS server processing legalBody tag)
|
| 15 | cfg.uplink =
|
| 16 | cfg.uplink.type = DNS
|
| 17 |
|
| 18 |
|
| 19 | # Downlink servers, forward matching URI patterns to downlink servers
|
| 20 | # - Match all subunits that end with "is.iese", including "is.iese"
|
| 21 | cfg.downlink.is.pattern = is.iese
|
| 22 | cfg.downlink.is.directory = http://wherever1
|
| 23 |
|
| 24 | # - Match all subunits that end with "pm.iese", including "pm.iese"
|
| 25 | cfg.downlink.pm.pattern = pm.iese
|
| 26 | cfg.downlink.pm.directory = http://wherever2
|
| 27 |
|
| 28 | # - Match all subunits that end with ".es.iese", but not "es.iese"
|
| 29 | cfg.downlink.es.pattern = .es.iese
|
| 30 | cfg.downlink.es.directory = http://wherever3
|
| 31 |
|
| 32 |
|
| 33 |
|
| 34 |
|
| 35 | # ##############################################################
|
| 36 | # SQL database configuration
|
| 37 |
|
| 38 | dbuser = postgres
|
| 39 | dbpass = admin
|
| 40 | dburl = //localhost/basyx-directory?
|
| 41 |
|
| 42 | sqlDriver = org.postgresql.Driver
|
| 43 | sqlPrefix = jdbc:postgresql:
|