-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: add test for package with only configuration
- Loading branch information
Showing
36 changed files
with
8,141 additions
and
1 deletion.
There are no files selected for viewing
429 changes: 429 additions & 0 deletions
429
tests/data/package_global_config_configuration/globalConfig.json
Large diffs are not rendered by default.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
tests/data/package_global_config_configuration/package/README.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Just a readme |
51 changes: 51 additions & 0 deletions
51
tests/data/package_global_config_configuration/package/app.manifest
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
{ | ||
"schemaVersion": "2.0.0", | ||
"info": { | ||
"title": "Splunk Add-on for UCC Example", | ||
"id": { | ||
"group": null, | ||
"name": "Splunk_TA_UCCExample", | ||
"version": "7.0.1" | ||
}, | ||
"author": [ | ||
{ | ||
"name": "Splunk", | ||
"email": null, | ||
"company": null | ||
} | ||
], | ||
"releaseDate": null, | ||
"description": "Splunk Add-on for UCC Example", | ||
"classification": { | ||
"intendedAudience": null, | ||
"categories": [], | ||
"developmentStatus": null | ||
}, | ||
"commonInformationModels": null, | ||
"license": { | ||
"name": null, | ||
"text": "LICENSES/Apache-2.0.txt", | ||
"uri": null | ||
}, | ||
"privacyPolicy": { | ||
"name": null, | ||
"text": null, | ||
"uri": null | ||
}, | ||
"releaseNotes": { | ||
"name": null, | ||
"text": "./README.txt", | ||
"uri": null | ||
} | ||
}, | ||
"dependencies": null, | ||
"tasks": null, | ||
"inputGroups": null, | ||
"incompatibleApps": null, | ||
"platformRequirements": null, | ||
"supportedDeployments": [ | ||
"_standalone", | ||
"_distributed" | ||
], | ||
"targetWorkloads": null | ||
} |
23 changes: 23 additions & 0 deletions
23
tests/data/package_global_config_configuration/package/default/app.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
###################################################### | ||
# | ||
# ${package.name} | ||
# | ||
# ${copyright} | ||
# | ||
###################################################### | ||
|
||
[install] | ||
build = 0 | ||
|
||
[launcher] | ||
author = Splunk Inc. | ||
version = 0.1.0 | ||
description = Splunk_TA_UCCExample | ||
|
||
[ui] | ||
is_visible = true | ||
label = Splunk_TA_UCCExample | ||
docs_section_override=AddOns:released | ||
|
||
[package] | ||
id = Splunk_TA_UCCExample |
1 change: 1 addition & 0 deletions
1
tests/data/package_global_config_configuration/package/lib/requirements.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
splunktaucclib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
tests/expected_output_global_config_configuration/Splunk_TA_UCCExample/README.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Just a readme |
17 changes: 17 additions & 0 deletions
17
...l_config_configuration/Splunk_TA_UCCExample/README/splunk_ta_uccexample_account.conf.spec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
[<name>] | ||
custom_endpoint = | ||
endpoint = | ||
account_checkbox = | ||
account_radio = | ||
account_multiple_select = | ||
example_help_link = | ||
username = | ||
password = | ||
token = | ||
client_id = | ||
client_secret = | ||
redirect_url = | ||
access_token = | ||
refresh_token = | ||
instance_url = | ||
auth_type = |
20 changes: 20 additions & 0 deletions
20
..._config_configuration/Splunk_TA_UCCExample/README/splunk_ta_uccexample_settings.conf.spec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
[proxy] | ||
proxy_enabled = | ||
proxy_type = | ||
proxy_url = | ||
proxy_port = | ||
proxy_username = | ||
proxy_password = | ||
proxy_rdns = | ||
|
||
[logging] | ||
loglevel = | ||
|
||
[custom_abc] | ||
testString = | ||
testNumber = | ||
testRegex = | ||
testEmail = | ||
testIpv4 = | ||
testDate = | ||
testUrl = |
2 changes: 2 additions & 0 deletions
2
tests/expected_output_global_config_configuration/Splunk_TA_UCCExample/VERSION
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
1.0.0 | ||
1.0.0 |
51 changes: 51 additions & 0 deletions
51
tests/expected_output_global_config_configuration/Splunk_TA_UCCExample/app.manifest
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
{ | ||
"dependencies": null, | ||
"incompatibleApps": null, | ||
"info": { | ||
"author": [ | ||
{ | ||
"company": null, | ||
"email": null, | ||
"name": "Splunk" | ||
} | ||
], | ||
"classification": { | ||
"categories": [], | ||
"developmentStatus": null, | ||
"intendedAudience": null | ||
}, | ||
"commonInformationModels": null, | ||
"description": "Splunk Add-on for UCC Example", | ||
"id": { | ||
"group": null, | ||
"name": "Splunk_TA_UCCExample", | ||
"version": "1.0.0" | ||
}, | ||
"license": { | ||
"name": null, | ||
"text": "LICENSES/Apache-2.0.txt", | ||
"uri": null | ||
}, | ||
"privacyPolicy": { | ||
"name": null, | ||
"text": null, | ||
"uri": null | ||
}, | ||
"releaseDate": null, | ||
"releaseNotes": { | ||
"name": null, | ||
"text": "./README.txt", | ||
"uri": null | ||
}, | ||
"title": "Splunk Add-on for UCC Example" | ||
}, | ||
"inputGroups": null, | ||
"platformRequirements": null, | ||
"schemaVersion": "2.0.0", | ||
"supportedDeployments": [ | ||
"_standalone", | ||
"_distributed" | ||
], | ||
"targetWorkloads": null, | ||
"tasks": null | ||
} |
2 changes: 2 additions & 0 deletions
2
...ed_output_global_config_configuration/Splunk_TA_UCCExample/appserver/static/js/build/0.js
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.