Skip to content

Commit 94de363

Browse files
committed
Update MySQL example service.
1 parent 8b01a75 commit 94de363

File tree

2 files changed

+11
-28
lines changed

2 files changed

+11
-28
lines changed

httprpc-test/src/main/java/org/httprpc/test/mysql/Pet.java

Lines changed: 0 additions & 28 deletions
This file was deleted.

httprpc-test/src/main/java/org/httprpc/test/mysql/PetService.java

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,17 @@
4545
public class PetService extends WebService {
4646
private static final long serialVersionUID = 0;
4747

48+
/**
49+
* Pet interface.
50+
*/
51+
public interface Pet {
52+
public String getName();
53+
public String getOwner();
54+
public String getSpecies();
55+
public String getSex();
56+
public Date getBirth();
57+
}
58+
4859
private static final String DB_URL = "jdbc:mysql://db.local:3306/menagerie?user=root&password=password";
4960

5061
@Override

0 commit comments

Comments
 (0)