abacus-account-stub
Version:
Stub for an account management service.
118 lines (113 loc) • 2.36 kB
JavaScript
'use strict';
// A sample storage service, metered by max gigabytes of storage, thousand
// light API calls and heavy API calls.
/* istanbul ignore file */
module.exports = {
resource_id: 'object-storage',
effective: 1420070400000,
plans: [
{
plan_id: 'basic',
metrics: [
{
name: 'storage',
prices: [
{
country: 'USA',
price: 1.00
},
{
country: 'EUR',
price: 0.7523
},
{
country: 'CAN',
price: 1.06
}]
},
{
name: 'thousand_light_api_calls',
prices: [
{
country: 'USA',
price: 0.03
},
{
country: 'EUR',
price: 0.0226
},
{
country: 'CAN',
price: 0.0317
}]
},
{
name: 'heavy_api_calls',
prices: [
{
country: 'USA',
price: 0.15
},
{
country: 'EUR',
price: 0.1129
},
{
country: 'CAN',
price: 0.1585
}]
}]
},
{
plan_id: 'standard',
metrics: [
{
name: 'storage',
prices: [
{
country: 'USA',
price: 0.50
},
{
country: 'EUR',
price: 0.45
},
{
country: 'CAN',
price: 0.65
}]
},
{
name: 'thousand_light_api_calls',
prices: [
{
country: 'USA',
price: 0.04
},
{
country: 'EUR',
price: 0.04
},
{
country: 'CAN',
price: 0.05
}]
},
{
name: 'heavy_api_calls',
prices: [
{
country: 'USA',
price: 0.18
},
{
country: 'EUR',
price: 0.16
},
{
country: 'CAN',
price: 0.24
}]
}]
}]
};