/* Copyright (C) 2016 NooBaa */

export default {
    // node
    'node.create':            'Node Added',
    'node.test_node':         'Node Tested',
    'node.decommission':      'Node Deactivated',
    'node.storage_disabled':  'Node Storage Disabled',
    'node.storage_enabled':   'Node Storage Enabled',
    'node.edit_drives':       'Node Storage Drives Edited',
    'node.endpoint_disabled': 'Node S3 Endpoint Disabled',
    'node.endpoint_enabled':  'Node S3 Endpoint Enabled',
    'node.recommission':      'Node Reactivated',
    'node.connected':         'Drive Connected',
    'node.deleted':           'Node Deleted',
    'node.delete_started':    'Node Deletion Started',
    'node.untrusted':         'Node Untrusted',
    'node.retrust':           'Node Retrusted',
    'node.disconnected':      'Drive Disconnected',

    // obj
    'obj.uploaded': 'Upload Completed',
    'obj.deleted':  'Object Deleted',

    // bucket:
    'bucket.create':                               'Bucket Created',
    'bucket.delete':                               'Bucket Deleted',
    'bucket.set_cloud_sync':                       'Bucket Cloud Sync Set',
    'bucket.update_cloud_sync':                    'Bucket Cloud Sync Updated',
    'bucket.remove_cloud_sync':                    'Bucket Cloud Sync Removed',
    'bucket.edit_policy':                          'Edit Bucket Policy',
    'bucket.edit_resiliency':                      'Edit Bucket Data Resiliency',
    'bucket.s3_access_updated':                    'Bucket S3 Access Updated',
    'bucket.set_lifecycle_configuration_rules':    'Set Lifecycle Configuration',
    'bucket.quota':                                'Bucket Quota Configuration',
    'bucket.versioning':                           'Bucket Versioning Updated',
    'bucket.delete_lifecycle_configuration_rules': 'Delete Lifecycle Configuration',

    // account:
    'account.create':               'Account Created',
    'account.update':               'Account Updated',
    'account.delete':               'Account Deleted',
    'account.s3_access_updated':    'Account S3 Access Updated',
    'account.generate_credentials': 'Account Credentials Generated',
    'account.connection_create':    'Connection Created',
    'account.connection_delete':    'Connection Deleted',

    // resource:
    'resource.create':              'Pool Created',
    'resource.delete':              'Pool Deleted',
    'resource.cloud_create':        'Cloud Resource Created',
    'resource.cloud_delete':        'Cloud Resource Deleted',
    'resource.assign_nodes':        'Pool Nodes Assigned',
    'resource.pool_assign_region':  'Pool Region Assigned',
    'resource.cloud_assign_region': 'Cloud Resource Region Assigned',
    'resource.scale':               'Pool Scaled',

    // dbg:
    'dbg.set_debug_node':           'Node\'s Debug Mode Change',
    'dbg.diagnose_system':          'System Diagnose',
    'dbg.diagnose_server':          'Server Diagnostics Collected',
    'dbg.set_debug_level':          'System Debug Mode Changed',
    'dbg.set_server_debug_level':   'Server Debug Mode Changed',
    'dbg.maintenance_mode':         'Maintenance Mode Started',
    'dbg.maintenance_mode_stopped': 'Maintenance Mode Stopped',

    // cluster:
    'cluster.added_member_to_cluster': 'Server Added To Cluster',
    'cluster.set_server_conf':         'Server Configuration Set',

    //functions:
    'functions.func_created':     'New function created',
    'functions.func_config_edit': 'Function config edited',
    'functions.func_code_edit':   'Function code edited',

    // conf
    'conf.create_system':                'System Created',
    'conf.server_date_time_updated':     'Server Date And Time Updated',
    'conf.dns_address':                  'DNS Address Set',
    'conf.set_phone_home_proxy_address': 'Proxy Address Set',
    'conf.dns_servers':                  'DNS Servers Set',
    'conf.set_certificate':              'Certificate Set',
    'conf.upload_package':               'Upgrade package upload started',
    'conf.system_upgrade_started':       'System upgrade started ',
    'conf.system_after_completed':       'System upgrade completed'
};
