Skip to content
This repository has been archived by the owner on Mar 31, 2022. It is now read-only.

Commit

Permalink
Configuration properties must be defined and accessed using lower-cas…
Browse files Browse the repository at this point in the history
…e kebab format jmix-framework/jmix#239

Configuration properties names changed to kebab case in all *.properties files;
Configuration properties names changed to kebab case everywhere property value is accessed from the code;
application.properties in new project templates now use kebab case property names;
  • Loading branch information
gorbunkov committed Sep 30, 2021
1 parent 514d122 commit 2bc7493
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public class SearchAwsAutoConfiguration {
protected ElasticsearchSslConfigurer elasticsearchSslConfigurer;

@Bean("search_RestHighLevelClient")
@ConditionalOnProperty(name = "jmix.search.elasticsearch.aws.iamAuth", matchIfMissing = true)
@ConditionalOnProperty(name = "jmix.search.elasticsearch.aws.iam-auth", matchIfMissing = true)
public RestHighLevelClient elasticSearchClient() {
log.debug("Create ES Client with AWS IAM Authentication");
String esUrl = searchProperties.getElasticsearchUrl();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
@Configuration
@Import(SearchConfiguration.class)
@ConditionalOnClass(Job.class)
@ConditionalOnProperty(name = "jmix.search.useDefaultIndexingQueueProcessingQuartzConfiguration", matchIfMissing = true)
@ConditionalOnProperty(name = "jmix.search.use-default-indexing-queue-processing-quartz-configuration", matchIfMissing = true)
public class IndexingQueueProcessingScheduleAutoConfiguration {

private static final Logger log = LoggerFactory.getLogger(IndexingQueueProcessingScheduleAutoConfiguration.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
jmix.ui.menuConfig = io/jmix/searchui/menu.xml
jmix.ui.menu-config = io/jmix/searchui/menu.xml

Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@
logging.level.eclipselink.logging.sql = info
logging.level.io.jmix.search = debug

jmix.core.availableLocales = en,ru
jmix.search.changedEntitiesIndexingEnabled=false
jmix.core.available-locales = en,ru
jmix.search.changed-entities-indexing-enabled=false

0 comments on commit 2bc7493

Please sign in to comment.