Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion schemas/appdef.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
},
"solutionDescriptor": {
"type": "boolean"
},
"metadata" : {
"$ref": "#/definitions/metaString"
}
},
"definitions": {
Expand All @@ -34,6 +37,16 @@
"additionalProperties": {
"type": "string"
}
},
"metaString": {
"type": ["object", "null"],
"properties": {
"helmReleaseNameStrategy": {
"type": "string",
"enum": ["perApplication", "perVersion", "perDeployment"]
}
},
"additionalProperties": false
}
},
"required": [
Expand All @@ -45,4 +58,4 @@
"deployParameters",
"technicalConfigurationParameters"
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ groupId: "org.qubership"
supportParallelDeploy: true
deployParameters: {}
technicalConfigurationParameters: {}
metadata: {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: "application-3"
registryName: "registry-2"
artifactId: "application-3"
groupId: "org.qubership"
supportParallelDeploy: true
deployParameters: {}
technicalConfigurationParameters: {}
metadata:
helmReleaseNameStrategy: perApplication
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ artifactId: "application-2"
groupId: "org.qubership"
supportParallelDeploy: true
deployParameters: {}
technicalConfigurationParameters: {}
technicalConfigurationParameters: {}
2 changes: 1 addition & 1 deletion test_data/test_templates/appdefs/application-2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ artifactId: "application-2"
groupId: "org.qubership"
supportParallelDeploy: true
deployParameters: {}
technicalConfigurationParameters: {}
technicalConfigurationParameters: {}
9 changes: 9 additions & 0 deletions test_data/test_templates/appdefs/application-3.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: "application-3"
registryName: "registry-2"
artifactId: "application-3"
groupId: "org.qubership"
supportParallelDeploy: true
deployParameters: {}
technicalConfigurationParameters: {}
metadata:
helmReleaseNameStrategy: perApplication
Loading