|
2 | 2 |
|
3 | 3 | module VCAP::CloudController |
4 | 4 | module ConfigSchemas |
5 | | - class RotateDatabaseKeySchema < VCAP::Config |
6 | | - define_schema do |
7 | | - { |
8 | | - logging: { |
9 | | - level: String, # debug, info, etc. |
10 | | - file: String, # Log file to use |
11 | | - syslog: String, # Name to associate with syslog messages (should start with 'vcap.') |
12 | | - }, |
13 | | - |
14 | | - pid_filename: String, # Pid filename to use |
15 | | - |
16 | | - optional(:max_migration_duration_in_minutes) => Integer, |
17 | | - db: { |
18 | | - optional(:database) => Hash, # db connection hash for sequel\ |
19 | | - max_connections: Integer, # max connections in the connection pool |
20 | | - pool_timeout: Integer, # timeout before raising an error when connection can't be established to the db |
21 | | - log_level: String, # debug, info, etc. |
22 | | - log_db_queries: bool, |
23 | | - ssl_verify_hostname: bool, |
24 | | - connection_validation_timeout: Integer, |
25 | | - optional(:ca_cert_path) => String, |
26 | | - }, |
27 | | - |
28 | | - index: Integer, # Component index (cc-0, cc-1, etc) |
29 | | - name: String, # Component name (api_z1, api_z2) |
30 | | - |
31 | | - default_app_ssh_access: bool, |
32 | | - |
33 | | - db_encryption_key: enum(String, NilClass), |
34 | | - |
35 | | - optional(:database_encryption) => { |
36 | | - keys: Hash, |
37 | | - current_key_label: String, |
38 | | - optional(:pbkdf2_hmac_iterations) => Integer |
39 | | - }, |
40 | | - } |
41 | | - end |
42 | | - |
43 | | - class << self |
44 | | - def configure_components(config); end |
| 5 | + module Vms |
| 6 | + class RotateDatabaseKeySchema < VCAP::Config |
| 7 | + define_schema do |
| 8 | + { |
| 9 | + logging: { |
| 10 | + level: String, # debug, info, etc. |
| 11 | + file: String, # Log file to use |
| 12 | + syslog: String, # Name to associate with syslog messages (should start with 'vcap.') |
| 13 | + }, |
| 14 | + |
| 15 | + pid_filename: String, # Pid filename to use |
| 16 | + |
| 17 | + optional(:max_migration_duration_in_minutes) => Integer, |
| 18 | + db: { |
| 19 | + optional(:database) => Hash, # db connection hash for sequel\ |
| 20 | + max_connections: Integer, # max connections in the connection pool |
| 21 | + pool_timeout: Integer, # timeout before raising an error when connection can't be established to the db |
| 22 | + log_level: String, # debug, info, etc. |
| 23 | + log_db_queries: bool, |
| 24 | + ssl_verify_hostname: bool, |
| 25 | + connection_validation_timeout: Integer, |
| 26 | + optional(:ca_cert_path) => String, |
| 27 | + }, |
| 28 | + |
| 29 | + index: Integer, # Component index (cc-0, cc-1, etc) |
| 30 | + name: String, # Component name (api_z1, api_z2) |
| 31 | + |
| 32 | + default_app_ssh_access: bool, |
| 33 | + |
| 34 | + db_encryption_key: enum(String, NilClass), |
| 35 | + |
| 36 | + optional(:database_encryption) => { |
| 37 | + keys: Hash, |
| 38 | + current_key_label: String, |
| 39 | + optional(:pbkdf2_hmac_iterations) => Integer |
| 40 | + }, |
| 41 | + } |
| 42 | + end |
| 43 | + |
| 44 | + class << self |
| 45 | + def configure_components(config); end |
| 46 | + end |
45 | 47 | end |
46 | 48 | end |
47 | 49 | end |
|
0 commit comments