Sync license_type in redis with the values coming from Central

pull/16270/head
Rafa de la Torre 3 years ago
parent affb6e3d22
commit 8d4ab87194

@ -14,6 +14,7 @@ Development
- Limit start parameter of Dropbox connector [#16264](https://github.com/CartoDB/cartodb/pull/16264)
- Support staging hostname in the catalog [#16258](https://github.com/CartoDB/cartodb/pull/16258)
- Allow the usage of WMTS URLs with parameters to create custom basemaps [#16271](https://github.com/CartoDB/cartodb/pull/16271)
- Sync license_type in redis with the values coming from Central [#16270](https://github.com/CartoDB/cartodb/pull/16270)
- Fix subscription/sample filter for datasets [#16254](https://github.com/CartoDB/cartodb/pull/16254)
- Use fully qualified table name while creating a new map from a shared dataset [#16241](https://github.com/CartoDB/cartodb/pull/16241)

@ -77,6 +77,7 @@ module Carto
expires_at: dataset[:expires_at].to_s,
status: dataset[:status],
available_in: dataset[:available_in],
license_type: dataset[:license_type] || nil,
type: dataset[:type],
estimated_size: entity_info[:estimated_size].to_i || 0,
estimated_row_count: entity_info[:estimated_row_count].to_i || 0,

@ -49,7 +49,7 @@ describe Carto::DoLicensingService do
bq_redis = [
{
dataset_id: 'carto.abc.dataset1', created_at: '2020-09-27 07:59:00 +0000', expires_at: '2021-09-27 08:00:00 +0000',
status: 'active', available_in: ['bq', 'bigtable'], type: nil, estimated_size: 0, estimated_row_count: 0,
status: 'active', available_in: ['bq', 'bigtable'], license_type: nil, type: nil, estimated_size: 0, estimated_row_count: 0,
estimated_columns_count: 0, num_bytes: 0, sync_status: 'unsynced', unsyncable_reason: nil,
unsynced_errors: nil, sync_table: nil, sync_table_id: nil, synchronization_id: nil
}

Loading…
Cancel
Save