<johnson-config>
    <setupconfig class="com.atlassian.jira.appconsistency.JiraSetupConfig"/>
    <container-factory class="com.atlassian.johnson.setup.DefaultContainerFactory"/>

    <setup>
        <path>/secure/SetupDatabase!default.jspa</path>
    </setup>

    <error>
        <path>/secure/errors.jsp</path>
    </error>

    <ignore>
        <path>/secure/johnson-page/*</path>
        <path>/secure/johnson/*</path>
        <path>/secure/errors.jsp</path>
        <path>/secure/SetupLicense!default.jspa</path>
        <path>/secure/SetupLicense.jspa</path>
        <path>/secure/SetupFinishing!setupFinished.jspa</path>
        <path>/secure/ConfirmNewInstallationWithOldLicense!default.jspa</path>
        <path>/secure/ConfirmNewInstallationWithOldLicense.jspa</path>
        <path>/secure/popups/UserPickerBrowser.jspa</path>
        <path>/secure/CleanData!default.jspa</path>
        <path>/secure/CleanData.jspa</path>
        <path>/secure/admin/fixes/*</path>
        <path>/secure/admin/jira/IndexProgress.jspa</path>
        <path>/secure/admin/jira/IndexAbortZombieTask.jspa</path>
        <path>/secure/admin/StudioImportSelect!start.jspa</path>
        <path>/secure/admin/StudioImportSelect!showSelect.jspa</path>
        <path>/secure/admin/StudioImportSelect!select.jspa</path>
        <path>/secure/admin/StudioImportUpdate!showUrls.jspa</path>
        <path>/secure/admin/StudioImport!confirm.jspa</path>
        <path>/secure/admin/StudioImport!import.jspa</path>
        <path>/secure/admin/StudioImport!finished.jspa</path>
        <path>/importprogress</path>
        <path>/secure/admin/ProjectImportProgress.jspa</path>
        <path>/secure/VerifySmtpServerConnection!setup.jspa</path>
        <path>/rest/usermanagement/*</path>
        <path>/rest/authconfig/*</path>
        <path>/rest/api/*/reindex*</path>s
        <path>/rest/userprovisioning/*/upgrade</path>
        <path>/rest/plugins/1.0/com.pyxis.greenhopper.jira-key/license</path>
        <path>/rest/plugins/1.0/com.atlassian.servicedesk-key/license</path>
        <path>/rest/auth/1/session</path>
        <path>/rest/func-test/1.0/barrier/lower*</path>
        <path>/rest/func-test/1.0/server/kill*</path>
        <path>/images/*</path>
        <path>/status</path>
        <path>/login.jsp*</path>
        <path>/secure/johnson/events/dismiss</path>
        <!-- 2SV 1.0 endpoints -->
        <path>/rest/tsv/1.0/totp/start-enforced-enrollment</path>
        <path>/rest/tsv/1.0/totp/complete-enforced-enrollment</path>
        <path>/rest/tsv/1.0/authenticate</path>
        <path>/rest/tsv/1.0/authenticate/captcha</path>
        <path>/rest/tsv/1.0/authenticate/totp-code</path>
        <path>/rest/tsv/1.0/authenticate/recovery-code</path>
        <path>/rest/tsv/1.0/status</path>
        <path>/rest/tsv/1.0/totp/recovery-code/rotate</path>
        <!-- 2SV latest endpoints -->
        <path>/rest/tsv/latest/totp/start-enforced-enrollment</path>
        <path>/rest/tsv/latest/totp/complete-enforced-enrollment</path>
        <path>/rest/tsv/latest/authenticate</path>
        <path>/rest/tsv/latest/authenticate/captcha</path>
        <path>/rest/tsv/latest/authenticate/totp-code</path>
        <path>/rest/tsv/latest/authenticate/recovery-code</path>
        <path>/rest/tsv/latest/status</path>
        <path>/rest/tsv/latest/totp/recovery-code/rotate</path>
        <!-- 2SV/SSP servlets -->
        <path>/plugins/servlet/login</path>
        <path>/plugins/servlet/samlconsumer</path>
        <path>/plugins/servlet/oidc/callback</path>
        <path>/plugins/servlet/oidc/initiate-login</path>
        <path>/plugins/servlet/external-login/*</path>
        <path>/plugins/servlet/sso-logout</path>
    </ignore>

    <eventlevels>
        <eventlevel key="fatal">
            <description>Fatal</description>
        </eventlevel>
        <eventlevel key="error">
            <description>Error</description>
        </eventlevel>
        <eventlevel key="warning">
            <description>Warning</description>
        </eventlevel>
    </eventlevels>

    <eventtypes>
        <eventtype key="jdk">
            <description>JDK Incompatibility</description>
        </eventtype>
        <eventtype key="database">
            <description>Database</description>
        </eventtype>
        <eventtype key="upgrade">
            <description>Upgrade</description>
        </eventtype>
        <eventtype key="export">
            <description>Data Export</description>
        </eventtype>
        <eventtype key="export-illegal-xml">
            <description>Illegal XML Characters</description>
        </eventtype>
        <eventtype key="import">
            <description>Data Import</description>
        </eventtype>
        <eventtype key="setup">
            <description>Setup</description>
        </eventtype>
        <eventtype key="project-import">
            <description>Project Import</description>
        </eventtype>
        <eventtype key="license-too-old">
            <description>License Too Old For Build</description>
        </eventtype>
        <eventtype key="subscription-expired">
            <description>Subscription License Too Old For Build</description>
        </eventtype>
        <eventtype key="restart">
            <description>Restart Needed</description>
        </eventtype>
        <eventtype key="reindex">
            <description>Reindex</description>
        </eventtype>
        <eventtype key="no-index">
            <description>No valid index on current node</description>
        </eventtype>
        <eventtype key="license-invalid">
            <description>Invalid License</description>
        </eventtype>
        <eventtype key="incompatible-license">
            <description>Incompatible license</description>
        </eventtype>
        <eventtype key="locale-build-mismatch">
            <description>Locale Build Mismatch</description>
        </eventtype>
        <eventtype key="index-lock-already-exists">
            <description>An index lock file was unexpectedly found.</description>
        </eventtype>
        <eventtype key="startup-unexpected">
            <description>An unexpected error has occured during startup.</description>
        </eventtype>
        <eventtype key="clustering">
            <description>Clustering</description>
        </eventtype>
        <eventtype key="clustering-unlicensed">
            <description>Clustering Invalid License</description>
        </eventtype>
        <eventtype key="system-plugins">
            <description>System plugins failed to start</description>
        </eventtype>
    </eventtypes>

</johnson-config>
