You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Kibana service: declaration and validation (S-024-1, S-024-2, S-024-12) #567
Builds part of spec S-024, docs/specs/024-kibana-service.md: the acceptance criteria below. Each needs a test that names its id (test_s024_<k>_..., or a proves: S-024-1 comment line).
Scope: the serviceKind: kibana declaration in the schema and the SDK (spec.kibana with elasticsearch, heapMb, domain and users; backup no longer required for this kind), every refusal and the KIBANA_PUBLISHED warning under the spec's Validation, the reserved user names cloudfall-kibana-view and cloudfall-kibana-edit on an Elasticsearch service, the example in config/examples/services/, and the rendered inventory. No role yet.
S-024-1: A project with one Server, its baseline, the Elasticsearch service of S-012-1 with the user analyst, and the declaration above without domain and support passes cloudfall config validate with exit 0, and cloudfall-engine inventory render carries the Kibana service, the Elasticsearch service it reads, and analyst with its Kibana access
S-024-2: For the project in config/examples without a Kibana service, the rendered inventory is byte-identical before and after the change
S-024-12: Each refusal listed under Validation fails cloudfall config validate with CONFIG_INVALID and its code; a declaration with domain validates with the warning KIBANA_PUBLISHED
Builds S-024-1, S-024-2 and S-024-12 of spec 024 (docs/specs/024-kibana-service.md, approved in #504), for #503: the kibana declaration, its validation and the rendered inventory, with no role yet.
PR: #587 adds serviceKind: kibana to the schema and the SDK, every refusal of the spec's Validation, the KIBANA_PUBLISHED warning, and the service in the rendered inventory. It has tests named for S-024-1, S-024-2 and S-024-12. No role yet.
What changes for existing declarations, all as spec 024 says:
An Elasticsearch user named cloudfall-kibana-view or cloudfall-kibana-edit is now refused (service_elasticsearch_user_reserved); no example or test used those names
backup stays required for every other kind (a test checks each) and is optional only for kibana
Two calls in it:
No file under config/examples/services/: the loader reads every file there into the examples project, so one would change the inventory S-024-2 says stays byte-identical. The declaration lives in sdk/tests/kibana_project.py, as the RabbitMQ build (Declare and validate a RabbitMQ service (S-023-1, S-023-2, S-023-18) #519) did
A non-loopback bind fails the schema check (schema_validation_failed), which already pins bind.address to 127.0.0.1 for every kind, before service_kibana_bind can fire
Activity
shipmill-romamo commentedon Nov 20, 2026
Triage: implement. Serves: G-1, G-3.
Builds S-024-1, S-024-2 and S-024-12 of spec 024 (
docs/specs/024-kibana-service.md, approved in #504), for #503: thekibanadeclaration, its validation and the rendered inventory, with no role yet.It is ready now.
shipmill-romamo commentedon Nov 20, 2026
PR: #587 adds
serviceKind: kibanato the schema and the SDK, every refusal of the spec's Validation, theKIBANA_PUBLISHEDwarning, and the service in the rendered inventory. It has tests named for S-024-1, S-024-2 and S-024-12. No role yet.What changes for existing declarations, all as spec 024 says:
cloudfall-kibana-vieworcloudfall-kibana-editis now refused (service_elasticsearch_user_reserved); no example or test used those namesbackupstays required for every other kind (a test checks each) and is optional only forkibanaTwo calls in it:
config/examples/services/: the loader reads every file there into the examples project, so one would change the inventory S-024-2 says stays byte-identical. The declaration lives insdk/tests/kibana_project.py, as the RabbitMQ build (Declare and validate a RabbitMQ service (S-023-1, S-023-2, S-023-18) #519) didbindfails the schema check (schema_validation_failed), which already pinsbind.addressto127.0.0.1for every kind, beforeservice_kibana_bindcan fireDeclare and validate a Kibana service (S-024-1, S-024-2, S-024-12)