refactor: restructure project — separate tools, config, generated, provider

TOOLS/        — generators + scripts + config + ARCHITECTURE.md
  ├── yaml-generator/    (code)
  ├── resource-generator/ (code)
  ├── docs-generator/    (code)
  ├── scripts/           (← devops/*.sh)
  ├── config/            (← devops/profiles/ + devops/config/)
  │   ├── test/          profile.env, services_list.txt, operation_timeouts.json
  │   ├── prod/
  │   └── dev/
  └── ARCHITECTURE.md    (← devops/ARCHITECTURE.md)

generated/    — pipeline output only (gitignored)
  ├── test/resources_yaml/, go/, docs/, provider_build/
  ├── prod/
  └── dev/

provider/     — code only, no generated files
  resources_yaml/        — DELETED (generated)
  internal/resources_gen/ — DELETED (generated)

devops/       — removed (replaced by TOOLS/scripts + TOOLS/config + generated/)

Generators now fail if NUBES_*_DIR not set (no defaults to provider/).
Provider requires pipeline to populate resources_gen/ before build.
This commit is contained in:
“Naeel”
2026-07-06 09:06:09 +04:00
parent c34db5e5e3
commit dd56bcda83
1285 changed files with 84004 additions and 1910 deletions
@@ -0,0 +1,30 @@
# Resource nubes_zones_v2
Service ID: `109`
Service Name: Управление днс-зонами и записями
[Manual](zones_v2.md) | [Create params](zones_v2_params_create.md) | [Modify params](zones_v2_params_modify.md) | [Output params](zones_v2_outputs.md) | [Operations](zones_v2_ops.md) | [Example](zones_v2_example.md)
## Create params
**Обязательные параметры (вводимые пользователем)**
<table class="resource-table resource-table-compact resource-table-required">
<thead><tr><th>ID</th><th>Code</th><th>Type</th><th>Description</th><th>Constraints</th></tr></thead>
<tbody>
<tr><td>761</td><td><strong><code class="code-no-wrap">zone_name</code></strong></td><td><code>string</code></td><td>Имя зоны</td><td>regex=^([a-z0-9-]+\.)+[a-z0-9-]+$; maxlength=64; minlength=1</td></tr>
<tr><td>763</td><td><strong><code class="code-no-wrap">zone_masters_for_slave</code></strong></td><td><code>string</code></td><td>Пример:<br/>**8.8.8.8 8.8.4.4**</td><td></td></tr>
<tr><td>768</td><td><strong><code class="code-no-wrap">resource_realm</code></strong></td><td><code>string</code></td><td></td><td>func=getAvailableResourceRealms</td></tr>
</tbody></table>
**Параметры, имеющие значение по умолчанию, если не меняете - эти параметры не обязательно прописывать в манифесте**
<table class="resource-table resource-table-compact">
<thead><tr><th>ID</th><th>Code</th><th>Type</th><th>Default</th><th>Description</th><th>Constraints</th></tr></thead>
<tbody>
<tr><td>762</td><td><strong><code class="code-no-wrap">zone_kind</code></strong></td><td><code>string</code></td><td><code>NATIVE</code></td><td>Тип зоны</td><td>value_list=NATIVE, SLAVE</td></tr>
<tr><td>764</td><td><strong><code class="code-no-wrap">zone_time_to_refresh</code></strong></td><td><code>integer</code></td><td><code>86400</code></td><td>Время ожидания ответа вторичного DNS перед запросом SOA-записи с первичных серверов</td><td>minvalue=600</td></tr>
<tr><td>765</td><td><strong><code class="code-no-wrap">zone_time_to_retry</code></strong></td><td><code>integer</code></td><td><code>7200</code></td><td>Время в течение которого сервер повторно попробует синхронизировать информацию с первичных DNS-серверов</td><td>minvalue=600</td></tr>
<tr><td>766</td><td><strong><code class="code-no-wrap">zone_time_to_expire</code></strong></td><td><code>integer</code></td><td><code>3600000</code></td><td>Время в течение которого вторичный DNS будет пытаться завершить синхронизацию зоны с первичным</td><td>minvalue=3600</td></tr>
<tr><td>767</td><td><strong><code class="code-no-wrap">zone_time_to_live</code></strong></td><td><code>integer</code></td><td><code>86400</code></td><td>Время, в течение которого информация будет кешироваться другими DNS-серверами</td><td>minvalue=600</td></tr>
</tbody></table>