summaryrefslogtreecommitdiffstats
path: root/swagger.yaml
diff options
context:
space:
mode:
authorPiotr Bocheński <piotr.bochenski@nokia.com>2019-02-08 13:38:02 +0100
committerPiotr Bocheński <piotr.bochenski@nokia.com>2019-02-08 13:38:57 +0100
commit2ce68d3c8423d644056becc8ef1e3bb0df731c42 (patch)
treea6c0f836f32a092de7ca9ac595454685cf308692 /swagger.yaml
parent72aa0aaf4561f0cfd9c7e1dbe47a13f8571bf1db (diff)
Add git info to PRH + cleanup
Change-Id: Id518d56373f6ccab9dd4195ad08b67589e0d9b4f Issue-ID: DCAEGEN2-1030 Signed-off-by: Piotr Bocheński <piotr.bochenski@nokia.com>
Diffstat (limited to 'swagger.yaml')
-rw-r--r--swagger.yaml76
1 files changed, 0 insertions, 76 deletions
diff --git a/swagger.yaml b/swagger.yaml
deleted file mode 100644
index 37040bc8..00000000
--- a/swagger.yaml
+++ /dev/null
@@ -1,76 +0,0 @@
----
-swagger: '2.0'
-info:
- description: This page lists all the rest apis for PRH app server.
- version: '1.0'
- title: PRH app server
-host: localhost:8100
-basePath: "/"
-tags:
-- name: heartbeat-controller
- description: Check liveness of PRH service
-- name: schedule-controller
- description: Schedule Controller
-paths:
- "/heartbeat":
- get:
- tags:
- - heartbeat-controller
- summary: Returns liveness of PRH service
- operationId: heartbeatUsingGET
- produces:
- - "*/*"
- responses:
- '200':
- description: PRH sevice is living
- schema:
- "$ref": "#/definitions/Mono«ResponseEntity«string»»"
- '401':
- description: You are not authorized to view the resource
- '403':
- description: Accessing the resource you were trying to reach is forbidden
- '404':
- description: The resource you were trying to reach is not found
- "/start":
- get:
- tags:
- - schedule-controller
- summary: Start scheduling worker request
- operationId: startTasksUsingGET
- produces:
- - "*/*"
- responses:
- '200':
- description: OK
- schema:
- "$ref": "#/definitions/Mono«ResponseEntity«string»»"
- '401':
- description: Unauthorized
- '403':
- description: Forbidden
- '404':
- description: Not Found
- "/stopPrh":
- get:
- tags:
- - schedule-controller
- summary: Stop scheduling worker request
- operationId: stopTaskUsingGET
- produces:
- - "*/*"
- responses:
- '200':
- description: OK
- schema:
- "$ref": "#/definitions/Mono«ResponseEntity«string»»"
- '401':
- description: Unauthorized
- '403':
- description: Forbidden
- '404':
- description: Not Found
-definitions:
- Mono«ResponseEntity«string»»:
- type: object
- title: Mono«ResponseEntity«string»»
-