title: Trouble using Spring Config Server in jhipster-registry
body: <p>I created a microservice architecture using JHipster. I am using the jhipster-registry v2.8.0. I renamed the 'dev' profile to 'devdmi' because I will have many 'dev' profiles. It is working OK using the "dev,native" profiles for the jhipster-registry and each microservice including it's application-devdmi.yml / boostrap-devdmi.yml files. </p>
  
  <p>I tried to convert this configuration over to using a Git repo. I built my Git repo with .yml files, but I'm not exactly sure of the configuration to use. At the moment I've got:</p>
  
  <pre><code>MyConfig/app1/MyApp1-devdmi.yml
  MyConfig/app2/MyApp2-devdmi.yml
  </code></pre>
  
  <p>I also tried using:</p>
  
  <pre><code>MyConfig/MyApp1-devdmi.yml
  MyConfig/MyApp2-devdmi.yml
  </code></pre>
  
  <p>In MyApp1, I renamed src/main/resources/config/application-devdmi.yml to application-devdmi.yml.bak hoping it would pick up the config from the jhipster-registry acting as a Spring Cloud Config Server. </p>
  
  <p>In MyApp1, I have a bootstrap-devdmi.yml with:</p>
  
  <pre><code>spring:
      application:
          name: my-app-1
      cloud:
          config:
              fail-fast: true
              uri: http://admin:${jhipster.registry.password}@my.host.com:8761/config
              name: MyApp1
              profile: devdmi 
              label: master 
  </code></pre>
  
  <p>The jhipster-registry starts up and shows it is connected to the Git repo by looking at the Configuration webpage. </p>
  
  <p>MyApps1 doesn't start and throws an error about Liquibase not knowing which database to connect to:</p>
  
  <pre><code>2017-05-23 13:09:52.669  WARN 60704 --- [           main]         o.s.boot.SpringApplication               : Error handling failed (Error    creating bean with name 'delegatingApplicationListener' defined in class   path resource [org/springframework/security/config/annotation    /web/configuration/WebSecurityConfiguration.class]: BeanPostProcessor  before instantiation of bean failed; nested exception is  org.springframework.beans.factory.BeanCreationException: Error creating  bean with name 'org.springframework.transaction.config.internalTransactionAdvisor'  defined in class path resource [org/springframework/transaction/annotation/ProxyTransactionManagementConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate    [org.springframework.transaction.interceptor.BeanFactoryTransactionAttributeSourceAdvisor]: Factory method 'transactionAdvisor' threw exception; nested exception is java.lang.NullPointerException)
  2017-05-23 13:09:52.683 ERROR 60704 --- [           main] o.s.b.d.LoggingFailureAnalysisReporter   : 
  
  ***************************
  APPLICATION FAILED TO START
  ***************************
  
  Description:
  
  Cannot determine embedded database driver class for database type NONE
  </code></pre>
  
  <p>Any ideas?</p>