chore: more details
This commit is contained in:
@@ -174,44 +174,44 @@ class DatabasesController extends Controller
|
||||
schema: new OA\Schema(
|
||||
type: 'object',
|
||||
properties: [
|
||||
'name' => ['type' => 'string'],
|
||||
'description' => ['type' => 'string'],
|
||||
'image' => ['type' => 'string'],
|
||||
'is_public' => ['type' => 'boolean'],
|
||||
'public_port' => ['type' => 'integer'],
|
||||
'limits_memory' => ['type' => 'string'],
|
||||
'limits_memory_swap' => ['type' => 'string'],
|
||||
'limits_memory_swappiness' => ['type' => 'integer'],
|
||||
'limits_memory_reservation' => ['type' => 'string'],
|
||||
'limits_cpus' => ['type' => 'string'],
|
||||
'limits_cpuset' => ['type' => 'string'],
|
||||
'limits_cpu_shares' => ['type' => 'integer'],
|
||||
'postgres_user' => ['type' => 'string'],
|
||||
'postgres_password' => ['type' => 'string'],
|
||||
'postgres_db' => ['type' => 'string'],
|
||||
'postgres_initdb_args' => ['type' => 'string'],
|
||||
'postgres_host_auth_method' => ['type' => 'string'],
|
||||
'postgres_conf' => ['type' => 'string'],
|
||||
'clickhouse_admin_user' => ['type' => 'string'],
|
||||
'clickhouse_admin_password' => ['type' => 'string'],
|
||||
'dragonfly_password' => ['type' => 'string'],
|
||||
'redis_password' => ['type' => 'string'],
|
||||
'redis_conf' => ['type' => 'string'],
|
||||
'keydb_password' => ['type' => 'string'],
|
||||
'keydb_conf' => ['type' => 'string'],
|
||||
'mariadb_conf' => ['type' => 'string'],
|
||||
'mariadb_root_password' => ['type' => 'string'],
|
||||
'mariadb_user' => ['type' => 'string'],
|
||||
'mariadb_password' => ['type' => 'string'],
|
||||
'mariadb_database' => ['type' => 'string'],
|
||||
'mongo_conf' => ['type' => 'string'],
|
||||
'mongo_initdb_root_username' => ['type' => 'string'],
|
||||
'mongo_initdb_root_password' => ['type' => 'string'],
|
||||
'mongo_initdb_init_database' => ['type' => 'string'],
|
||||
'mysql_root_password' => ['type' => 'string'],
|
||||
'mysql_user' => ['type' => 'string'],
|
||||
'mysql_database' => ['type' => 'string'],
|
||||
'mysql_conf' => ['type' => 'string'],
|
||||
'name' => ['type' => 'string', 'description' => 'Name of the database'],
|
||||
'description' => ['type' => 'string', 'description' => 'Description of the database'],
|
||||
'image' => ['type' => 'string', 'description' => 'Docker Image of the database'],
|
||||
'is_public' => ['type' => 'boolean', 'description' => 'Is the database public?'],
|
||||
'public_port' => ['type' => 'integer', 'description' => 'Public port of the database'],
|
||||
'limits_memory' => ['type' => 'string', 'description' => 'Memory limit of the database'],
|
||||
'limits_memory_swap' => ['type' => 'string', 'description' => 'Memory swap limit of the database'],
|
||||
'limits_memory_swappiness' => ['type' => 'integer', 'description' => 'Memory swappiness of the database'],
|
||||
'limits_memory_reservation' => ['type' => 'string', 'description' => 'Memory reservation of the database'],
|
||||
'limits_cpus' => ['type' => 'string', 'description' => 'CPU limit of the database'],
|
||||
'limits_cpuset' => ['type' => 'string', 'description' => 'CPU set of the database'],
|
||||
'limits_cpu_shares' => ['type' => 'integer', 'description' => 'CPU shares of the database'],
|
||||
'postgres_user' => ['type' => 'string', 'description' => 'PostgreSQL user'],
|
||||
'postgres_password' => ['type' => 'string', 'description' => 'PostgreSQL password'],
|
||||
'postgres_db' => ['type' => 'string', 'description' => 'PostgreSQL database'],
|
||||
'postgres_initdb_args' => ['type' => 'string', 'description' => 'PostgreSQL initdb args'],
|
||||
'postgres_host_auth_method' => ['type' => 'string', 'description' => 'PostgreSQL host auth method'],
|
||||
'postgres_conf' => ['type' => 'string', 'description' => 'PostgreSQL conf'],
|
||||
'clickhouse_admin_user' => ['type' => 'string', 'description' => 'Clickhouse admin user'],
|
||||
'clickhouse_admin_password' => ['type' => 'string', 'description' => 'Clickhouse admin password'],
|
||||
'dragonfly_password' => ['type' => 'string', 'description' => 'DragonFly password'],
|
||||
'redis_password' => ['type' => 'string', 'description' => 'Redis password'],
|
||||
'redis_conf' => ['type' => 'string', 'description' => 'Redis conf'],
|
||||
'keydb_password' => ['type' => 'string', 'description' => 'KeyDB password'],
|
||||
'keydb_conf' => ['type' => 'string', 'description' => 'KeyDB conf'],
|
||||
'mariadb_conf' => ['type' => 'string', 'description' => 'MariaDB conf'],
|
||||
'mariadb_root_password' => ['type' => 'string', 'description' => 'MariaDB root password'],
|
||||
'mariadb_user' => ['type' => 'string', 'description' => 'MariaDB user'],
|
||||
'mariadb_password' => ['type' => 'string', 'description' => 'MariaDB password'],
|
||||
'mariadb_database' => ['type' => 'string', 'description' => 'MariaDB database'],
|
||||
'mongo_conf' => ['type' => 'string', 'description' => 'Mongo conf'],
|
||||
'mongo_initdb_root_username' => ['type' => 'string', 'description' => 'Mongo initdb root username'],
|
||||
'mongo_initdb_root_password' => ['type' => 'string', 'description' => 'Mongo initdb root password'],
|
||||
'mongo_initdb_init_database' => ['type' => 'string', 'description' => 'Mongo initdb init database'],
|
||||
'mysql_root_password' => ['type' => 'string', 'description' => 'MySQL root password'],
|
||||
'mysql_user' => ['type' => 'string', 'description' => 'MySQL user'],
|
||||
'mysql_database' => ['type' => 'string', 'description' => 'MySQL database'],
|
||||
'mysql_conf' => ['type' => 'string', 'description' => 'MySQL conf'],
|
||||
],
|
||||
),
|
||||
)
|
||||
@@ -478,29 +478,29 @@ class DatabasesController extends Controller
|
||||
type: 'object',
|
||||
required: ['server_uuid', 'project_uuid', 'environment_name'],
|
||||
properties: [
|
||||
'server_uuid' => ['type' => 'string'],
|
||||
'project_uuid' => ['type' => 'string'],
|
||||
'environment_name' => ['type' => 'string'],
|
||||
'postgres_user' => ['type' => 'string'],
|
||||
'postgres_password' => ['type' => 'string'],
|
||||
'postgres_db' => ['type' => 'string'],
|
||||
'postgres_initdb_args' => ['type' => 'string'],
|
||||
'postgres_host_auth_method' => ['type' => 'string'],
|
||||
'postgres_conf' => ['type' => 'string'],
|
||||
'destination_uuid' => ['type' => 'string'],
|
||||
'name' => ['type' => 'string'],
|
||||
'description' => ['type' => 'string'],
|
||||
'image' => ['type' => 'string'],
|
||||
'is_public' => ['type' => 'boolean'],
|
||||
'public_port' => ['type' => 'integer'],
|
||||
'limits_memory' => ['type' => 'string'],
|
||||
'limits_memory_swap' => ['type' => 'string'],
|
||||
'limits_memory_swappiness' => ['type' => 'integer'],
|
||||
'limits_memory_reservation' => ['type' => 'string'],
|
||||
'limits_cpus' => ['type' => 'string'],
|
||||
'limits_cpuset' => ['type' => 'string'],
|
||||
'limits_cpu_shares' => ['type' => 'integer'],
|
||||
'instant_deploy' => ['type' => 'boolean'],
|
||||
'server_uuid' => ['type' => 'string', 'description' => 'UUID of the server'],
|
||||
'project_uuid' => ['type' => 'string', 'description' => 'UUID of the project'],
|
||||
'environment_name' => ['type' => 'string', 'description' => 'Name of the environment'],
|
||||
'postgres_user' => ['type' => 'string', 'description' => 'PostgreSQL user'],
|
||||
'postgres_password' => ['type' => 'string', 'description' => 'PostgreSQL password'],
|
||||
'postgres_db' => ['type' => 'string', 'description' => 'PostgreSQL database'],
|
||||
'postgres_initdb_args' => ['type' => 'string', 'description' => 'PostgreSQL initdb args'],
|
||||
'postgres_host_auth_method' => ['type' => 'string', 'description' => 'PostgreSQL host auth method'],
|
||||
'postgres_conf' => ['type' => 'string', 'description' => 'PostgreSQL conf'],
|
||||
'destination_uuid' => ['type' => 'string', 'description' => 'UUID of the destination if the server has multiple destinations'],
|
||||
'name' => ['type' => 'string', 'description' => 'Name of the database'],
|
||||
'description' => ['type' => 'string', 'description' => 'Description of the database'],
|
||||
'image' => ['type' => 'string', 'description' => 'Docker Image of the database'],
|
||||
'is_public' => ['type' => 'boolean', 'description' => 'Is the database public?'],
|
||||
'public_port' => ['type' => 'integer', 'description' => 'Public port of the database'],
|
||||
'limits_memory' => ['type' => 'string', 'description' => 'Memory limit of the database'],
|
||||
'limits_memory_swap' => ['type' => 'string', 'description' => 'Memory swap limit of the database'],
|
||||
'limits_memory_swappiness' => ['type' => 'integer', 'description' => 'Memory swappiness of the database'],
|
||||
'limits_memory_reservation' => ['type' => 'string', 'description' => 'Memory reservation of the database'],
|
||||
'limits_cpus' => ['type' => 'string', 'description' => 'CPU limit of the database'],
|
||||
'limits_cpuset' => ['type' => 'string', 'description' => 'CPU set of the database'],
|
||||
'limits_cpu_shares' => ['type' => 'integer', 'description' => 'CPU shares of the database'],
|
||||
'instant_deploy' => ['type' => 'boolean', 'description' => 'Instant deploy the database'],
|
||||
],
|
||||
),
|
||||
)
|
||||
@@ -543,25 +543,25 @@ class DatabasesController extends Controller
|
||||
type: 'object',
|
||||
required: ['server_uuid', 'project_uuid', 'environment_name'],
|
||||
properties: [
|
||||
'server_uuid' => ['type' => 'string'],
|
||||
'project_uuid' => ['type' => 'string'],
|
||||
'environment_name' => ['type' => 'string'],
|
||||
'destination_uuid' => ['type' => 'string'],
|
||||
'clickhouse_admin_user' => ['type' => 'string'],
|
||||
'clickhouse_admin_password' => ['type' => 'string'],
|
||||
'name' => ['type' => 'string'],
|
||||
'description' => ['type' => 'string'],
|
||||
'image' => ['type' => 'string'],
|
||||
'is_public' => ['type' => 'boolean'],
|
||||
'public_port' => ['type' => 'integer'],
|
||||
'limits_memory' => ['type' => 'string'],
|
||||
'limits_memory_swap' => ['type' => 'string'],
|
||||
'limits_memory_swappiness' => ['type' => 'integer'],
|
||||
'limits_memory_reservation' => ['type' => 'string'],
|
||||
'limits_cpus' => ['type' => 'string'],
|
||||
'limits_cpuset' => ['type' => 'string'],
|
||||
'limits_cpu_shares' => ['type' => 'integer'],
|
||||
'instant_deploy' => ['type' => 'boolean'],
|
||||
'server_uuid' => ['type' => 'string', 'description' => 'UUID of the server'],
|
||||
'project_uuid' => ['type' => 'string', 'description' => 'UUID of the project'],
|
||||
'environment_name' => ['type' => 'string', 'description' => 'Name of the environment'],
|
||||
'destination_uuid' => ['type' => 'string', 'description' => 'UUID of the destination if the server has multiple destinations'],
|
||||
'clickhouse_admin_user' => ['type' => 'string', 'description' => 'Clickhouse admin user'],
|
||||
'clickhouse_admin_password' => ['type' => 'string', 'description' => 'Clickhouse admin password'],
|
||||
'name' => ['type' => 'string', 'description' => 'Name of the database'],
|
||||
'description' => ['type' => 'string', 'description' => 'Description of the database'],
|
||||
'image' => ['type' => 'string', 'description' => 'Docker Image of the database'],
|
||||
'is_public' => ['type' => 'boolean', 'description' => 'Is the database public?'],
|
||||
'public_port' => ['type' => 'integer', 'description' => 'Public port of the database'],
|
||||
'limits_memory' => ['type' => 'string', 'description' => 'Memory limit of the database'],
|
||||
'limits_memory_swap' => ['type' => 'string', 'description' => 'Memory swap limit of the database'],
|
||||
'limits_memory_swappiness' => ['type' => 'integer', 'description' => 'Memory swappiness of the database'],
|
||||
'limits_memory_reservation' => ['type' => 'string', 'description' => 'Memory reservation of the database'],
|
||||
'limits_cpus' => ['type' => 'string', 'description' => 'CPU limit of the database'],
|
||||
'limits_cpuset' => ['type' => 'string', 'description' => 'CPU set of the database'],
|
||||
'limits_cpu_shares' => ['type' => 'integer', 'description' => 'CPU shares of the database'],
|
||||
'instant_deploy' => ['type' => 'boolean', 'description' => 'Instant deploy the database'],
|
||||
],
|
||||
),
|
||||
)
|
||||
@@ -604,24 +604,24 @@ class DatabasesController extends Controller
|
||||
type: 'object',
|
||||
required: ['server_uuid', 'project_uuid', 'environment_name'],
|
||||
properties: [
|
||||
'server_uuid' => ['type' => 'string'],
|
||||
'project_uuid' => ['type' => 'string'],
|
||||
'environment_name' => ['type' => 'string'],
|
||||
'destination_uuid' => ['type' => 'string'],
|
||||
'dragonfly_password' => ['type' => 'string'],
|
||||
'name' => ['type' => 'string'],
|
||||
'description' => ['type' => 'string'],
|
||||
'image' => ['type' => 'string'],
|
||||
'is_public' => ['type' => 'boolean'],
|
||||
'public_port' => ['type' => 'integer'],
|
||||
'limits_memory' => ['type' => 'string'],
|
||||
'limits_memory_swap' => ['type' => 'string'],
|
||||
'limits_memory_swappiness' => ['type' => 'integer'],
|
||||
'limits_memory_reservation' => ['type' => 'string'],
|
||||
'limits_cpus' => ['type' => 'string'],
|
||||
'limits_cpuset' => ['type' => 'string'],
|
||||
'limits_cpu_shares' => ['type' => 'integer'],
|
||||
'instant_deploy' => ['type' => 'boolean'],
|
||||
'server_uuid' => ['type' => 'string', 'description' => 'UUID of the server'],
|
||||
'project_uuid' => ['type' => 'string', 'description' => 'UUID of the project'],
|
||||
'environment_name' => ['type' => 'string', 'description' => 'Name of the environment'],
|
||||
'destination_uuid' => ['type' => 'string', 'description' => 'UUID of the destination if the server has multiple destinations'],
|
||||
'dragonfly_password' => ['type' => 'string', 'description' => 'DragonFly password'],
|
||||
'name' => ['type' => 'string', 'description' => 'Name of the database'],
|
||||
'description' => ['type' => 'string', 'description' => 'Description of the database'],
|
||||
'image' => ['type' => 'string', 'description' => 'Docker Image of the database'],
|
||||
'is_public' => ['type' => 'boolean', 'description' => 'Is the database public?'],
|
||||
'public_port' => ['type' => 'integer', 'description' => 'Public port of the database'],
|
||||
'limits_memory' => ['type' => 'string', 'description' => 'Memory limit of the database'],
|
||||
'limits_memory_swap' => ['type' => 'string', 'description' => 'Memory swap limit of the database'],
|
||||
'limits_memory_swappiness' => ['type' => 'integer', 'description' => 'Memory swappiness of the database'],
|
||||
'limits_memory_reservation' => ['type' => 'string', 'description' => 'Memory reservation of the database'],
|
||||
'limits_cpus' => ['type' => 'string', 'description' => 'CPU limit of the database'],
|
||||
'limits_cpuset' => ['type' => 'string', 'description' => 'CPU set of the database'],
|
||||
'limits_cpu_shares' => ['type' => 'integer', 'description' => 'CPU shares of the database'],
|
||||
'instant_deploy' => ['type' => 'boolean', 'description' => 'Instant deploy the database'],
|
||||
],
|
||||
),
|
||||
)
|
||||
@@ -664,25 +664,25 @@ class DatabasesController extends Controller
|
||||
type: 'object',
|
||||
required: ['server_uuid', 'project_uuid', 'environment_name'],
|
||||
properties: [
|
||||
'server_uuid' => ['type' => 'string'],
|
||||
'project_uuid' => ['type' => 'string'],
|
||||
'environment_name' => ['type' => 'string'],
|
||||
'destination_uuid' => ['type' => 'string'],
|
||||
'redis_password' => ['type' => 'string'],
|
||||
'redis_conf' => ['type' => 'string'],
|
||||
'name' => ['type' => 'string'],
|
||||
'description' => ['type' => 'string'],
|
||||
'image' => ['type' => 'string'],
|
||||
'is_public' => ['type' => 'boolean'],
|
||||
'public_port' => ['type' => 'integer'],
|
||||
'limits_memory' => ['type' => 'string'],
|
||||
'limits_memory_swap' => ['type' => 'string'],
|
||||
'limits_memory_swappiness' => ['type' => 'integer'],
|
||||
'limits_memory_reservation' => ['type' => 'string'],
|
||||
'limits_cpus' => ['type' => 'string'],
|
||||
'limits_cpuset' => ['type' => 'string'],
|
||||
'limits_cpu_shares' => ['type' => 'integer'],
|
||||
'instant_deploy' => ['type' => 'boolean'],
|
||||
'server_uuid' => ['type' => 'string', 'description' => 'UUID of the server'],
|
||||
'project_uuid' => ['type' => 'string', 'description' => 'UUID of the project'],
|
||||
'environment_name' => ['type' => 'string', 'description' => 'Name of the environment'],
|
||||
'destination_uuid' => ['type' => 'string', 'description' => 'UUID of the destination if the server has multiple destinations'],
|
||||
'redis_password' => ['type' => 'string', 'description' => 'Redis password'],
|
||||
'redis_conf' => ['type' => 'string', 'description' => 'Redis conf'],
|
||||
'name' => ['type' => 'string', 'description' => 'Name of the database'],
|
||||
'description' => ['type' => 'string', 'description' => 'Description of the database'],
|
||||
'image' => ['type' => 'string', 'description' => 'Docker Image of the database'],
|
||||
'is_public' => ['type' => 'boolean', 'description' => 'Is the database public?'],
|
||||
'public_port' => ['type' => 'integer', 'description' => 'Public port of the database'],
|
||||
'limits_memory' => ['type' => 'string', 'description' => 'Memory limit of the database'],
|
||||
'limits_memory_swap' => ['type' => 'string', 'description' => 'Memory swap limit of the database'],
|
||||
'limits_memory_swappiness' => ['type' => 'integer', 'description' => 'Memory swappiness of the database'],
|
||||
'limits_memory_reservation' => ['type' => 'string', 'description' => 'Memory reservation of the database'],
|
||||
'limits_cpus' => ['type' => 'string', 'description' => 'CPU limit of the database'],
|
||||
'limits_cpuset' => ['type' => 'string', 'description' => 'CPU set of the database'],
|
||||
'limits_cpu_shares' => ['type' => 'integer', 'description' => 'CPU shares of the database'],
|
||||
'instant_deploy' => ['type' => 'boolean', 'description' => 'Instant deploy the database'],
|
||||
],
|
||||
),
|
||||
)
|
||||
@@ -725,25 +725,25 @@ class DatabasesController extends Controller
|
||||
type: 'object',
|
||||
required: ['server_uuid', 'project_uuid', 'environment_name'],
|
||||
properties: [
|
||||
'server_uuid' => ['type' => 'string'],
|
||||
'project_uuid' => ['type' => 'string'],
|
||||
'environment_name' => ['type' => 'string'],
|
||||
'destination_uuid' => ['type' => 'string'],
|
||||
'keydb_password' => ['type' => 'string'],
|
||||
'keydb_conf' => ['type' => 'string'],
|
||||
'name' => ['type' => 'string'],
|
||||
'description' => ['type' => 'string'],
|
||||
'image' => ['type' => 'string'],
|
||||
'is_public' => ['type' => 'boolean'],
|
||||
'public_port' => ['type' => 'integer'],
|
||||
'limits_memory' => ['type' => 'string'],
|
||||
'limits_memory_swap' => ['type' => 'string'],
|
||||
'limits_memory_swappiness' => ['type' => 'integer'],
|
||||
'limits_memory_reservation' => ['type' => 'string'],
|
||||
'limits_cpus' => ['type' => 'string'],
|
||||
'limits_cpuset' => ['type' => 'string'],
|
||||
'limits_cpu_shares' => ['type' => 'integer'],
|
||||
'instant_deploy' => ['type' => 'boolean'],
|
||||
'server_uuid' => ['type' => 'string', 'description' => 'UUID of the server'],
|
||||
'project_uuid' => ['type' => 'string', 'description' => 'UUID of the project'],
|
||||
'environment_name' => ['type' => 'string', 'description' => 'Name of the environment'],
|
||||
'destination_uuid' => ['type' => 'string', 'description' => 'UUID of the destination if the server has multiple destinations'],
|
||||
'keydb_password' => ['type' => 'string', 'description' => 'KeyDB password'],
|
||||
'keydb_conf' => ['type' => 'string', 'description' => 'KeyDB conf'],
|
||||
'name' => ['type' => 'string', 'description' => 'Name of the database'],
|
||||
'description' => ['type' => 'string', 'description' => 'Description of the database'],
|
||||
'image' => ['type' => 'string', 'description' => 'Docker Image of the database'],
|
||||
'is_public' => ['type' => 'boolean', 'description' => 'Is the database public?'],
|
||||
'public_port' => ['type' => 'integer', 'description' => 'Public port of the database'],
|
||||
'limits_memory' => ['type' => 'string', 'description' => 'Memory limit of the database'],
|
||||
'limits_memory_swap' => ['type' => 'string', 'description' => 'Memory swap limit of the database'],
|
||||
'limits_memory_swappiness' => ['type' => 'integer', 'description' => 'Memory swappiness of the database'],
|
||||
'limits_memory_reservation' => ['type' => 'string', 'description' => 'Memory reservation of the database'],
|
||||
'limits_cpus' => ['type' => 'string', 'description' => 'CPU limit of the database'],
|
||||
'limits_cpuset' => ['type' => 'string', 'description' => 'CPU set of the database'],
|
||||
'limits_cpu_shares' => ['type' => 'integer', 'description' => 'CPU shares of the database'],
|
||||
'instant_deploy' => ['type' => 'boolean', 'description' => 'Instant deploy the database'],
|
||||
],
|
||||
),
|
||||
)
|
||||
@@ -786,28 +786,28 @@ class DatabasesController extends Controller
|
||||
type: 'object',
|
||||
required: ['server_uuid', 'project_uuid', 'environment_name'],
|
||||
properties: [
|
||||
'server_uuid' => ['type' => 'string'],
|
||||
'project_uuid' => ['type' => 'string'],
|
||||
'environment_name' => ['type' => 'string'],
|
||||
'destination_uuid' => ['type' => 'string'],
|
||||
'mariadb_conf' => ['type' => 'string'],
|
||||
'mariadb_root_password' => ['type' => 'string'],
|
||||
'mariadb_user' => ['type' => 'string'],
|
||||
'mariadb_password' => ['type' => 'string'],
|
||||
'mariadb_database' => ['type' => 'string'],
|
||||
'name' => ['type' => 'string'],
|
||||
'description' => ['type' => 'string'],
|
||||
'image' => ['type' => 'string'],
|
||||
'is_public' => ['type' => 'boolean'],
|
||||
'public_port' => ['type' => 'integer'],
|
||||
'limits_memory' => ['type' => 'string'],
|
||||
'limits_memory_swap' => ['type' => 'string'],
|
||||
'limits_memory_swappiness' => ['type' => 'integer'],
|
||||
'limits_memory_reservation' => ['type' => 'string'],
|
||||
'limits_cpus' => ['type' => 'string'],
|
||||
'limits_cpuset' => ['type' => 'string'],
|
||||
'limits_cpu_shares' => ['type' => 'integer'],
|
||||
'instant_deploy' => ['type' => 'boolean'],
|
||||
'server_uuid' => ['type' => 'string', 'description' => 'UUID of the server'],
|
||||
'project_uuid' => ['type' => 'string', 'description' => 'UUID of the project'],
|
||||
'environment_name' => ['type' => 'string', 'description' => 'Name of the environment'],
|
||||
'destination_uuid' => ['type' => 'string', 'description' => 'UUID of the destination if the server has multiple destinations'],
|
||||
'mariadb_conf' => ['type' => 'string', 'description' => 'MariaDB conf'],
|
||||
'mariadb_root_password' => ['type' => 'string', 'description' => 'MariaDB root password'],
|
||||
'mariadb_user' => ['type' => 'string', 'description' => 'MariaDB user'],
|
||||
'mariadb_password' => ['type' => 'string', 'description' => 'MariaDB password'],
|
||||
'mariadb_database' => ['type' => 'string', 'description' => 'MariaDB database'],
|
||||
'name' => ['type' => 'string', 'description' => 'Name of the database'],
|
||||
'description' => ['type' => 'string', 'description' => 'Description of the database'],
|
||||
'image' => ['type' => 'string', 'description' => 'Docker Image of the database'],
|
||||
'is_public' => ['type' => 'boolean', 'description' => 'Is the database public?'],
|
||||
'public_port' => ['type' => 'integer', 'description' => 'Public port of the database'],
|
||||
'limits_memory' => ['type' => 'string', 'description' => 'Memory limit of the database'],
|
||||
'limits_memory_swap' => ['type' => 'string', 'description' => 'Memory swap limit of the database'],
|
||||
'limits_memory_swappiness' => ['type' => 'integer', 'description' => 'Memory swappiness of the database'],
|
||||
'limits_memory_reservation' => ['type' => 'string', 'description' => 'Memory reservation of the database'],
|
||||
'limits_cpus' => ['type' => 'string', 'description' => 'CPU limit of the database'],
|
||||
'limits_cpuset' => ['type' => 'string', 'description' => 'CPU set of the database'],
|
||||
'limits_cpu_shares' => ['type' => 'integer', 'description' => 'CPU shares of the database'],
|
||||
'instant_deploy' => ['type' => 'boolean', 'description' => 'Instant deploy the database'],
|
||||
],
|
||||
),
|
||||
)
|
||||
@@ -850,27 +850,27 @@ class DatabasesController extends Controller
|
||||
type: 'object',
|
||||
required: ['server_uuid', 'project_uuid', 'environment_name'],
|
||||
properties: [
|
||||
'server_uuid' => ['type' => 'string'],
|
||||
'project_uuid' => ['type' => 'string'],
|
||||
'environment_name' => ['type' => 'string'],
|
||||
'destination_uuid' => ['type' => 'string'],
|
||||
'mysql_root_password' => ['type' => 'string'],
|
||||
'mysql_user' => ['type' => 'string'],
|
||||
'mysql_database' => ['type' => 'string'],
|
||||
'mysql_conf' => ['type' => 'string'],
|
||||
'name' => ['type' => 'string'],
|
||||
'description' => ['type' => 'string'],
|
||||
'image' => ['type' => 'string'],
|
||||
'is_public' => ['type' => 'boolean'],
|
||||
'public_port' => ['type' => 'integer'],
|
||||
'limits_memory' => ['type' => 'string'],
|
||||
'limits_memory_swap' => ['type' => 'string'],
|
||||
'limits_memory_swappiness' => ['type' => 'integer'],
|
||||
'limits_memory_reservation' => ['type' => 'string'],
|
||||
'limits_cpus' => ['type' => 'string'],
|
||||
'limits_cpuset' => ['type' => 'string'],
|
||||
'limits_cpu_shares' => ['type' => 'integer'],
|
||||
'instant_deploy' => ['type' => 'boolean'],
|
||||
'server_uuid' => ['type' => 'string', 'description' => 'UUID of the server'],
|
||||
'project_uuid' => ['type' => 'string', 'description' => 'UUID of the project'],
|
||||
'environment_name' => ['type' => 'string', 'description' => 'Name of the environment'],
|
||||
'destination_uuid' => ['type' => 'string', 'description' => 'UUID of the destination if the server has multiple destinations'],
|
||||
'mysql_root_password' => ['type' => 'string', 'description' => 'MySQL root password'],
|
||||
'mysql_user' => ['type' => 'string', 'description' => 'MySQL user'],
|
||||
'mysql_database' => ['type' => 'string', 'description' => 'MySQL database'],
|
||||
'mysql_conf' => ['type' => 'string', 'description' => 'MySQL conf'],
|
||||
'name' => ['type' => 'string', 'description' => 'Name of the database'],
|
||||
'description' => ['type' => 'string', 'description' => 'Description of the database'],
|
||||
'image' => ['type' => 'string', 'description' => 'Docker Image of the database'],
|
||||
'is_public' => ['type' => 'boolean', 'description' => 'Is the database public?'],
|
||||
'public_port' => ['type' => 'integer', 'description' => 'Public port of the database'],
|
||||
'limits_memory' => ['type' => 'string', 'description' => 'Memory limit of the database'],
|
||||
'limits_memory_swap' => ['type' => 'string', 'description' => 'Memory swap limit of the database'],
|
||||
'limits_memory_swappiness' => ['type' => 'integer', 'description' => 'Memory swappiness of the database'],
|
||||
'limits_memory_reservation' => ['type' => 'string', 'description' => 'Memory reservation of the database'],
|
||||
'limits_cpus' => ['type' => 'string', 'description' => 'CPU limit of the database'],
|
||||
'limits_cpuset' => ['type' => 'string', 'description' => 'CPU set of the database'],
|
||||
'limits_cpu_shares' => ['type' => 'integer', 'description' => 'CPU shares of the database'],
|
||||
'instant_deploy' => ['type' => 'boolean', 'description' => 'Instant deploy the database'],
|
||||
],
|
||||
),
|
||||
)
|
||||
@@ -913,25 +913,25 @@ class DatabasesController extends Controller
|
||||
type: 'object',
|
||||
required: ['server_uuid', 'project_uuid', 'environment_name'],
|
||||
properties: [
|
||||
'server_uuid' => ['type' => 'string'],
|
||||
'project_uuid' => ['type' => 'string'],
|
||||
'environment_name' => ['type' => 'string'],
|
||||
'destination_uuid' => ['type' => 'string'],
|
||||
'mongo_conf' => ['type' => 'string'],
|
||||
'mongo_initdb_root_username' => ['type' => 'string'],
|
||||
'name' => ['type' => 'string'],
|
||||
'description' => ['type' => 'string'],
|
||||
'image' => ['type' => 'string'],
|
||||
'is_public' => ['type' => 'boolean'],
|
||||
'public_port' => ['type' => 'integer'],
|
||||
'limits_memory' => ['type' => 'string'],
|
||||
'limits_memory_swap' => ['type' => 'string'],
|
||||
'limits_memory_swappiness' => ['type' => 'integer'],
|
||||
'limits_memory_reservation' => ['type' => 'string'],
|
||||
'limits_cpus' => ['type' => 'string'],
|
||||
'limits_cpuset' => ['type' => 'string'],
|
||||
'limits_cpu_shares' => ['type' => 'integer'],
|
||||
'instant_deploy' => ['type' => 'boolean'],
|
||||
'server_uuid' => ['type' => 'string', 'description' => 'UUID of the server'],
|
||||
'project_uuid' => ['type' => 'string', 'description' => 'UUID of the project'],
|
||||
'environment_name' => ['type' => 'string', 'description' => 'Name of the environment'],
|
||||
'destination_uuid' => ['type' => 'string', 'description' => 'UUID of the destination if the server has multiple destinations'],
|
||||
'mongo_conf' => ['type' => 'string', 'description' => 'MongoDB conf'],
|
||||
'mongo_initdb_root_username' => ['type' => 'string', 'description' => 'MongoDB initdb root username'],
|
||||
'name' => ['type' => 'string', 'description' => 'Name of the database'],
|
||||
'description' => ['type' => 'string', 'description' => 'Description of the database'],
|
||||
'image' => ['type' => 'string', 'description' => 'Docker Image of the database'],
|
||||
'is_public' => ['type' => 'boolean', 'description' => 'Is the database public?'],
|
||||
'public_port' => ['type' => 'integer', 'description' => 'Public port of the database'],
|
||||
'limits_memory' => ['type' => 'string', 'description' => 'Memory limit of the database'],
|
||||
'limits_memory_swap' => ['type' => 'string', 'description' => 'Memory swap limit of the database'],
|
||||
'limits_memory_swappiness' => ['type' => 'integer', 'description' => 'Memory swappiness of the database'],
|
||||
'limits_memory_reservation' => ['type' => 'string', 'description' => 'Memory reservation of the database'],
|
||||
'limits_cpus' => ['type' => 'string', 'description' => 'CPU limit of the database'],
|
||||
'limits_cpuset' => ['type' => 'string', 'description' => 'CPU set of the database'],
|
||||
'limits_cpu_shares' => ['type' => 'integer', 'description' => 'CPU shares of the database'],
|
||||
'instant_deploy' => ['type' => 'boolean', 'description' => 'Instant deploy the database'],
|
||||
],
|
||||
),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user