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
76a41124
Commit
76a41124
authored
Jan 24, 2020
by
Alexander Lercher
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/multilayer' into develop
parents
85e47ff6
756a130d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
33 additions
and
13 deletions
+33
-13
.gitignore
.gitignore
+2
-1
swagger.yml
...hub/semantic-linking-microservice/app/configs/swagger.yml
+26
-12
multilayer.png
...hub/semantic-linking-microservice/app/rest/multilayer.png
+0
-0
multilayer.py
...-hub/semantic-linking-microservice/app/rest/multilayer.py
+5
-0
No files found.
.gitignore
View file @
76a41124
...
...
@@ -2,4 +2,5 @@
**/.vscode
**/.idea
*.log
**/env
\ No newline at end of file
**/env
**/venv
src/data-hub/semantic-linking-microservice/app/configs/swagger.yml
View file @
76a41124
...
...
@@ -28,19 +28,33 @@ paths:
responses
:
200
:
description
:
"
Successful
echo
of
request
data"
/graphinfo
:
/agi/multilayer/multilayer.png
:
get
:
operationId
:
"
rest.graphinfo.get"
tags
:
-
"
GraphInfo"
summary
:
"
Get
info
about
clustered
nodes"
description
:
"
Returns
multiple
metrics
for
all
nodes
created
by
analyzing
and
clustering
the
blockchain
traces"
parameters
:
[]
responses
:
200
:
description
:
"
Successful
operation"
schema
:
$ref
:
"
#/definitions/NodeInfo"
operationId
:
"
rest.multilayer.get_image"
tags
:
-
"
Multilayer"
summary
:
"
Returning
the
multilayer
created
from
AGI
data"
parameters
:
[]
produces
:
-
"
image/png"
responses
:
200
:
description
:
"
Successful
echo
of
request
data"
# /graphinfo:
# get:
# operationId: "rest.graphinfo.get"
# tags:
# - "GraphInfo"
# summary: "Get info about clustered nodes"
# description: "Returns multiple metrics for all nodes created by analyzing and clustering the blockchain traces"
# parameters: []
# responses:
# 200:
# description: "Successful operation"
# schema:
# $ref: "#/definitions/NodeInfo"
definitions
:
NodeInfo
:
...
...
src/data-hub/semantic-linking-microservice/app/rest/multilayer.png
0 → 100644
View file @
76a41124
420 KB
src/data-hub/semantic-linking-microservice/app/rest/multilayer.py
0 → 100644
View file @
76a41124
from
flask
import
request
,
Response
,
send_file
import
pickle
as
json
def
get_image
():
return
send_file
(
"./rest/multilayer.png"
,
mimetype
=
"image/png"
)
\ 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