[ 
https://issues.apache.org/jira/browse/IGNITE-28661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18080238#comment-18080238
 ] 

Ignite TC Bot commented on IGNITE-28661:
----------------------------------------

{panel:title=Branch: [pull/13123/head] Base: [master] : No blockers 
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/13123/head] Base: [master] : New Tests 
(2)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#00008b}Basic 1{color} [[tests 
2|https://ci2.ignite.apache.org/viewLog.html?buildId=9064343]]
* {color:#013220}IgniteBasicTestSuite: 
IgniteBuildInfoPropertiesTest.testLoadsBuildInfoProperties - PASSED{color}
* {color:#013220}IgniteBasicTestSuite: 
IgniteBuildInfoPropertiesTest.testUserIgnitePropertiesDoesNotOverrideBuildMetadata
 - PASSED{color}

{panel}
[TeamCity *--> Run :: All* 
Results|https://ci2.ignite.apache.org/viewLog.html?buildId=9063459&buildTypeId=IgniteTests24Java8_RunAll]

> Rename ignite.properties build metadata resource to avoid confusion with user 
> configuration
> -------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-28661
>                 URL: https://issues.apache.org/jira/browse/IGNITE-28661
>             Project: Ignite
>          Issue Type: Task
>            Reporter: Oleg Valuyskiy
>            Assignee: Oleg Valuyskiy
>            Priority: Minor
>              Labels: ise
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Currently Apache Ignite uses the *ignite.properties* classpath resource to 
> store internal build metadata such as:
>  * product version (ignite.version)
>  * build number (ignite.build)
>  * revision (ignite.revision)
>  * release date (ignite.rel.date)
>  * update notifier parameters
> However, the current name *ignite.properties* is misleading because it looks 
> like a regular user configuration file. This creates two problems:
> *1. Misleading semantics*
> Users may attempt to store custom application properties there.
> *2. Accidental classpath resource collision*
> A user may independently create their own application configuration file 
> named *ignite.properties* and place it in the application classpath, without 
> knowing that Apache Ignite already uses a resource with the same name. In 
> such cases, the user resource may accidentally override Ignite’s internal 
> {*}ignite.properties{*}, leading to unexpected runtime issues.
> To reduce confusion and avoid accidental resource overriding, the internal 
> resource should be renamed to something that clearly reflects its purpose, 
> for example {*}ignite-build-info.properties{*}.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to