diff --git a/pay-service/pom.xml b/pay-service/pom.xml new file mode 100644 index 0000000..08b11f4 --- /dev/null +++ b/pay-service/pom.xml @@ -0,0 +1,28 @@ + + 4.0.0 + + cn.mayiming + javamemories-parent + 1.0-SNAPSHOT + + + pay-service + jar + + pay-service + http://maven.apache.org + + + UTF-8 + + + + + junit + junit + 3.8.1 + test + + + diff --git a/pay-service/src/main/java/cn/mayiming/App.java b/pay-service/src/main/java/cn/mayiming/App.java new file mode 100644 index 0000000..93abe3a --- /dev/null +++ b/pay-service/src/main/java/cn/mayiming/App.java @@ -0,0 +1,13 @@ +package cn.mayiming; + +/** + * Hello world! + * + */ +public class App +{ + public static void main( String[] args ) + { + System.out.println( "Hello World!" ); + } +} diff --git a/pay-service/src/test/java/cn/mayiming/AppTest.java b/pay-service/src/test/java/cn/mayiming/AppTest.java new file mode 100644 index 0000000..2244532 --- /dev/null +++ b/pay-service/src/test/java/cn/mayiming/AppTest.java @@ -0,0 +1,38 @@ +package cn.mayiming; + +import junit.framework.Test; +import junit.framework.TestCase; +import junit.framework.TestSuite; + +/** + * Unit test for simple App. + */ +public class AppTest + extends TestCase +{ + /** + * Create the test case + * + * @param testName name of the test case + */ + public AppTest( String testName ) + { + super( testName ); + } + + /** + * @return the suite of tests being tested + */ + public static Test suite() + { + return new TestSuite( AppTest.class ); + } + + /** + * Rigourous Test :-) + */ + public void testApp() + { + assertTrue( true ); + } +} diff --git a/pom.xml b/pom.xml index 03195fd..56a6410 100644 --- a/pom.xml +++ b/pom.xml @@ -93,6 +93,8 @@ order-service javamemories-gateway request-test + pay-service + stock-service diff --git a/stock-service/pom.xml b/stock-service/pom.xml new file mode 100644 index 0000000..952e822 --- /dev/null +++ b/stock-service/pom.xml @@ -0,0 +1,28 @@ + + 4.0.0 + + cn.mayiming + javamemories-parent + 1.0-SNAPSHOT + + + stock-service + jar + + stock-service + http://maven.apache.org + + + UTF-8 + + + + + junit + junit + 3.8.1 + test + + + diff --git a/stock-service/src/main/java/cn/mayiming/App.java b/stock-service/src/main/java/cn/mayiming/App.java new file mode 100644 index 0000000..93abe3a --- /dev/null +++ b/stock-service/src/main/java/cn/mayiming/App.java @@ -0,0 +1,13 @@ +package cn.mayiming; + +/** + * Hello world! + * + */ +public class App +{ + public static void main( String[] args ) + { + System.out.println( "Hello World!" ); + } +} diff --git a/stock-service/src/test/java/cn/mayiming/AppTest.java b/stock-service/src/test/java/cn/mayiming/AppTest.java new file mode 100644 index 0000000..2244532 --- /dev/null +++ b/stock-service/src/test/java/cn/mayiming/AppTest.java @@ -0,0 +1,38 @@ +package cn.mayiming; + +import junit.framework.Test; +import junit.framework.TestCase; +import junit.framework.TestSuite; + +/** + * Unit test for simple App. + */ +public class AppTest + extends TestCase +{ + /** + * Create the test case + * + * @param testName name of the test case + */ + public AppTest( String testName ) + { + super( testName ); + } + + /** + * @return the suite of tests being tested + */ + public static Test suite() + { + return new TestSuite( AppTest.class ); + } + + /** + * Rigourous Test :-) + */ + public void testApp() + { + assertTrue( true ); + } +}