瀏覽代碼

added POM etc.

Jonathan LALOU 7 年之前
父節點
當前提交
2b7faf22e1
共有 3 個文件被更改,包括 107 次插入0 次删除
  1. 24
    0
      .gitattributes
  2. 14
    0
      README.md
  3. 69
    0
      pom.xml

+ 24
- 0
.gitattributes 查看文件

@@ -0,0 +1,24 @@
1
+# Auto detect text files and perform LF normalization
2
+
3
+
4
+
5
+# Custom for Visual Studio
6
+*.cs     diff=csharp
7
+*.sln    merge=union
8
+*.csproj merge=union
9
+*.vbproj merge=union
10
+*.fsproj merge=union
11
+*.dbproj merge=union
12
+
13
+# Standard to msysgit
14
+*.doc	 diff=astextplain
15
+*.DOC	 diff=astextplain
16
+*.docx diff=astextplain
17
+*.DOCX diff=astextplain
18
+*.dot  diff=astextplain
19
+*.DOT  diff=astextplain
20
+*.pdf  diff=astextplain
21
+*.PDF	 diff=astextplain
22
+*.rtf	 diff=astextplain
23
+*.RTF	 diff=astextplain
24
+

+ 14
- 0
README.md 查看文件

@@ -0,0 +1,14 @@
1
+**!!! This repository is not linked in any manner to Zinc.io or ZincAPI.com !!!**
2
+
3
+# Abstract #
4
+
5
+Basic server playing as a Fake Zinc.io server.
6
+
7
+# Features #
8
+This allows to get and post orders, without consuming the real API and therefore saving billing...
9
+
10
+# Technical #
11
+* based on Spring Boot, forked from https://github.com/spring-guides/gs-rest-service
12
+* server: Undertow on localhost:9090
13
+* build: ```mvn clean install```
14
+* run  : ```mvn spring-boot:run```

+ 69
- 0
pom.xml 查看文件

@@ -0,0 +1,69 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3
+    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4
+    <modelVersion>4.0.0</modelVersion>
5
+
6
+    <groupId>fr.sayasoft</groupId>
7
+    <artifactId>fake-zinc</artifactId>
8
+    <version>0.1.0</version>
9
+
10
+    <parent>
11
+        <groupId>org.springframework.boot</groupId>
12
+        <artifactId>spring-boot-starter-parent</artifactId>
13
+        <version>1.5.4.RELEASE</version>
14
+    </parent>
15
+
16
+    <dependencies>
17
+        <dependency>
18
+            <groupId>org.springframework.boot</groupId>
19
+            <artifactId>spring-boot-starter-web</artifactId>
20
+            <exclusions>
21
+                <exclusion>
22
+                    <groupId>org.springframework.boot</groupId>
23
+                    <artifactId>spring-boot-starter-tomcat</artifactId>
24
+                </exclusion>
25
+            </exclusions>
26
+        </dependency>
27
+        <dependency>
28
+            <groupId>org.springframework.boot</groupId>
29
+            <artifactId>spring-boot-starter-undertow</artifactId>
30
+        </dependency>
31
+        <dependency>
32
+            <groupId>org.springframework.boot</groupId>
33
+            <artifactId>spring-boot-starter-test</artifactId>
34
+            <scope>test</scope>
35
+        </dependency>
36
+        <dependency>
37
+            <groupId>com.jayway.jsonpath</groupId>
38
+            <artifactId>json-path</artifactId>
39
+            <scope>test</scope>
40
+        </dependency>
41
+    </dependencies>
42
+
43
+    <properties>
44
+        <java.version>1.8</java.version>
45
+    </properties>
46
+
47
+
48
+    <build>
49
+        <plugins>
50
+            <plugin>
51
+                <groupId>org.springframework.boot</groupId>
52
+                <artifactId>spring-boot-maven-plugin</artifactId>
53
+            </plugin>
54
+        </plugins>
55
+    </build>
56
+
57
+    <repositories>
58
+        <repository>
59
+            <id>spring-releases</id>
60
+            <url>https://repo.spring.io/libs-release</url>
61
+        </repository>
62
+    </repositories>
63
+    <pluginRepositories>
64
+        <pluginRepository>
65
+            <id>spring-releases</id>
66
+            <url>https://repo.spring.io/libs-release</url>
67
+        </pluginRepository>
68
+    </pluginRepositories>
69
+</project>