Skip to content

Commit

Permalink
MH-13241, Filter Fileinstall Artifacts
Browse files Browse the repository at this point in the history
Instead of loading all files, let fileinstall filter artifacts by their
file extension to avoid unnecessary loading.
  • Loading branch information
lkiesow committed Nov 19, 2018
1 parent b2a5983 commit be5c9d0
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 0 deletions.
3 changes: 3 additions & 0 deletions etc/org.apache.felix.fileinstall-acl.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# The name of the directory to watch.
felix.fileinstall.dir=${karaf.etc}/acl

# Filter accepted files (only allow xml files)
felix.fileinstall.filter=.*\\.xml

# Number of milliseconds between 2 polls of the directory
felix.fileinstall.poll=5000

Expand Down
3 changes: 3 additions & 0 deletions etc/org.apache.felix.fileinstall-encoding.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# The name of the directory to watch.
felix.fileinstall.dir=${karaf.etc}/encoding

# Filter accepted files (only allow .properties files)
felix.fileinstall.filter=.*\\.properties

# Number of milliseconds between 2 polls of the directory
felix.fileinstall.poll=5000

Expand Down
3 changes: 3 additions & 0 deletions etc/org.apache.felix.fileinstall-feeds.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# The name of the directory to watch.
felix.fileinstall.dir=${karaf.etc}/feeds

# Filter accepted files (only allow .properties files)
felix.fileinstall.filter=.*\\.properties

# Number of milliseconds between 2 polls of the directory
felix.fileinstall.poll=5000

Expand Down
3 changes: 3 additions & 0 deletions etc/org.apache.felix.fileinstall-listproviders.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# The name of the directory to watch.
felix.fileinstall.dir=${karaf.etc}/listproviders

# Filter accepted files (only allow .properties files)
felix.fileinstall.filter=.*\\.properties

# Number of milliseconds between 2 polls of the directory
felix.fileinstall.poll=5000

Expand Down
3 changes: 3 additions & 0 deletions etc/org.apache.felix.fileinstall-security.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# The name of the directory to watch.
felix.fileinstall.dir=${karaf.etc}/security

# Filter accepted files (only allow xml files)
felix.fileinstall.filter=.*\\.xml

# Number of milliseconds between 2 polls of the directory
felix.fileinstall.poll=5000

Expand Down
3 changes: 3 additions & 0 deletions etc/org.apache.felix.fileinstall-workflows.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# The name of the directory to watch.
felix.fileinstall.dir=${karaf.etc}/workflows

# Filter accepted files (only allow xml files)
felix.fileinstall.filter=.*\\.xml

# Number of milliseconds between 2 polls of the directory
felix.fileinstall.poll=5000

Expand Down

0 comments on commit be5c9d0

Please sign in to comment.