aboutsummaryrefslogtreecommitdiffstats
path: root/bin/acme/datasource.json_sample
diff options
context:
space:
mode:
Diffstat (limited to 'bin/acme/datasource.json_sample')
-rwxr-xr-xbin/acme/datasource.json_sample87
1 files changed, 87 insertions, 0 deletions
diff --git a/bin/acme/datasource.json_sample b/bin/acme/datasource.json_sample
new file mode 100755
index 00000000..786d1105
--- /dev/null
+++ b/bin/acme/datasource.json_sample
@@ -0,0 +1,87 @@
+{
+ "srtsetting" : [
+ {
+ "_comment_" : "NOTE: this is how you replace the default 'yp' organization with ACME",
+ "name" : "datasource_org",
+ "helptext" : "Bin directory for ACME Corp.",
+ "value" : "acme"
+ },
+
+ {
+ "_comment_" : "NOTE: this would normally connect to your organization's documentation HTML page for SRTool",
+ "name" : "SRTOOL_DOCUMENATION_URL",
+ "helptext" : "The SRTool top bar documentation link",
+ "value" : "/srtgui/guided_tour/"
+ },
+ {
+ "_comment_" : "NOTE: this is how you can insert your organization's logo in the top bar",
+ "name" : "SRTOOL_LOCAL_LOGO",
+ "helptext" : "The ACME Corp added logo",
+ "value" : "ACME,/static/img/acme/acme_logo.png,/acme"
+ },
+
+ {
+ "name" : "SRTOOL_DEFECT_ADD",
+ "helptext" : "Script: Add an existing defect to SRTool defect database, '--add defect'",
+ "value" : "bin/acme/srtool_defect.py --add"
+ },
+ {
+ "name" : "SRTOOL_DEFECT_DEL",
+ "helptext" : "Script: Delete an existing defect from SRTool defect database, '--del defect'",
+ "value" : "bin/acme/srtool_defect.py --del"
+ },
+ {
+ "name" : "SRTOOL_DEFECT_NEW",
+ "helptext" : "Script: create defect '--new program summary description priority components urllink'",
+ "value" : "bin/acme/srtool_defect.py --new"
+ },
+ {
+ "name" : "SRTOOL_DEFECT_SAMPLENAME",
+ "helptext" : "Text schema of an example defect",
+ "value" : "54321"
+ },
+ {
+ "name" : "SRTOOL_DEFECT_TOOL",
+ "helptext" : "The registered script to manage defects",
+ "value" : "bin/acme/srtool_defect.py"
+ },
+
+ {
+ "name" : "SRTOOL_DEFECT_URLBASE",
+ "helptext" : "The url base lookup for the external defect tool",
+ "value" : "https://bugzilla.acme.org/show_bug.cgi?id="
+ }
+ ],
+ "datasource" : [
+ {
+ "_comment_" : "ACME will process its own product file into the SRTool, thank you very much",
+ "key" : "0100-acme-products",
+ "data" : "product",
+ "source" : "acme",
+ "name" : "Products",
+ "description" : "ACME Product Table",
+ "cve_filter" : "",
+ "init" : "bin/acme/srtool_acme.py --init-products --file bin/acme/acme-products.json",
+ "update" : "",
+ "lookup" : "",
+ "lastModifiedDate" : "2018-03-01 01:01:01",
+ "update_frequency" : "5",
+ "update_time" : "02:00:00"
+ },
+ {
+ "_comment_" : "All organizations should use the built-in parser for user tables (e.g. password hashing)",
+ "key" : "0101-acme-users",
+ "data" : "users",
+ "source" : "acme",
+ "name" : "Users",
+ "description" : "ACME Sample User Table",
+ "cve_filter" : "",
+ "init" : "file:bin/acme/acme-users.json",
+ "update" : "",
+ "lookup" : "",
+ "lastModifiedDate" : "2018-03-01 01:01:01",
+ "update_frequency" : "5",
+ "update_time" : "02:00:00"
+ }
+ ]
+}