File tree Expand file tree Collapse file tree 9 files changed +10
-51
lines changed
java/org/couchbase/quickstart Expand file tree Collapse file tree 9 files changed +10
-51
lines changed Original file line number Diff line number Diff line change 3838 <groupId >org.springframework.boot</groupId >
3939 <artifactId >spring-boot-starter-web</artifactId >
4040 </dependency >
41- <dependency >
42- <groupId >org.springframework.boot</groupId >
43- <artifactId >spring-boot-starter-thymeleaf</artifactId >
44- </dependency >
4541 <dependency >
4642 <groupId >org.springframework.boot</groupId >
4743 <artifactId >spring-boot-starter-test</artifactId >
9793 </dependencies >
9894
9995 <build >
100- <resources >
101- <resource >
102- <directory >src/main/resources</directory >
103- <includes >
104- <include >*.properties</include >
105- </includes >
106- </resource >
107- </resources >
10896 <plugins >
10997 <plugin >
11098 <groupId >org.springframework.boot</groupId >
Original file line number Diff line number Diff line change 33import org .springframework .boot .SpringApplication ;
44import org .springframework .boot .autoconfigure .security .servlet .SecurityAutoConfiguration ;
55import org .springframework .boot .autoconfigure .SpringBootApplication ;
6- import org .springframework .web .servlet .config .annotation .EnableWebMvc ;
76
87@ SpringBootApplication (exclude = SecurityAutoConfiguration .class , proxyBeanMethods = false )
98public class Application {
Original file line number Diff line number Diff line change 55import org .springframework .web .servlet .ModelAndView ;
66
77
8- @ Controller
9-
8+ //@Controller
109public class IndexController {
1110
12- @ RequestMapping ("/" )
13- public ModelAndView index () {
14- return new ModelAndView ("redirect:/swagger-ui/ " );
15- }
11+ // @RequestMapping("/")
12+ // public ModelAndView index() {
13+ // return new ModelAndView("index.html ");
14+ // }
1615}
Original file line number Diff line number Diff line change 11spring.couchbase.bootstrap-hosts =localhost
22spring.couchbase.bucket.name =user_profile
33spring.couchbase.bucket.user =Administrator
4- spring.couchbase.bucket.password =password
4+ spring.couchbase.bucket.password =password
Original file line number Diff line number Diff line change 11< html >
22< head >
3- < title > Getting Started: Serving Web Content </ title >
3+ < title > Couchbase & Java Getting Started </ title >
44 < meta http-equiv ="Content-Type " content ="text/html; charset=UTF-8 " />
55</ head >
6- < body >
7- < p > Get your greeting </ p >
6+ < body onload =" window.location = '/swagger-ui/' " >
7+ < a href =" /swagger-ui/ " > Click here to see the API </ a >
88</ body >
99</ html >
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11spring.couchbase.bootstrap-hosts =localhost
22spring.couchbase.bucket.name =user_profile
33spring.couchbase.bucket.user =Administrator
4- spring.couchbase.bucket.password =password
4+ spring.couchbase.bucket.password =password
You can’t perform that action at this time.
0 commit comments