This is an automated email from the ASF dual-hosted git repository. nizhikov pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/ignite-extensions.git
commit eb773b8594d0ae5f833b3ca6bfb1ba6243d5a608 Author: Nikolay Izhikov <[email protected]> AuthorDate: Mon Jan 20 22:04:30 2020 +0300 IGNITE-12525: README updated. --- .gitignore | 1 + modules/spring-boot-autoconfigure/README.txt | 19 ++++++++++++++++++- modules/spring-boot-client-autoconfigure/README.txt | 17 ++++++++++++++++- 3 files changed, 35 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 0eb64b5..3a94647 100644 --- a/.gitignore +++ b/.gitignore @@ -14,6 +14,7 @@ pom.xml.tag pom.xml.releaseBackup pom.xml.versionsBackup pom.xml.next +pom-installed.xml release.properties dependency-reduced-pom.xml buildNumber.properties diff --git a/modules/spring-boot-autoconfigure/README.txt b/modules/spring-boot-autoconfigure/README.txt index ae7e34a..d9a1c44 100644 --- a/modules/spring-boot-autoconfigure/README.txt +++ b/modules/spring-boot-autoconfigure/README.txt @@ -1,7 +1,23 @@ Apache Ignite Spring Boot Autoconfigure Module +---------------------------------------- + +Apache Ignite Spring Boot Autoconfigure module provides autoconfiguration capabilities for Spring-boot based applications. + +Features --------------------------- +This module provides the ability to integrate Ignite into you spring-boot application with zero(or minimal) configuration. -Apache Ignite Spring Boot Autoconfigure module provides autoconfigure capabilities for Spring-boot based applications. +After you add this module as a dependency to your spring-boot application +Ignite node will be configured and injected into BeanFactory. + +Algorithm to configure Ignite is the following: + 1. If IgniteConfiguration bean exists in the BeanFactory it will be used. + 2. If IgniteConfiguration bean doesn't exist following rules are applied: + 2.1. Default Ignite configuration created. + 2.2. If IgniteConfigurer bean exists in BeanFactory it will be used to customize IgniteConfiguration. + If a user wants to set custom SPI instances or similar hardcoded values + one should do it with IgniteConfigurer implementation. + 2.3 Application properties applied to IgniteConfiguration. Prefix for the properties is `ignite`. Importing Spring Boot Autoconfigure Module In Maven Project ---------------------------------------- @@ -26,3 +42,4 @@ interested in): </dependencies> ... </project> + diff --git a/modules/spring-boot-client-autoconfigure/README.txt b/modules/spring-boot-client-autoconfigure/README.txt index f60df1c..b78b2ee 100644 --- a/modules/spring-boot-client-autoconfigure/README.txt +++ b/modules/spring-boot-client-autoconfigure/README.txt @@ -1,7 +1,21 @@ Apache Ignite Client Spring Boot Autoconfigure Module +---------------------------------------- + +Apache Ignite Client Spring Boot Autoconfigure module provides autoconfiguration capabilities for Spring-boot based applications. + +Features --------------------------- +This module provides the ability to integrate IgniteClient into you spring-boot application with zero(or minimal) configuration. -Apache Ignite Spring Boot Autoconfigure module provides autoconfigure capabilities for Spring-boot based applications. +After you add this module as a dependency to your spring-boot application +IgniteClient will be configured and injected into BeanFactory. + +Algorithm to configure Ignite is the following: + 1. If ClientConfiguration bean exists in the BeanFactory it will be used. + 2. If ClientConfiguration bean doesn't exist following rules are applied: + 2.1. Default ClientConfiguration configuration created. + 2.2. If IgniteClientConfigurer bean exists in BeanFactory it will be used to customize ClientConfiguration. + 2.3 Application properties applied to ClientConfiguration. Prefix for the properties is `ignite-client`. Importing Spring Boot Autoconfigure Module In Maven Project ---------------------------------------- @@ -26,3 +40,4 @@ interested in): </dependencies> ... </project> +
