90b22b2718
QueryTables and last updated_at retrieved with user Move setDBAuth and setDBConn to PgConnection entity - It uses cartodb-redis to retrieve datasource configuration Start using it in ServerOptions, TemplateMaps and QueryTablesApi QueryTablesApi don't receive anymore the connection/credentials - It will always use an authenticated query to retrieve last update - That will allow to query affected private tables last update
Raul Ochoa2015-02-09 14:46:52 +01:00
04af57cab9
Add some entries to cdb_tablemetadata for tables being used in tests
Raul Ochoa2015-02-09 14:38:59 +01:00
d40b15454b
Run some tests only if they are using the SQL API
Raul Ochoa2015-02-09 14:38:29 +01:00
e1e925bd9e
Run postgresql/sql-api dependant tests against two implementations This time for real.
Raul Ochoa2015-02-09 14:33:17 +01:00
151968ae13
Merge branch 'master' into private-cdb_tablemetadata
Raul Ochoa2015-02-06 18:42:18 +01:00
547782eea5
Use windshaft's plain-renderer-plus-http-default-plus-per-layer-datasource branch to pick latest developments for medusa
Raul Ochoa2015-02-06 12:03:17 +01:00
6bd967e9fb
Merge branch 'master' into medusa-improvements
Raul Ochoa2015-02-06 12:01:28 +01:00
c17af23a40
A non empty datasource from MapConfigNamedLayersAdapter.getLayers means the affected tables can have private tables involved. That implies QueryTablesApi will need the proper user to use CDB_QueryTables. So we store it in a request context to use it in the afterLayergroupCreate call.
Raul Ochoa2015-02-04 19:31:20 +01:00
fbecc11aa5
Do not use the SQL API Emulator for testing named layers as it hides an integration issue with cdb_querytables
Raul Ochoa2015-02-04 19:01:14 +01:00
8cacc3bb9e
Merge branch 'master' into 239-mapconfig-named-maps-extension
Raul Ochoa2015-02-04 18:59:07 +01:00
a82af16347
Adds a template test with http layer
Raul Ochoa2015-02-04 18:57:12 +01:00
5018d32af6
Add querytables and cdb_tablemetadata for proper testing its integration
Raul Ochoa2015-02-04 18:52:37 +01:00
2c7bc6adde
Datasource to give per-layer authentication in named layers
Raul Ochoa2015-02-04 11:30:36 +01:00
58f9f5f7a8
Remove unused object, rename suite
Raul Ochoa2015-02-03 14:16:55 +01:00
1bb0d8738e
Add test case for layers with private tables
Raul Ochoa2015-02-02 14:38:26 +01:00
4949616c4e
Some acceptance tests, http_status = 403 should not happen in adapter, needs improvement
Raul Ochoa2015-01-30 19:29:45 +01:00
12c5d835c5
Fix integration tests as I messed with the filename
Raul Ochoa2015-01-30 19:11:54 +01:00
87eaeb0074
Some integration tests for different cases in named layers type
Raul Ochoa2015-01-30 18:57:01 +01:00
8b07156a2d
Make templateMaps available in cartodb windshaft
Raul Ochoa2015-01-30 16:51:09 +01:00
358b296750
Remove beforeEach and afterEach, in combination with suite they are triggered for every single test even outside of the suite they were invoked in.
Raul Ochoa2015-01-30 16:50:06 +01:00
d0ef87b0cf
Add a before layergroup creation action to allow first level named maps layer type to be extended as other layers
Raul Ochoa2015-01-30 15:31:49 +01:00
e28fe1fdc0
Initialize template maps in server options
Raul Ochoa2015-01-30 15:30:13 +01:00
aecb07b008
Create redis pool in server options when not supplied
Raul Ochoa2015-01-30 15:28:55 +01:00
e690170689
More exhaustive layergroup validation: - layers is an array and it's not empty - layers has at least options
Raul Ochoa2015-01-26 15:51:10 +01:00
81f1b0dcf8
Adds tests for named maps surrogate keys and for invalidation
Raul Ochoa2015-01-26 15:02:28 +01:00
146a2b2606
Merge branch 'master' into 247-add-named-maps-surrogate-keys
Raul Ochoa2015-01-26 13:19:03 +01:00
0abd6a2293
Adds check for surrogate key headers in template instances p.s. it fixes instantiate template with params test
Raul Ochoa2015-01-23 17:02:13 +01:00
272e8cd221
Adds Surrogate Keys to named maps
Raul Ochoa2015-01-23 16:37:38 +01:00
885accdadf
Adds varnish http port to the default configurations
Raul Ochoa2015-01-23 16:36:45 +01:00
f5a3b77737
Make TemplateMaps to emit messages when adding/updating/deleting templates
Raul Ochoa2015-01-23 16:35:47 +01:00
56abcfd2f4
Update documentation to remove references to signed maps
Raul Ochoa2015-01-23 11:33:58 +01:00
ecd570323b
Merge branch 'master' into 238-drop-signed-maps
Raul Ochoa2015-01-22 19:37:03 +01:00
20eb92a3b1
Remove signedmaps and locks functionality as it is no longer needed
Raul Ochoa2015-01-22 19:28:59 +01:00
8d22ed7594
Tests to validate template instantiation returns new instances with default values if they are missing.
Raul Ochoa2015-01-22 18:38:42 +01:00