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

Please update <service> name to comply with Spring Boot 2 rules for externalized configuration #7

Closed
ka4ok85 opened this issue Feb 5, 2018 · 2 comments
Labels

Comments

@ka4ok85
Copy link
Contributor

ka4ok85 commented Feb 5, 2018

Please see https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.0-Migration-Guide#externalized-configuration:

All prefixes must be in kebab-case format (lower-case, hyphen separated), acme.myProject or acme.my_project are invalid - you must use acme.my-project here

Steps to reproduce:

  1. Spring Boot version: 2.0.0.M7
  2. Watson-spring-boot-starter version: 0.0.2
  3. During startup following error returned:

Configuration property name 'watson.language_translator' is not valid:

Invalid characters: '_' Bean: com.ibm.watson.developer_cloud.spring.boot.WatsonAutoConfiguration Reason: Canonical names should be kebab-case ('-' separated), lowercase alpha-numeric characters and must start with a letter

Modify 'watson.language_translator' so that it conforms to the canonical names requirements.

@germanattanasio
Copy link
Contributor

@mkistler ☝️

@ka4ok85
Copy link
Contributor Author

ka4ok85 commented Feb 14, 2018

Resolved in #8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants