Skip to content

Commit

Permalink
confluence documents
Browse files Browse the repository at this point in the history
yaml example:

```
document:
  confluence:
    host: "https://spaces.redhat.com"
    spaces:
      - name: telco5gocp
        patterns:
          - Debugging an OCP host
```

Signed-off-by: Costa Shulyupin <[email protected]>
  • Loading branch information
makelinux committed May 16, 2024
1 parent 78b3b9a commit 9fa20d7
Showing 1 changed file with 42 additions and 4 deletions.
46 changes: 42 additions & 4 deletions v2/knowledge.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,19 @@
"document": {
"description": "The knowledge documents.",
"type": "object",
"required": [
"repo",
"commit",
"patterns"
"anyOf": [
{
"required": [
"repo",
"commit",
"patterns"
]
},
{
"required": [
"confluence"
]
}
],
"unevaluatedProperties": false,
"properties": {
Expand Down Expand Up @@ -93,6 +102,35 @@
"folder/knowledge_doc.md"
]
}
},
"confluence": {
"type": "object",
"required": [
"host",
"spaces"
],
"properties": {
"host": { "type": "string" },
"spaces": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": { "type": "string" },
"pages": {
"type": "array",
"items": {
"type": "object",
"properties": {
"title": { "type": "string" },
"version": { "type": "integer" }
}
}
}
}
}
}
}
}
}
}
Expand Down

0 comments on commit 9fa20d7

Please sign in to comment.