Skip to content
Merged
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
4 changes: 4 additions & 0 deletions splunk_add_on_ucc_framework/schema/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2587,6 +2587,10 @@
"type": "string",
"description": "Version of UCC used during build process. Do not use."
},
"_confSpl2ConverterVersion": {
"type": "string",
"description": "Version of conf-spl2-converter used when generating SPL2 templates. Do not use."
},
"hideUCCVersion": {
"type": "boolean",
"description": "Hide the label 'Made with UCC' on the Configuration page"
Expand Down
5 changes: 5 additions & 0 deletions tests/unit/test_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,11 @@ def test_rest_handler_without_ui(schema_validate, config):
schema_validate(config)


def test_meta_conf_spl2_converter_version(schema_validate, config):
config["meta"]["_confSpl2ConverterVersion"] = "0.13.2"
schema_validate(config)


@pytest.mark.parametrize("value", ["#65A637", "#abc"])
def test_meta_nav_color_valid(schema_validate, config, value):
config["meta"]["navColor"] = value
Expand Down
1 change: 1 addition & 0 deletions ui/src/types/globalConfig/meta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export const meta = z
version: z.string(),
schemaVersion: z.string().optional(),
_uccVersion: z.string().optional(),
_confSpl2ConverterVersion: z.string().optional(),
hideUCCVersion: z.boolean().optional(),
checkForUpdates: z.boolean().default(true).optional(),
searchViewDefault: z.boolean().default(false).optional(),
Expand Down
Loading