[
https://issues.apache.org/jira/browse/IGNITE-28661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18082465#comment-18082465
]
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
(1)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#00008b}Cache 13{color} [[tests
1|https://ci2.ignite.apache.org/viewLog.html?buildId=9078224]]
* {color:#013220}IgniteCacheTestSuite13:
SystemViewCacheExpiryPolicyTest.testCacheViewExpiryPolicy[factory=javax.cache.configuration.FactoryBuilder$SingletonFactory@640d604,
actual=SingletonFactory [expiryPlc=EternalExpiryPolicy [create=ETERNAL]]] -
PASSED{color}
{panel}
[TeamCity *--> Run :: All*
Results|https://ci2.ignite.apache.org/viewLog.html?buildId=9080767&buildTypeId=IgniteTests24Java8_RunAll]
{color:#ffffff}tcbot-analysis-comment chainBuildId=9080767
rerunBuildIds=9083714{color}
> 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
> Attachments: IgniteBuildInfoPropertiesTest.patch, Java.odt
>
> Time Spent: 50m
> 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.
> Reproducer: [^IgniteBuildInfoPropertiesTest.patch]
> 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)