mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 20:15:35 +08:00
refs #507, changed setup reader and simplied global setup and setup reader
* a single base URL (shared), derived URLs by appended path * simplified dir structure shared with sub directories * renamed functions * automatically synchronize setup with DB when initialized * trigger download info loading when setup is completed * allow to automatically read after setup data have been synchronized * read DB data when setup has been loaded * allow to reload from threaded reader * improved handling (log messages, skip reading) when data are not available
This commit is contained in:
committed by
Mathew Sutcliffe
parent
4d4d6fcdc9
commit
d131cd2d33
61
resources/local.env.template/bootstrap/bootstrap.json
Normal file
61
resources/local.env.template/bootstrap/bootstrap.json
Normal file
@@ -0,0 +1,61 @@
|
||||
{
|
||||
"bootstrap": {
|
||||
"containerbase": [
|
||||
{
|
||||
"url": "https://vatsim-germany.org:50443/mapping/public/bootstrap"
|
||||
},
|
||||
{
|
||||
"url": "http://ubuntu12/swiftdatastore/public/bootstrap"
|
||||
}
|
||||
]
|
||||
},
|
||||
"dbHttpPort": 5080,
|
||||
"dbHttpsPort": 50443,
|
||||
"dbRootDirectory": {
|
||||
"url": "https://vatsim-germany.org:50443/mapping/public"
|
||||
},
|
||||
"fsdTestServers": {
|
||||
"containerbase": [
|
||||
{
|
||||
"address": "vatsim-germany.org",
|
||||
"description": "swift Testserver",
|
||||
"isAcceptingConnections": true,
|
||||
"name": "swift",
|
||||
"port": 6809,
|
||||
"user": {
|
||||
"callsign": {
|
||||
"callsign": "",
|
||||
"callsignAsSet": "",
|
||||
"telephonyDesignator": "",
|
||||
"typeHint": 0
|
||||
},
|
||||
"email": "",
|
||||
"homebase": {
|
||||
"icaoCode": ""
|
||||
},
|
||||
"id": "1234567",
|
||||
"password": "123456",
|
||||
"realname": "Swift Test User"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"swiftDbDataFiles": {
|
||||
"containerbase": [
|
||||
]
|
||||
},
|
||||
"timestampMSecsSinceEpoch": 1445201830000,
|
||||
"vatsimBookings": {
|
||||
"url": "http://vatbook.euroutepro.com/xml2.php"
|
||||
},
|
||||
"vatsimDataFile": {
|
||||
"containerbase": [
|
||||
{
|
||||
"url": "http://info.vroute.net/vatsim-data.txt"
|
||||
}
|
||||
]
|
||||
},
|
||||
"vatsimMetars": {
|
||||
"url": "http://metar.vatsim.net/metar.php"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user