Skip to content
This repository was archived by the owner on Sep 27, 2023. It is now read-only.

Support spring.config.type property #23#35

Merged
slaskawi merged 1 commit intoinfinispan:masterfrom
lburgazzoli:github-23
Jul 11, 2017
Merged

Support spring.config.type property #23#35
slaskawi merged 1 commit intoinfinispan:masterfrom
lburgazzoli:github-23

Conversation

@lburgazzoli
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Contributor

@slaskawi slaskawi left a comment

Choose a reason for hiding this comment

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

Looks good, only some minor things found...

try {
conditionContext.getBeanFactory().getBean(InfinispanRemoteConfigurer.class);
return true;
} catch (NoSuchBeanDefinitionException e) {
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.

It seems most of this is just reformatting changes. Could you please unstage it from commit?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yeah, looks like IDEA has reformatted the code (it looks like the code use a mixed format as some files are set to 3 spaces indentation and others 4 spaces), I will fix it.

},
properties = {
"spring.main.banner-mode=off",
"spring.cache.type=SIMPLE",
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.

This should be set to none to match the assertions.

InfinispanEmbeddedCacheManagerAutoConfiguration.class
},
properties = {
"spring.main.banner-mode=off",
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.

This one could probably be removed. It adds only noise.

Copy link
Copy Markdown
Contributor Author

@lburgazzoli lburgazzoli Jul 10, 2017

Choose a reason for hiding this comment

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

It is used to avoid spring boot printing its banner during tests, I will move it to application.properties

@lburgazzoli
Copy link
Copy Markdown
Contributor Author

Done

@slaskawi slaskawi merged commit 6097e80 into infinispan:master Jul 11, 2017
@slaskawi
Copy link
Copy Markdown
Contributor

Awesome work! Thanks @lburgazzoli!

@lburgazzoli lburgazzoli deleted the github-23 branch July 11, 2017 06:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants