Advertisement
Guest User

Untitled

a guest
Mar 25th, 2017
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. package org.fatih.dirlikli.aws.restfulservice.restserver;
  2. import org.springframework.boot.SpringApplication;
  3. import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
  4. import org.springframework.boot.autoconfigure.SpringBootApplication;
  5. import org.springframework.boot.context.web.SpringBootServletInitializer;
  6. import org.springframework.cloud.aws.context.config.annotation.EnableContextCredentials;
  7. import org.springframework.cloud.aws.context.config.annotation.EnableContextRegion;
  8. import org.springframework.cloud.aws.jdbc.config.annotation.EnableRdsInstance;
  9. import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
  10. @SpringBootApplication
  11. @EnableJpaRepositories
  12. @EnableRdsInstance(databaseName=”******”, dbInstanceIdentifier=”******”, username=”******”,password=”******”)
  13. @EnableContextCredentials(accessKey=”******”, secretKey=”******”)
  14. @EnableContextRegion(region=”******”)
  15. public class Application extends SpringBootServletInitializer {
  16. public static void main(String[] args) {
  17. SpringApplication.run(Application.class, args);
  18. }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement