Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
traffic-front
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangxiaoming
traffic-front
Commits
2473dbeb
Commit
2473dbeb
authored
Jun 22, 2018
by
neo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[DEV] add converter temp file
parent
2b05f439
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
1 deletion
+32
-1
pom.xml
atms-api/pom.xml
+7
-1
ControllerApiTranslator.java
...c/test/java/pwc/taxtech/atms/ControllerApiTranslator.java
+19
-0
api_temp.properties
atms-api/src/test/resources/api_temp.properties
+6
-0
No files found.
atms-api/pom.xml
View file @
2473dbeb
...
...
@@ -383,6 +383,12 @@
</includes>
<filtering>
true
</filtering>
<!-- replace variable attribute or not -->
</resource>
<resource>
<directory>
test/resources
</directory>
<includes>
<include>
**/*.properties
</include>
</includes>
</resource>
</resources>
<plugins>
<plugin>
...
...
@@ -395,7 +401,7 @@
</archive>
<webResources>
<resource>
<directory>
src/main/webapp-filtered
</directory>
<directory>
test
</directory>
<includes>
<include>
**
</include>
</includes>
...
...
atms-api/src/test/java/pwc/taxtech/atms/ControllerApiTranslator.java
0 → 100644
View file @
2473dbeb
package
pwc
.
taxtech
.
atms
;
import
org.apache.ibatis.io.Resources
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
java.io.BufferedReader
;
import
java.io.IOException
;
public
class
ControllerApiTranslator
{
public
static
void
main
(
String
[]
args
)
throws
IOException
{
BufferedReader
reader
=
new
BufferedReader
(
Resources
.
getResourceAsReader
(
"api_temp.properties"
));
String
line
=
""
;
while
((
line
=
reader
.
readLine
())!=
null
){
System
.
out
.
println
(
line
);
}
}
}
atms-api/src/test/resources/api_temp.properties
0 → 100644
View file @
2473dbeb
[HttpGet,
Route("GetCustomsInvoicesByPeriodId/{periodId}")]
public
IHttpActionResult
GetCustomsInvoicesByPeriodId(int
periodId)
{
return
Ok(_customsInvoiceService.GetCustomsInvoicesByPeriodId(periodId));
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment