Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Value("${java.keystore.path}")
- private String keyStorePath;
- java:
- keystore:
- path: /KeyStore.jks
- @SpringBootApplication
- @EnableConfigServer
- @ComponentScan(basePackages = {"com.abc.*"})
- public class ConfigApplication {
- public static void main(String[] args) {
- SpringApplication.run(ConfigApplication.class, args);
- }
- }
- java:
- keystore:
- path: /KeyStore.jks
- # MicroServices Properties
- spring:
- application:
- name: Microservice1
- profiles:
- active: rds
- cloud:
- config:
- uri: http://localhost:8888
- fail-fast: true
- password: test@123
- username: user
Add Comment
Please, Sign In to add comment