Skip to content

[BACKLOG-48506] - refactor file extension filter to be reusable#6252

Closed
abryant-hv wants to merge 1 commit into
masterfrom
abryant/BACKLOG-48506
Closed

[BACKLOG-48506] - refactor file extension filter to be reusable#6252
abryant-hv wants to merge 1 commit into
masterfrom
abryant/BACKLOG-48506

Conversation

@abryant-hv

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings May 28, 2026 14:50
@abryant-hv abryant-hv requested a review from a team as a code owner May 28, 2026 14:50

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Introduces a new Spring configuration file that externalizes the list of VFS-filtered file extensions into a reusable util:set bean, and wires it into the main Pentaho Spring context.

Changes:

  • Adds vfs-filtered-extensions.spring.xml defining a vfsFilteredExtensions set with extensions such as html, pdf, rtf, ktr, kjb, prpt, xanalyzer, etc.
  • Imports the new file from pentaho-spring-beans.xml so the bean is available in the application context.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
assemblies/pentaho-solutions/src/main/resources/pentaho-solutions/system/vfs-filtered-extensions.spring.xml New Spring config exposing a reusable vfsFilteredExtensions set.
assemblies/pentaho-solutions/src/main/resources/pentaho-solutions/system/pentaho-spring-beans.xml Imports the new vfs-filtered-extensions.spring.xml into the central context.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +4 to +21
xmlns:util="http://www.springframework.org/schema/util"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd"
default-lazy-init="true">

<util:set id="vfsFilteredExtensions">
<value>html</value>
<value>pdf</value>
<value>rtf</value>
<value>txt</value>
<value>xlsx</value>
<value>ktr</value>
<value>kjb</value>
<value>prpt</value>
<value>prpti</value>
<value>xanalyzer</value>
<value>properties</value>
</util:set>
@hitachivantarasonarqube

Copy link
Copy Markdown

@buildguy

Copy link
Copy Markdown
Collaborator

👍 Frogbot scanned this pull request and did not find any new security issues.

Note:

Frogbot also supports Contextual Analysis, Secret Detection, IaC and SAST Vulnerabilities Scanning. This features are included as part of the JFrog Advanced Security package, which isn't enabled on your system.


@buildguy

Copy link
Copy Markdown
Collaborator

✅ Build finished in 9m 3s

Build command:

mvn clean verify -B -e -Daudit -Djs.no.sandbox -pl \
assemblies/pentaho-solutions

❗ No tests found!

ℹ️ This is an automatic message

@abryant-hv abryant-hv closed this Jun 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants