-
Notifications
You must be signed in to change notification settings - Fork 66
/
project-properties.gradle
executable file
·91 lines (89 loc) · 7.83 KB
/
project-properties.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
def commonScriptsUrl = 'https://raw.githubusercontent.com/reportportal/gradle-scripts/'
def migrationsScriptsUrl = 'https://raw.githubusercontent.com/reportportal/migrations/'
project.ext {
publishRepo = "https://maven.pkg.github.com/reportportal/service-api"
dependencyRepos = ["commons-dao", "commons-rules", "commons-model", "commons", "commons-fonts", "plugin-api", "commons-bom"]
limits = [
'instruction': 70,
'branch' : 51,
'line' : 72,
'complexity' : 60,
'method' : 65,
'class' : 90
]
isDebugMode = System.getProperty("DEBUG", "false") == "true"
releaseMode = project.hasProperty("releaseMode")
scriptsUrl = commonScriptsUrl + (releaseMode ? '5.12.0' : 'develop')
migrationsUrl = migrationsScriptsUrl + (releaseMode ? '5.13.0' : 'develop')
//TODO refactor with archive download
testScriptsSrc = [
(migrationsUrl + '/migrations/0_extensions.up.sql') : 'V001__extensions.sql',
(migrationsUrl + '/migrations/1_initialize_schema.up.sql') : 'V002__initialize_schema.sql',
(migrationsUrl + '/migrations/3_default_data.up.sql') : 'V003__default_data.sql',
(migrationsUrl + '/migrations/4_size_limitations.up.sql') : 'V004__size_limitations.sql',
(migrationsUrl + '/migrations/5_test_case_id_type.up.sql') : 'V005__test_case_id_type.sql',
(migrationsUrl + '/migrations/6_retries_handling.up.sql') : 'V006__retries_handling.sql',
(migrationsUrl + '/migrations/7_auth_integration.up.sql') : 'V007__auth_integration.sql',
(migrationsUrl + '/migrations/8_sender_case_enabled_field.up.sql') : 'V008__sender_case_enabled_field.sql',
(migrationsUrl + '/migrations/9_analyzer_params.up.sql') : 'V009__analyzer_params.sql',
(migrationsUrl + '/migrations/10_attachment_size.up.sql') : 'V010__attachment_size.sql',
(migrationsUrl + '/migrations/11_password_encoding.up.sql') : 'V011__password_encoding.sql',
(migrationsUrl + '/migrations/12_remove_ticket_duplicates.up.sql') : 'V012__remove_ticket_duplicates.sql',
(migrationsUrl + '/migrations/13_add_allocated_storage_per_project.up.sql'): 'V013__add_allocated_storage_per_project.sql',
(migrationsUrl + '/migrations/14_test_case_id_size_increase.up.sql') : 'V014__test_case_id_size_increase.sql',
(migrationsUrl + '/migrations/15_statistics_decreasing.up.sql') : 'V015__statistics_decreasing.sql',
(migrationsUrl + '/migrations/16_remove_unused_indexes.up.sql') : 'V016__remove_unused_indexes.sql',
(migrationsUrl + '/migrations/17_status_enum_extension.up.sql') : 'V017__status_enum_extension.sql',
(migrationsUrl + '/migrations/18_job_attributes.up.sql') : 'V018__job_attributes.sql',
(migrationsUrl + '/migrations/19_retries_handling_extension.up.sql') : 'V019__retries_handling_extension.sql',
(migrationsUrl + '/migrations/20_deep_merge_statistics_handling.up.sql') : 'V020__deep_merge_statistics_handling.sql',
(migrationsUrl + '/migrations/21_deep_merge_retries_fix.up.sql') : 'V021__deep_merge_retries_fix.sql',
(migrationsUrl + '/migrations/22_deep_merge_nested_steps_fix.up.sql') : 'V022__deep_merge_nested_steps_fix.sql',
(migrationsUrl + '/migrations/23_rerun_item_statistics_fix.up.sql') : 'V023__rerun_item_statistics_fix.sql',
(migrationsUrl + '/migrations/24_widget_views_cleanup.up.sql') : 'V024__widget_views_cleanup.sql',
(migrationsUrl + '/migrations/25_deep_merge_nested_steps_path_fix.up.sql') : 'V025__deep_merge_nested_steps_path_fix.sql',
(migrationsUrl + '/migrations/26_retries_lock_fix.up.sql') : 'V026__retries_lock_fix.sql',
(migrationsUrl + '/migrations/42_shedlock_table.up.sql') : 'V032__shedlock_table.sql',
(migrationsUrl + '/migrations/43_attachment_for_deletion_table.up.sql') : 'V033__attachment_for_deletion_table.sql',
(migrationsUrl + '/migrations/44_remove_triggers.up.sql') : 'V034__remove_triggers.sql',
(migrationsUrl + '/migrations/48_composite_attribute.up.sql') : 'V048__composite_attribute.sql',
(migrationsUrl + '/migrations/51_cluster.up.sql') : 'V051__cluster.sql',
(migrationsUrl + '/migrations/52_analyzer_search_attribute.up.sql') : 'V052__analyzer_search_attribute.sql',
(migrationsUrl + '/migrations/54_analyzer_unique_error_attribute.up.sql') : 'V054__analyzer_unique_error_attribute.sql',
(migrationsUrl + '/migrations/58_alter_ticket.up.sql') : 'V058__alter_ticket.sql',
(migrationsUrl + '/migrations/59_stale_materialized_view.up.sql') : 'V059__stale_materialized_view.sql',
(migrationsUrl + '/migrations/60_sender_case_operator.up.sql') : 'V060__sender_case_operator.sql',
(migrationsUrl + '/migrations/61_remove_acl.up.sql') : 'V061__remove_acl.sql',
(migrationsUrl + '/migrations/62_remove_dashboard_cascade_drop.up.sql') : 'V062__remove_dashboard_cascade_drop.sql',
(migrationsUrl + '/migrations/65_launch_attribute_rules_length.up.sql') : 'V065__launch_attribute_rules_length.sql',
(migrationsUrl + '/migrations/67_api_keys.up.sql') : 'V067__api_keys.sql',
(migrationsUrl + '/migrations/68_api_key_last_used_at.up.sql') : 'V068__api_key_last_used_at.sql',
(migrationsUrl + '/migrations/69_replace_activity_table.up.sql') : 'V069__replace_activity_table.sql',
(migrationsUrl + '/migrations/71_user_bid_inviting_user_id.up.sql') : 'V071__user_bid_inviting_user_id.sql',
(migrationsUrl + '/migrations/72_add_attachment_name.up.sql') : 'V072__add_attachment_name.sql',
(migrationsUrl + '/migrations/73_sender_case_rule_name.up.sql') : 'V073__sender_case_rule_name.sql',
(migrationsUrl + '/migrations/76_user_bid_extension.up.sql') : 'V076__user_bid_extension.sql',
(migrationsUrl + '/migrations/77_email_server_documentation_link.up.sql') : 'V077__email_server_documentation_link.sql',
(migrationsUrl + '/migrations/78_drop_redundant_index.up.sql') : 'V078__drop_redundant_index.sql',
(migrationsUrl + '/migrations/84_notication_update.up.sql') : 'V084__notication_update.sql',
(migrationsUrl + '/migrations/86_add_retention_policy_launch.up.sql') : 'V086__add_retention_policy_launch.sql',
(migrationsUrl + '/migrations/88_analytics_data_table.up.sql') : 'V088__analytics_data_table.sql',
(migrationsUrl + '/migrations/90_add_user_fields.up.sql') : 'V090__scim_user_fields.sql',
(migrationsUrl + '/migrations/91_settings_users_sso.up.sql') : 'V091__settings_users_sso.sql',
]
excludeTests = ['**/entity/**',
'**/aop/**',
'**/jasper/**',
'**/configs/**',
'**/demodata/**',
'**/exception/**',
'**/job/FlushingDataJob**',
"**/core/analyzer/auto/client/model/**",
'**/core/analyzer/auto/impl/SuggestedItem**',
'**/core/item/impl/provider/impl/mock/**',
'**/model/**'
]
}
wrapper {
gradleVersion = '8.10'
}