Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing Kubernetes Kit documentation error for V24 #3309

Open
wants to merge 38 commits into
base: latest
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
5484016
chore: Vale 3.0 config update (#3113)
jouni Jan 10, 2024
5a1f1b3
Adds devmode.hostsAllowed property (#3104)
tepi Jan 11, 2024
cead99f
docs: add instructions to disable component tracker (#3095)
mcollovati Jan 11, 2024
d077b74
fix: add note on DefaultI18NProvider available since 24.3 (#3112)
mcollovati Jan 11, 2024
48ac67c
Add navigation examples for hybrid apps (#3101)
mshabarov Jan 11, 2024
a27ab2e
docs: update data-provider article for item index provider (#3089)
tltv Jan 11, 2024
dde0497
Fix typo
tarekoraby Jan 11, 2024
986b04f
chore: update Gradle version
jouni Jan 12, 2024
cc1b2ee
fix: replace hardcoded links with cross references
jouni Jan 12, 2024
8085251
fix: vertical ellipsis → horizontal ellipsis
jouni Jan 12, 2024
a832dbd
fix: set i18n header before modifying for login java example (#5903) …
ugur-vaadin Jan 15, 2024
ea3e103
Update hardcoded vaadin version to 24.3.3 (#3141)
vaadin-bot Jan 16, 2024
fc4d821
Update vaadin version to 24.4.0.alpha1 (#3125)
vaadin-bot Jan 17, 2024
b77a760
fix: missing closing bracket
jouni Jan 18, 2024
4c8800c
docs: add note about AllowInert on RPC calls (#3111)
mcollovati Jan 29, 2024
ab55008
fix: broken include paths for some component descriptions
jouni Feb 6, 2024
41705e3
Update hardcoded vaadin version to 24.3.4 (#3182)
vaadin-bot Feb 12, 2024
cbcc41c
Update hardcoded vaadin version to 24.3.5 (#3189)
vaadin-bot Feb 13, 2024
82b612f
chore: Update a link to Add-on template project (#3192)
mshabarov Feb 14, 2024
b39b5c4
Add discussion id (#3181)
samie Feb 14, 2024
27844c8
docs: Write as draft; Bypassing validators (CP: latest) (#3208)
tepi Feb 23, 2024
ce3c682
docs: ViewAccessChecker has been replaced by NavigationAccessControl …
chkpnt Feb 29, 2024
5cd1410
Update hardcoded vaadin version to 24.3.6 (#3253)
vaadin-bot Mar 4, 2024
cba0c8d
Update hardcoded vaadin version to 24.3.7 (#3284)
vaadin-bot Mar 13, 2024
3a00f66
Update vaadin version to 24.3.7 (#3283)
vaadin-bot Mar 13, 2024
b635d76
Remove duplicated text (#3302)
bwajtr Mar 21, 2024
bdee2eb
Update hardcoded vaadin version to 24.3.8 (#3306)
vaadin-bot Mar 25, 2024
34e6835
Update vaadin version to 24.3.8 (#3305)
vaadin-bot Mar 25, 2024
b7afb7b
chore: escape asterisk (#3292)
oliveryasuna Mar 25, 2024
e4516e5
Fixing documentation error for V24
rodolforfq Mar 25, 2024
977d04c
Fixed yaml config example
rodolforfq Mar 25, 2024
231ed79
docs: Use Gradle toolchain to specify Java version in upgrade guide (…
chkpnt Mar 26, 2024
178b654
Update hardcoded vaadin version to 24.3.9 (#3318)
vaadin-bot Apr 3, 2024
3e5b516
Update vaadin version to 24.3.9 (#3317)
vaadin-bot Apr 3, 2024
b6f6a36
Merge branch 'latest' into k8s-kit-doc-fix-v24
russelljtdyer Apr 8, 2024
a418d35
docs: update references to allowed and blocked packages (#3191) (#3327)
mcollovati Apr 8, 2024
586af1f
fix: fix interface name in navigation docs (CP: latest) (#3319)
mcollovati Apr 8, 2024
fa1c06b
Merge branch 'latest' into k8s-kit-doc-fix-v24
rodolforfq Apr 18, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
docs: update references to allowed and blocked packages (#3191) (#3327)
  • Loading branch information
mcollovati authored Apr 8, 2024
commit a418d3501c459cac2aa3fb3485e60fdd7749248d
2 changes: 1 addition & 1 deletion articles/guide/start/gradle.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ The output directory for generated non-served resources, such as the token file.

When the list of dependencies causes the classpath to go over a set limit on Windows, the build automatically generates a JAR containing a manifest with the classpath. Sometimes, when running a Spring Boot application, the resource loader doesn't load the classpath packages correctly from the manifest. The failed annotation scanning makes the required `npm` packages unavailable.

You can fix this in two ways: add the repository `mavenLocal()` to <<#build-file.repositories,build file repositories>>; or specify the `vaadin.whitelisted-packages` property, see <<../../integrations/spring/configuration#,Vaadin Spring Configuration>>.
You can fix this in two ways: add the repository `mavenLocal()` to <<#build-file.repositories,build file repositories>>; or specify the `vaadin.allowed-packages` property, see <<../../integrations/spring/configuration#,Vaadin Spring Configuration>>.


[discussion-id]`FA18F1BF-2C67-4CCF-85A2-C3E4D7AECFDB`
Expand Down
13 changes: 8 additions & 5 deletions articles/integrations/spring/configuration.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,27 @@ There are several special configuration parameters for Spring, such as configuri

To decrease the startup time during development, as well as the build time for the production bundle, Vaadin Flow automatically excludes many packages from being scanned for annotations -- such as the ones belonging to the `java` and `springframework` packages. The set of packages that Flow excludes by default are defined in the [classname]`VaadinServletContextInitializer` class.

You can extend this list using the `vaadin.blacklisted-packages` property, which is a comma-separated string that can be used to exclude packages from being scanned. You would do something like the following:
You can extend this list using the `vaadin.blocked-packages` property, which is a comma-separated string that can be used to exclude packages from being scanned. You would do something like the following:

.application.properties
[source,properties]
----
vaadin.blacklisted-packages=org/bouncycastle,com/my/db/package
vaadin.blocked-packages=org/bouncycastle,com/my/db/package
----

The `whitelisted-packages` is a comma-separated string that can be used to specify the only packages that need to be scanned for UI components and views. You should set this property to improve performance during development, especially in large applications. The [classname]`com/vaadin/flow/component` package is implicitly included and is always scanned.
The `allowed-packages` is a comma-separated string that can be used to specify the only packages that need to be scanned for UI components and views. You should set this property to improve performance during development, especially in large applications. The [classname]`com/vaadin/flow/component` package is implicitly included and is always scanned.

.application.properties
[source,properties]
----
vaadin.whitelisted-packages=com/foo/myapp/ui,com/foo/components
vaadin.allowed-packages=com/foo/myapp/ui,com/foo/components
----

[NOTE]
You should use either `whitelisted-packages` or `blacklisted-packages` -- not both. If both have values, though, `blacklisted-packages` is ignored.
You should use either `allowed-packages` or `blocked-packages` -- not both. If both have values, though, `blocked-packages` is ignored.

[IMPORTANT]
The previous `vaadin.whitelisted-packages` and `vaadin.blacklisted-packages` properties have been deprecated, and will be removed in the future.


=== Prevent Handling of Specific URLs
Expand Down