Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SMART
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UNI-KLU
SMART
Commits
09582cf4
Commit
09582cf4
authored
Aug 25, 2020
by
Alexander Lercher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed tests
parent
f140e2c9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
swagger.yml
...b-in/trace-retrieval-microservice/app/configs/swagger.yml
+3
-3
manage_sys_paths.py
...race-retrieval-microservice/app/tests/manage_sys_paths.py
+2
-1
No files found.
src/transaction-hub-in/trace-retrieval-microservice/app/configs/swagger.yml
View file @
09582cf4
...
@@ -15,7 +15,7 @@ basePath: "/api"
...
@@ -15,7 +15,7 @@ basePath: "/api"
paths
:
paths
:
/debug
:
/debug
:
post
:
post
:
operationId
:
"
r
est
.debug.echo"
operationId
:
"
r
outes
.debug.echo"
tags
:
tags
:
-
"
Echo"
-
"
Echo"
summary
:
"
Echo
function
for
debugging
purposes"
summary
:
"
Echo
function
for
debugging
purposes"
...
@@ -32,7 +32,7 @@ paths:
...
@@ -32,7 +32,7 @@ paths:
/trace
:
/trace
:
post
:
post
:
operationId
:
"
r
est
.blockchain_trace.post"
operationId
:
"
r
outes
.blockchain_trace.post"
tags
:
tags
:
-
"
Blockchain
Trace"
-
"
Blockchain
Trace"
summary
:
"
Add
a
new
blockchain
trace
to
SMART"
summary
:
"
Add
a
new
blockchain
trace
to
SMART"
...
@@ -50,7 +50,7 @@ paths:
...
@@ -50,7 +50,7 @@ paths:
400
:
400
:
description
:
"
Invalid
input"
description
:
"
Invalid
input"
get
:
get
:
operationId
:
"
r
est
.blockchain_trace.get"
operationId
:
"
r
outes
.blockchain_trace.get"
tags
:
tags
:
-
"
Blockchain
Trace"
-
"
Blockchain
Trace"
summary
:
"
Get
blockchain
traces"
summary
:
"
Get
blockchain
traces"
...
...
src/transaction-hub-in/trace-retrieval-microservice/app/tests/manage_sys_paths.py
View file @
09582cf4
# add modules folder to interpreter path
# add modules folder to interpreter path
import
sys
import
sys
import
os
import
os
modules_paths
=
[
'../'
,
'../../../../modules/'
]
modules_paths
=
[
'../'
,
'../../../../modules/'
,
'../../../modules/'
]
for
path
in
modules_paths
:
for
path
in
modules_paths
:
if
os
.
path
.
exists
(
path
):
if
os
.
path
.
exists
(
path
):
print
(
path
)
sys
.
path
.
insert
(
1
,
path
)
sys
.
path
.
insert
(
1
,
path
)
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