Version 0.3.4 The public specification

Specification

The eight parts of the specification of Hune: the format of a document, the API, the query engine, the page, the access rules, the configuration and the tests.

This page comes from docs/SPECIFICATION.md in the repository.

The specification of Hune has eight parts. It describes the product that the code implements, and the rules that the tests check. It is a draft, version 0.1. The implementation status lists the differences between the code and the text.

The key words MUST, MUST NOT, SHOULD and MAY follow RFC 2119 and RFC 8174 when they are in capital letters.

PartContentSections
Part 1: OverviewThe purpose, the scope, the decisions and the architecture.1 to 3
Part 2: Document format and storageThe JSON format of a dashboard, the volume and PostgreSQL stores.4 and 5
Part 3: API, query engine and data sourcesThe HTTP API, the query engine and the three kinds of data source.6 to 8
Part 4: Front end and editorThe page, the panels, the editor, the history and the conflicts.9 and 10
Part 5: Access and securityThe access rules, ProcurAuth and the security rules.11 and 12
Part 6: Configuration and operationThe configuration, the observability and the operation.13 and 14
Part 7: Migration, tests and deliveryThe import from Grafana, the tests and the delivery.15 to 17
Part 8: Roadmap and open questionsThe roadmap, the open questions, the glossary and the references.18 to 20

Rules of the text

  • A numbered paragraph N.M keeps its number in all later versions. A paragraph that leaves the text keeps its number with the word "Unused".
  • A cross-reference gives a section number (for example "section 11") or a paragraph number (for example "5.14").
  • A code span holds an exact name: a key, a member, a route, a type or a command.
  • The code and the tests cite the paragraph numbers.

Other documents