Guest User

Untitled

a guest
Apr 25th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. @Value("${java.keystore.path}")
  2. private String keyStorePath;
  3.  
  4. java:
  5. keystore:
  6. path: /KeyStore.jks
  7.  
  8. @SpringBootApplication
  9. @EnableConfigServer
  10. @ComponentScan(basePackages = {"com.abc.*"})
  11. public class ConfigApplication {
  12.  
  13. public static void main(String[] args) {
  14. SpringApplication.run(ConfigApplication.class, args);
  15. }
  16. }
  17.  
  18. java:
  19. keystore:
  20. path: /KeyStore.jks
  21.  
  22. # MicroServices Properties
  23. spring:
  24. application:
  25. name: Microservice1
  26. profiles:
  27. active: rds
  28. cloud:
  29. config:
  30. uri: http://localhost:8888
  31. fail-fast: true
  32. password: test@123
  33. username: user
Add Comment
Please, Sign In to add comment