znt/module/cne/test/model/yaml/instance_backup.yaml

83 lines
1.7 KiB
YAML

---
title: Instance data for backup test
desc: Test data for testing cneModel::backup() method
author: Claude
version: 1.0
fields:
- field: id
note: Instance ID
range: 1-10
prefix: ""
postfix: ""
format: ""
- field: space
note: Space ID
range: 1-3
format: ""
- field: name
note: Instance name
range: backup-test-zentao{3}, backup-test-jenkins{2}, backup-test-sonar{2}, backup-test-gitlab{3}
format: ""
- field: appName
note: Application name
range: zentao{5}, jenkins{2}, sonarqube{2}, gitlab{1}
format: ""
- field: k8name
note: Kubernetes name
range: test-app-1{2}, test-app-2{2}, test-app-3{2}, test-app-4{2}, test-app-5{2}
format: ""
- field: chart
note: Helm chart name
range: zentao{5}, jenkins{2}, sonarqube{2}, gitlab{1}
format: ""
- field: status
note: Instance status
range: running{8}, stopped{1}, pending{1}
format: ""
- field: deleted
note: Delete status
range: 0{9}, 1{1}
format: ""
- field: createdBy
note: Creator
range: admin{5}, user1{3}, user2{2}
format: ""
- field: createdAt
note: Creation time
range: (now)-(7d)-(now)-(1d)
format: YYYY-MM-DD hh:mm:ss
- field: source
note: Instance source
range: cloud{8}, external{2}
format: ""
- field: channel
note: Deployment channel
range: stable{6}, beta{3}, dev{1}
format: ""
- field: appVersion
note: Application version
range: 18.12.1{3}, 18.11.2{3}, 18.10.3{2}, 17.8.1{2}
format: ""
- field: version
note: Chart version
range: 2023.12.1201{4}, 2023.12.1202{3}, 2023.12.1203{3}
format: ""
- field: domain
note: Instance domain
range: test1.example.com{2}, test2.example.com{2}, test3.example.com{2}, test4.example.com{2}, test5.example.com{2}
format: ""