Class LicenseKeys

java.lang.Object
com.atlassian.jira.webtests.LicenseKeys

public class LicenseKeys extends Object
This contains all the known license keys for testing. Add new ones here not in your tests! When you add new licenses remember to use the time bomb feature.

NOTE: The licenses are read from `jira-func-tests/src/main/resources/license`. The files in this directory are generated using https://stash.atlassian.com/projects/JIRA/repos/jira-test-license-generator.

Since:
v4.0
  • Field Details

    • V1_ENTERPRISE

      public static final License V1_ENTERPRISE
      V1 Atlassian license. Used to ensure that JIRA no longer supports V1 licenses.
    • EVAL_EXPIRED

      public static final License EVAL_EXPIRED
      Atlassian license where the evaluation period has expired.
    • EVAL_EXPIRED_DC

      public static final License EVAL_EXPIRED_DC
      Atlassian DC license where the evaluation period has expired.
    • COMMERCIAL

      public static final License COMMERCIAL
      Time bombed unlimited commercial license. This is a license without any products enabled i.e no "jira.product..active": "true" in it It therefore interprets it as being a JIRA Software license (presumably this was done for making migration easier)
    • COMMERCIAL_DC

      public static final License COMMERCIAL_DC
      Time bombed unlimited DC commercial license. This is a license without any products enabled i.e no "jira.product..active": "true" in it It therefore interprets it as being a JIRA Software license (presumably this was done for making migration easier)
    • COMMERCIAL_CORE_ACTIVE

      public static final License COMMERCIAL_CORE_ACTIVE
      Time bombed unlimited commercial license. This license has jira-core product enabled, i.e. jira.product.jira-core.active = true. It is therefore interpreted as a Jira Core license, rather than Jira Software.
    • COMMERCIAL_CORE_ACTIVE_DC

      public static final License COMMERCIAL_CORE_ACTIVE_DC
      Time bombed unlimited DC commercial license. This license has jira-core product enabled, i.e. jira.product.jira-core.active = true. It is therefore interpreted as a Jira Core license, rather than Jira Software.
    • COMMERCIAL_FOR_ARCHIVING

      public static final License COMMERCIAL_FOR_ARCHIVING
      The same as COMMERCIAL, but allows to bypass Archiving's DC license check
    • PERSONAL

      public static final License PERSONAL
      Time bombed unlimited personal license.
    • PERSONAL_DC

      public static final License PERSONAL_DC
      Time bombed unlimited DC personal license.
    • STARTER

      public static final License STARTER
      Time bombed unlimited starter license.
    • STARTER_DC

      public static final License STARTER_DC
      Time bombed unlimited DC starter license.
    • COMMUNITY

      public static final License COMMUNITY
      Time bombed unlimited community license.
    • COMMUNITY_DC

      public static final License COMMUNITY_DC
      Time bombed unlimited DC community license.
    • OPEN_SOURCE

      public static final License OPEN_SOURCE
      Time bombed unlimited open source license.
    • OPEN_SOURCE_DC

      public static final License OPEN_SOURCE_DC
      Time bombed unlimited DC open source license.
    • DEVELOPER

      public static final License DEVELOPER
      Time bombed unlimited developer license.
    • DEVELOPER_DC

      public static final License DEVELOPER_DC
      Time bombed unlimited DC developer license.
    • DEMO

      public static final License DEMO
      Time bombed unlimited demo license.
    • DEMO_DC

      public static final License DEMO_DC
      Time bombed unlimited DC demo license.
    • DEVELOPER_LIMITED

      public static final License DEVELOPER_LIMITED
      Time bombed developer license for 5 users.
    • COMMERCIAL_LIMITED

      public static final License COMMERCIAL_LIMITED
      Time bombed developer license for 5 users.
    • COMMERCIAL_LIMITED_DC

      public static final License COMMERCIAL_LIMITED_DC
      Time bombed developer DC license for 5 users.
    • CORE_ROLE

      public static final License CORE_ROLE
      Time bombed JIRA Core license for 5 users.
    • CORE_ROLE_DC

      public static final License CORE_ROLE_DC
      Time bombed JIRA Core DC license for 5 users.
    • SOFTWARE_ROLE

      public static final License SOFTWARE_ROLE
      Time bombed JIRA Software license for 100 users.
    • SOFTWARE_ROLE_DC

      public static final License SOFTWARE_ROLE_DC
      Time bombed JIRA Software DC license for 100 users.
    • TEST_ROLE

      public static final License TEST_ROLE
      Time bombed JIRA Func Test license for 10 users.
    • TEST_ROLE_DC

      public static final License TEST_ROLE_DC
      Time bombed JIRA Func Test DC license for 10 users.
    • TEST_ROLE_3_USERS

      public static final License TEST_ROLE_3_USERS
      Time bombed JIRA Func Test license for 3 users.
    • TEST_ROLE_3_USERS_DC

      public static final License TEST_ROLE_3_USERS_DC
      Time bombed JIRA Func Test DC license for 3 users.
    • INVALID

      public static final String INVALID
      Invalid License with zero users
    • INVALID_DC

      public static final String INVALID_DC
      Invalid DC License with zero users
    • NON_EXISTING_ROLE

      public static final String NON_EXISTING_ROLE
      Invalid JIRA Application Licence Non Existent role
    • NON_EXISTING_ROLE_DC

      public static final String NON_EXISTING_ROLE_DC
      Invalid JIRA Application DC Licence Non Existent role
    • MULTI_ROLE

      public static final License MULTI_ROLE
      Time bombed license for multiple applications:

      • JIRA Core (3 users)
      • JIRA Software (4 users)
      • JIRA Service Desk (2 users)
      • JIRA Func Test (4 users)
      • JIRA Reference Plugin (5 users)
    • MULTI_ROLE_DC

      public static final License MULTI_ROLE_DC
      Time bombed DC license for multiple applications:

      • JIRA Core (3 users)
      • JIRA Software (4 users)
      • JIRA Service Desk (2 users)
      • JIRA Func Test (4 users)
      • JIRA Reference Plugin (5 users)
    • CORE_SERVICEDESK

      public static final License CORE_SERVICEDESK
      Time bombed license for multiple applications:

      • JIRA Core (3 users)
      • JIRA Service Desk (2 users)
    • AGED_EVALUATION_LICENSE

      public static final License AGED_EVALUATION_LICENSE
      An evaluation license from the y2k period.
    • AGED_EVALUATION_LICENSE_DC

      public static final License AGED_EVALUATION_LICENSE_DC
      An evaluation DC license from the y2k period.
    • CORE_AND_TEST_ROLES

      public static final License CORE_AND_TEST_ROLES
      Time bombed license for multiple applications:

      • JIRA Core (3 users)
      • JIRA Func Test (4 users)
    • CORE_AND_TEST_ROLES_DC

      public static final License CORE_AND_TEST_ROLES_DC
      Time bombed DC license for multiple applications:

      • JIRA Core (3 users)
      • JIRA Func Test (4 users)
    • DATA_CENTER_SOFTWARE

      public static final License DATA_CENTER_SOFTWARE
      License: enterprise, data center, commercial, expiry: 48H, jira software, unlimited users
    • FORGED_LICENSE

      public static final License FORGED_LICENSE
      A forged license generated using compromised key.
    • DEPRECATED_SERVER

      public static final License DEPRECATED_SERVER
      An old, non-DC license. Using this license for data restore / setLicense should fail as server licenses are not supported since 9.13
  • Constructor Details

    • LicenseKeys

      public LicenseKeys()