amadeus-travel-innovation-sandbox / sandbox-content

Decommission of the Travel Innovation Sandbox
14 stars 28 forks source link

Add city pairs and database #1

Closed tommiehansen closed 8 years ago

tommiehansen commented 8 years ago
  1. Add citypairs from STO,GOT,CPH.
  2. Add SQLite database
tadhgpearson commented 8 years ago

Doh, I wish it were that simple to add new city pairs. Unfortunately this isn't how it works. This CSV just documents what's currently configured in the cache. I now understand this may not have been clear so I've added a readme file to the root of the project to make this much clearer. Filling the cache is computationally expensive: adding a city pair means either removing an existing one, adding new hardware to the cluster or reducing the quality of the whole cache. However, we will take your feedback into consideration at the next cache update.

tommiehansen commented 8 years ago

Oh, ok -- i thought you used that CSV as a reference/database for what to just include from the already cached entries within Amadeus that is/seem to be available (example: a m a d e u s . n e t /api/flights/minfares?origins=STO&dcity=PAR&aggr=DAY&departureDate=151101&returnDate=151201). Then it actually would be as simple as adding city pairs to the CSV.

And yes -- i know how a cache work, and yes -- i know how many possible combinations there can be.