profile
viewpoint
Marten Deinum mdeinum Conspect Consulting & ICT Meppel, The Netherlands http://mdeinum.github.io Husband, Father, Lifeguard, Scuba Instructor, Consultant, Author, Pragmatist, Open Source Enthusiast.

mdeinum/pro-spring-mvc-code 41

Source code for the sample application in Pro Spring MVC.

mdeinum/legacy-app 5

Code for the Improve your legacy app with Spring talks.

mdeinum/dddsample-core 1

This is the new home of the original DDD Sample app (previously hosted at sf.net)..

mdeinum/microservice 1

Sample of a Microservice setup for my book. Based on Spring Cloud / Netflix / Java / Docker / Docker Compose / Docker Machine / Vagrant

mdeinum/adventurebuilder 0

Code of the old Adventure Builder reference application for using in the architecture conformance tutorial

mdeinum/awesome-annotation-processing 0

A curated list of resources related to the Java annotation processoring API (JSR 269)

mdeinum/blog-spring-contexts 0

Project code belonging to my ApplicationContexts and Bean configuration blog post.

mdeinum/buckpal 0

An example approach for implementing a Clean/Hexagonal Architecture

issue openedjoel-costigliola/assertj-core

Improve the error message on contains method

When using AssertJ and in this specific case using extracting("name1", "name2").contains(val1, val2) or the functional one extracting(it -> it.getName1(), it -> it.getName()).contains(val1, val2). In case of a value not matching the error message is not as descriptive as one likes to be.

Currently it is :

Expecting:
  <[null, 2019-12-05T07:57:38.531, null]>
to contain exactly (and in same order):
  <[null, 2019-12-05T07:57:38.531, null]>
but some elements were not found:
  <[2019-12-05T07:57:38.531]>
and others were not expected:
  <[2019-12-05T07:57:38.531]>

And at first glance it isn't apparent what is wrong, as the values appear to match. However as it turned one one was a LocalDateTime and the other a java.util.Date.

When comparing a single property with isEqualTo the error message is more descriptive

java.lang.AssertionError: 
Expecting:
 <"2019-12-05T07:59:56.439 (LocalDateTime@43f02ef2)">
to be equal to:
 <"2019-12-05T07:59:56.439 (Date@239a307b)">
but was not.

Now it is directly apparent what the error is as the type and hashcode is included in the error message.

It would be beneficial of the message from contains could also include the type and hashcode in the error message.

created time in a month

issue commentmockito/mockito

Improve the error message on contains method

I must have been sleeping or in dire need of a holiday, this should have been an AssertJ issue and not a Mockito issue. Sorry for the inconvenience.

mdeinum

comment created time in a month

issue openedspring-projects/spring-batch

The dependencies for Micrometer should be optional

Currently the micrometer dependencies have a scope of compile time, even if we don't or are interested in the metrics we get these dependencies.

Would be better if they were optional instead.

created time in 2 months

fork mdeinum/dukesbank

dukesbank sample application

fork in 2 months

push eventmdeinum/spring-batch-excel

Marten Deinum

commit sha 1945a409dd8dadda8268bf791eb8f3f0928bb025

Revert "Reset currentSheet when ItemStream is opened" The currentSheet counter is already being reset in the doClose method. No need to do in again upon opening. This reverts commit 9b5c589dbf9bca54f9a7e50599326713e00c6104.

view details

push time in 2 months

push eventmdeinum/spring-batch-excel

Marten Deinum

commit sha fead2bab0c553d4232c4f911b05deac10da440eb

Properly implement jumpToItem method (#14) Prior to this commit the jumpToItem method would only read a single sheet. However it could be that multiple sheets would hae been involved in getting to the itemCount as provided. The fix was to cleanup the doRead method and to use the doRead method to read upto the correct index. To prevent memory issues, the rowmapper is temporarily being swapped for a noop mapper. Fixes: #13

view details

push time in 2 months

PR merged mdeinum/spring-batch-excel

Properly implement jumpToItem method

Prior to this commit the jumpToItem method would only read a single sheet. However it could be that multiple sheets would hae been involved in getting to the itemCount as provided.

The fix was to cleanup the doRead method and to use the doRead method to read upto the correct index. To prevent memory issues, the rowmapper is temporarily being swapped for a noop mapper.

Fixes: #13

+43 -32

0 comment

2 changed files

mdeinum

pr closed time in 2 months

issue closedmdeinum/spring-batch-excel

Implementation of jumpToItem doesn't go to correct sheet

When state is saved and used to restart a job the jumpToItem method doesn't go to the correct sheet. It only reads x items leading to an inconsistent state. We should reuse the read method and preferably use a noop RowMapper for performance and memory gain.

closed time in 2 months

mdeinum

push eventmdeinum/spring-batch-excel

Marten Deinum

commit sha 9b5c589dbf9bca54f9a7e50599326713e00c6104

Reset currentSheet when ItemStream is opened prior to this commit the currentSheet wasn't being reset upon opening the ItemStream. This combined with an incorrect jumpToItem implementation would lead to an inconsistent state in the reader upon restarts. Now the state is reset to 0 and will be corrected when the itemCount is being reset. See: #13 Fixes: #12

view details

Marten Deinum

commit sha c1bbc21ea889bbeb26743f32e3955f995ec9ae89

Properly implement jumpToItem method Prior to this commit the jumpToItem method would only read a single sheet. However it could be that multiple sheets would hae been involved in getting to the itemCount as provided. The fix was to cleanup the doRead method and to use the doRead method to read upto the correct index. To prevent memory issues, the rowmapper is temporarily being swapped for a noop mapper. Fixes: #13

view details

push time in 2 months

PR opened mdeinum/spring-batch-excel

Properly implement jumpToItem method

Prior to this commit the jumpToItem method would only read a single sheet. However it could be that multiple sheets would hae been involved in getting to the itemCount as provided.

The fix was to cleanup the doRead method and to use the doRead method to read upto the correct index. To prevent memory issues, the rowmapper is temporarily being swapped for a noop mapper.

Fixes: #13

+44 -35

0 comment

2 changed files

pr created time in 2 months

push eventmdeinum/spring-batch-excel

Marten Deinum

commit sha d446b06612c3068d280857d0169c3b92e7e26d85

Polish Documentation

view details

Marten Deinum

commit sha 9b5c589dbf9bca54f9a7e50599326713e00c6104

Reset currentSheet when ItemStream is opened prior to this commit the currentSheet wasn't being reset upon opening the ItemStream. This combined with an incorrect jumpToItem implementation would lead to an inconsistent state in the reader upon restarts. Now the state is reset to 0 and will be corrected when the itemCount is being reset. See: #13 Fixes: #12

view details

push time in 2 months

issue closedmdeinum/spring-batch-excel

Reset currentSheet to 0 when reader is opened

When the reader is opened we should reset the currentSheet to 0.

See: https://github.com/spring-projects/spring-batch-extensions/issues/41

closed time in 2 months

mdeinum

create barnchmdeinum/spring-batch-excel

branch : gh-13

created branch time in 2 months

issue openedmdeinum/spring-batch-excel

Implementation of jumpToItem doesn't go to correct sheet

When state is saved and used to restart a job the jumpToItem method doesn't go to the correct sheet. It only reads x items leading to an inconsistent state. We should reuse the read method and preferably use a noop RowMapper for performance and memory gain.

created time in 2 months

issue commentspring-projects/spring-batch-extensions

Sheet index (1) is out of range (0..0)

The PoiItemReader is holding some state, including the sheet. Your bean is a singleton so it will be reused. You want to define the reader as @StepScope or @JobScope so that you get a fresh instance each time you want to read a sheet.

That being said we can probably store the state in the ExecutionContext and retrieve it from there.

flacohenao

comment created time in 2 months

issue openedmdeinum/spring-batch-excel

Store currentSheet in the ExecutionContext

We could store the currentSheet into the ExecutionContext just like the currentItem is stored in there and restored or reset.

See: https://github.com/spring-projects/spring-batch-extensions/issues/41

created time in 2 months

push eventmdeinum/spring-batch-excel

Marten Deinum

commit sha 35aa38afbe9a36c3a6bd07ad41f641054dde05b0

Remove support for JXL The JXL library hasn't seen an update since 2011. Spring itself has also dropped support for this library and Apache POI is more versatile then JXL. With this commit we remove the JXL classes, tests as well as the documentation. Closes: #10

view details

push time in 2 months

issue closedmdeinum/spring-batch-excel

Drop support for JXL

Spring 5 itself dropped JXL support, the library hasn't seen an update since 2011 so lets drop support for this and only support Apache POI.

closed time in 2 months

mdeinum

push eventmdeinum/spring-batch-excel

Marten Deinum

commit sha 2c1b6a45ecf63d629ea4ed7d0c68fb15b53b23f0

Remove dependency on spring-test We introduced our own little ReflectionTestUtils which was still inspired by the one from spring-test. With this simple class we can now remove the, now, unneeded dependency. Closes: #11

view details

push time in 2 months

issue closedmdeinum/spring-batch-excel

Remove dependency on spring-test

We only use the ReflectionTestUtils from the spring-test module. We could inline the single method we need into our own test utility instead of using the spring-test module.

closed time in 2 months

mdeinum

issue openedmdeinum/spring-batch-excel

Remove dependency on spring-test

We only use the ReflectionTestUtils from the spring-test module. We could inline the single method we need into our own test utility instead of using the spring-test module.

created time in 2 months

push eventmdeinum/spring-batch-excel

Marten Deinum

commit sha 1a9cc41aacb7eb248367bcbf2e45b9bd39cf6ff2

Next release version

view details

Marten Deinum

commit sha 65cc1e163bc9d44f74ce633a693ccacf004df645

Upgrade to Spring Batch 4.2.1 Fixes: #9

view details

push time in 2 months

issue openedmdeinum/spring-batch-excel

Drop support for JXL

Spring 5 itself dropped JXL support, the library hasn't seen an update since 2011 so lets drop support for this and only support Apache POI.

created time in 2 months

issue openedmdeinum/spring-batch-excel

Upgrade to Spring Batch 4.2.1

created time in 2 months

push eventmdeinum/spring-batch-excel

Marten Deinum

commit sha 12188b54eba465d8e21bc8d4662504a14a6e5279

Polish

view details

Marten Deinum

commit sha f1d150d4d303c53c32888cc1d940740946545ffb

Upgrade to Apache POI 4.1.1

view details

Marten Deinum

commit sha 0afdb696be2c1aa665f2c8ac90756b23d6c1ddd3

Upgrade Maven Plugins

view details

Marten Deinum

commit sha ff9cb4307245da40c93ca5d550929b73f2239242

Move tests to JUnit 5

view details

Marten Deinum

commit sha bfdca1b9bd35aa4aae77122211aa94738ffb983b

Polish

view details

Marten Deinum

commit sha 3c3c447bbff72f5201909f69b109bfb84495932d

Add .editorconfig

view details

push time in 2 months

push eventmdeinum/spring-batch-excel

Marten Deinum

commit sha aa978443a36c3de2bf7d6b7b6e8c0dd8b6cf765b

Add codacy badge

view details

push time in 2 months

push eventmdeinum/spring-batch-excel

Marten Deinum

commit sha ca4e3d6e3549dd0698af89c038f0e92d0918c514

Add CircleCI badge

view details

push time in 2 months

push eventmdeinum/spring-batch-excel

pablop992

commit sha bb5c9dbea822d09c17ea75611fd0acfb67ceae89

Fix to avoid ArrayIndexOutOfBounds when last column is empty in some rows (#7)

view details

push time in 2 months

issue openedspring-projects/spring-framework

Core Section of reference guide is wrongly formatted

Affects: 5.2.2.RELEASE (haven't checked the new 5.1 release!)

The documentation appears to be garbled. The headers haven't been rendered properly. Text contains things like ==, === and ==== which should lead to headers and a proper index. The index however stops at 1.9.4, whereas the documentation continues.

created time in 2 months

issue openedmockito/mockito

Improve the error message on contains method

When using Mockito and in this specific case using extracting("name1", "name2").contains(val1, val2) or the functional one extracting(it -> it.getName1(), it -> it.getName()).contains(val1, val2). In case of a value not matching the error message is not as descriptive as one likes to be.

Currently it is :

Expecting:
  <[null, 2019-12-05T07:57:38.531, null]>
to contain exactly (and in same order):
  <[null, 2019-12-05T07:57:38.531, null]>
but some elements were not found:
  <[2019-12-05T07:57:38.531]>
and others were not expected:
  <[2019-12-05T07:57:38.531]>

And at first glance it isn't apparent what is wrong, as the values appear to match. However as it turned one one was a LocalDateTime and the other a java.util.Date.

When comparing a single property with isEqualTo the error message is more descriptive

java.lang.AssertionError: 
Expecting:
 <"2019-12-05T07:59:56.439 (LocalDateTime@43f02ef2)">
to be equal to:
 <"2019-12-05T07:59:56.439 (Date@239a307b)">
but was not.

Now it is directly apparent what the error is as the type and hashcode is included in the error message.

It would be beneficial of the message from contains could also include the type and hashcode in the error message.

created time in 2 months

issue commentspring-projects/spring-boot

I have a problem with mongo configuration

Questions are better of at StackOverflow then the github issue tracker. Spring Boot assumes that if a property is present it should be used. So if you don't want a username/password remove the properties instead of supplying empty values.

wswx

comment created time in 3 months

issue commentspring-projects/spring-framework

Empty or blank required UUID header validation results in 200 response status

The required is for checking if the header is present in the request not if it converts to a proper value. If I recall this is the same for all the required properties on the different annotations (like @RequestParam, @CookieValue etc.).

Wouldn't changing it for just @RequestHeader change the contract?

maxdewil

comment created time in 3 months

push eventmdeinum/spring-framework

Andy Wilkinson

commit sha b730597c876c29d10d24244d8621b31cd8b8e2b3

Disable caching of changing modules and dynamic versions Previously, changing modules (snapshots) and dynamic versions were cached for Gradle's default period of 24 hours and --refresh-dependencies was used to pick up the latest artifacts. This approach has a notable downside. --refresh-dependencies causes all dependencies to be refreshed, irrespective of whether they are expected to change. At a minimum, this results in a HEAD request for every dependency in the build. Running an up-to-date build without --refresh-dependencies takes in the region of 6 seconds: $ ./gradlew build BUILD SUCCESSFUL in 6s 203 actionable tasks: 203 up-to-date The same build with --refresh-dependencies takes almost ten times as long: $ ./gradlew build --refresh-dependencies BUILD SUCCESSFUL in 58s 203 actionable tasks: 203 up-to-date This commit replaces the manual usage of --refresh-dependencies on the command line with a 0 second caching period for changing modules and dynamic versions. This should remove the need to use --refresh-dependencies both locally and on CI, saving almost 1 minute per full build.

view details

Arjen Poutsma

commit sha b159ef60198103dc632d6604a5b1ef13a95ed266

Make MockClientHttpResponse uses raw status code This commit make sure that MockClientHttpResponse does not use HttpStatus, but the raw status code. Closes gh-23599

view details

Arjen Poutsma

commit sha 13ba7ef70185a8625497c17b5baf3832910bb46e

Merge branch '5.1.x'

view details

Sam Brannen

commit sha d759ae772bb1d75f92b33636c73bf24c31b9f0cd

Rename Spr3896SuiteTests to Spr3896TestSuite This commit renames Spr3896SuiteTests to comply with our naming convention for test classes that should be executed via the Gradle build. The effect of this commit is that test classes included in that "suite" are no longer executed twice in the build. Consequently, Gradle and Bamboo will now report the same number of executed tests for the spring-test project.

view details

Andy Wilkinson

commit sha 2b4316cf24f8a7e25e4178409585e6fc40544e60

Upgrade to com.gradle.build-scan 2.4.2 Closes gh-23619

view details

Rossen Stoyanchev

commit sha cfae20f97d99cd5b17d1962cab3035373bda2362

Update advice on creating issue vs pull request Closes gh-23427

view details

Andy Wilkinson

commit sha 9de4c4aefb30aeb66eb79fef824fce851f154f27

Enable parallel builds by default Previously, all tasks in the build were run sequentially. This commit updates Gradle's properties to build them in parallel where possible. When using the daemon (recommended) its default max heap is not sufficient for the demands on a parallel build, therefore this commit also increases the daemon's max heap. See gh-23620

view details

Stephane Nicoll

commit sha 92d3f7e7d76d3031a9788305ea4ccf34b1e036e6

Merge pull request #23620 from wilkinsona * pr/23620: Enable parallel builds by default Closes gh-23620

view details

Sam Brannen

commit sha 30cff46e7f1ad4bd15f1e530fcb757d12736774a

Prevent improper use of testing framework APIs Prior to this commit, a lot of work had been done to prevent improper use of testing Framework APIs throughout the codebase; however, there were still some loopholes. This commit addresses these loopholes by introducing additional Checkstyle rules (and modifying existing rules) to prevent improper use of testing framework APIs in production code as well as in test code. - Checkstyle rules for banned imports have been refactored into multiple rules specific to JUnit 3, JUnit 4, JUnit Jupiter, and TestNG. - Accidental usage of org.junit.Assume has been switched to org.junit.jupiter.api.Assumptions. - All test classes now reside under org.springframework packages. - All test classes (including abstract test classes) now conform to the `*Tests` naming convention. - As an added bonus, tests in the renamed ScenariosForSpringSecurityExpressionTests are now included in the build. - Dead JUnit 4 parameterized code has been removed from DefaultServerWebExchangeCheckNotModifiedTests. Closes gh-22962

view details

Sam Brannen

commit sha 8f38f5c17aa19f50b4f3fcbb74b77c10bdcec97d

Polishing

view details

Andy Wilkinson

commit sha 508b6798ff27df492710532b4745ba2feb0c02de

Move jmx.log beneath build/ to avoid UP-TO-DATE pollution Previously, some tests in spring-context wrote a file named jmx.log into spring-context/. This led to the file being included in the sources of the Checkstyle NoHTTP Gradle task, breaking that task's UP-TO-DATE checks and causing it to execute unnecessarily. This commit updates the tests to write the jmx.log file beneath spring-context/build/ so that it is not included in the sources of the Checkstyle NoHTTP task. Closes gh-23623

view details

Sam Brannen

commit sha 00c07e3a50e0d881cb6e7c12adbbf63d5cdb20b7

Indent with tabs

view details

OLPMO

commit sha 40fcf876ce59772bd7b4838d39c6fbec4c643b4b

Optimize test code with lambdas where feasible This commit optimizes test code with lambda expressions and method references where feasible. Closes gh-23626

view details

Sam Brannen

commit sha e124cbb310721041731421c41030e6a1d2d06286

Fix Checkstyle violation

view details

Sam Brannen

commit sha 2b460854ceaaf160934752aef8c98eb62c753479

Polishing

view details

GungnirLaevatain

commit sha 9db4118180479cc0e26cd0824279de580e07f417

Fix DefaultListableBeanFactory#copyConfigurationFrom Prior to this commit, the copyConfigurationFrom(ConfigurableBeanFactory) method in DefaultListableBeanFactory cloned its own AutowireCandidateResolver type instead of the resolver type from the supplied ConfigurableBeanFactory. This commit fixes that by cloning the resolver type from the supplied ConfigurableBeanFactory. Closes gh-23569

view details

Sam Brannen

commit sha e62cb6bc56f0ad12ee1633077abf5bc20499bd75

Merge branch '5.1.x'

view details

Rossen Stoyanchev

commit sha 6eb0e9e44bc7e1dc4fefe8a68231d8e3c0d7a6f8

Unwrap decorated request or response Closes: gh-23598

view details

Rossen Stoyanchev

commit sha 07b0fa132ee724920d32f0eb1108377672d444ae

doFilterNestedErrorDispatch delegates to filter chain Closes: gh-23596

view details

Sebastien Deleuze

commit sha fc6480631e1b7e3be105a058583d84a17b6d92a7

Improve Coroutines transaction API As a follow-up of gh-22915, the purpose of this commit is to improve Coroutines programmatic transaction API to make it more consistent with the Java one and more idiomatic. For suspending functions, this commit changes the TransactionalOperator.transactional extension with a suspending lambda parameter to a TransactionalOperator.executeAndAwait one which is conceptually closer to TransactionalOperator.execute Java API so more consistent. For Flow, the TransactionalOperator.transactional extension is correct but would be more idiomatic as a Flow extension. This commit also adds code samples to the reference documentation. Closes gh-23627

view details

push time in 3 months

push eventmdeinum/securing-devops

Marten Deinum

commit sha 1f88218686f36dd6c495402ba344adf476a9612a

Add Spring Security with Test

view details

push time in 4 months

push eventmdeinum/securing-devops

Marten Deinum

commit sha cd26a670bd65abc695cbce630f1b7d68273a0161

Test SSL With TLS Observatory

view details

push time in 4 months

push eventmdeinum/securing-devops

Marten Deinum

commit sha 7c1ccd2900ff2cad90f64b4297119ee1b964e8e3

Add ZAP Attack Proxy

view details

push time in 4 months

push eventmdeinum/securing-devops

Marten Deinum

commit sha efe0219111cdd05719755de4027d00a202652fd2

SpotBugs & Dependency Checker

view details

push time in 4 months

push eventmdeinum/securing-devops

Marten Deinum

commit sha 6760a88a5d91e87cc5908e390785f5de94e899c7

Initial Build

view details

push time in 4 months

push eventmdeinum/securing-devops

Marten Deinum

commit sha cc26db3f7a25545021389be5ee3e69ac8730d918

Polish

view details

push time in 4 months

issue commentspring-projects/spring-framework

inconsistent behavior of @ModelAttribute regarding Void type

void methods are supported but require a Model or the likes as a method attribute, to add something to the model. You are abusing it for something it isn't designed for (validation). If it is cross-cutting it should really be in an interceptor or validator (but not sure what you are trying to achieve).

Looks more like a question for stack overflow to determine the right component to work with then a bug (maybe an enhancement or documentation ticket).

ravenblackdusk

comment created time in 4 months

issue commentspring-projects/spring-boot

Spring 2.2 Hibernate Dialect - PostgreSQL

@wilkinsona Isn't this hardcoded in the HibernateJpaVendorAdapter? Which is configured by the HibernateJpaConfiguration and used by the LocalContainerEntityManagerFactoryBean to determine the dialect if none has been explicitly set.

This would mean that the spring.jpa.database properties has been set in the project for this to work.

@4val0v could you provide information on the usage of the spring.jpa.database property?

4val0v

comment created time in 4 months

issue commentspring-projects/spring-framework

inconsistent behavior of @ModelAttribute regarding Void type

That isn't a workaround, that is how @ModelAttribute is supposed to work. Adding @ModelAttribute on an void method (and not passing in a Model as method argument) doesn't really make sense. So your workaround is the actual way it is supposed to work.

What is the use case for adding @ModelAttribute on void methods?

ravenblackdusk

comment created time in 4 months

issue openedthombergs/buckpal

.gitignore leads to ignoring a package as well

The current .gitignore file includes an out directory. However this leads to also excluding the io.reflectoring.buckpal.application.port.out package.

created time in 4 months

PR opened thombergs/buckpal

Upgrade to Gradle 5.6.3
+4 -4

0 comment

3 changed files

pr created time in 4 months

create barnchmdeinum/buckpal

branch : upgrade-gradle

created branch time in 4 months

PR opened thombergs/buckpal

Upgrade to Spring Boot 2.1.9
+3 -3

0 comment

2 changed files

pr created time in 4 months

push eventmdeinum/buckpal

Marten Deinum

commit sha d0730babaf2465fbda049163ec772f655271531e

Upgrade to Spring Boot 2.1.9

view details

push time in 4 months

push eventmdeinum/buckpal

Tom Hombergs

commit sha e370f8ae75ed7d2dafc10eef4ac0a72456c162eb

Merge pull request #1 from mdeinum/master Added missing build files and dependencies

view details

Tom Hombergs

commit sha d10f93797d5eee515474d032614a5552298040ac

added travis CI

view details

Tom Hombergs

commit sha 885b2b6a55392dc97b31aa0acc91e457598697cf

added README

view details

Tom Hombergs

commit sha 005713d57385745fb78df8b83bea7bb538bdd946

BuckPal -> CashPal

view details

Tom Hombergs

commit sha e82850920f9087af754394f15f3d1e93d903e53e

added example configuration parameter to show how to "cleanly" inject configuration parameters into the application

view details

Tom Hombergs

commit sha 8bde95472d7a21adf4424d8580995396e97c5ac1

simplifiex code examples

view details

Tom Hombergs

commit sha ae36ef2b8ffd968342c78c918a5293f013e33b48

fixed missing optional references

view details

push time in 4 months

issue commentspring-projects/spring-framework

Please add support for beannamegenerator in ConfigurationClassBeanDefinitionReader

The names is fixed just as it is in xml when declaring a bean, when you name a bean explicitly a name won't be generated. Beans are only generated when components are scanned. Using the @ComponentScan it is possible to pass in a BeanNameGenerator to use.

hosea

comment created time in 4 months

issue commentspring-projects/spring-boot

Add some guidance to the reference documentation about diagnosing unexpected property values

If I remember correctly the environment issue arose due to use an SpEL expression, #{environment} instead of a value expression, ${environment}. The SpEL expression resolves to the Environment instance configured, the value expression would indeed fail. So the first was due to a faulty use of SpEL to obtain a pre-configured property.

The classpath isn't indeed default set but when set through env or system properties it might be confusing.

Adding additional information on how to resolve/investigate this will certainly help. Another addition could be a best practice for naming properties, like to put them in a application/component namespace, so that they don't get mixed up with other properties.

mdeinum

comment created time in 4 months

push eventmdeinum/securing-devops

Marten Deinum

commit sha 39fa3eba1a2285fc6e0ec1c650f75a1f08cf9168

Fix CircleCI Build

view details

push time in 4 months

push eventmdeinum/securing-devops

Marten Deinum

commit sha 16004cee20376c2eea2b2c841d653a56f1c87188

Fix CircleCI Build

view details

push time in 4 months

push eventmdeinum/securing-devops

Marten Deinum

commit sha c031806b9479754f062cccc3ce7a7235553d609d

Fix CircleCI Build

view details

push time in 4 months

push eventmdeinum/securing-devops

Marten Deinum

commit sha 65ab306b81866bb03afae84393d3ac022be3440d

Fix CircleCI Build

view details

push time in 4 months

push eventmdeinum/securing-devops

Marten Deinum

commit sha 85c58997651ba8b9975805df0bf1990914b99d00

Fix CircleCI Build

view details

push time in 4 months

push eventmdeinum/securing-devops

Marten Deinum

commit sha 7efd7c65930eb7f2fbce156a8dd918f73fcf86bc

Fix CircleCI Build

view details

push time in 4 months

push eventmdeinum/securing-devops

Marten Deinum

commit sha caab18fdfe53ebaa87eb6dcc5ea046e1c37976d3

Fix CircleCI Build

view details

push time in 4 months

push eventmdeinum/securing-devops

Marten Deinum

commit sha 380c9f56f144faf1208211fce3cc09bb97d7254a

Fix CircleCI Build

view details

push time in 4 months

push eventmdeinum/securing-devops

Marten Deinum

commit sha 4c25b646545e8bc45517afe120af4f02938e1a8b

Fix CircleCI Build

view details

push time in 4 months

push eventmdeinum/securing-devops

Marten Deinum

commit sha f549944cffe3bbfa1755ca55f9b06b57f092b8d4

Fix CircleCI build

view details

push time in 4 months

push eventmdeinum/securing-devops

Marten Deinum

commit sha e67de58cf65aa0481378a06f4f4b290b21aba234

Fix CircleCI build

view details

push time in 4 months

push eventmdeinum/securing-devops

Marten Deinum

commit sha b3e159d5f90e2d5cd6aadd2ee8ffa01ad6175655

Fix CircleCI build

view details

push time in 4 months

push eventmdeinum/securing-devops

Marten Deinum

commit sha c02707d7df69c5d47e32345b01bebde9011f7960

Fix CircleCI build

view details

push time in 4 months

push eventmdeinum/securing-devops

Marten Deinum

commit sha 746a479a5723f38ed63712acffe7273e7eb09d75

Fix CircleCI build

view details

push time in 4 months

push eventmdeinum/securing-devops

Marten Deinum

commit sha 3c3e0139fb989de7c676c022370744fd00e36d4a

Fix CircleCI build

view details

push time in 4 months

push eventmdeinum/securing-devops

Marten Deinum

commit sha 2164b458dea9347e5774b2fe8c9ac89c872ec3e9

Fix circleci build

view details

push time in 4 months

push eventmdeinum/securing-devops

Marten Deinum

commit sha 0c1181113419b593fae8f423e8febdab2d55426e

Fix circleci build

view details

push time in 4 months

push eventmdeinum/securing-devops

Marten Deinum

commit sha c8830ee9ea172bee40bd45d9c3bc01d84470fcae

Fix circleci build

view details

push time in 4 months

push eventmdeinum/securing-devops

Marten Deinum

commit sha da1499fb6eae83c4c654aa9708edc297e54b5ad3

Fix circleci build

view details

push time in 4 months

push eventmdeinum/securing-devops

Marten Deinum

commit sha 724123db0c629f7b3a353d1314967f28b11db804

Fix circleci build

view details

push time in 4 months

push eventmdeinum/securing-devops

Marten Deinum

commit sha 058c0ef34455deaa15513607ea8a5a2e9e9cd937

Add deploy to cloudfoundry

view details

push time in 4 months

push eventmdeinum/securing-devops

Marten Deinum

commit sha 6fda86ad304b5d720aed590301212eb835331680

Force rescan in tlsobs

view details

push time in 4 months

push eventmdeinum/securing-devops

Marten Deinum

commit sha 6a58df812142d9b4c946b99334a60914b46daf26

Cleanup

view details

push time in 4 months

push eventmdeinum/securing-devops

Marten Deinum

commit sha fed4b92557903394e007ee39acde22ee286a69b7

Polish

view details

push time in 4 months

push eventmdeinum/securing-devops

Marten Deinum

commit sha 05983a6852743db5a0a730387de9186aecbfac76

Polish

view details

push time in 4 months

push eventmdeinum/securing-devops

Marten Deinum

commit sha 7d72d9ea49544ec5082a98e770248309a7660294

Polish

view details

push time in 4 months

push eventmdeinum/securing-devops

Marten Deinum

commit sha 96ecd379f4579ee911e9c8c1db35526aaa71e50e

Polish

view details

push time in 4 months

push eventmdeinum/securing-devops

Marten Deinum

commit sha 12696d2b379414682293cc4bfe94e42813bd19fb

Rescan

view details

push time in 4 months

push eventmdeinum/securing-devops

Marten Deinum

commit sha b6fbbac0bc882ba56d074b7ba49ad46439ef00e8

Expose SSL port

view details

push time in 4 months

push eventmdeinum/securing-devops

Marten Deinum

commit sha d7dbbb4509b51af20947789c20098c20c0ec9f5e

Start Container

view details

push time in 4 months

push eventmdeinum/securing-devops

Marten Deinum

commit sha 053fcc2903ab58ec73f3309c2dcaa23b39cdd723

Start Container

view details

push time in 4 months

push eventmdeinum/securing-devops

Marten Deinum

commit sha 840719ad951cf36d7e14b6684b10d22241bef3fa

Polish

view details

push time in 4 months

push eventmdeinum/securing-devops

Marten Deinum

commit sha b36235a57e74dccbea80bbaaf6aaba23d784384c

Proper Spring Boot in Container app

view details

push time in 4 months

push eventmdeinum/securing-devops

Marten Deinum

commit sha 76a46b6ac32b0a7797a74ab377846e72cd0d1450

Proper Spring Boot in Container app

view details

push time in 4 months

push eventmdeinum/securing-devops

Marten Deinum

commit sha 9fb90ca31d52b646c0c55c184c35623f14c6afba

Enable SSL

view details

push time in 4 months

push eventmdeinum/securing-devops

Marten Deinum

commit sha f067154973e2ff8c7bcac18586fe865d33d5aacb

Checkout sources for zap proxy

view details

push time in 4 months

push eventmdeinum/securing-devops

Marten Deinum

commit sha 824b7abbfac1afaf4c6a02886babb9eb6f71c2e0

Move dependency check to seperate step

view details

push time in 4 months

push eventmdeinum/securing-devops

Marten Deinum

commit sha b93aea380b64e293c93eebdb47dfc08c1a43d673

Move to workflow, for parallelism

view details

push time in 4 months

push eventmdeinum/securing-devops

Marten Deinum

commit sha 2bd4bc25ce6c6d840d2fc537ce7d56251bda1f7d

Move to workflow, for parallelism

view details

push time in 4 months

push eventmdeinum/securing-devops

Marten Deinum

commit sha 186ce5c733ff14d32a5f5bd533dcc84ec389d6d5

Move to workflow, for parallelism

view details

push time in 4 months

push eventmdeinum/securing-devops

Marten Deinum

commit sha 52d79fa2ed8ef774c215ddbc586f35999998069d

Move to workflow, for parallelism

view details

push time in 4 months

push eventmdeinum/securing-devops

Marten Deinum

commit sha 72e4a7b208a0d042c615f3f1c3b6f0a73605df27

Move to workflow, for parallelism

view details

push time in 4 months

push eventmdeinum/securing-devops

Marten Deinum

commit sha 736deb7506b603ad4503b8bbdfc12a1a7406d0d5

Move to workflow, for parallelism

view details

push time in 4 months

push eventmdeinum/securing-devops

Marten Deinum

commit sha ab16caa722686e62c26d874e03bc26c279f7cbea

Move to workflow, for parallelism

view details

push time in 4 months

issue openedspring-projects/spring-boot

Document "reserved" property names.

Lately I have been answering question on stackoverflow for people using "reserved" property names. Like env, environment, classpath and the likes. I think it would be beneficial to add a note/section to the reference guide mentioning those properties. This both as to add clarity and as a reference for answering questions.

See: https://stackoverflow.com/questions/58387443/spring-boot-reading-different-value-for-one-key-from-application-properties

created time in 4 months

push eventmdeinum/mdeinum.github.io

Marten Deinum

commit sha bea450c849cb555a792930af3a97b96bbbc82ee3

Add post about Large File Uploads with Spring Boot

view details

push time in 5 months

more