Skip to content

Commit

Permalink
Start from scratch
Browse files Browse the repository at this point in the history
  • Loading branch information
nfrankel committed Feb 28, 2015
1 parent 48fbb1c commit 790e5d0
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 24 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ application.pid
file*.txt
xml*.xml
target/
.idea
enhanced-pet-clinic.iml
15 changes: 3 additions & 12 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,6 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-actuator</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-remote-shell</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.webflow</groupId>
<artifactId>spring-webflow</artifactId>
Expand Down Expand Up @@ -225,10 +217,6 @@
<artifactId>commons-lang</artifactId>
<version>2.4</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-social-linkedin</artifactId>
</dependency>
</dependencies>

<build>
Expand All @@ -245,6 +233,9 @@
</dependencies>
<configuration>
<classifier>exec</classifier>
<jvmArguments>
-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005
</jvmArguments>
</configuration>
</plugin>
<!-- <plugin> <groupId>pl.project13.maven</groupId> <artifactId>git-commit-id-plugin</artifactId>
Expand Down
8 changes: 0 additions & 8 deletions src/main/java/sample/ui/SampleWebUiApplication.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
package sample.ui;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.actuate.system.ApplicationPidListener;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;
Expand All @@ -29,14 +28,7 @@
public class SampleWebUiApplication {

public static void main(String[] args) throws Exception {
// new Thread(new Runnable() {
// @Override
// public void run() {
// DatabaseManagerSwing.main(new String[] {});
// }
// }).start();
SpringApplication springApplication = new SpringApplication(SampleWebUiApplication.class);
springApplication.addListeners(new ApplicationPidListener());
springApplication.run(args);
}
}
4 changes: 2 additions & 2 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# CUSTOM
debug=true
#server.port=8090
server.port=8090

rememberMeToken=enhancedPetClinic
rememberMeParameter=rememberMe
Expand Down Expand Up @@ -70,7 +70,7 @@ spring.jpa.show-sql=true
#management.port= # defaults to 'server.port'
#management.address= # bind to a specific NIC
#management.security.enabled=false
management.contextPath=/manage
#management.contextPath=/manage
management.security.role=SUPERUSER

# REMOTE SHELL
Expand Down
6 changes: 4 additions & 2 deletions src/main/resources/templates/fragments/footer.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<table th:fragment="footer" class="footer" style="width: 100%;">
<tr>
<td></td>
<td style="font-size: 10px">Thanks to Github and
<a href="https://github.com/arnaldop/enhanced-pet-clinic">https://github.com/arnaldop/enhanced-pet-clinic</a></td>
<td style="align: right; aborder-style: solid; aborder-width: 5px;">
<img src="../../images/springsource-logo.png"
th:src="@{/images/springsource-logo.png}"
Expand All @@ -11,7 +12,8 @@
<img th:src="@{/images/banner-graphic.png}" src="../../images/banner-graphic.png" class="img-responsive" width="100%" />
<table th:replace="fragments/footer :: footer" class="footer">
<tr>
<td></td>
<td style="font-size: 10px">Thanks to Github and
<a href="https://github.com/arnaldop/enhanced-pet-clinic">https://github.com/arnaldop/enhanced-pet-clinic</a></td>
<td align="right">
<img src="../../images/springsource-logo.png"
th:src="@{/images/springsource-logo.png}"
Expand Down

0 comments on commit 790e5d0

Please sign in to comment.