You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/07/19 21:16:00 UTC

[jira] [Work logged] (AVRO-3581) Usage of deprecated configuration properties in Velocity

     [ https://issues.apache.org/jira/browse/AVRO-3581?focusedWorklogId=792915&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-792915 ]

ASF GitHub Bot logged work on AVRO-3581:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 19/Jul/22 21:15
            Start Date: 19/Jul/22 21:15
    Worklog Time Spent: 10m 
      Work Description: luankevinferreira opened a new pull request, #1773:
URL: https://github.com/apache/avro/pull/1773

   Fix Velocity configuration warnings by changing to new configs since the old ones were deprecated.
   
   Make sure you have checked _all_ steps below.
   
   ### Jira
   
   - [x] My PR addresses the following [Avro Jira](https://issues.apache.org/jira/browse/AVRO/) issues and references them in the PR title. For example, "AVRO-1234: My Avro PR"
     - https://issues.apache.org/jira/browse/AVRO-3581
     - In case you are adding a dependency, check if the license complies with the [ASF 3rd Party License Policy](https://www.apache.org/legal/resolved.html#category-x).
   
   ### Tests
   
   - [x] My PR adds the following unit tests __OR__ does not need testing for this extremely good reason:
   
   It only changes Velocity configs and all the tests pass after the changes.
   
   ### Commits
   
   - [x] My commits all reference Jira issues in their subject lines. In addition, my commits follow the guidelines from "[How to write a good git commit message](https://chris.beams.io/posts/git-commit/)":
     1. Subject is separated from body by a blank line
     1. Subject is limited to 50 characters (not including Jira issue reference)
     1. Subject does not end with a period
     1. Subject uses the imperative mood ("add", not "adding")
     1. Body wraps at 72 characters
     1. Body explains "what" and "why", not "how"
   
   ### Documentation
   
   - [x] In case of new functionality, my PR adds documentation that describes how to use it.
     - All the public functions and the classes in the PR contain Javadoc that explain what it does
   




Issue Time Tracking
-------------------

            Worklog Id:     (was: 792915)
    Remaining Estimate: 0h
            Time Spent: 10m

> Usage of deprecated configuration properties in Velocity
> --------------------------------------------------------
>
>                 Key: AVRO-3581
>                 URL: https://issues.apache.org/jira/browse/AVRO-3581
>             Project: Apache Avro
>          Issue Type: Bug
>    Affects Versions: 1.11.0
>            Reporter: Luan Kevin Ferreira
>            Priority: Trivial
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> After upgrading to version 1.11.0, I still see these warnings as described in https://issues.apache.org/jira/browse/AVRO-2798
> {noformat}
> configuration key 'resource.loader' has been deprecated in favor of 'resource.loaders'
> configuration key 'class.resource.loader.class' has been deprecated in favor of 'resource.loader.class.class'
> configuration key 'file.resource.loader.class' has been deprecated in favor of 'resource.loader.file.class'
> configuration key 'file.resource.loader.path' has been deprecated in favor of 'resource.loader.file.path'
> configuration key 'runtime.references.strict' has been deprecated in favor of 'runtime.strict_mode.enable'
> configuration key 'space.gobbling' has been deprecated in favor of 'parser.space_gobbling'{noformat}



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