Skip to content

Commit d7025b9

Browse files
author
Mohd Uzair
authored
Merge branch 'master' into meshmodel
2 parents 2cf23b7 + 1e1bfdd commit d7025b9

File tree

7 files changed

+12
-3
lines changed

7 files changed

+12
-3
lines changed

schemas/configuration/publishSchema.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"type": {
3131
"type": "string",
3232
"title": "Type",
33-
"examples": [
33+
"enum": [
3434
"deployment",
3535
"observability",
3636
"resiliency",
@@ -40,6 +40,7 @@
4040
"troubleshooting",
4141
"workloads"
4242
],
43+
"default": "deployment",
4344
"description": "The category of the pattern.",
4445
"x-rjsf-grid-area": 6
4546
}
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"applicationType": {
33
"ui:widget": "radio"
4-
}
4+
},
5+
"ui:order" : ["name", "applicationType", "*"]
56
}
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"uploadType": {
33
"ui:widget": "radio"
4-
}
4+
},
5+
"ui:order" : ["name", "uploadType", "*"]
56
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"ui:order" : ["name", "uploadType", "config", "*"]
3+
}

schemas/publish/publishModal.json

Whitespace-only changes.

schemas/schemaProvider.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,16 @@ func getSchemaMap() map[string]string {
99
"application": "configuration/applicationImport.json",
1010
"filter": "configuration/filterImport.json",
1111
"design": "configuration/designImport.json",
12+
"publish": "publish/publishModal.json",
1213
}
1314
}
1415

1516
func getUiSchemaMap() map[string]string {
1617
return map[string]string{
1718
"application": "configuration/uiSchemaApplication.json",
1819
"design": "configuration/uiSchemaDesignImport.json",
20+
"filter": "configuration/uiSchemaFilter.json",
21+
"publish": "publish/uiSchemaPublishSchema.json",
1922
}
2023
}
2124

0 commit comments

Comments
 (0)