config/example.json

Summary

Maintainability
Test Coverage
{
    "environment": "development",
    "timezone": "Europe/Zurich",

    "database":
    {  "mysqlhost": "localhost",
        "mysqlport": 3306,
        "database": "morgue",
        "username": "morgue",
        "password": "morgue_password"
    },


    "severity" :
    { "tooltip_title" : "Severity Levels",
      "levels" : [
            "This is an Large Scale Event (LSE) and means that there is a severe disruption to primary business operations. There is (or there is a high risk of) customer-facing impact",
            "A critical system or product failed or is unavailable causing impact to critical business operations",
            "Low priority issues, classification depends on every team",
            "No member-visible impact; loss of redundancy or capacity",
            "Anything worth mentioning not in the above levels"
        ]
    },

    "locking" :
    { "editable_days": 30,
      "lock_time": 120
    },    

    "edit_page_features" : [
      "status_time",
      "contact",
      "facilitator",
      "calendar",
      "meeting_notes_link",
      "tldr",
      "summary",
      "why_surprised",
      "images",
      "slack",
      "jira",
      "links",
      "tags",
      "history",
      "upload"
    ],
    "feature": [
    {   "name": "anniversary",
        "enabled": "on",
        "navbar": "on",
        "mailto": "me@example.com",
        "mailfrom": "morgue@example.com",
        "custom_js_assets": ["anniversary.js"]
    },

    {   "name": "status_time",
        "enabled": "on"
    },

    {   "name": "contact",
        "enabled": "on",
        "lookup_url": "https://directory.example.com/user/%s",
        "email_domain": "example.com"
    },

    {   "name": "facilitator",
        "enabled": "on",
        "custom_js_assets": ["facilitator.js"]
    },

    {   "name": "calendar",
        "enabled": "on",
        "navbar" : "on",
        "custom_css_assets" : ["calendar.css"],
        "custom_js_assets" : ["calendar.js", "https://apis.google.com/js/client.js?onload=loadCal"],
        "clientId" : "CLIENTID",
        "apiKey" : "APIKEY",
        "scopes" : ["https://www.googleapis.com/auth/calendar"],
        "id" : "CALENDARID",
        "facilitator": true,
        "facilitators_email": ["facilitators@example.com"],
        "attendees_email": ["attendees@example.com"],
        "override_calendar_link": false,
        "override_calendar_link_href": "http://example.com",
        "override_calendar_link_description": ""
    },

    {   "name": "summary",
        "enabled": "on",
        "custom_js_assets": ["summary.js"]
    },

    {   "name": "images",
        "enabled": "on"
    },

    {   "name": "slack",
        "enabled": "on",
        "custom_js_assets": ["slack.js"],
        "custom_css_assets": ["slack.css"],
        "oAuth_token": "xxxx-xxxxxxxxx-xxxx"
    },

    {   "name": "jira",
        "enabled": "on",
        "baseurl": "https://jira.foo.com",
        "username": "jira_morgue",
        "password": "jira_morgue_password",
        "proxy": "http://myproxy:8080",
        "additional_fields" : {
        }
    },

    {   "name": "links",
        "enabled": "on"
    },

    {   "name": "tags",
        "enabled": "on"
    },

    {   "name": "history",
        "enabled": "on"
    },

    {   "name": "report",
        "enabled": "on",
        "navbar": "on"
    },

    { "name": "search",
      "enabled" : "on"
    },

    {   "name": "upload",
        "enabled": "on",
        "custom_js_assets": ["dropzone.min.js", "upload.js"],
        "custom_css_assets": ["dropzone.min.css"],
        "upload_driver_options": {
            "url": "http://my.server.home/",
            "username": "webdav",
            "password": "webdav",
            "proxy": false 
        },
        "upload_driver": "webdav"
    },

    {   "name": "why_surprised",
        "enabled": "on",
        "custom_js_assets": ["why_surprised.js"]
    },
    {   "name": "tldr",
        "enabled": "on",
        "custom_js_assets": ["tldr.js"]
    },
    {   "name": "meeting_notes_link",
        "enabled": "on",
        "custom_js_assets" : ["meeting_notes_link.js"]
    }
    ],
    "upload_dir": "/tmp/morgue",
    "problem_type" : {"title": "Type of problem", "types":["Internal", "Vendor"]},
    "impact_type" : {"title": "Type of impact", "types":["Scalability", "Availability", "Response Time", "Application degradation"]},
    "incident_cause": {"title": "How did incident begin", "causes":["Infrastructure rollout", "Product launch"]}
}