From 5e42aa0b9551f103be36782056eae9f09caaae44 Mon Sep 17 00:00:00 2001 From: Klaus Basan Date: Wed, 14 Oct 2015 02:53:41 +0200 Subject: [PATCH] refs #478, added new resources * blueprints for bootstrap files * private bootstrap file --- .../bootstrap/development/bootstrap.json | 62 +++++++++++++++++++ resources/bootstrap/productive/bootstrap.json | 62 +++++++++++++++++++ .../bootstrap/bootstrap.json | 62 +++++++++++++++++++ resources/local.env.template/readme.txt | 5 ++ resources/swift_resources.pro | 8 +++ 5 files changed, 199 insertions(+) create mode 100644 resources/bootstrap/development/bootstrap.json create mode 100644 resources/bootstrap/productive/bootstrap.json create mode 100644 resources/local.env.template/bootstrap/bootstrap.json create mode 100644 resources/local.env.template/readme.txt diff --git a/resources/bootstrap/development/bootstrap.json b/resources/bootstrap/development/bootstrap.json new file mode 100644 index 000000000..71452e331 --- /dev/null +++ b/resources/bootstrap/development/bootstrap.json @@ -0,0 +1,62 @@ +{ + "bootstrap": { + "containerbase": [ + { + "url": "https://vatsim-germany.org:50443/mapping/public/bootstrap" + }, + { + "url": "http://ubuntu12/public/bootstrap" + } + ] + }, + "dbIcaoReader": { + "url": "http://ubuntu12/vatrep/public" + }, + "dbModelReader": { + "url": "http://ubuntu12/vatrep/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": 0, + "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" + } +} \ No newline at end of file diff --git a/resources/bootstrap/productive/bootstrap.json b/resources/bootstrap/productive/bootstrap.json new file mode 100644 index 000000000..527bdf7af --- /dev/null +++ b/resources/bootstrap/productive/bootstrap.json @@ -0,0 +1,62 @@ +{ + "bootstrap": { + "containerbase": [ + { + "url": "https://vatsim-germany.org:50443/mapping/public/bootstrap" + }, + { + "url": "http://ubuntu12/public/bootstrap" + } + ] + }, + "dbIcaoReader": { + "url": "https://vatsim-germany.org:50443/mapping/public" + }, + "dbModelReader": { + "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": 0, + "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" + } +} diff --git a/resources/local.env.template/bootstrap/bootstrap.json b/resources/local.env.template/bootstrap/bootstrap.json new file mode 100644 index 000000000..71452e331 --- /dev/null +++ b/resources/local.env.template/bootstrap/bootstrap.json @@ -0,0 +1,62 @@ +{ + "bootstrap": { + "containerbase": [ + { + "url": "https://vatsim-germany.org:50443/mapping/public/bootstrap" + }, + { + "url": "http://ubuntu12/public/bootstrap" + } + ] + }, + "dbIcaoReader": { + "url": "http://ubuntu12/vatrep/public" + }, + "dbModelReader": { + "url": "http://ubuntu12/vatrep/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": 0, + "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" + } +} \ No newline at end of file diff --git a/resources/local.env.template/readme.txt b/resources/local.env.template/readme.txt new file mode 100644 index 000000000..d645f4601 --- /dev/null +++ b/resources/local.env.template/readme.txt @@ -0,0 +1,5 @@ +For running a local setup: + +1) Copy the local environment template to some place +2) Adjust the locations as required +3) Point the variable SWIFT_SETUP_DIR to this \ No newline at end of file diff --git a/resources/swift_resources.pro b/resources/swift_resources.pro index c61811333..a4aa17987 100644 --- a/resources/swift_resources.pro +++ b/resources/swift_resources.pro @@ -7,9 +7,17 @@ CONFIG -= qt OTHER_FILES += data/images/flags/*.png OTHER_FILES += data/images/airlines/*.png OTHER_FILES += swiftDB/*.* +OTHER_FILES += bootstrap/productive/*.* +OTHER_FILES += bootstrap/development/*.* +OTHER_FILES += local.env.template/*.* +OTHER_FILES += local.env.template/bootstrap/*.* COPY_FILES += $$PWD/data/images/flags/*.png COPY_FILES += $$PWD/data/images/airlines/*.png COPY_FILES += $$PWD/swiftDB/*.* +COPY_FILES += $$PWD/bootstrap/productive/*.* +COPY_FILES += $$PWD/bootstrap/development/*.* +COPY_FILES += $$PWD/local.env.template/*.* +COPY_FILES += $$PWD/local.env.template/bootstrap/*.* load(common_post)