-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Danibishop/longitude rework #32
Commits on Jan 23, 2019
-
Scaffold as packagestarting in version 0.3.0
Dani Ramirez committedJan 23, 2019 Configuration menu - View commit details
-
Copy full SHA for 738b144 - Browse repository at this point
Copy the full SHA 738b144View commit details -
Scaffold structure including initial unit test structure + coverage c…
…onfiguration.
Dani Ramirez committedJan 23, 2019 Configuration menu - View commit details
-
Copy full SHA for 8845ea5 - Browse repository at this point
Copy the full SHA 8845ea5View commit details -
Scaffold for carto data source including tests.
Dani Ramirez committedJan 23, 2019 Configuration menu - View commit details
-
Copy full SHA for 64073a7 - Browse repository at this point
Copy the full SHA 64073a7View commit details
Commits on Jan 24, 2019
-
Added per-query configuration (+ default). Exception wrapping to hide…
… the CARTO layer.
Dani Ramirez committedJan 24, 2019 Configuration menu - View commit details
-
Copy full SHA for 37f443a - Browse repository at this point
Copy the full SHA 37f443aView commit details -
Basic example added to query Carto
Dani Ramirez committedJan 24, 2019 Configuration menu - View commit details
-
Copy full SHA for 44bf413 - Browse repository at this point
Copy the full SHA 44bf413View commit details -
100% coverage for Carto data source. Common configuration for on prem…
…ise and regular instances.
Dani Ramirez committedJan 24, 2019 Configuration menu - View commit details
-
Copy full SHA for fb53a06 - Browse repository at this point
Copy the full SHA fb53a06View commit details -
Added class to wrap query responses, regardless of the database speci…
…fic response. Basic preview of returned values as table.
Dani Ramirez committedJan 24, 2019 Configuration menu - View commit details
-
Copy full SHA for 7be594a - Browse repository at this point
Copy the full SHA 7be594aView commit details -
Dani Ramirez committed
Jan 24, 2019 Configuration menu - View commit details
-
Copy full SHA for 2c74c55 - Browse repository at this point
Copy the full SHA 2c74c55View commit details
Commits on Jan 25, 2019
-
Transparent cache logic inserted in base data source logic. README no…
…w has the roadmap checklist.
Dani Ramirez committedJan 25, 2019 Configuration menu - View commit details
-
Copy full SHA for 8fb5849 - Browse repository at this point
Copy the full SHA 8fb5849View commit details
Commits on Jan 28, 2019
-
Basic RAM cache implementation. Source code folder structure rework t…
…o separate samples.
Dani Ramirez committedJan 28, 2019 Configuration menu - View commit details
-
Copy full SHA for ed0023b - Browse repository at this point
Copy the full SHA ed0023bView commit details -
Basic Redis put/get feature. Cache config added. Updated README.
Dani Ramirez committedJan 28, 2019 Configuration menu - View commit details
-
Copy full SHA for 63ba516 - Browse repository at this point
Copy the full SHA 63ba516View commit details -
Dani Ramirez committed
Jan 28, 2019 Configuration menu - View commit details
-
Copy full SHA for 2458d02 - Browse repository at this point
Copy the full SHA 2458d02View commit details -
Picke as default cache serializer.
Dani Ramirez committedJan 28, 2019 Configuration menu - View commit details
-
Copy full SHA for 000e826 - Browse repository at this point
Copy the full SHA 000e826View commit details -
Cache now stores normalized payloads only
Dani Ramirez committedJan 28, 2019 Configuration menu - View commit details
-
Copy full SHA for 3fff406 - Browse repository at this point
Copy the full SHA 3fff406View commit details -
Dani Ramirez committed
Jan 28, 2019 Configuration menu - View commit details
-
Copy full SHA for dcd2f10 - Browse repository at this point
Copy the full SHA dcd2f10View commit details -
Added tests for Redis cache and RAM cache. Improved total coverage up…
… to 95%.
Dani Ramirez committedJan 28, 2019 Configuration menu - View commit details
-
Copy full SHA for 08aa397 - Browse repository at this point
Copy the full SHA 08aa397View commit details -
Cache configuration wrapped in class instead of dictionary (only for …
…Redis for now). Password field added to Redis configuration, including associated error messages.
Dani Ramirez committedJan 28, 2019 Configuration menu - View commit details
-
Copy full SHA for fec1359 - Browse repository at this point
Copy the full SHA fec1359View commit details
Commits on Jan 29, 2019
-
Initial scaffold for postgres data source
Dani Ramirez committedJan 29, 2019 Configuration menu - View commit details
-
Copy full SHA for 1d9c0fe - Browse repository at this point
Copy the full SHA 1d9c0feView commit details -
Requied Python version updated to 3.7. Reference to shared google doc…
… with roadmap removed.
Dani Ramirez committedJan 29, 2019 Configuration menu - View commit details
-
Copy full SHA for 20ece33 - Browse repository at this point
Copy the full SHA 20ece33View commit details -
Merge branch 'danibishop/longitude-rework' into danibishop/postgres-i…
…nterface
Dani Ramirez committedJan 29, 2019 Configuration menu - View commit details
-
Copy full SHA for f3a7005 - Browse repository at this point
Copy the full SHA f3a7005View commit details -
Dani Ramirez committed
Jan 29, 2019 Configuration menu - View commit details
-
Copy full SHA for 2ecf601 - Browse repository at this point
Copy the full SHA 2ecf601View commit details -
psycopg2 package removed in favour of psycopg2-binary distribution. F…
…ixed tests.
Dani Ramirez committedJan 29, 2019 Configuration menu - View commit details
-
Copy full SHA for fe2078c - Browse repository at this point
Copy the full SHA fe2078cView commit details
Commits on Jan 30, 2019
-
Write query comprobation removed. Closes #33. Use of cache is now con…
…figurable in a per-query basis using a bool parameter in the query() method.
Dani Ramirez committedJan 30, 2019 Configuration menu - View commit details
-
Copy full SHA for a50754f - Browse repository at this point
Copy the full SHA a50754fView commit details -
Previews for query response removed.
Dani Ramirez committedJan 30, 2019 Configuration menu - View commit details
-
Copy full SHA for edff45b - Browse repository at this point
Copy the full SHA edff45bView commit details -
Configuration logic extracted to simple class. Now it is common for d…
…ata sources and cache classes.
Dani Ramirez committedJan 30, 2019 Configuration menu - View commit details
-
Copy full SHA for 07054fc - Browse repository at this point
Copy the full SHA 07054fcView commit details -
Cache can be safely disabled temporarily using the DisableCache conte…
…xt manager. Basic profiling times in the postgres data source. Added 'needs_commit' parameter to query method to avoid default committing.
Dani Ramirez committedJan 30, 2019 Configuration menu - View commit details
-
Copy full SHA for 2dd8546 - Browse repository at this point
Copy the full SHA 2dd8546View commit details -
Common response class extracted to its own module. Rows data is now s…
…tored including field name, following the CARTO style. Closes #35
Dani Ramirez committedJan 30, 2019 Configuration menu - View commit details
-
Copy full SHA for 60d4680 - Browse repository at this point
Copy the full SHA 60d4680View commit details
Commits on Jan 31, 2019
-
Imports reordered (isort) and setup.py updated with current structure.
Dani Ramirez committedJan 31, 2019 Configuration menu - View commit details
-
Copy full SHA for 4211956 - Browse repository at this point
Copy the full SHA 4211956View commit details -
Updated pytest dependency. Added some pytest plugins.
Dani Ramirez committedJan 31, 2019 Configuration menu - View commit details
-
Copy full SHA for e449a3c - Browse repository at this point
Copy the full SHA e449a3cView commit details -
Fix. Queries were being passed already formatted to the specific sub-…
…classes. This avoided each database connector to deal with parametrized queries. This had implications on how the cache keys were being generated. Now, keys are generated with the concatenation of the query template and the parameters.
Dani Ramirez committedJan 31, 2019 Configuration menu - View commit details
-
Copy full SHA for 26e214f - Browse repository at this point
Copy the full SHA 26e214fView commit details -
Fix. Queries were being passed already formatted to the specific sub-…
…classes. This avoided each database connector to deal with parametrized queries. This had implications on how the cache keys were being generated. Now, keys are generated with the concatenation of the query template and the parameters.
Dani Ramirez committedJan 31, 2019 Configuration menu - View commit details
-
Copy full SHA for 5a2b610 - Browse repository at this point
Copy the full SHA 5a2b610View commit details -
Merge branch 'danibishop/longitude-rework' into danibishop/sqlalchemy…
…-data-source
Dani Ramirez committedJan 31, 2019 Configuration menu - View commit details
-
Copy full SHA for e1d7773 - Browse repository at this point
Copy the full SHA e1d7773View commit details -
Added SQLAlchemy and dependencies updated.
Dani Ramirez committedJan 31, 2019 Configuration menu - View commit details
-
Copy full SHA for 86a159b - Browse repository at this point
Copy the full SHA 86a159bView commit details -
get_config() now returns default and custom configurations merged if …
…no key is provided. Create table from model in SQLAlchemy seems to work (wrapped in data source object)
Dani Ramirez committedJan 31, 2019 Configuration menu - View commit details
-
Copy full SHA for d295ad1 - Browse repository at this point
Copy the full SHA d295ad1View commit details
Commits on Feb 1, 2019
-
Merge branch 'danibishop/longitude-rework' of github.com:GeographicaG…
…S/Longitude into danibishop/longitude-rework
Dani Ramirez committedFeb 1, 2019 Configuration menu - View commit details
-
Copy full SHA for 8aa0034 - Browse repository at this point
Copy the full SHA 8aa0034View commit details -
Merge branch 'danibishop/distribution-rework' into danibishop/sqlalch…
…emy-data-source
Dani Ramirez committedFeb 1, 2019 Configuration menu - View commit details
-
Copy full SHA for 415772f - Browse repository at this point
Copy the full SHA 415772fView commit details -
100% coverage for config and helpers. 86% total coverage.
Dani Ramirez committedFeb 1, 2019 Configuration menu - View commit details
-
Copy full SHA for 120336e - Browse repository at this point
Copy the full SHA 120336eView commit details -
Sample use of SQL Alchemy using Expression Language
Dani Ramirez committedFeb 1, 2019 Configuration menu - View commit details
-
Copy full SHA for 6feda08 - Browse repository at this point
Copy the full SHA 6feda08View commit details -
Bugfix. Cache object was putting parameters instead of payloads.
Dani Ramirez committedFeb 1, 2019 Configuration menu - View commit details
-
Copy full SHA for 333e275 - Browse repository at this point
Copy the full SHA 333e275View commit details -
SQLAlchemy data source full sample.
Dani Ramirez committedFeb 1, 2019 Configuration menu - View commit details
-
Copy full SHA for 10039b0 - Browse repository at this point
Copy the full SHA 10039b0View commit details -
Configuration object class created.
Dani Ramirez committedFeb 1, 2019 Configuration menu - View commit details
-
Copy full SHA for a17482e - Browse repository at this point
Copy the full SHA a17482eView commit details
Commits on Feb 2, 2019
-
Example for configuration file using a Carto and Postgres data source…
…s combined
Dani Ramirez committedFeb 2, 2019 Configuration menu - View commit details
-
Copy full SHA for 7af7f58 - Browse repository at this point
Copy the full SHA 7af7f58View commit details -
Merge branch 'danibishop/longitude-rework' of github.com:GeographicaG…
…S/Longitude into danibishop/longitude-rework
Dani Ramirez committedFeb 2, 2019 Configuration menu - View commit details
-
Copy full SHA for 4a36a9a - Browse repository at this point
Copy the full SHA 4a36a9aView commit details -
Expiration time added to cache interface
Dani Ramirez committedFeb 2, 2019 Configuration menu - View commit details
-
Copy full SHA for 746788b - Browse repository at this point
Copy the full SHA 746788bView commit details -
Expanded explanation about issues when rendering binded parameters to…
… carto queries.
Dani Ramirez committedFeb 2, 2019 Configuration menu - View commit details
-
Copy full SHA for ba494a3 - Browse repository at this point
Copy the full SHA ba494a3View commit details -
Source folder renamed as longitude.
Dani Ramirez committedFeb 2, 2019 Configuration menu - View commit details
-
Copy full SHA for 78bc949 - Browse repository at this point
Copy the full SHA 78bc949View commit details -
Build + development environment switched to Poetry
Dani Ramirez committedFeb 2, 2019 Configuration menu - View commit details
-
Copy full SHA for 6566bb2 - Browse repository at this point
Copy the full SHA 6566bb2View commit details
Commits on Feb 4, 2019
-
Python requirement lowered to 3.6 or bigger instead of 3.7. Fixed cov…
…erage script for longitude path.
Dani Ramirez committedFeb 4, 2019 Configuration menu - View commit details
-
Copy full SHA for 1c43064 - Browse repository at this point
Copy the full SHA 1c43064View commit details -
First try with Jenkins + Poetry
Dani Ramirez committedFeb 4, 2019 Configuration menu - View commit details
-
Copy full SHA for 74773c5 - Browse repository at this point
Copy the full SHA 74773c5View commit details
Commits on Feb 5, 2019
-
Updated data source base including some shortcut query methods and da…
…taframe read/write abstract methods
Dani Ramirez committedFeb 5, 2019 Configuration menu - View commit details
-
Copy full SHA for ca0d967 - Browse repository at this point
Copy the full SHA ca0d967View commit details -
Dani Ramirez committed
Feb 5, 2019 Configuration menu - View commit details
-
Copy full SHA for 11029de - Browse repository at this point
Copy the full SHA 11029deView commit details -
Config reworked as in ch31846.
EnvironmentConfiguration is now a domain class that exposes a single get(key) method. It will parse environment variables in the form LONGITUDE__PARENT_OBJECT__CHILD_OBJECT__VALUE=42 as {'parent_object': {'child_object': {'value': 42 } } It also allows to recover the values using nested keys ('.' is the joiner): Config.get('parent_object.child_object.value') returns 42 (as integer). Also, if a value can be parsed as integer, it will be parsed.
Dani Ramirez committedFeb 5, 2019 Configuration menu - View commit details
-
Copy full SHA for ad0feb7 - Browse repository at this point
Copy the full SHA ad0feb7View commit details