summaryrefslogtreecommitdiffstats
path: root/sliapi/model/src
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2020-02-26 16:07:53 -0500
committerDan Timoney <dtimoney@att.com>2020-02-27 14:05:55 -0500
commitec7aa8b8c9fbe23f7628eb61bea93c0136cff6c5 (patch)
treedca903c47785a8c5742be99cd4c2b2b324c35141 /sliapi/model/src
parent2c78899f04fd40115d3c4cc606e8380c00cdda0b (diff)
Add execute-graph and vlbcheck to swagger-codegen code
Add implementation for execute-graph and vlbcheck RPCs. Also, added junit tests. Change-Id: Id2a31c033d25ef12c455bfee98c5aea8439fc2f9 Issue-ID: CCSDK-2096 Signed-off-by: Dan Timoney <dtimoney@att.com>
Diffstat (limited to 'sliapi/model/src')
-rw-r--r--sliapi/model/src/main/resources/sli-api.20161110.yaml43
1 files changed, 13 insertions, 30 deletions
diff --git a/sliapi/model/src/main/resources/sli-api.20161110.yaml b/sliapi/model/src/main/resources/sli-api.20161110.yaml
index db60aa1e4..3420c66b5 100644
--- a/sliapi/model/src/main/resources/sli-api.20161110.yaml
+++ b/sliapi/model/src/main/resources/sli-api.20161110.yaml
@@ -164,12 +164,6 @@ paths:
produces:
- application/json
- application/xml
-# parameters:
-# - in: body
-# name: healthcheckInput
-# required: false
-# schema:
-# $ref: '#/definitions/healthcheck-input'
responses:
'200':
description: No response was specified
@@ -184,12 +178,6 @@ paths:
produces:
- application/json
- application/xml
- parameters:
- - in: body
- name: vlbcheckInput
- required: false
- schema:
- $ref: '#/definitions/vlbcheck-input'
responses:
'200':
description: No response was specified
@@ -242,28 +230,23 @@ definitions:
execute-graph-input:
properties:
- 'mode':
- type: string
- 'module-name':
- type: string
- 'rpc-name':
- type: string
- 'sli-parameter':
- items:
- $ref: '#/definitions/parameter-setting'
- type: array
+ 'input':
+ type: object
+ properties:
+ 'mode':
+ type: string
+ 'module-name':
+ type: string
+ 'rpc-name':
+ type: string
+ 'sli-parameter':
+ items:
+ $ref: '#/definitions/parameter-setting'
+ type: array
type: object
- healthcheck-input:
- properties:
- 'dummy':
- type: string
- vlbcheck-input:
- properties:
- 'dummy':
- type: string