Package com.atlassian.jira.webtests
Class LicenseKeys
java.lang.Object
com.atlassian.jira.webtests.LicenseKeys
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final LicenseAn evaluation license from the y2k period.static final LicenseAn evaluation DC license from the y2k period.static final LicenseTime bombed unlimited commercial license.static final LicenseTime bombed unlimited commercial license.static final LicenseTime bombed unlimited DC commercial license.static final LicenseTime bombed unlimited DC commercial license.static final LicenseThe same asCOMMERCIAL, but allows to bypass Archiving's DC license checkstatic final LicenseTime bombed developer license for 5 users.static final LicenseTime bombed developer DC license for 5 users.static final LicenseTime bombed unlimited community license.static final LicenseTime bombed unlimited DC community license.static final LicenseTime bombed license for multiple applications:static final LicenseTime bombed DC license for multiple applications:static final LicenseTime bombed JIRA Core license for 5 users.static final LicenseTime bombed JIRA Core DC license for 5 users.static final LicenseTime bombed license for multiple applications:static final LicenseLicense: enterprise, data center, commercial, expiry: 48H, jira software, unlimited usersstatic final LicenseTime bombed unlimited demo license.static final LicenseTime bombed unlimited DC demo license.static final LicenseAn old, non-DC license.static final LicenseTime bombed unlimited developer license.static final LicenseTime bombed unlimited DC developer license.static final LicenseTime bombed developer license for 5 users.static final LicenseAtlassian license where the evaluation period has expired.static final LicenseAtlassian DC license where the evaluation period has expired.static final LicenseA forged license generated using compromised key.static final StringInvalid License with zero usersstatic final StringInvalid DC License with zero usersstatic final LicenseTime bombed license for multiple applications:static final LicenseTime bombed DC license for multiple applications:static final StringInvalid JIRA Application Licence Non Existent rolestatic final StringInvalid JIRA Application DC Licence Non Existent rolestatic final LicenseTime bombed unlimited open source license.static final LicenseTime bombed unlimited DC open source license.static final LicenseTime bombed unlimited personal license.static final LicenseTime bombed unlimited DC personal license.static final LicenseTime bombed JIRA Software license for 100 users.static final LicenseTime bombed JIRA Software DC license for 100 users.static final LicenseTime bombed unlimited starter license.static final LicenseTime bombed unlimited DC starter license.static final LicenseTime bombed JIRA Func Test license for 10 users.static final LicenseTime bombed JIRA Func Test license for 3 users.static final LicenseTime bombed JIRA Func Test DC license for 3 users.static final LicenseTime bombed JIRA Func Test DC license for 10 users.static final LicenseV1 Atlassian license. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
V1_ENTERPRISE
V1 Atlassian license. Used to ensure that JIRA no longer supports V1 licenses. -
EVAL_EXPIRED
Atlassian license where the evaluation period has expired. -
EVAL_EXPIRED_DC
Atlassian DC license where the evaluation period has expired. -
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
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
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
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
The same asCOMMERCIAL, but allows to bypass Archiving's DC license check -
PERSONAL
Time bombed unlimited personal license. -
PERSONAL_DC
Time bombed unlimited DC personal license. -
STARTER
Time bombed unlimited starter license. -
STARTER_DC
Time bombed unlimited DC starter license. -
COMMUNITY
Time bombed unlimited community license. -
COMMUNITY_DC
Time bombed unlimited DC community license. -
OPEN_SOURCE
Time bombed unlimited open source license. -
OPEN_SOURCE_DC
Time bombed unlimited DC open source license. -
DEVELOPER
Time bombed unlimited developer license. -
DEVELOPER_DC
Time bombed unlimited DC developer license. -
DEMO
Time bombed unlimited demo license. -
DEMO_DC
Time bombed unlimited DC demo license. -
DEVELOPER_LIMITED
Time bombed developer license for 5 users. -
COMMERCIAL_LIMITED
Time bombed developer license for 5 users. -
COMMERCIAL_LIMITED_DC
Time bombed developer DC license for 5 users. -
CORE_ROLE
Time bombed JIRA Core license for 5 users. -
CORE_ROLE_DC
Time bombed JIRA Core DC license for 5 users. -
SOFTWARE_ROLE
Time bombed JIRA Software license for 100 users. -
SOFTWARE_ROLE_DC
Time bombed JIRA Software DC license for 100 users. -
TEST_ROLE
Time bombed JIRA Func Test license for 10 users. -
TEST_ROLE_DC
Time bombed JIRA Func Test DC license for 10 users. -
TEST_ROLE_3_USERS
Time bombed JIRA Func Test license for 3 users. -
TEST_ROLE_3_USERS_DC
Time bombed JIRA Func Test DC license for 3 users. -
INVALID
Invalid License with zero users -
INVALID_DC
Invalid DC License with zero users -
NON_EXISTING_ROLE
Invalid JIRA Application Licence Non Existent role -
NON_EXISTING_ROLE_DC
Invalid JIRA Application DC Licence Non Existent role -
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
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
Time bombed license for multiple applications:- JIRA Core (3 users)
- JIRA Service Desk (2 users)
-
AGED_EVALUATION_LICENSE
An evaluation license from the y2k period. -
AGED_EVALUATION_LICENSE_DC
An evaluation DC license from the y2k period. -
CORE_AND_TEST_ROLES
Time bombed license for multiple applications:- JIRA Core (3 users)
- JIRA Func Test (4 users)
-
CORE_AND_TEST_ROLES_DC
Time bombed DC license for multiple applications:- JIRA Core (3 users)
- JIRA Func Test (4 users)
-
DATA_CENTER_SOFTWARE
License: enterprise, data center, commercial, expiry: 48H, jira software, unlimited users -
FORGED_LICENSE
A forged license generated using compromised key. -
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()
-