[
https://issues.apache.org/jira/browse/KNOX-3235?focusedWorklogId=998913&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-998913
]
ASF GitHub Bot logged work on KNOX-3235:
----------------------------------------
Author: ASF GitHub Bot
Created on: 07/Jan/26 11:48
Start Date: 07/Jan/26 11:48
Worklog Time Spent: 10m
Work Description: hanicz opened a new pull request, #1136:
URL: https://github.com/apache/knox/pull/1136
…case
[KNOX-3235](https://issues.apache.org/jira/browse/KNOX-3235) - Rename
DBDataSource classes to closely follow Factory pattern
## What changes were proposed in this pull request?
- Renamed the DataSource classed to Factory so they correctly represent
their reponsibility. The previous Factory class is renamed to Provider.
- Fixed PMD suppress on the switch-case.
## How was this patch tested?
Build (clean verify), unit tests,
Issue Time Tracking
-------------------
Worklog Id: (was: 998913)
Remaining Estimate: 0h
Time Spent: 10m
> Rename DBDataSource classes to closely follow Factory pattern
> -------------------------------------------------------------
>
> Key: KNOX-3235
> URL: https://issues.apache.org/jira/browse/KNOX-3235
> Project: Apache Knox
> Issue Type: Improvement
> Components: Server
> Affects Versions: 3.0.0
> Reporter: Tamás Hanicz
> Assignee: Tamás Hanicz
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> The Factory pattern for DBDataSource creation should be improved with better
> naming convention.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)