Commit fca8e1d2 authored by Manuel's avatar Manuel Committed by Alexander Lercher

Revert "Auto stash before merge of "feature/business-logic-interface" and...

Revert "Auto stash before merge of "feature/business-logic-interface" and "origin/feature/business-logic-interface""

This reverts commit 8f59badf.
parent 493b9309
...@@ -6,7 +6,7 @@ info: ...@@ -6,7 +6,7 @@ info:
# Import security definitions from global security definition # Import security definitions from global security definition
securityDefinitions: securityDefinitions:
$ref: '../../../../modules/security/security.yml#securityDefinitions' $ref: '../security/security.yml#securityDefinitions'
consumes: consumes:
- "application/json" - "application/json"
...@@ -37,6 +37,8 @@ paths: ...@@ -37,6 +37,8 @@ paths:
/layers: /layers:
post: post:
operationId: "routes.layers.post" operationId: "routes.layers.post"
security:
- JwtRegular: []
tags: tags:
- "Layers" - "Layers"
summary: "Add a new layer [TODO: or overwrite an existing one]" summary: "Add a new layer [TODO: or overwrite an existing one]"
...@@ -54,6 +56,8 @@ paths: ...@@ -54,6 +56,8 @@ paths:
description: "Invalid input" description: "Invalid input"
get: get:
operationId: "routes.layers.get" operationId: "routes.layers.get"
security:
- JwtRegular: []
tags: tags:
- "Layers" - "Layers"
summary: "Get all layer data" summary: "Get all layer data"
...@@ -67,6 +71,8 @@ paths: ...@@ -67,6 +71,8 @@ paths:
/layers/{name}: /layers/{name}:
get: get:
operationId: "routes.layers.get_by_name" operationId: "routes.layers.get_by_name"
security:
- JwtRegular: []
tags: tags:
- "Layers" - "Layers"
summary: "Get single layer data" summary: "Get single layer data"
...@@ -87,6 +93,8 @@ paths: ...@@ -87,6 +93,8 @@ paths:
/layers/{name}/nodes: /layers/{name}/nodes:
get: get:
operationId: "routes.layers.get_nodes" operationId: "routes.layers.get_nodes"
security:
- JwtRegular: []
tags: tags:
- "Layers" - "Layers"
summary: "Get all individual nodes for the layer" summary: "Get all individual nodes for the layer"
...@@ -105,6 +113,8 @@ paths: ...@@ -105,6 +113,8 @@ paths:
description: "Layer not found" description: "Layer not found"
post: post:
operationId: "routes.layers.post_nodes" operationId: "routes.layers.post_nodes"
security:
- JwtRegular: []
tags: tags:
- "Layers" - "Layers"
summary: "Adds a single or multiple nodes to the layer" summary: "Adds a single or multiple nodes to the layer"
...@@ -129,6 +139,8 @@ paths: ...@@ -129,6 +139,8 @@ paths:
/layers/{name}/clusters: /layers/{name}/clusters:
get: get:
operationId: "routes.clustersets.get_by_name" operationId: "routes.clustersets.get_by_name"
security:
- JwtRegular: []
tags: tags:
- "Layers" - "Layers"
summary: "Get all clusters for the layer" summary: "Get all clusters for the layer"
...@@ -149,6 +161,8 @@ paths: ...@@ -149,6 +161,8 @@ paths:
/layers/{name}/timeslices: /layers/{name}/timeslices:
get: get:
operationId: "routes.timeslices.get_by_name" operationId: "routes.timeslices.get_by_name"
security:
- JwtRegular: []
tags: tags:
- "Layers" - "Layers"
summary: "Get all timeslices for the layer" summary: "Get all timeslices for the layer"
...@@ -172,6 +186,8 @@ paths: ...@@ -172,6 +186,8 @@ paths:
/rfc/run: /rfc/run:
post: post:
operationId: "routes.functions.run_agi_clustering_and_graph_creation" operationId: "routes.functions.run_agi_clustering_and_graph_creation"
security:
- JwtRegular: []
tags: tags:
- "Remote function calls" - "Remote function calls"
summary: "Insert locations from AGI, create clusters for starting time and location layers, create graphs for the location clusters" summary: "Insert locations from AGI, create clusters for starting time and location layers, create graphs for the location clusters"
...@@ -186,6 +202,8 @@ paths: ...@@ -186,6 +202,8 @@ paths:
/connectedClusters: /connectedClusters:
get: get:
operationId: "routes.connClusters.get_conn_clusters" operationId: "routes.connClusters.get_conn_clusters"
security:
- JwtRegular: []
tags: tags:
- "Connected" - "Connected"
summary: "Get connected Clusters data" summary: "Get connected Clusters data"
...@@ -199,6 +217,8 @@ paths: ...@@ -199,6 +217,8 @@ paths:
/clusterSimilarity: /clusterSimilarity:
get: get:
operationId: "routes.similarity.get_similarity" operationId: "routes.similarity.get_similarity"
security:
- JwtRegular: []
tags: tags:
- "Similarity" - "Similarity"
summary: "Get data of the similarity between clusters." summary: "Get data of the similarity between clusters."
...@@ -224,6 +244,8 @@ paths: ...@@ -224,6 +244,8 @@ paths:
/clusterRunArray: /clusterRunArray:
get: get:
operationId: "routes.connRun.get_connected_run" operationId: "routes.connRun.get_connected_run"
security:
- JwtRegular: []
tags: tags:
- "RunId" - "RunId"
summary: "Get RunId" summary: "Get RunId"
......
...@@ -35,4 +35,4 @@ context = (os.path.normpath(f'{certificate_path}/articonf1.crt'), os.path.normpa ...@@ -35,4 +35,4 @@ context = (os.path.normpath(f'{certificate_path}/articonf1.crt'), os.path.normpa
# start app # start app
if __name__ == '__main__': if __name__ == '__main__':
app.run(host='0.0.0.0', port=5000) app.run(host='0.0.0.0', port=5000, ssl_context=context)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment