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

[#13 & #1382] Allow Serializer Configuration & Support Spring Boot DevTools #25

Merged
merged 2 commits into from
May 15, 2020

Conversation

smcvb
Copy link
Member

@smcvb smcvb commented May 13, 2020

This pull request introduces a spring-devtools.properties file, including the modules required for restart. After local testing (at this stage uncertain how to provide test cases for this) it showed that Spring Boot Devtools threw exceptions if any of the added jars was not included for restart.
With the adjustments in place, all worked as desired. An additional adjustment was made to the pom.xml to allow filtering of the project version into the spring-devtools.properties file.

Alongside this, this PR also introduces the possibility to configure the Serializer used by the SpringCloudCommandRouter. This was a request in issue #13 to mitigate the security concerns logged by XStream. This is however also a necessity for Spring Boot Devtools to work, as it contains a known limitation on the matter.

This pull request is part of issue #1382 and resolves #13

smcvb added 2 commits May 12, 2020 14:30
After local testing it showed that any axon-jar which might be active
requires to be included for devtools to work without exception,
including the extensions. The poms should be adjusted to allowing
property filtering on this resource path, to allow usage of the exact
axon version to be inserted in the properties file

#1382
The Serializer should be configurable for two reasons:
1. To ensure the security warning thrown by XStream can be mitigated by
users.
2. To allow setting of the ClassLoader, which is required for Spring
Devtools to work correctly.

#1382 & #13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow configuration of SpringCloudCommandRouter with a provided XStreamSerializer
3 participants